← InicioFleetPay / Schema

FotoEntrega

Estructura preservada del contrato versionado de la API.

Las descripciones técnicas se traducen del contrato versionado. Se conservan los identificadores y el JSON originales; se omiten los ejemplos de datos.

idintegerObligatorio
typestringObligatorio
"P" · "R" · "C" · "O"
type_labelstringObligatorio
filenamestringObligatorio
urlstring | null · uriObligatorio

URL firmada en Azure Blob Storage con validez de 15 minutos.

url_expires_atstring | null · date-timeObligatorio
captured_atstring | null · date-timeObligatorio
latnumber | nullObligatorio
lngnumber | nullObligatorio
commentsstring | nullObligatorio
cte_keystring | nullObligatorio
document_idstring | nullObligatorio
Definición JSON Original (Descripciones en Portugués)
{
  "type": "object",
  "required": [
    "id",
    "type",
    "type_label",
    "filename",
    "url",
    "url_expires_at",
    "captured_at",
    "lat",
    "lng",
    "comments",
    "cte_key",
    "document_id"
  ],
  "properties": {
    "id": {
      "type": "integer"
    },
    "type": {
      "type": "string",
      "enum": [
        "P",
        "R",
        "C",
        "O"
      ]
    },
    "type_label": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "URL assinada no Azure Blob Storage com validade de 15 minutos."
    },
    "url_expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "captured_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lat": {
      "type": [
        "number",
        "null"
      ]
    },
    "lng": {
      "type": [
        "number",
        "null"
      ]
    },
    "comments": {
      "type": [
        "string",
        "null"
      ]
    },
    "cte_key": {
      "type": [
        "string",
        "null"
      ]
    },
    "document_id": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}