Skip to content

Instantly share code, notes, and snippets.

@smadbe
Last active December 31, 2015 01:09
Show Gist options
  • Save smadbe/7912132 to your computer and use it in GitHub Desktop.
Save smadbe/7912132 to your computer and use it in GitHub Desktop.
{
"type": "object",
"properties": {
"home_team": {
"type": "boolean",
"required": true,
"description": "the team which do the substitution"
},
"player_out": {
"type": "object",
"required": "true",
"properties": {
"number": {
"type": "number",
"required": true
},
"name": {
"type": "string",
"required": false,
}
}
},
"player_in": {
"type": "object",
"required": "true",
"properties": {
"number": {
"type": "number",
"required": true
},
"name": {
"type": "string",
"required": false,
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment