> For the complete documentation index, see [llms.txt](https://docs.laws.africa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.laws.africa/administration/document-subtypes.md).

# Document subtypes

Document subtypes allow you to specify different types of legislation, such as regulations, notices, etc. A subtype has a unique abbreviation that is used in the FRBR URI of works of that subtype.

## Adding a new document subtype

To add a document subtype:

1. Open the admin interface
2. Under **Indigo API** click **Document subtypes**
3. Click **Add document subtype**
4. Fill in the **name** and **abbreviation**
5. Click **Save**

{% hint style="info" %}
Use only lowercase in the **abbreviation** and replace spaces with hyphens (-).
{% endhint %}

![](/files/-MARVcncw6hbBUyXy_uJ)

## Editing a document subtype

Editing an existing document subtype will automatically update all the linked works.

To edit a document subtype:

1. Open the admin interface
2. Under **Indigo API** click **Document subtypes**
3. Click on the document subtype you want to edit&#x20;
4. Make your changes
5. Click **Save**

## Deleting a document subtype

To delete a document subtype:

1. Open the admin interface
2. Under **Indigo API** click **Document subtypes**
3. Click on the document subtype to delete
4. Click **Delete**

{% hint style="warning" %}
You cannot delete a document subtype that is associated with works. Delete the works first.
{% endhint %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.laws.africa/administration/document-subtypes.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.
