{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fargate/json-schema/amazon-fargate-tag-resource-request-schema.json",
  "title": "TagResourceRequest",
  "description": "Request for TagResource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fargate-tagging-api-openapi.yml#/components/schemas/TagResourceRequest",
  "type": "object",
  "required": [
    "resourceArn",
    "tags"
  ],
  "properties": {
    "resourceArn": {
      "type": "string",
      "description": "Resource ARN"
    },
    "tags": {
      "type": "array",
      "description": "Tags to apply",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "description": "A tag applied to an ECS resource",
      "properties": {
        "key": {
          "type": "string",
          "description": "The tag key"
        },
        "value": {
          "type": "string",
          "description": "The tag value"
        }
      }
    }
  }
}