> For the complete documentation index, see [llms.txt](https://guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guardian.hedera.com/docs/3.7.0/guardian/workspace/schema-templates/apply-a-schema-template.md).

# Apply a Schema Template

Apply a reusable schema template to a draft policy.

### Prerequisites

* You are signed in as a Standard Registry user.
* You can manage draft policies and schema templates.
* The target policy is a draft without an applied template.

### Steps

1. Open the target draft policy.
2. Select **Apply Schema Template**.
3. Select the draft template or published template version.
4. Review the schemas and restrictions that will be copied.
5. Confirm the application.

### Result

The policy receives copies of the template schemas. The policy stores a template snapshot and binding.

### Troubleshooting

**Why is Apply Schema Template unavailable?**

The policy already has a template binding. Update the applied template instead. Detach the current template before applying a different template.

**Why can't the policy be published?**

The policy is linked to a draft schema template. Publish the template first. You can also detach the template from the policy.

**Why are locked field controls unavailable?**

The applied template locks that field. Update the field in the template. Then apply the template update to the policy. Detach the template to remove all restrictions.

**Why can't I add a field?**

The applied template disables custom fields for this schema. Enable **Can add custom fields** in the template. Then update the policy. Detach the template to remove the restriction.

### Related

* Concept: [Schema Templates Concept](https://guardian.hedera.com/docs/develop/guardian/workspace/schema-templates.md)


---

# 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://guardian.hedera.com/docs/3.7.0/guardian/workspace/schema-templates/apply-a-schema-template.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.
