diff options
Diffstat (limited to 'doc/schema/1.0/post_send.json')
-rw-r--r-- | doc/schema/1.0/post_send.json | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/schema/1.0/post_send.json b/doc/schema/1.0/post_send.json new file mode 100644 index 0000000..166d0c6 --- /dev/null +++ b/doc/schema/1.0/post_send.json @@ -0,0 +1,55 @@ +{ + "$schema": "http://api.kernelci.org/json-schema/1.0/post_send.json", + "id": "http://api.kernelci.org/json-schema/1.0/post_send.json", + "title": "send", + "description": "Data to trigger the email report", + "type": "object", + "properties": { + "job": { + "type": "string", + "description": "The job name associated with the object" + }, + "kernel": { + "type": "string", + "description": "The kernel name associated with the object" + }, + "lab_name": { + "type": "string", + "description": "The name of the lab to trigger the report for" + }, + "boot_report": { + "type": "boolean", + "description": "Whether the boot report should be created and sent", + "default": 0 + }, + "build_report": { + "type": "boolean", + "description": "Whether the build report should be created and sent", + "default": 0 + }, + "boot_send_to": { + "type": ["string", "array"], + "description": "The emails to sent the boot report to" + }, + "build_send_to": { + "type": ["string", "array"], + "description": "The emails to send the build report to" + }, + "send_to": { + "type": ["string", "array"], + "description": "The emails to send the reports to, will be appended to the more specific email control values" + }, + "delay": { + "type": "number", + "description": "The number of seconds after which the email should be sent", + "default": 3600 + }, + "format": { + "type": "array", + "description": "The format of the email", + "enum": ["txt", "html"], + "default": ["txt"] + } + }, + "required": ["job", "kernel"] +} |