{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tlaloc-sh/json-schema/tlaloc-sh-curpdata-response-schema.json",
  "title": "CURPDataResponse",
  "description": "CURP data response schema.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tlaloc-sh-openapi.json#/components/schemas/CURPDataResponse",
  "properties": {
    "nacionalidad": {
      "type": "string",
      "title": "Nacionalidad",
      "description": "Nacionalidad"
    },
    "docProbatorio": {
      "type": "integer",
      "title": "Docprobatorio",
      "description": "Documento probatorio"
    },
    "statusCurp": {
      "type": "string",
      "title": "Statuscurp",
      "description": "Status CURP"
    },
    "nombres": {
      "type": "string",
      "title": "Nombres",
      "description": "Nombres"
    },
    "parametro": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parametro",
      "description": "Parámetro"
    },
    "primerApellido": {
      "type": "string",
      "title": "Primerapellido",
      "description": "Primer apellido"
    },
    "segundoApellido": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Segundoapellido",
      "description": "Segundo apellido"
    },
    "curp": {
      "type": "string",
      "title": "Curp",
      "description": "CURP"
    },
    "fechaNacimiento": {
      "type": "string",
      "title": "Fechanacimiento",
      "description": "Fecha de nacimiento"
    },
    "sexo": {
      "type": "string",
      "title": "Sexo",
      "description": "Sexo"
    },
    "datosDocProbatorio": {
      "$ref": "#/$defs/DatosDocProbatorio",
      "description": "Datos documento probatorio"
    },
    "claveEntidad": {
      "type": "string",
      "title": "Claveentidad",
      "description": "Clave entidad"
    },
    "entidad": {
      "type": "string",
      "title": "Entidad",
      "description": "Entidad"
    }
  },
  "type": "object",
  "required": [
    "nacionalidad",
    "docProbatorio",
    "statusCurp",
    "nombres",
    "primerApellido",
    "curp",
    "fechaNacimiento",
    "sexo",
    "datosDocProbatorio",
    "claveEntidad",
    "entidad"
  ],
  "$defs": {
    "DatosDocProbatorio": {
      "properties": {
        "claveEntidadRegistro": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Claveentidadregistro",
          "description": "Clave entidad registro"
        },
        "entidadRegistro": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entidadregistro",
          "description": "Entidad registro"
        },
        "claveMunicipioRegistro": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Clavemunicipioregistro",
          "description": "Clave municipio registro"
        },
        "municipioRegistro": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Municipioregistro",
          "description": "Municipio registro"
        },
        "anioReg": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Anioreg",
          "description": "Año de registro"
        },
        "foja": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Foja",
          "description": "Foja"
        },
        "tomo": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tomo",
          "description": "Tomo"
        },
        "libro": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Libro",
          "description": "Libro"
        },
        "numActa": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Numacta",
          "description": "Número de acta"
        }
      },
      "type": "object",
      "title": "DatosDocProbatorio",
      "description": "Datos del documento probatorio."
    }
  }
}