> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/api-reference/database/schemas/enable-schema-trigger.md).

# Enable Schema Trigger

A **schema** defines a collection's fields, types, and validation. Schemas support drafts, versions, and publishing.

This endpoint enables the module for your project.

{% openapi src="/files/sSNsrg46S1BBoQLfucLf" path="/{version}/database/schemas/triggers/{triggerId}/enable" method="patch" %}
[norbix-hub-swagger.json](https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-1c88e0eff2a2e768b59c83c5f279cafc05fb5e77%2Fnorbix-hub-swagger.json?alt=media)
{% endopenapi %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Database](/norbix-cloud/database/collections/schema.md).

## Use it from code

Every Norbix SDK exposes this endpoint as a method — see the [SDK reference](/sdks-and-cli/install.md) to get set up.
