Skip to content

Instantly share code, notes, and snippets.

@smadbe
Created December 11, 2013 15:07
Show Gist options
  • Save smadbe/7911976 to your computer and use it in GitHub Desktop.
Save smadbe/7911976 to your computer and use it in GitHub Desktop.
{
"type": "object",
"properties": {
"label": {
"type": "string",
"required" : true,
"description”: ”a short text label in english describing the action"
},
"player": {
"type": "object",
"required": "false",
"properties": {
"number": {
"type": "number",
"required": true
},
"name": {
"type": "string",
"required": false,
},
"home_team": {
"type": "boolean",
"required": true
}
}
},
"home_team": {
"type": "boolean",
"required": false,
"description": "only if not related to a player but to a team in general"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment