{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/networkdatalabs-com/json-schema/networkdatalabs-com-asn-detail-schema.json",
  "title": "AsnDetail",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/networkdatalabs-com-openapi.yml#/components/schemas/AsnDetail",
  "type": "object",
  "required": [
    "asn",
    "name",
    "org"
  ],
  "properties": {
    "asn": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "org": {
      "type": "string"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Coarse ASN category",
      "enum": [
        "hosting",
        "isp",
        "education",
        "government",
        "business",
        "unknown",
        null
      ]
    },
    "country_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "rir": {
      "type": [
        "string",
        "null"
      ]
    },
    "prefixes_sample": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Sample of announced prefixes (not exhaustive)"
    }
  }
}