D-006 Must a deal that sends dealfloor or totalcost also send cur, when cur defaults to "USD"?
What the schemas do
No: cur absent is "USD", so the money always has a currency; the schema states the default and requires nothing more.
Options
Why
The text gives cur a default, so a deal that leaves it out is in US dollars, and its money is never without a currency. Requiring cur anyway would reject deals the text allows. The schema writes default: "USD", which a receiver reads when cur is absent.
What we ask the specification to state
None needed: the default settles it. A receiver must apply "USD" when cur is absent, so the text could say so beside the default.
The specification lines it rests on
Each line is quoted as the record pins it. Expand an item to read the quote.
main
Object: Terms, the
currow L112 at 3028ddccur| string; default "USD" | Bid currency using ISO-4217 alpha codes.
Tag 1.0-202602
Object: Terms, the
currow L112 at 938a5d1cur| string; default "USD" | Bid currency using ISO-4217 alpha codes.
What it shapes
main: Terms.cur
Tag 1.0-202602: Terms.cur