> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gobl.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ScenarioSet

ScenarioSet is a collection of tax scenarios for a given schema that can be used to determine special codes or notes that need to be included in the final document.

## Schema ID

`https://gobl.org/draft-0/tax/scenario-set`

## Properties

| Title  | Property | Type                                           | Description                                          |
| ------ | -------- | ---------------------------------------------- | ---------------------------------------------------- |
| Schema | `schema` | string                                         | Partial or complete schema URL for the document type |
| List   | `list`   | array of [tax.Scenario](/draft-0/tax/scenario) | List of scenarios for the schema                     |

## Validation Rules

| Field    | Test                                                                  | Validation Code / Message                                        |
| -------- | --------------------------------------------------------------------- | ---------------------------------------------------------------- |
| `schema` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-TAX-SCENARIOSET-01`<br />Schema is required                |
| `list`   | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-TAX-SCENARIOSET-02`<br />At least one scenario is required |
