diff options
| author | Kostya <mail@sartin.in> | 2026-09-06 09:21:37 +0300 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-09-06 09:21:37 +0300 |
| commit | da82f3b492c3cd36f2e8723632a63a6cc1f4e39b (patch) | |
| tree | 2ea5970e34757332c9a76e410b6f7ea0099e30ef /api/src/main/java/market | |
| parent | c0dde6531e831730c25230097fd85a8a38214101 (diff) | |
| download | guess-market-da82f3b492c3cd36f2e8723632a63a6cc1f4e39b.tar.gz guess-market-da82f3b492c3cd36f2e8723632a63a6cc1f4e39b.tar.xz guess-market-da82f3b492c3cd36f2e8723632a63a6cc1f4e39b.zip | |
catalog: add generated v3 JAXB binding and ex-2 test data
The ex-2 schema describes a nested Guess-Market/GM-events document in
which every event carries its pricing mechanism inline, as either a
GM-LMSR element holding the liquidity parameter b or a GM-order-book
element holding the allow-mint, initial and d attributes, instead of
naming a mechanism and passing its parameters separately.
Add the xjc-generated classes for that schema under catalog.model.v3,
along with the fixtures the loader will be tested against: small.xml
with two events, one per mechanism, multiple.xml with four, and two
negative cases -- error-2.xml, where a market maker is funded with
zero initial cash, and error-3.xml, where a market maker points at
event id 12, which no event declares -- so the cross-reference and
funding checks have something to reject.
The binding covers the GM-events subtree only. The GM-users half of
the document and the per-event id element are not bound yet, so
nothing reads these classes so far.
Diffstat (limited to 'api/src/main/java/market')
0 files changed, 0 insertions, 0 deletions