Skip to content

Commit 3322cf4

Browse files
File types now support filename and hash.
1 parent 9fd31fa commit 3322cf4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

contest-api/json-schema/common.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@
120120
"fileref": {
121121
"type": "object",
122122
"properties": {
123-
"href": { "type": "string" },
124-
"mime": { "type": "string" },
125-
"width": { "type": "integer", "minimum": 1 },
126-
"height": { "type": "integer", "minimum": 1 }
123+
"href": { "type": "string" },
124+
"mime": { "type": "string" },
125+
"hash": { "type": "string" },
126+
"filename": { "type": "string" },
127+
"width": { "type": "integer", "minimum": 1 },
128+
"height": { "type": "integer", "minimum": 1 }
127129
},
128130
"required": ["href", "mime"],
129131
"$ref": "#/strictproperties"

0 commit comments

Comments
 (0)