{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Rips.REFs_REPS",
  "description": "Schema for Rips.REFs_REPS reference table",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "number",
        "description": "id field"
      },
      "codigo_prestador": {
        "type": "string",
        "description": "codigo_prestador field"
      },
      "codigo_prestador_sede": {
        "type": "string",
        "description": "codigo_prestador_sede field"
      },
      "codigo_municipio_sede": {
        "type": "string",
        "description": "codigo_municipio_sede field"
      },
      "nombre_prestador": {
        "type": "string",
        "description": "nombre_prestador field"
      },
      "habilitado": {
        "type": "boolean",
        "description": "habilitado field"
      },
      "fecha_apertura_prestador": {
        "type": "string",
        "format": "date-time",
        "description": "fecha_apertura_prestador field"
      },
      "fecha_cierre_prestador": {
        "type": [
          "string",
          "null"
        ],
        "description": "fecha_cierre_prestador field"
      },
      "tipoPrestador": {
        "type": "number",
        "description": "tipoPrestador field"
      },
      "tipo_documento": {
        "type": "string",
        "description": "tipo_documento field"
      },
      "numero_identificacion_prestador": {
        "type": "string",
        "description": "numero_identificacion_prestador field"
      },
      "fechaHoraActualizacion": {
        "type": "string",
        "format": "date-time",
        "description": "fechaHoraActualizacion field"
      }
    },
    "required": [
      "id",
      "codigo_prestador",
      "codigo_prestador_sede",
      "codigo_municipio_sede",
      "nombre_prestador",
      "habilitado",
      "fecha_apertura_prestador",
      "tipoPrestador",
      "tipo_documento",
      "numero_identificacion_prestador",
      "fechaHoraActualizacion"
    ]
  }
}