{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zertidox-com/json-schema/zertidox-com-solicitud-resumen-schema.json",
  "title": "SolicitudResumen",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zertidox-com-openapi.yml#/components/schemas/SolicitudResumen",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "referencia": {
      "type": "string",
      "description": "Public reference (CD-… live, PR-… test mode)."
    },
    "tipo": {
      "type": "string",
      "description": "Request type, as listed in `GET /catalogo`."
    },
    "estado": {
      "$ref": "#/$defs/Estado"
    },
    "precio": {
      "type": [
        "string",
        "number"
      ],
      "description": "Amount charged in EUR (decimal string). 0 when covered by the Business balance."
    },
    "pagado": {
      "type": "boolean"
    },
    "clienteNombre": {
      "type": [
        "string",
        "null"
      ],
      "description": "Your internal reference for the end client."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "Estado": {
      "type": "string",
      "enum": [
        "PENDIENTE_PAGO",
        "PAGADA",
        "ENVIADA_AL_MJ",
        "ESPERANDO_CERTIFICADO",
        "ENTREGADA",
        "REEMBOLSADA",
        "REQUIERE_REVISION",
        "RECHAZADA",
        "REQUIERE_FIRMA",
        "FIRMADA",
        "REVISION_ABOGADO",
        "REVISADA",
        "EN_PROCESO",
        "CADUCADA"
      ],
      "description": "Request status."
    }
  }
}