{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-snapshot-response-schema.json",
  "title": "SnapshotResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fcc-license-search_krimskrams_xyz_openapi.json#/components/schemas/SnapshotResponse",
  "properties": {
    "slice_id": {
      "type": "string",
      "title": "Slice Id"
    },
    "as_of": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "As Of"
    },
    "row_count": {
      "type": "integer",
      "title": "Row Count"
    },
    "source": {
      "additionalProperties": true,
      "type": "object",
      "title": "Source"
    },
    "licence": {
      "type": "string",
      "title": "Licence"
    },
    "rows": {
      "items": {
        "$ref": "#/$defs/LicenseResult"
      },
      "type": "array",
      "title": "Rows"
    }
  },
  "type": "object",
  "required": [
    "slice_id",
    "as_of",
    "row_count",
    "source",
    "licence",
    "rows"
  ],
  "$defs": {
    "LicenseResult": {
      "properties": {
        "callsign": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Callsign"
        },
        "licensee_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Licensee Name"
        },
        "frn": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Frn"
        },
        "service": {
          "type": "string",
          "title": "Service"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "grant_date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grant Date"
        },
        "expired_date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expired Date"
        },
        "cancellation_date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cancellation Date"
        }
      },
      "type": "object",
      "required": [
        "service",
        "status"
      ],
      "title": "LicenseResult"
    }
  }
}