{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zamp/main/json-schema/zamp-get-registrations-response-schema.json",
  "title": "GetRegistrationsResponse",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/zamp-openapi-generated.yml#/components/schemas/GetRegistrationsResponse",
  "type": "object",
  "properties": {
    "state": {
      "type": "string"
    },
    "registration": {
      "type": "object",
      "properties": {
        "taxId": {
          "type": "string"
        },
        "startedAt": {
          "type": "string",
          "format": "date"
        },
        "endedAt": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "location": {
      "type": "object",
      "properties": {
        "line1": {
          "type": "string"
        },
        "line2": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip": {
          "type": "string"
        }
      }
    },
    "frequencies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date"
          },
          "endedAt": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}