Skip to content

Instantly share code, notes, and snippets.

@thejeshgn
Last active February 23, 2021 04:41
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 thejeshgn/100a514a1aceae9b00166b683642d7d8 to your computer and use it in GitHub Desktop.
Save thejeshgn/100a514a1aceae9b00166b683642d7d8 to your computer and use it in GitHub Desktop.
eta.json
{
"$id": "eta.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Describes an ETA",
"type": "object",
"properties": {
"type" : {
"type" : "string",
"enum": ["pickup", "drop"]
},
"period":{
"type":"string",
"format":"duration",
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment