{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-gamelift/json-schema/amazon-gamelift-get-application-output-schema.json",
  "title": "GetApplicationOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-gamelift-applications-api-openapi.yml#/components/schemas/GetApplicationOutput",
  "type": "object",
  "properties": {
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) that's assigned to an application resource and uniquely identifies it across all Amazon Web Services Regions. Format is arn:aws:gameliftstreams:[AWS Region]:[AWS account]:application/[resource ID]."
    },
    "Description": {
      "type": "string",
      "description": "A human-readable label for the application. You can edit this value."
    },
    "RuntimeEnvironment": {
      "$ref": "#/$defs/RuntimeEnvironment"
    },
    "ExecutablePath": {
      "type": "string",
      "description": "The relative path and file name of the executable file that launches the content for streaming."
    },
    "ApplicationLogPaths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Locations of log files that your content generates during a stream session. Amazon GameLift Streams uploads log files to the Amazon S3 bucket that you specify in ApplicationLogOutputUri at the end of a stream session. To retrieve stored log files, call GetStreamSession and get the LogFileLocationUri."
    },
    "ApplicationLogOutputUri": {
      "type": "string",
      "description": "An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. Required if you specify one or more ApplicationLogPaths."
    },
    "ApplicationSourceUri": {
      "type": "string",
      "description": "The original Amazon S3 location of uploaded stream content for the application."
    },
    "Id": {
      "type": "string",
      "description": "A unique ID value that is assigned to the resource when it's created. Format example: a-9ZY8X7Wv6."
    },
    "Status": {
      "type": "string",
      "enum": [
        "INITIALIZED",
        "PROCESSING",
        "READY",
        "DELETING",
        "ERROR"
      ],
      "description": "The current status of the application resource. Possible statuses include the following: INITIALIZED: Amazon GameLift Streams has received the request and is initiating the work flow to create an application. PROCESSING: The create application work flow is in process. Amazon GameLift Streams is copying the content and caching for future deployment in a stream group. READY: The application is ready to deploy in a stream group. ERROR: An error occurred when setting up the application. See StatusReason for more information. DELETING: Amazon GameLift Streams is in the process of deleting the appli"
    },
    "StatusReason": {
      "type": "string",
      "enum": [
        "internalError",
        "accessDenied",
        "sourceModified"
      ],
      "description": "A short description of the status reason when the application is in ERROR status."
    },
    "ReplicationStatuses": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReplicationStatus"
      },
      "description": "A set of replication statuses for each location."
    },
    "CreatedAt": {
      "type": "string",
      "description": "A timestamp that indicates when this resource was created. Timestamps are expressed using in ISO8601 format, such as: 2022-12-27T22:29:40+00:00 (UTC)."
    },
    "LastUpdatedAt": {
      "type": "string",
      "description": "A timestamp that indicates when this resource was last updated. Timestamps are expressed using in ISO8601 format, such as: 2022-12-27T22:29:40+00:00 (UTC)."
    },
    "AssociatedStreamGroups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A set of stream groups that this application is associated with. You can use any of these stream groups to stream your application. This value is a set of Amazon Resource Names (ARNs) that uniquely identify stream group resources. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4."
    }
  },
  "required": [
    "Arn"
  ],
  "$defs": {
    "ReplicationStatus": {
      "type": "object",
      "properties": {
        "Location": {
          "type": "string",
          "description": "A location's name. For example, us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide."
        },
        "Status": {
          "type": "string",
          "enum": [
            "REPLICATING",
            "COMPLETED"
          ],
          "description": "The current status of the replication process."
        }
      }
    },
    "RuntimeEnvironment": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "PROTON",
            "WINDOWS",
            "UBUNTU"
          ],
          "description": "The operating system and other drivers. For Proton, this also includes the Proton compatibility layer."
        },
        "Version": {
          "type": "string",
          "description": "Versioned container environment for the application operating system."
        }
      },
      "required": [
        "Type",
        "Version"
      ]
    }
  }
}