# Define a role

A HAT describes purpose, operations and required permissions. Inspect the boundary before using it.

## Public specifications and source

Read the public HAT specification and inspect declared roles and permissions.

[hat-specifications](https://github.com/hathq/hat-specifications)

## Read the specification

Start with the README to find specifications and examples.

[hat-specifications — README](https://github.com/hathq/hat-specifications/blob/main/README.md)

## When to use it

Start with the information and outcome you need, then combine focused capabilities.

[Read the guide](https://ihat.online/en/docs/getting-started)

## Next steps

Explore the guides and related topics.

[Use cases](https://ihat.online/en/use-cases)

[Discover HAT](https://ihat.online/en/hat)

Canonical: https://ihat.online/en/hat/specification
