Skip to content

Instantly share code, notes, and snippets.

/document Secret

Created January 30, 2018 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1aeb4e7791a289fd91afd258c1dba689 to your computer and use it in GitHub Desktop.
Save anonymous/1aeb4e7791a289fd91afd258c1dba689 to your computer and use it in GitHub Desktop.
jsonschemalint.com 2018-01-30T10:35:06.612Z
{
"id ": 12345,
"time": "1517308333",
"from": "Quaregnon",
"to": "Brussels",
"summary": "Car accident in Nivelles.",
"category": "accident",
"description": "Description here",
"geo": {
"latitude": 50,
"longitude": 3
}
}
{
"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