{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/us-abilityone-commission/json-schema/us-abilityone-commission-agency-list-response-schema.json",
  "title": "AgencyListResponse",
  "description": "List of nonprofit agencies",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/us-abilityone-commission-agencies-api-openapi.yml#/components/schemas/AgencyListResponse",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer"
    },
    "agencies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Agency"
      }
    }
  },
  "$defs": {
    "Agency": {
      "type": "object",
      "description": "A nonprofit agency participating in the AbilityOne program",
      "properties": {
        "id": {
          "type": "string",
          "description": "Agency identifier"
        },
        "name": {
          "type": "string",
          "description": "Agency name"
        },
        "affiliate": {
          "type": "string",
          "description": "Central nonprofit affiliate",
          "enum": [
            "NIB",
            "SourceAmerica"
          ]
        },
        "state": {
          "type": "string",
          "description": "State abbreviation"
        },
        "city": {
          "type": "string",
          "description": "City"
        },
        "address": {
          "type": "string",
          "description": "Mailing address"
        },
        "phone": {
          "type": "string",
          "description": "Contact phone number"
        },
        "website": {
          "type": "string",
          "description": "Agency website URL"
        },
        "employeesBlind": {
          "type": "integer",
          "description": "Number of employees who are blind"
        },
        "employeesDisabled": {
          "type": "integer",
          "description": "Number of employees with significant disabilities"
        }
      }
    }
  }
}