{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-identity-center/json-schema/amazon-iam-identity-center-describe-trusted-token-issuer-response-schema.json",
  "title": "DescribeTrustedTokenIssuerResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-identity-center-trusted-token-issuer-api-openapi.yml#/components/schemas/DescribeTrustedTokenIssuerResponse",
  "type": "object",
  "properties": {
    "TrustedTokenIssuerArn": {
      "type": "string",
      "description": "The ARN of the trusted token issuer configuration."
    },
    "Name": {
      "type": "string",
      "description": "The name of the trusted token issuer configuration."
    },
    "TrustedTokenIssuerType": {
      "type": "string",
      "enum": [
        "OIDC_JWT"
      ],
      "description": "The type of the trusted token issuer."
    },
    "TrustedTokenIssuerConfiguration": {
      "$ref": "#/$defs/TrustedTokenIssuerConfiguration"
    }
  },
  "$defs": {
    "OidcJwtConfiguration": {
      "type": "object",
      "properties": {
        "IssuerUrl": {
          "type": "string",
          "description": "The URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates."
        },
        "ClaimAttributePath": {
          "type": "string",
          "description": "The path of the source attribute in the JWT from the trusted token issuer. The attribute mapped by this JMESPath expression is compared against the attribute mapped by IdentityStoreAttributePath when a trusted token issuer token is exchanged for an IAM Identity Center token."
        },
        "IdentityStoreAttributePath": {
          "type": "string",
          "description": "The path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by ClaimAttributePath when a trusted token issuer token is exchanged for an IAM Identity Center token."
        },
        "JwksRetrievalOption": {
          "type": "string",
          "enum": [
            "OPEN_ID_DISCOVERY"
          ],
          "description": "The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT."
        }
      },
      "required": [
        "IssuerUrl",
        "ClaimAttributePath",
        "IdentityStoreAttributePath",
        "JwksRetrievalOption"
      ]
    },
    "TrustedTokenIssuerConfiguration": {
      "type": "object",
      "properties": {
        "OidcJwtConfiguration": {
          "$ref": "#/$defs/OidcJwtConfiguration"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}