{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artashippinginc/json-schema/artashippinginc-tag-update-schema.json",
  "title": "TagUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artashippinginc-tags-api-openapi.yml#/components/schemas/TagUpdate",
  "additionalProperties": false,
  "properties": {
    "tag": {
      "properties": {
        "color": {
          "description": "The hexadecimal color code for the tag, without the leading `#`.",
          "maxLength": 6,
          "minLength": 6,
          "pattern": "^[0-9A-F]{6}$",
          "type": "string",
          "x-struct": null,
          "x-validate": null
        },
        "description": {
          "description": "An optional, brief description for this tag.",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ],
          "x-struct": null,
          "x-validate": null
        },
        "is_active": {
          "description": "Indicates whether or not the tag is active. Inactive tags may not be associated to new resources",
          "type": [
            "boolean",
            "null"
          ],
          "x-struct": null,
          "x-validate": null
        },
        "name": {
          "description": "The name for the tag. It may contain lower case letters, dashes, and alphanumeric characters only. The maximum character count is 50.",
          "maxLength": 50,
          "pattern": "^[a-z0-9-]{1,50}$",
          "type": "string",
          "x-struct": null,
          "x-validate": null
        }
      },
      "type": "object",
      "x-struct": null,
      "x-validate": null
    }
  },
  "required": [
    "tag"
  ],
  "type": "object",
  "x-struct": "Elixir.DocsWeb.Schemas.RequestBody.TagUpdate",
  "x-validate": null
}