Added validation samples
This commit is contained in:
parent
502ed0406e
commit
35a8cd4b2b
9
validation/examples/entry.json
Normal file
9
validation/examples/entry.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"locations": [
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"garbage_type": 0,
|
||||||
|
"date": {
|
||||||
|
"$date": "1970-01-01T00:00:00.000+00:00"
|
||||||
|
}
|
||||||
|
}
|
10
validation/examples/location.json
Normal file
10
validation/examples/location.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": 123456,
|
||||||
|
"name": "Sample Location",
|
||||||
|
"location": [
|
||||||
|
0.00000,
|
||||||
|
0.00000
|
||||||
|
],
|
||||||
|
"country": 0,
|
||||||
|
"timezone": "Europe/London"
|
||||||
|
}
|
9
validation/examples/user.json
Normal file
9
validation/examples/user.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": 123456789,
|
||||||
|
"locale": "en",
|
||||||
|
"enabled": true,
|
||||||
|
"location": 1,
|
||||||
|
"offset": 1,
|
||||||
|
"time_hour": 18,
|
||||||
|
"time_minute": 0
|
||||||
|
}
|
Reference in New Issue
Block a user