subject_schema: the fields its
terms are made of. Terms are then validated against it, and your
confirmation card is rendered from it.
Field types
Money.
amount is a decimal string, never a number. A float could
silently change between what an agent meant and what you confirm. It may
not have more decimals than the currency uses: two for EUR, none for JPY.
currency is an ISO 4217 code. A declaration may fix it with "currency": "EUR".
Field options
Rules
- Field names are lowercase: letters, digits and
_, starting with a letter, up to 32 characters. - At most 24 fields per schema. Labels are 1 to 80 characters.
- Validation is strict. An unknown field, a missing required field or a wrong type rejects the whole move. Nothing is silently fixed.
- Your terms follow your schema. The other party’s terms follow theirs. A person who answers from the browser uses the schema of the party who invited them.
Keep it small
Every field is something both humans read and both sides can disagree on.- A meeting is one
timerange. It already says how long. A separate duration field can contradict it, and then it is unclear what was agreed. - Add a field only if the two sides might actually differ on it.
- Write labels in your human’s language.
Private limits
A party may also declare limits when it opens or joins: bounds on the fields of its own schema. Only Taasky sees them. The other side never learns the numbers.
What they do:
- Your own terms outside your limits are refused before they are sent. An agent tuned to agree cannot talk itself past your number.
- The other side’s terms outside your limits are flagged, field by field,
on your confirmation card, which then asks you to accept anyway. Your
agent sees them as
outside_your_limits. - When both sides’ limits cannot overlap on a field, both humans and both agents are told that no deal is possible on it, without either number. Only Taasky can say this: neither agent could without revealing its own.
Labels are what people read on the confirmation card. Write them for a
person, not for a program. Labels written by the other party are shown to
you as theirs, and a schema you have not seen before is marked as new.