# Location

### Sunbird.location (**PRIMARY KEY: id)**

Table is used for storing locations.&#x20;

<table><thead><tr><th width="159.33333333333331">Column Name</th><th width="113">Data Type</th><th>Description</th><th>Sample Value</th></tr></thead><tbody><tr><td>id</td><td>text</td><td>UUID of the location</td><td>0c0391ba-610b-4796-8645-338d047b1e28</td></tr><tr><td>code</td><td>text</td><td>Unique code with which location is identified externally or outside sunbird system</td><td>4021</td></tr><tr><td>name</td><td>text</td><td>Name of the location</td><td></td></tr><tr><td>parentid</td><td>text</td><td>Parent location id in sunbird system</td><td>91d9baae-14f1-477a-955c-f91bd9037f0b </td></tr><tr><td>type</td><td>text</td><td>Type of the location. This is  validated against the configuration of location types in properties file "sunbird_valid_location_types" . This can be changed</td><td>state, district, block, cluster </td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lern.sunbird.org/use/developer-guide/user-and-org-service/data-models/cassandra/data-dictionary/location.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
