{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-register-transit-gateway-response-schema.json",
  "title": "RegisterTransitGatewayResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-transit-gateway-registrations-api-openapi.yml#/components/schemas/RegisterTransitGatewayResponse",
  "type": "object",
  "properties": {
    "TransitGatewayRegistration": {
      "$ref": "#/$defs/TransitGatewayRegistration"
    }
  },
  "$defs": {
    "TransitGatewayRegistration": {
      "type": "object",
      "properties": {
        "GlobalNetworkId": {
          "type": "string",
          "description": "The ID of the global network."
        },
        "TransitGatewayArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the transit gateway."
        },
        "State": {
          "$ref": "#/$defs/TransitGatewayRegistrationStateReason"
        }
      }
    },
    "TransitGatewayRegistrationStateReason": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "enum": [
            "PENDING",
            "AVAILABLE",
            "DELETING",
            "DELETED",
            "FAILED"
          ],
          "description": "The code for the state reason."
        },
        "Message": {
          "type": "string",
          "description": "The message for the state reason."
        }
      }
    }
  }
}