# Policy Glossary

Next, we discuss the terms that need to be understood to create Policies within the Guardian framework:

| Term                  | Definition                                                                                                          | Example                                                                                                                         |
| --------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Block                 | Either a Policy Workflow or a Policy Action                                                                         | MRVDataVerification (Policy Workflow)                                                                                           |
| `children`            | Defines a list of Blocks that are grouped into a Policy Workflow                                                    | List of Blocks                                                                                                                  |
| `defaultActive`       | Determines if Policy Workflow or a Policy Action can be executed                                                    | `true`                                                                                                                          |
| `permissions`         | Security Policy associated with a specific role                                                                     | `STANDARD_REGISTRY`                                                                                                             |
| `blockType`           | Specifies the type of Policy Workflow or Policy Action                                                              | `interfaceContainerBlock` (policy workflow name)                                                                                |
| `uiMetaData`          | Specifies the data of the policy workflow and/or Policy Action to be displayed                                      | `type: header___` `fields:___________` `name: document.issuer` `title: Owner_____` `type: text`                                 |
| `tag`                 | Specifies the ID of a policy action which can be referenced in other blocks as a dependency                         | `Request`                                                                                                                       |
| `schema`              | Defines the data schema for a block                                                                                 | `Installer` or `MRV`                                                                                                            |
| `dataType`            | Specifies the Type of data used in the Block                                                                        | `source`                                                                                                                        |
| `dependencies`        | Specifies which blocks `tag` or state transition rules `stateMutation`                                              | See `tag` for referencing other Policy actions and `stateMutation` is a specific example of the name of a state transition rule |
| `roles`               | Available roles from which the user can choose.                                                                     | `Auditor`                                                                                                                       |
| `cyclic`              | Go back one step to enable the creation of the previous object.                                                     | `true`                                                                                                                          |
| `stop propagation`    | End processing here, don't pass control to the next block.                                                          | `true`                                                                                                                          |
| `entityType`          | Gives the document a label in the DB. Needed for filtering.                                                         | `Installer`                                                                                                                     |
| `forceNewDocument`    | Adds new Document                                                                                                   | `true`                                                                                                                          |
| `options`             | List of attributes, which is added to the VC when it is being persistent. Can be used for more flexible filtration. | <p>"name": "status"</p><p>"value": "Minted",</p>                                                                                |
| `documentType`        | Type of Document                                                                                                    | VC/VP/DID                                                                                                                       |
| `topic`               | Specifies Topic Name                                                                                                | topic                                                                                                                           |
| `actor`               | Specifies a person, who will be next Owner                                                                          | Owner/Policy Owner                                                                                                              |
| `issuer`              | Specifies a person, who will be Signer                                                                              | owner / Policy Owner                                                                                                            |
| `onlyOwnDocuments`    | Specifies whether a block applies to only those documents owned by the role specified in `permissions`              | `true` or `false`                                                                                                               |
| `ViewHistory`         | Specifies documents in the Grid with status timeline                                                                | `true` or `false`                                                                                                               |
| `on errors`           | Specifies if the error has occurred in the Block                                                                    | Retry/Go to step/Go to tag                                                                                                      |
| `onlyAssignDocuments` | Specifies which VC should be assigned to the user                                                                   | `true` or `false`                                                                                                               |
