Skip to content

Commit

Permalink
Small schema updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nagem committed Mar 13, 2018
1 parent 64cc6f7 commit db0f6c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion swagger/examples/input/analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
"description": "This is an analysis description",
"job": "54759eb3c090d83494e2d804",
"label": "Analysis label",
"user": "user_1"
"user": "[email protected]"
}
8 changes: 4 additions & 4 deletions swagger/schemas/definitions/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"file-type": { "type": "string" },
"mimetype": { "type": "string" },
"modality": { "type": "string" },
"classification": {
"type": "object",
},
"classification": { "type": "object" },
"tags": {
"items": { "type": "string"},
"type": "array",
Expand Down Expand Up @@ -82,7 +80,9 @@
"type": "object",
"properties": {
"type": {"$ref":"#/definitions/file-type"},
"modality": {"$ref":"#/definitions/modality"} },
"modality": {"$ref":"#/definitions/modality"},
"classification": {"$ref":"#/definitions/classification"}
},
"additionalProperties": false
},
"file-output":{
Expand Down

0 comments on commit db0f6c9

Please sign in to comment.