interface · Browser and Node

# Profile

An action vocabulary. `rootRequires` lists what a root mandate must constrain: an attribute name, or "attr:op".

`@toip-tools/mandates` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/types.ts#L150)

Import:

```ts
import { type Profile } from "@toip-tools/mandates";
```

## Declaration

interface:

```ts
interface Profile {
  id: string;
  actions: Record<string, { required: string[] }>;
  rootRequires: string[];
}
```

## Properties

- **`id` (required)**: `string`
- **`actions` (required)**: `Record<string, { required: string[]; }>`
- **`rootRequires` (required)**: `string[]`

[Usage guide](https://toip.tools/toolkit/mandates/#usage) · [Error handling](https://toip.tools/toolkit/mandates/#errors) · [All exports](https://toip.tools/toolkit/mandates/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/Profile/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
