# category


[API catalog](/reference/api/) · [Docker Hub overview](/reference/api/hub/latest/) · [Product manual](https://docs.docker.com/docker-hub/) · [OpenAPI specification](/reference/api/hub/latest.yaml)

API version: 2-beta



Schema constraints and annotations:

```json
{
  "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"
}
```



