This commit is contained in:
2026-09-16 10:22:36 +08:00
parent 48cec45fee
commit 09a25cdc6b
5 changed files with 559 additions and 2 deletions
+14 -1
View File
@@ -24,6 +24,18 @@
"required": ["schema", "geometry", "features"],
"additionalProperties": false,
"$defs": {
"featureIntent": {
"type": "object",
"properties": {
"label": {"type": "string", "pattern": "^[a-z][a-z0-9_]{2,63}$"},
"summary": {"type": "string", "minLength": 1, "maxLength": 80},
"why": {"type": "string", "minLength": 1, "maxLength": 400},
"ties_to_requirement": {"type": "string", "pattern": "^[A-Za-z0-9_.:-]{1,80}$"},
"provenance": {"enum": ["authored", "annotated", "imported"]}
},
"required": ["summary", "provenance"],
"additionalProperties": false
},
"number": {"type": "number"},
"positive": {"type": "number", "exclusiveMinimum": 0},
"positiveInteger": {"type": "integer", "minimum": 1},
@@ -1192,7 +1204,8 @@
"params": {"type": "object"},
"execution_status": {"enum": ["supported", "deferred"]},
"selectors": {"type": "array", "items": {"$ref": "#/$defs/selectorRef"}},
"unresolved": {"type": "array", "items": {"type": "string", "minLength": 1}}
"unresolved": {"type": "array", "items": {"type": "string", "minLength": 1}},
"intent": {"$ref": "#/$defs/featureIntent"}
},
"required": ["id", "atomic_id", "depends_on", "params"],
"additionalProperties": false,