{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-get-application-response-schema.json",
  "title": "GetApplicationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-applications-api-openapi.yml#/components/schemas/GetApplicationResponse",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the application."
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the application."
    },
    "OwnerAccountId": {
      "type": "string",
      "description": "The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID)."
    },
    "CreatedByAccountId": {
      "type": "string",
      "description": "The Amazon Web Services account ID of the application creator."
    },
    "ApplicationId": {
      "type": "string",
      "description": "The unique identifier of the application."
    },
    "EnvironmentId": {
      "type": "string",
      "description": "The unique identifier of the environment."
    },
    "VpcId": {
      "type": "string",
      "description": "The ID of the virtual private cloud (VPC)."
    },
    "ProxyType": {
      "type": "string",
      "description": "The proxy type of the proxy created within the application."
    },
    "ApiGatewayProxy": {
      "$ref": "#/$defs/ApiGatewayProxyConfig"
    },
    "State": {
      "type": "string",
      "description": "The current state of the application."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair."
    },
    "Error": {
      "$ref": "#/$defs/ErrorResponse"
    },
    "LastUpdatedTime": {
      "type": "string",
      "format": "date-time",
      "description": "A timestamp that indicates when the application was last updated."
    },
    "CreatedTime": {
      "type": "string",
      "format": "date-time",
      "description": "A timestamp that indicates when the application is created."
    }
  },
  "$defs": {
    "ApiGatewayProxyConfig": {
      "type": "object",
      "properties": {
        "ProxyUrl": {
          "type": "string",
          "description": "The endpoint URL of the API Gateway proxy."
        },
        "ApiGatewayId": {
          "type": "string",
          "description": "The resource ID of the API Gateway for the proxy."
        },
        "VpcLinkId": {
          "type": "string",
          "description": "The VpcLink ID of the API Gateway proxy."
        },
        "NlbArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Network Load Balancer configured by the API Gateway proxy."
        },
        "NlbName": {
          "type": "string",
          "description": "The name of the Network Load Balancer that is configured by the API Gateway proxy."
        },
        "EndpointType": {
          "type": "string",
          "description": "The type of API Gateway endpoint created."
        },
        "StageName": {
          "type": "string",
          "description": "The name of the API Gateway stage. The name defaults to prod."
        }
      }
    },
    "ErrorResponse": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "description": "The error code associated with the error."
        },
        "Message": {
          "type": "string",
          "description": "The message associated with the error."
        },
        "AccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the resource owner."
        },
        "ResourceIdentifier": {
          "type": "string",
          "description": "The ID of the resource."
        },
        "ResourceType": {
          "type": "string",
          "description": "The type of resource."
        },
        "AdditionalDetails": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Additional details about the error."
        }
      }
    }
  }
}