Newer
Older
Colton Leekley-Winslow
committed
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"definitions": {
"_id": {"$ref":"../definitions/objectid.json#"},
"id": {"$ref":"../definitions/objectid.json#"},
"name": {"type":"string"},
"inputs-property-type":{"type":"string"},
"inputs-property-id":{"type":"string"},
"inputs-property-name":{"type":"string"},
"inputs-object": {
Colton Leekley-Winslow
committed
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"type": {"$ref":"#/definitions/inputs-property-type"},
"id": {"$ref":"#/definitions/inputs-property-id"},
"name": {"$ref":"#/definitions/inputs-property-name"}
},
"required": [
"type",
"id",
"name"
Colton Leekley-Winslow
committed
],
"additionalProperties":false
}
},
"inputs-array":{
"type":"array",
"items":{
"type":"object",
"properties":{
"type": {"$ref":"#/definitions/inputs-property-type"},
"id": {"$ref":"#/definitions/inputs-property-id"},
"name": {"$ref":"#/definitions/inputs-property-name"},
"input":{"type":"string"}
}
}
Colton Leekley-Winslow
committed
},
"destination": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
Colton Leekley-Winslow
committed
"id": {
"type": "string"
}
Colton Leekley-Winslow
committed
"required": [
"type",
"id"
],
"additionalProperties":false
},
"origin": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"id": {
"type": ["string", "null"]
}
},
"required": [
"type",
"id"
],
"additionalProperties":false
},
"type": "array",
"items": {"$ref": "../mongo/file.json"}
},
Colton Leekley-Winslow
committed
"tags": {
"type": "array",
"items": {
"type": "string"
}
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
},
"state":{
"type":"string"
},
"attempt":{
"type":"integer"
},
"config":{
"oneOf":[
{
"enum":[null]
},
{
"type":"object"
}
]
},
"request":{
"type":"object",
"properties":{
"inputs":{
"type":"array",
"items":{
"type":"object",
"properties":{
"type":{"enum":["http", "scitran"]},
"uri":{"type":"string"},
"location":{"type":"string"},
"vu":{"type":"string"}
},
"required":["type", "uri", "location"]
}
},
"target":{"type":"object"},
"outputs":{"type":"array"}
},
"saved_files":{
"type":"array"
Colton Leekley-Winslow
committed
}
}