{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-add-tags-request-schema.json",
  "title": "AddTagsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-tags-api-openapi.yml#/components/schemas/AddTagsRequest",
  "type": "object",
  "properties": {
    "ARN": {
      "type": "string",
      "description": "Amazon Resource Name (ARN) for the OpenSearch Service domain, data source, or application to which you want to attach resource tags."
    },
    "TagList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "List of resource tags."
    }
  },
  "required": [
    "ARN",
    "TagList"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Tag keys must be unique for the domain to which they are attached."
        },
        "Value": {
          "type": "string",
          "description": "The value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity"
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}