WordPress · Schema
Term
A WordPress taxonomy term (category or tag)
CMSContent ManagementOpen SourceWordPress
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique identifier for the term |
| count | integer | Number of published posts for the term |
| description | string | HTML description of the term |
| link | string | URL of the term |
| name | string | HTML title for the term |
| slug | string | An alphanumeric identifier for the term |
| taxonomy | string | Type attribution for the term |
| parent | integer | The parent term ID |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-schema/wordpress-term-schema.json",
"title": "Term",
"description": "A WordPress taxonomy term (category or tag)",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique identifier for the term",
"example": 1
},
"count": {
"type": "integer",
"description": "Number of published posts for the term",
"example": 12
},
"description": {
"type": "string",
"description": "HTML description of the term",
"example": ""
},
"link": {
"type": "string",
"description": "URL of the term",
"example": "https://example.com/category/uncategorized/"
},
"name": {
"type": "string",
"description": "HTML title for the term",
"example": "Uncategorized"
},
"slug": {
"type": "string",
"description": "An alphanumeric identifier for the term",
"example": "uncategorized"
},
"taxonomy": {
"type": "string",
"description": "Type attribution for the term",
"example": "category"
},
"parent": {
"type": "integer",
"description": "The parent term ID",
"example": 0
}
}
}