Input schema for creating or updating a term
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-schema/wordpress-term-input-schema.json", "title": "TermInput", "description": "Input schema for creating or updating a term", "type": "object", "properties": { "name": { "type": "string", "description": "HTML title for the term", "example": "Technology" }, "description": { "type": "string", "description": "HTML description of the term", "example": "Technology-related posts" }, "slug": { "type": "string", "description": "An alphanumeric identifier", "example": "technology" }, "parent": { "type": "integer", "description": "The parent term ID", "example": 0 } }, "required": [ "name" ] }