Skip to content

Commit 2a781bf

Browse files
committed
Use a schema reference for the Direct URL file field
1 parent 749aa33 commit 2a781bf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎extra/specifications/schemas/direct-url.schema.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"subdirectory": {
1212
"type": "string"
1313
},
14+
"file": {
15+
"type": "string"
16+
},
1417
"DirInfo": {
1518
"type": "object",
1619
"properties": {
@@ -68,7 +71,7 @@
6871
"$ref": "#/definitions/subdirectory"
6972
},
7073
"file": {
71-
"type": "string"
74+
"$ref": "#/definitions/file"
7275
}
7376
},
7477
"required": ["url"]

0 commit comments

Comments
 (0)