{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-private-ca/json-schema/amazon-private-ca-list-directory-registrations-response-schema.json",
  "title": "ListDirectoryRegistrationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-private-ca-directoryregistrations-api-openapi.yml#/components/schemas/ListDirectoryRegistrationsResponse",
  "type": "object",
  "properties": {
    "DirectoryRegistrations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DirectoryRegistrationSummary"
      },
      "description": "Summary information about each directory registration you have created."
    },
    "NextToken": {
      "type": "string",
      "description": "Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received."
    }
  },
  "$defs": {
    "DirectoryRegistrationSummary": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration."
        },
        "DirectoryId": {
          "type": "string",
          "description": "The identifier of the Active Directory."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "DELETING",
            "FAILED"
          ],
          "description": "Status of the directory registration."
        },
        "StatusReason": {
          "type": "string",
          "enum": [
            "DIRECTORY_ACCESS_DENIED",
            "DIRECTORY_RESOURCE_NOT_FOUND",
            "DIRECTORY_NOT_ACTIVE",
            "DIRECTORY_NOT_REACHABLE",
            "DIRECTORY_TYPE_NOT_SUPPORTED",
            "INTERNAL_FAILURE"
          ],
          "description": "Additional information about the directory registration status if the status is failed."
        },
        "CreatedAt": {
          "type": "string",
          "description": "The date and time that the directory registration was created."
        },
        "UpdatedAt": {
          "type": "string",
          "description": "The date and time that the directory registration was updated."
        }
      }
    }
  }
}