Last active
April 26, 2022 08:47
-
-
Save manico/5b50afdaa08b7520777f9081d0902f28 to your computer and use it in GitHub Desktop.
Games Ticket Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "seven-e1372dd1-9c5f-4f5b-a797-51621a1fa348-00X11110A", | |
"version": 1, | |
"productName": "Roulette", | |
"productInstanceId": "e1372dd1-9c5f-4f5b-a797-51621a1fa348", | |
"tenantId": "e1372dd1-9c5f-4f5b-a797-51621a1fa348", | |
"status": "Lost", | |
"createdAt": "2020-10-29T15:30:43.770Z", | |
"updatedAt": "2020-10-29T15:30:43.770Z", | |
"expiresAt": "2020-11-29T15:30:43.770Z", | |
"resolvedAt": "2020-10-29T15:30:43.770Z", | |
"paidoutAt": "2020-10-29T15:30:43.770Z", | |
"canceledAt": "2020-10-29T15:30:43.770Z", | |
"origin": [ | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa350", | |
"name": "Player Name", | |
"type": "Player", | |
"source": "Payment" | |
}, | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa349", | |
"name": "Operator Name", | |
"type": "Operator", | |
"source": "Payment" | |
}, | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa348", | |
"name": "Betshop Name", | |
"type": "Betshop", | |
"source": "Payment" | |
}, | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa347", | |
"name": "Device Name", | |
"type": "Device", | |
"source": "Payment" | |
}, | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa346", | |
"name": "Cash Register Name", | |
"type": "CashRegister", | |
"source": "Payment" | |
} | |
], | |
"client": [ | |
{ | |
"name": "Seven Shop", | |
"type": "Application", | |
"source": "Payment" | |
}, | |
{ | |
"name": "Chrome", | |
"type": "Runtime", | |
"source": "Payment" | |
}, | |
{ | |
"name": "Mobile", | |
"type": "Device", | |
"source": "Payment" | |
}, | |
{ | |
"name": "Mobile", | |
"type": "Channel", | |
"source": "Payment" | |
} | |
], | |
"platform": { | |
"id": "seven", | |
"name": "Seven" | |
}, | |
"paytable": [ | |
[ | |
{ | |
"id": 1, | |
"odds": 10000 | |
}, | |
{ | |
"id": 2, | |
"odds": 9000 | |
} | |
] | |
], | |
"selections": [ | |
{ | |
"productInstanceId": "e1372dd1-9c5f-4f5b-a797-51621a1fa348", | |
"productName": "Roulette", | |
"eventId": 1000, | |
"eventDisplayId": "250", | |
"displayId": "Straight Bet", | |
"typeId": 1, | |
"typeName": "Straight", | |
"result": "7", | |
"paytableRef": 1, | |
"selection": { | |
"value": [1, 2, 3, 4, 5, 6], | |
"odds": 36 | |
}, | |
"status": "Lost" | |
}, | |
{ | |
"productInstanceId": "e1372dd1-9c5f-4f5b-a797-51621a1fa348", | |
"productName": "Roulette", | |
"eventId": 1000, | |
"eventDisplayId": "250", | |
"displayId": "Straight Bet", | |
"typeId": 1, | |
"typeName": "Straight", | |
"result": "7", | |
"paytableRef": 1, | |
"selection": { | |
"value": [1, 2, 3, 4, 5, 6], | |
"odds": 36 | |
}, | |
"status": "Lost" | |
} | |
], | |
"bets": [ | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa349", | |
"selectionRefs": [ | |
{ | |
"selectionIndex": 0 | |
} | |
], | |
"selectedSystems": [ | |
1 | |
], | |
"taxes": [ | |
{ | |
"id": "BAPayinTax", | |
"value": 10, | |
"consignee": "Punter" | |
} | |
], | |
"stake": { | |
"real": { | |
"value": 1000, | |
"type": "Total" | |
} | |
}, | |
"payment": { | |
"real": { | |
"value": 1100, | |
"type": "Total" | |
} | |
}, | |
"winnings": { | |
"real": { | |
"value": 0, | |
"type": "Total" | |
}, | |
"minPossible": 1, | |
"maxPossible": 10000 | |
}, | |
"payout": { | |
"real": { | |
"value": 0, | |
"type": "Total" | |
} | |
}, | |
"status": "Lost" | |
}, | |
{ | |
"id": "e1372dd1-9c5f-4f5b-a797-51621a1fa359", | |
"selectionRefs": [ | |
{ | |
"selectionIndex": 1 | |
} | |
], | |
"selectedSystems": [ | |
1 | |
], | |
"taxes": [ | |
{ | |
"id": "BAPayinTax", | |
"value": 10, | |
"consignee": "Punter" | |
} | |
], | |
"stake": { | |
"real": { | |
"value": 1000, | |
"type": "Total" | |
} | |
}, | |
"payment": { | |
"real": { | |
"value": 1100, | |
"type": "Total" | |
} | |
}, | |
"winnings": { | |
"real": { | |
"value": 0, | |
"type": "Total" | |
} | |
}, | |
"payout": { | |
"real": { | |
"value": 0, | |
"type": "Total" | |
} | |
}, | |
"status": "Lost" | |
} | |
], | |
"codes": [ | |
{ | |
"type": "SNVBC_1", | |
"id": "00X11110A" | |
}, | |
{ | |
"type": "TCKPN_1", | |
"id": "4413" | |
} | |
], | |
"totals": { | |
"taxes": [ | |
{ | |
"id": "BAPayinTax", | |
"type": "payin", | |
"value": 20, | |
"consignee": "Punter" | |
} | |
], | |
"stake": { | |
"real": { | |
"value": 2000, | |
"type": "Total" | |
} | |
}, | |
"payment": { | |
"real": { | |
"value": 2020, | |
"type": "Total" | |
} | |
}, | |
"payout": { | |
"real": { | |
"value": 0, | |
"type": "Total" | |
} | |
}, | |
"jackpot": { | |
"real": { | |
"value": 0, | |
"type": "Total" | |
}, | |
"primary": { | |
"value": 0, | |
"type": "Contribution" | |
}, | |
"secondary": { | |
"value": 0, | |
"type": "Contribution" | |
} | |
} | |
}, | |
"meta": { | |
"sourceId": "10000", | |
"platformDeliveryChannel": "Mobile" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Meta field is optional and we have no validation there.
Product can place whichever data it finds useful.