Schema
category
Type:
object
Repository category for classification and discovery
name
· required
Type:
string
Human-readable name of the category
All schema constraints and annotations
{
"description": "Human-readable name of the category",
"example": "Databases",
"minLength": 1,
"type": "string"
}slug
· required
Type:
string
URL-friendly identifier for the category
All schema constraints and annotations
{
"description": "URL-friendly identifier for the category",
"example": "databases",
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
}All schema constraints and annotations
{
"description": "Repository category for classification and discovery",
"properties": {
"name": {
"description": "Human-readable name of the category",
"example": "Databases",
"minLength": 1,
"type": "string"
},
"slug": {
"description": "URL-friendly identifier for the category",
"example": "databases",
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
}
},
"required": [
"name",
"slug"
],
"type": "object"
}