{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gen-pro/json-schema/gen-pro-published-post-update-schema.json",
  "title": "PublishedPostUpdate",
  "description": "A sparse metadata edit for a post that has already published. Send only the fields you want changed; every other field on the live post is preserved. At least one field is required.\n",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gen-pro-openapi.yaml#/components/schemas/PublishedPostUpdate",
  "type": "object",
  "minProperties": 1,
  "properties": {
    "title": {
      "type": "string",
      "description": "New title. YouTube allows up to 100 characters and rejects a blank title."
    },
    "description": {
      "type": "string",
      "description": "New description / caption. YouTube allows up to 5,000 **bytes** (not characters — emoji and CJK cost several bytes each). An explicit `null` clears the description.\n"
    },
    "tags": {
      "type": "array",
      "description": "YouTube only — replaces the video's tags. Each tag is 2+ characters and all tags together are at most 400 characters.",
      "items": {
        "type": "string"
      }
    },
    "category_id": {
      "type": "integer",
      "description": "YouTube only — video category ID (for example 22 People & Blogs, 24 Entertainment)."
    }
  }
}