{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-create-home-region-control-request-schema.json",
  "title": "CreateHomeRegionControlRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-home-region-control-api-openapi.yml#/components/schemas/CreateHomeRegionControlRequest",
  "type": "object",
  "properties": {
    "HomeRegion": {
      "type": "string",
      "description": "The name of the home region of the calling account."
    },
    "Target": {
      "$ref": "#/$defs/Target"
    },
    "DryRun": {
      "type": "boolean",
      "description": "Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call."
    }
  },
  "required": [
    "HomeRegion",
    "Target"
  ],
  "$defs": {
    "Target": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "ACCOUNT"
          ],
          "description": "The target type is always an ACCOUNT."
        },
        "Id": {
          "type": "string",
          "description": "The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must be the current account.)"
        }
      },
      "required": [
        "Type"
      ]
    }
  }
}