Files
eventbook-exchange/docs/examples/market-lifecycle.jsonl

7 lines
646 B
JSON

{"op":"list","id":"watch","market":"lobby","question":"Which result will win?","rules":"Simulated outcome"}
{"op":"event","id":"match","event":"fixture","slug":"fixture-event","title":"Fixture","category":"esports"}
{"op":"list","id":"listed","market":"match-1","slug":"fixture-winner","rules":"Use official result","listing":{"event":"fixture","question":"Who wins the series?","yes_label":"Froglings","no_label":"1win","source":"simulated result","resolver":"operator","rules_version":1}}
{"op":"open","id":"start","market":"match-1"}
{"op":"close","id":"stop","market":"match-1"}
{"op":"resolve","id":"final","market":"match-1","winner":"NO"}