Skip to content

MapMarkerResponseDto

Endpoints · All schemas

FieldRequiredDescription
cityYesCity name
countryYesCountry name
fileCreatedAtNoUTC timestamp when the asset was captured
idYesAsset ID
latYesLatitude
localDateTimeNoCapture date and time in the local time zone where it was taken, encoded as UTC
lonYesLongitude
originalFileNameNoOriginal file name
stateYesState/Province name
typeNoSee definition below

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: AssetTypeEnum

{
  "properties": {
    "city": {
      "description": "City name",
      "nullable": true,
      "type": "string"
    },
    "country": {
      "description": "Country name",
      "nullable": true,
      "type": "string"
    },
    "fileCreatedAt": {
      "description": "UTC timestamp when the asset was captured",
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "description": "Asset ID",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "lat": {
      "description": "Latitude",
      "format": "double",
      "type": "number"
    },
    "localDateTime": {
      "description": "Capture date and time in the local time zone where it was taken, encoded as UTC",
      "format": "date-time",
      "type": "string"
    },
    "lon": {
      "description": "Longitude",
      "format": "double",
      "type": "number"
    },
    "originalFileName": {
      "description": "Original file name",
      "type": "string"
    },
    "state": {
      "description": "State/Province name",
      "nullable": true,
      "type": "string"
    },
    "type": {
      "$ref": "#/components/schemas/AssetTypeEnum"
    }
  },
  "required": [
    "city",
    "country",
    "id",
    "lat",
    "lon",
    "state"
  ],
  "type": "object"
}