valid-annotations-one-element-list
a one-element list on one rule and the plain string on another are both admitted
semantic valid
- Layer
- semantic
- Expected result
- valid
- 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-one-element-list",
"version": "0.1.0",
"title": "A one-element list and a plain string",
"decision": {
"intent": "Exercise one rule of RFC 0031.",
"question": "Is the request accepted?"
},
"outcomes": [
{
"id": "accept",
"label": "Accept"
},
{
"id": "refer",
"label": "Refer for review"
}
],
"rules": [
{
"id": "accept-request",
"description": "Accept a request made online.",
"when": {
"op": "fact",
"path": "/request/channel",
"operator": "equals",
"value": "online"
},
"outcome": "accept",
"onUnknown": "ignore",
"extensions": {
"org.judgmentpack.annotations": {
"category": [
"intake"
]
}
}
},
{
"id": "refer-request",
"description": "Refer a request made on any other channel.",
"when": {
"op": "fact",
"path": "/request/channel",
"operator": "not-equals",
"value": "online"
},
"outcome": "refer",
"onUnknown": "ignore",
"extensions": {
"org.judgmentpack.annotations": {
"category": "intake"
}
}
}
]
}