{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dynamodb/json-schema/amazon-dynamodb-tag-resource-input-schema.json",
  "title": "TagResourceInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dynamodb-tags-api-openapi.yml#/components/schemas/TagResourceInput",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "type": "string",
      "description": "Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN)."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags to be assigned to the Amazon DynamoDB resource."
    }
  },
  "required": [
    "ResourceArn",
    "Tags"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Tag keys are case sensitive. Each DynamoDB table can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Tag values are case-sensitive and can be null."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}