{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-identity-center/json-schema/amazon-iam-identity-center-create-application-request-schema.json",
  "title": "CreateApplicationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-identity-center-application-api-openapi.yml#/components/schemas/CreateApplicationRequest",
  "type": "object",
  "properties": {
    "InstanceArn": {
      "type": "string",
      "description": "The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference."
    },
    "ApplicationProviderArn": {
      "type": "string",
      "description": "The ARN of the application provider under which the operation will run."
    },
    "Name": {
      "type": "string",
      "description": "The name of the ."
    },
    "Description": {
      "type": "string",
      "description": "The description of the ."
    },
    "PortalOptions": {
      "$ref": "#/$defs/PortalOptions"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Specifies tags to be attached to the application."
    },
    "Status": {
      "type": "string",
      "enum": [
        "ENABLED",
        "DISABLED"
      ],
      "description": "Specifies whether the application is enabled or disabled."
    },
    "ClientToken": {
      "type": "string",
      "description": "Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch"
    }
  },
  "required": [
    "InstanceArn",
    "ApplicationProviderArn",
    "Name"
  ],
  "$defs": {
    "PortalOptions": {
      "type": "object",
      "properties": {
        "SignInOptions": {
          "$ref": "#/$defs/SignInOptions"
        },
        "Visibility": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Indicates whether this application is visible in the access portal."
        }
      }
    },
    "SignInOptions": {
      "type": "object",
      "properties": {
        "Origin": {
          "type": "string",
          "enum": [
            "IDENTITY_CENTER",
            "APPLICATION"
          ],
          "description": "This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values: APPLICATION: IAM Identity Center redirects the customer to the configured ApplicationUrl. IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application."
        },
        "ApplicationUrl": {
          "type": "string",
          "description": "The URL that accepts authentication requests for an application. This is a required parameter if the Origin parameter is APPLICATION."
        }
      },
      "required": [
        "Origin"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key for the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}