{
  "$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-result-schema.json",
  "title": "CreateHomeRegionControlResult",
  "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/CreateHomeRegionControlResult",
  "type": "object",
  "properties": {
    "HomeRegionControl": {
      "$ref": "#/$defs/HomeRegionControl"
    }
  },
  "$defs": {
    "HomeRegionControl": {
      "type": "object",
      "properties": {
        "ControlId": {
          "type": "string",
          "description": "A unique identifier that's generated for each home region control. It's always a string that begins with \"hrc-\" followed by 12 lowercase letters and numbers."
        },
        "HomeRegion": {
          "type": "string",
          "description": "The AWS Region that's been set as home region. For example, \"us-west-2\" or \"eu-central-1\" are valid home regions."
        },
        "Target": {
          "$ref": "#/$defs/Target"
        },
        "RequestedTime": {
          "type": "string",
          "format": "date-time",
          "description": "A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account."
        }
      }
    },
    "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"
      ]
    }
  }
}