Skip to content

Commit

Permalink
ktl-1171 fix: validation schema for universities.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpachoo committed Sep 16, 2023
1 parent d20aeae commit f3ef2ed
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions data/schemas/universities.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@
"type": "string"
},
"courses": {
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"url": {
"type": "string"
}
},
"additionalProperties": false
"additionalProperties": false
}
},
"geo": {
"type": "object",
Expand Down

0 comments on commit f3ef2ed

Please sign in to comment.