{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AncestorReference",
"title": "AncestorReference",
"type": "object",
"properties": {
"categoryId": {
"type": "string",
"description": "The unique identifier of the eBay ancestor category.
Note: The root node of a full default category tree includes the categoryId field, but its value should not be relied upon. It provides no useful information for application development."
},
"categoryName": {
"type": "string",
"description": "The name of the ancestor category identified by categoryId."
},
"categorySubtreeNodeHref": {
"type": "string",
"description": "The href portion of the getCategorySubtree call that retrieves the subtree below the ancestor category node."
},
"categoryTreeNodeLevel": {
"type": "integer",
"description": "The absolute level of the ancestor category node in the hierarchy of its category tree.
Note: The root node of any full category tree is always at level 0. ",
"format": "int32"
}
},
"description": "This type contains information about one of the ancestors of a suggested category. An ordered list of these references describes the path from the suggested category to the root of the category tree it belongs to."
}