{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-create-key-value-store-request-schema.json",
  "title": "CreateKeyValueStoreRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-key-value-store-api-openapi.yml#/components/schemas/CreateKeyValueStoreRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters."
    },
    "Comment": {
      "type": "string",
      "description": "The comment of the key value store."
    },
    "ImportSource": {
      "$ref": "#/$defs/ImportSource"
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    }
  },
  "required": [
    "Name"
  ],
  "$defs": {
    "ImportSource": {
      "type": "object",
      "properties": {
        "SourceType": {
          "type": "string",
          "enum": [
            "S3"
          ],
          "description": "The source type of the import source for the key value store."
        },
        "SourceARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the import source for the key value store."
        }
      },
      "required": [
        "SourceType",
        "SourceARN"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @."
        },
        "Value": {
          "type": "string",
          "description": "A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @."
        }
      },
      "required": [
        "Key"
      ]
    },
    "Tags": {
      "type": "object",
      "properties": {
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "A complex type that contains Tag elements."
        }
      }
    }
  }
}