{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiven/json-schema/aiven-organization-auth-domain-list-response-schema.json",
  "title": "OrganizationAuthDomainListResponse",
  "description": "OrganizationAuthDomainListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiven-authentication-methods-api-openapi.yml#/components/schemas/OrganizationAuthDomainListResponse",
  "type": "object",
  "properties": {
    "domains": {
      "type": "array",
      "description": "List of domains for the organization",
      "items": {
        "type": "object",
        "properties": {
          "challenge_token": {
            "type": "string",
            "description": "Random string to be used for validation"
          },
          "create_time": {
            "type": "string",
            "maxLength": 36,
            "description": "Time of creating the domain"
          },
          "domain_id": {
            "type": "string",
            "description": "ID of the domain"
          },
          "domain_name": {
            "type": "string",
            "description": "Name of the domain"
          },
          "linked_authentication_method_ids": {
            "type": "array",
            "description": "Linked Authentication Method Ids",
            "items": {
              "type": "string"
            }
          },
          "organization_id": {
            "type": "string",
            "description": "ID of the organization owning this domain"
          },
          "state": {
            "type": "string",
            "description": "An enumeration.",
            "title": "State of the verification process",
            "enum": [
              "deleted",
              "unverified",
              "verified"
            ]
          },
          "verification_type": {
            "type": "string",
            "description": "An enumeration.",
            "title": "Type of verification to be made",
            "enum": [
              "dns",
              "http"
            ]
          }
        },
        "required": [
          "challenge_token",
          "create_time",
          "domain_id",
          "domain_name",
          "linked_authentication_method_ids",
          "organization_id",
          "state",
          "verification_type"
        ]
      }
    }
  },
  "required": [
    "domains"
  ]
}