structural-annotations-empty-object-outcome
an empty annotations object on an outcome is refused, as on a rule
structural invalid
- Layer
- structural
- Expected result
- invalid
- Expected diagnostic
JPS-STRUCTURE-MIN-PROPERTIESat/outcomes/0/extensions/org.judgmentpack.annotations- Specification
- §9.2
The expected result is conformance-corpus metadata, not a claim
about factual grounding, authority, safety, or operational fitness.
Exact fixture
{
"specVersion": "0.6.0",
"id": "https://example.com/judgment-packs/annotations-empty-object-outcome",
"version": "0.1.0",
"title": "Malformed annotations",
"decision": {
"intent": "Exercise one rule of RFC 0031.",
"question": "Is the request accepted?"
},
"outcomes": [
{
"id": "accept",
"label": "Accept",
"extensions": {
"org.judgmentpack.annotations": {}
}
},
{
"id": "refer",
"label": "Refer for review"
}
],
"rules": [
{
"id": "accept-request",
"description": "Accept every request.",
"when": {
"op": "literal",
"value": true
},
"outcome": "accept",
"onUnknown": "ignore"
}
]
}