{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/centaur-labs/json-schema/centaur-labs-add-tag-request-schema.json",
  "title": "AddTagRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/centaur-labs-tags-api-openapi.yml#/components/schemas/AddTagRequest",
  "properties": {
    "tag": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1,
      "title": "Tag"
    },
    "task_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "title": "Task Id"
    },
    "problem_ids": {
      "anyOf": [
        {
          "items": {
            "type": "integer",
            "exclusiveMinimum": 0
          },
          "type": "array",
          "minLength": 1,
          "unique_items": true
        },
        {
          "type": "null"
        }
      ],
      "title": "Problem Ids"
    },
    "import_id": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        {
          "type": "null"
        }
      ],
      "title": "Import Id"
    }
  },
  "type": "object",
  "required": [
    "tag",
    "task_id"
  ]
}