{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-lightsail/json-schema/amazon-lightsail-create-domain-request-schema.json",
  "title": "CreateDomainRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-lightsail-domains-api-openapi.yml#/components/schemas/CreateDomainRequest",
  "type": "object",
  "properties": {
    "domainName": {
      "allOf": [
        {
          "$ref": "#/$defs/DomainName"
        }
      ],
      "description": "The domain name to manage ( example.com )."
    },
    "tags": {
      "allOf": [
        {
          "$ref": "#/$defs/TagList"
        }
      ],
      "description": "The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created."
    }
  },
  "required": [
    "domainName"
  ],
  "$defs": {
    "DomainName": {
      "type": "string"
    },
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "allOf": [
            {
              "$ref": "#/$defs/TagKey"
            }
          ],
          "description": "The key of the tag. Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @"
        },
        "value": {
          "allOf": [
            {
              "$ref": "#/$defs/TagValue"
            }
          ],
          "description": "The value of the tag. Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @"
        }
      },
      "description": "Describes a tag key and optional value assigned to an Amazon Lightsail resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide ."
    },
    "TagKey": {
      "type": "string"
    },
    "TagList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "TagValue": {
      "type": "string"
    }
  }
}