{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sns/json-schema/amazon-sns-tag-resource-request-schema.json",
  "title": "TagResourceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sns-amazon-sns-amazon-simple-notification-service-sns-api-api-openapi.yml#/components/schemas/TagResourceRequest",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "type": "string",
      "description": "The ARN of the topic to which to add tags."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags to be added to the specified topic. A tag consists of a required key and an optional value."
    }
  },
  "required": [
    "ResourceArn",
    "Tags"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The required key portion of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The optional value portion of the tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}