Sub-playbook outputs
To assist other playbook designers when they use a sub-playbook, when you create the sub-playbook, you can provide information and examples about the output. When a designer clicks the sub-playbook, the information about the output appears in the Details window. The information is also available on the Outputs tab when you click the sub-playbooks Start point.
If your sub-playbook produces output, add information to the following output fields. If no
output is produced, leave the fields empty.
- Output description
- Type a description of the sub-playbook output.
- JSON example
- If the sub-playbook returns JSON data, add an example of the expected JSON data.
{"sev-name" : "High", "sev-value" : 4 }
- JSON schema
- Provide an example schema for the JSON data. The schema defines the structure of the JSON data.
External references are not allowed in the schema, it must be fully defined.
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "sev-name": { "type": "string" }, "sev-value": { "type": "integer" } }, "required": [ "sev-name", "sev-value" ] }