{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-list-portals-response-schema.json",
  "title": "ListPortalsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-portals-api-openapi.yml#/components/schemas/ListPortalsResponse",
  "type": "object",
  "properties": {
    "Items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PortalSummary"
      },
      "description": "The elements from this collection."
    },
    "NextToken": {
      "type": "string",
      "description": "The next page of elements from this collection. Not valid for the last element of the collection."
    }
  },
  "$defs": {
    "Authorization": {
      "type": "object",
      "properties": {
        "CognitoConfig": {
          "$ref": "#/$defs/CognitoConfig"
        },
        "None": {
          "$ref": "#/$defs/None"
        }
      }
    },
    "CognitoConfig": {
      "type": "object",
      "properties": {
        "AppClientId": {
          "type": "string",
          "description": "The app client ID."
        },
        "UserPoolArn": {
          "type": "string",
          "description": "The user pool ARN."
        },
        "UserPoolDomain": {
          "type": "string",
          "description": "The user pool domain."
        }
      },
      "required": [
        "AppClientId",
        "UserPoolArn",
        "UserPoolDomain"
      ]
    },
    "CustomColors": {
      "type": "object",
      "properties": {
        "AccentColor": {
          "type": "string",
          "description": "Represents the accent color."
        },
        "BackgroundColor": {
          "type": "string",
          "description": "Represents the background color."
        },
        "ErrorValidationColor": {
          "type": "string",
          "description": "The errorValidationColor."
        },
        "HeaderColor": {
          "type": "string",
          "description": "Represents the header color."
        },
        "NavigationColor": {
          "type": "string",
          "description": "Represents the navigation color."
        },
        "TextColor": {
          "type": "string",
          "description": "Represents the text color."
        }
      },
      "required": [
        "AccentColor",
        "BackgroundColor",
        "ErrorValidationColor",
        "HeaderColor",
        "NavigationColor",
        "TextColor"
      ]
    },
    "EndpointConfigurationResponse": {
      "type": "object",
      "properties": {
        "CertificateArn": {
          "type": "string",
          "description": "The ARN of the ACM certificate."
        },
        "DomainName": {
          "type": "string",
          "description": "The domain name."
        },
        "PortalDefaultDomainName": {
          "type": "string",
          "description": "The portal default domain name. This domain name is generated and managed by API Gateway."
        },
        "PortalDomainHostedZoneId": {
          "type": "string",
          "description": "The portal domain hosted zone identifier."
        }
      },
      "required": [
        "PortalDefaultDomainName",
        "PortalDomainHostedZoneId"
      ]
    },
    "None": {
      "type": "object",
      "properties": {}
    },
    "PortalContent": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string",
          "description": "A description of the portal."
        },
        "DisplayName": {
          "type": "string",
          "description": "The display name for the portal."
        },
        "Theme": {
          "$ref": "#/$defs/PortalTheme"
        }
      },
      "required": [
        "DisplayName",
        "Theme"
      ]
    },
    "PortalSummary": {
      "type": "object",
      "properties": {
        "Authorization": {
          "$ref": "#/$defs/Authorization"
        },
        "EndpointConfiguration": {
          "$ref": "#/$defs/EndpointConfigurationResponse"
        },
        "IncludedPortalProductArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The ARNs of the portal products included in the portal."
        },
        "LastModified": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the portal was last modified."
        },
        "LastPublished": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the portal was last published."
        },
        "LastPublishedDescription": {
          "type": "string",
          "description": "The description of the portal the last time it was published."
        },
        "PortalArn": {
          "type": "string",
          "description": "The ARN of the portal."
        },
        "PortalContent": {
          "$ref": "#/$defs/PortalContent"
        },
        "PortalId": {
          "type": "string",
          "description": "The portal identifier."
        },
        "Preview": {
          "$ref": "#/$defs/Preview"
        },
        "PublishStatus": {
          "type": "string",
          "enum": [
            "PUBLISHED",
            "PUBLISH_IN_PROGRESS",
            "PUBLISH_FAILED",
            "DISABLE_IN_PROGRESS",
            "DISABLE_FAILED",
            "DISABLED"
          ],
          "description": "The publish status."
        },
        "RumAppMonitorName": {
          "type": "string",
          "description": "The CloudWatch RUM app monitor name."
        },
        "StatusException": {
          "$ref": "#/$defs/StatusException"
        },
        "Tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The collection of tags. Each tag element is associated with a given resource."
        }
      },
      "required": [
        "Authorization",
        "EndpointConfiguration",
        "IncludedPortalProductArns",
        "LastModified",
        "PortalArn",
        "PortalContent",
        "PortalId"
      ]
    },
    "PortalTheme": {
      "type": "object",
      "properties": {
        "CustomColors": {
          "$ref": "#/$defs/CustomColors"
        },
        "LogoLastUploaded": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the logo was last uploaded."
        }
      },
      "required": [
        "CustomColors"
      ]
    },
    "Preview": {
      "type": "object",
      "properties": {
        "PreviewStatus": {
          "type": "string",
          "enum": [
            "PREVIEW_IN_PROGRESS",
            "PREVIEW_FAILED",
            "PREVIEW_READY"
          ],
          "description": "The status of the preview."
        },
        "PreviewUrl": {
          "type": "string",
          "description": "The URL of the preview."
        },
        "StatusException": {
          "$ref": "#/$defs/StatusException"
        }
      },
      "required": [
        "PreviewStatus"
      ]
    },
    "StatusException": {
      "type": "object",
      "properties": {
        "Exception": {
          "type": "string",
          "description": "The exception."
        },
        "Message": {
          "type": "string",
          "description": "The error message."
        }
      }
    }
  }
}