{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-opensearch/refs/heads/main/json-schema/openapi-authorized-principal-schema.json",
  "title": "AuthorizedPrincipal",
  "description": "Information about an account or service that has access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.",
  "type": "object",
  "properties": {
    "PrincipalType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PrincipalType"
        },
        {
          "description": "The type of principal."
        }
      ]
    },
    "Principal": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The IAM principal that is allowed access to the domain."
        }
      ]
    }
  }
}