Skip to content
Snippets Groups Projects
Commit 4f6c777d authored by Megan Henning's avatar Megan Henning
Browse files

Add job schema changes

parent d050ca4f
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,26 @@
],
"additionalProperties":false
},
"origin": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"id": {
"type": ["string", "null"]
}
},
"required": [
"type",
"id"
],
"additionalProperties":false
},
"outputs": {
"type": "array",
"items": {"$ref": "../mongo/file.json"}
},
"tags": {
"type": "array",
"items": {
......
......@@ -48,6 +48,26 @@
],
"additionalProperties":false
},
"origin": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"id": {
"type": ["string", "null"]
}
},
"required": [
"type",
"id"
],
"additionalProperties":false
},
"outputs": {
"type": "array",
"items": {"$ref": "../mongo/file.json"}
},
"tags": {
"type": "array",
"items": {
......
......@@ -10,6 +10,8 @@
"name":{},
"inputs":{},
"destination":{},
"origin": {},
"outputs": {},
"tags":{},
"state":{},
"attempt":{},
......@@ -31,6 +33,7 @@
],
"required":[
"id", "name", "inputs", "config",
"destination", "tags", "state", "attempt"
"destination", "tags", "state", "attempt",
"origin", "outputs"
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment