> 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 %}
