> For the complete documentation index, see [llms.txt](https://knowlg.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowlg.sunbird.org/learn/product-and-developer-guide/taxonomy-and-tagging/object-category-service/faqs.md).

# FAQs

This page answers frequently asked questions about Object Category and Object Category Definition.

### How to create an object category definition?

In order to [create object category definition](http://docs.sunbird.org/latest/apis/objectcategory/#operation/Create%20Object%20Category%20Definition), master category of the primary category should be created first.

### Can I change datatype of a property using object category definition?

No, datatype of a property cannot be changed. Only, property value range list and default value of a property can be updated using the [object category definition API](http://docs.sunbird.org/latest/apis/objectcategory/#operation/Update%20Object%20Category%20Definition).

### Is it mandatory to mention all properties of object schema during object category definition creation?

No, only necessary properties to be overriden can be mentioned.

### Can I add new properties to object schema using object category definition instead of schema.json?

Yes, new properties can be added to object category definition.

### How to fetch list of primaryCategories defined/configured in the System?

List of configured primary categories can be fetched using '[Composite Search API](http://docs.sunbird.org/latest/apis/searchapi/#operation/Composite%20Search)'.\
`{ "request": { "filters": { "status": [], "objectType":["ObjectCategoryDefintion","ObjectCategory"] }, "limit": 100, "sortby": "Desc" } }`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowlg.sunbird.org/learn/product-and-developer-guide/taxonomy-and-tagging/object-category-service/faqs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
