{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cavuno-com/json-schema/cavuno-com-update-tag-body-schema.json",
  "title": "UpdateTagBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cavuno-com-blog-tags-api-openapi.yml#/components/schemas/UpdateTagBody",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[a-z0-9-]+$",
      "description": "URL-friendly slug for the tag. Auto-generated from `name` when omitted."
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "description": "Description for the tag. Sanitized HTML."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "public",
        "internal"
      ],
      "description": "Tag visibility. One of `public` or `internal`."
    },
    "metaTitle": {
      "type": "string",
      "maxLength": 150,
      "description": "SEO meta title for the tag page."
    },
    "metaDescription": {
      "type": "string",
      "maxLength": 320,
      "description": "SEO meta description for the tag page."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The display name of the tag."
    }
  },
  "additionalProperties": false
}