Expand a reason-for-control code
explain_reason_codeExpand a reason-for-control code such as NS, AT or CB into its full name. Use this when reading a Control List entry or a chart column and the two-letter code is not obvious. Returns the code and the name it stands for, or the whole glossary when called with no argument. This is a glossary lookup only: it reports what a code means, never whether that control applies to anything you are shipping, and it cannot tell you whether a licence is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | A two-letter reason code, e.g. NS. Omit to list all of them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The code, uppercased. | |
| name | No | What the code stands for. | |
| codes | No | Every known code, when none was given. | |
| status | Yes | Outcome of the lookup. |