{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/australian-taxation-office/main/json-schema/australian-taxation-office-provider-list-response-schema.json",
  "title": "ProviderListResponse",
  "description": "The list of SMSF  alias providers",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/australian-taxation-office-smsf-alias-lookup-openapi.yml#/components/schemas/ProviderListResponse",
  "properties": {
    "providers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Provider"
      }
    }
  },
  "$defs": {
    "ElectronicContact": {
      "description": "gateway contact details",
      "type": "object",
      "properties": {
        "telephoneAreaCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "telephoneNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "emailAddress": {
          "type": "string"
        },
        "webUniformResourceLocator": {
          "type": "string"
        }
      }
    },
    "GatewayResponse": {
      "description": "List of Gateway details",
      "properties": {
        "organisationalName": {
          "type": "string"
        },
        "startDate": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        },
        "electronicServiceAddressAlias": {
          "type": "string"
        },
        "electronicServiceAddress": {
          "type": "string"
        },
        "electronicContact": {
          "$ref": "#/$defs/ElectronicContact"
        }
      },
      "required": [
        "electronicServiceAddressAlias",
        "electronicServiceAddress",
        "startDate",
        "endDate",
        "organisationalName",
        "electronicContact"
      ]
    },
    "Provider": {
      "description": "Alias provider details",
      "type": "object",
      "properties": {
        "gateway": {
          "$ref": "#/$defs/GatewayResponse"
        },
        "provider": {
          "$ref": "#/$defs/ProviderResponse"
        },
        "certifications": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "electronicServiceAddressAlias",
        "electronicServiceAddress",
        "startDate",
        "endDate",
        "organisationalName",
        "contactDetails"
      ]
    },
    "ProviderResponse": {
      "description": "List of Provider details",
      "properties": {
        "organisationalName": {
          "type": "string"
        },
        "electronicContact": {
          "$ref": "#/$defs/ElectronicContact"
        }
      },
      "required": [
        "organisationalName",
        "electronicContact"
      ]
    }
  }
}