45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
|
{
|
||
|
"$jsonSchema": {
|
||
|
"required": [
|
||
|
"id",
|
||
|
"name",
|
||
|
"location",
|
||
|
"country",
|
||
|
"timezone"
|
||
|
],
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"bsonType": [
|
||
|
"int",
|
||
|
"long"
|
||
|
],
|
||
|
"description": "Unique ID of the location"
|
||
|
},
|
||
|
"name": {
|
||
|
"bsonType": [
|
||
|
"string"
|
||
|
],
|
||
|
"description": "Location's name"
|
||
|
},
|
||
|
"location": {
|
||
|
"bsonType": [
|
||
|
"array"
|
||
|
],
|
||
|
"description": "Longitude and latitude of the location"
|
||
|
},
|
||
|
"country": {
|
||
|
"bsonType": [
|
||
|
"int",
|
||
|
"long"
|
||
|
],
|
||
|
"description": "Location's country ID"
|
||
|
},
|
||
|
"timezone": {
|
||
|
"bsonType": [
|
||
|
"string"
|
||
|
],
|
||
|
"description": "Location's timezone according to ISO 8601"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|