Skip to content

Commit

Permalink
fix: resolve issues in schedule.json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
saerdnaer committed Jul 16, 2023
1 parent 22a49b2 commit da36bca
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions validator/json/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"rooms": false
},
"required": ["base_url", "conference", "version"]
"required": ["conference", "version"]
},
"Conference": {
"type": "object",
Expand Down Expand Up @@ -58,7 +58,10 @@
},
"start": {
"type": "string",
"format": "date"
"$oneOf": [
{ "format": "date" },
{ "format": "date-time" }
]
},
"end": {
"type": "string",
Expand Down Expand Up @@ -184,10 +187,10 @@
"type": "string"
},
"subtitle": {
"type": "string"
"type": ["string", "null"]
},
"track": {
"type": "string"
"type": ["string", "null"]
},
"type": {
"type": "string"
Expand All @@ -196,16 +199,19 @@
"type": "string"
},
"abstract": {
"type": "string"
"type": ["string", "null"]
},
"description": {
"type": "string"
"type": ["string", "null"]
},
"recording_license": {
"type": "string"
},
"do_not_record": {
"type": "boolean"
"type": ["string", "null"]
},
"do_not_stream": {
"type": ["string", "null"]
},
"persons": {
"type": "array",
Expand All @@ -228,19 +234,13 @@
},
"required": [
"abstract",
"answers",
"attachments",
"date",
"description",
"do_not_record",
"duration",
"guid",
"id",
"language",
"links",
"logo",
"persons",
"recording_license",
"room",
"slug",
"start",
Expand All @@ -249,8 +249,7 @@
"track",
"type",
"url"
],
"title": "Room"
]
},
"Person": {
"type": "object",
Expand Down

0 comments on commit da36bca

Please sign in to comment.