GFI event validator
Paste the events you are about to send. The validator runs the same code as elite-ingest:
- Structure and fields (
INVALID_EVENT,UNSUPPORTED_VERSION), the same rules as the JSON Schema, plusseq > prev,table.info'sgamematching the envelope, andtsbeing a real date. - Result consistency for baccarat and dragon tiger (
RESULT_INCONSISTENT): do the cards match the declared points, winner, pairs and drawing rules? - Niu Niu (
niuniu) event structure: positionsFandB-1toP3-5,faceDownoncard(the first cardFcannot be face down),handsonreveal, and all 21 cards whencomplete: true; result consistency (21 different cards, ranks and winners matching the cards) is checked too, the same as on the server. - Within the batch:
seq/prevcontinuity per table, duplicates and conflicts (SEQ_CONFLICT), where aresyncwould happen, and the batch size limits.
Everything runs in your browser; nothing is sent anywhere.
Server-side dry run
For a check by the real server (for example the source's table permissions or the seq it has already accepted), sign a request with your source key:
text
POST https://elite-dev-ingest.ewin888.com/ingest/v1/validate
Content-Type: application/json
{"events": [ … ]}The response has the same shape as POST /ingest/v1/events (acks, nacks, resync), but nothing is stored or applied.