-
-
Save anonymous/1aeb4e7791a289fd91afd258c1dba689 to your computer and use it in GitHub Desktop.
jsonschemalint.com 2018-01-30T10:35:06.612Z
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id ": 12345, | |
"time": "1517308333", | |
"from": "Quaregnon", | |
"to": "Brussels", | |
"summary": "Car accident in Nivelles.", | |
"category": "accident", | |
"description": "Description here", | |
"geo": { | |
"latitude": 50, | |
"longitude": 3 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "A standardized schema for traffic alerts", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"time": { | |
"format": "date-time", | |
"type": "string", | |
"description": "Time" | |
}, | |
"from": { | |
"type": "string", | |
"description": "Direction from" | |
}, | |
"to": { | |
"type": "string", | |
"description": "Direction to" | |
}, | |
"summary": { | |
"type": "string" | |
}, | |
"category": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"geo": { | |
"$ref": "http://json-schema.org/geo" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment