{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tlaloc-sh/json-schema/tlaloc-sh-phone-number-response-schema.json",
  "title": "PhoneNumberResponse",
  "description": "Phone number response schema with PNN data.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tlaloc-sh-openapi.json#/components/schemas/PhoneNumberResponse",
  "properties": {
    "clave_censal": {
      "type": "string",
      "title": "Clave Censal",
      "description": "Clave censal"
    },
    "poblacion": {
      "type": "string",
      "title": "Poblacion",
      "description": "Población"
    },
    "municipio": {
      "type": "string",
      "title": "Municipio",
      "description": "Municipio"
    },
    "estado": {
      "type": "string",
      "title": "Estado",
      "description": "Estado"
    },
    "region": {
      "type": "integer",
      "title": "Region",
      "description": "Región"
    },
    "nir": {
      "type": "integer",
      "title": "Nir",
      "description": "NIR (Número de Identificación de Red)"
    },
    "serie": {
      "type": "integer",
      "title": "Serie",
      "description": "Serie"
    },
    "asl": {
      "type": "integer",
      "title": "Asl",
      "description": "ASL"
    },
    "tipo_red": {
      "type": "string",
      "title": "Tipo Red",
      "description": "Tipo de red (MOVIL/FIJO)"
    },
    "modalidad": {
      "type": "string",
      "title": "Modalidad",
      "description": "Modalidad (MPP/CPP/FIJO)"
    },
    "razon_social": {
      "type": "string",
      "title": "Razon Social",
      "description": "Razón social (carrier)"
    },
    "numeracion_inicial": {
      "type": "string",
      "title": "Numeracion Inicial",
      "description": "Numeración inicial"
    },
    "numeracion_final": {
      "type": "string",
      "title": "Numeracion Final",
      "description": "Numeración final"
    },
    "ocupacion": {
      "type": "integer",
      "title": "Ocupacion",
      "description": "Ocupación (capacidad del rango)"
    },
    "fecha_asignacion": {
      "type": "string",
      "title": "Fecha Asignacion",
      "description": "Fecha de asignación"
    },
    "fecha_consolidacion": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fecha Consolidacion",
      "description": "Fecha de consolidación"
    },
    "fecha_migracion": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fecha Migracion",
      "description": "Fecha de migración"
    },
    "presuscripcion": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Presuscripcion",
      "description": "Presuscripción"
    },
    "nir_anterior": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Nir Anterior",
      "description": "NIR anterior"
    }
  },
  "type": "object",
  "required": [
    "clave_censal",
    "poblacion",
    "municipio",
    "estado",
    "region",
    "nir",
    "serie",
    "asl",
    "tipo_red",
    "modalidad",
    "razon_social",
    "numeracion_inicial",
    "numeracion_final",
    "ocupacion",
    "fecha_asignacion"
  ]
}