aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/message.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'schemas_json/message.yaml')
-rw-r--r--schemas_json/message.yaml19
1 files changed, 18 insertions, 1 deletions
diff --git a/schemas_json/message.yaml b/schemas_json/message.yaml
index 0c79507..7f89ed3 100644
--- a/schemas_json/message.yaml
+++ b/schemas_json/message.yaml
@@ -53,7 +53,9 @@ definitions:
enum:
- active_job
job:
- "$ref": "hatter://message.yaml#/definitions/job"
+ oneOf:
+ - type: 'null'
+ - "$ref": "hatter://message.yaml#/definitions/job"
- title: Job queue
type: object
required:
@@ -71,6 +73,7 @@ definitions:
type: object
required:
- type
+ - entries
properties:
type:
enum:
@@ -79,6 +82,20 @@ definitions:
type: array
items:
"$ref": "hatter://message.yaml#/definitions/log_entry"
+ - title: repositories
+ type: object
+ required:
+ - type
+ - repositories
+ properties:
+ type:
+ enum:
+ - repositories
+ repositories:
+ type: array
+ items:
+ type: string
+
job:
type: object
required: