Definition JSON
This fragment is shown exactly as published. Use the chevrons to fold objects and arrays; linked $ref values return to their targets in the complete schema.
{ "type": "object",
"additionalProperties": false,
"properties": { "basis": { "enum": [ "each_piece",
"each_length",
"sampled",
"percentage",
"quantity",
"lot",
"heat",
"unknown",
"other" ] },
"percent": { "type": "number",
"minimum": 0,
"maximum": 100 },
"quantity": { "type": "integer",
"minimum": 0 },
"raw": { "type": "string" } },
"required": [ "basis" ]}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
basis | enum — "each_piece", "each_length", "sampled", "percentage", "quantity", "lot", … | Required | Basis used to select, activate, calculate, or interpret this requirement. |
percent | number — minimum 0 · maximum 100 | Optional | Percent used by this schema object. |
quantity | integer — minimum 0 | Optional | Quantity used by this schema object. |
raw | string | Optional | Raw used by this schema object. |