structural-invalid-ordered-decimal
ordered comparison operands use the decimal grammar
structural invalid
- Layer
- structural
- Expected result
- invalid
- Expected diagnostic
JPS-STRUCTURE-DECIMAL-OPERANDat/rules/0/when/value- Specification
- §2.2
The expected result is conformance-corpus metadata, not a claim
about factual grounding, authority, safety, or operational fitness.
Exact fixture
{
"specVersion": "0.1.0-draft",
"id": "https://example.com/judgment-packs/invalid-ordered-decimal",
"version": "0.1.0",
"title": "Invalid ordered decimal",
"decision": {
"intent": "Exercise the ordered-operand decimal grammar.",
"question": "Is a leading-zero decimal operand rejected?"
},
"outcomes": [
{ "id": "accept", "label": "Accept" },
{ "id": "reject", "label": "Reject" }
],
"rules": [
{
"id": "ordered-rule",
"description": "Uses a decimal operand with a prohibited leading zero.",
"when": {
"op": "fact",
"path": "/amount",
"operator": "greater-than",
"value": "01"
},
"outcome": "accept",
"onUnknown": "escalate"
}
]
}