Skip to content

Instantly share code, notes, and snippets.

@haugstrup
Last active April 19, 2017 21:45
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 haugstrup/f45089702a1497041d5f0744f2773271 to your computer and use it in GitHub Desktop.
Save haugstrup/f45089702a1497041d5f0744f2773271 to your computer and use it in GitHub Desktop.
Match Play QR code structures
// User type: Represents a user account
{
"type": "user",
"source": "matchplay", // Identifies the owner of internal IDs
"name": "Andreas Haugstrup Pedersen",
"user_id": 1, // Internal ID
"ifpa_id": 15925,
}
// Player type: Represents a player in a tournament
{
"type": "player",
"source": "matchplay", // Identifies the owner of internal IDs
"name": "Andreas Haugstrup Pedersen",
"player_id": 123456, // Internal ID
"user_id": 1, // Optional, internal ID pointing to the user account that represents this player
"ifpa_id": 15925,
}
// Arena type: Represents a single machine/arena in a tournament
{
"type": "arena",
"source": "matchplay", // Identifies the owner of internal IDs
"name": "Fathom",
"arena_id": 1, // Internal ID
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment