Skip to content

Commit db0f6c9

Browse files
committed
Small schema updates
1 parent 64cc6f7 commit db0f6c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

swagger/examples/input/analysis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@
4343
"description": "This is an analysis description",
4444
"job": "54759eb3c090d83494e2d804",
4545
"label": "Analysis label",
46-
"user": "user_1"
46+
4747
}

swagger/schemas/definitions/file.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"file-type": { "type": "string" },
66
"mimetype": { "type": "string" },
77
"modality": { "type": "string" },
8-
"classification": {
9-
"type": "object",
10-
},
8+
"classification": { "type": "object" },
119
"tags": {
1210
"items": { "type": "string"},
1311
"type": "array",
@@ -82,7 +80,9 @@
8280
"type": "object",
8381
"properties": {
8482
"type": {"$ref":"#/definitions/file-type"},
85-
"modality": {"$ref":"#/definitions/modality"} },
83+
"modality": {"$ref":"#/definitions/modality"},
84+
"classification": {"$ref":"#/definitions/classification"}
85+
},
8686
"additionalProperties": false
8787
},
8888
"file-output":{

0 commit comments

Comments
 (0)