Files
awoooi/docs/schemas/security_supply_chain_contract_manifest_v1.schema.json
Your Name 9e15fd08b3
All checks were successful
CD Pipeline / tests (push) Successful in 1m39s
Code Review / ai-code-review (push) Successful in 15s
CD Pipeline / build-and-deploy (push) Successful in 5m19s
CD Pipeline / post-deploy-checks (push) Successful in 2m11s
feat(web): land iwooos security posture surfaces
2026-05-25 20:35:52 +08:00

93 lines
2.2 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:awoooi:security-supply-chain-contract-manifest-v1",
"title": "AWOOOI Security Supply Chain Contract Manifest (v1)",
"description": "集中列出 Security Supply Chain 初期可供 AwoooP mirror/read-only 消費的 schema、snapshot 與人讀文件。",
"type": "object",
"required": [
"schema_version",
"status",
"default_enforcement_level",
"contract_count",
"contracts"
],
"properties": {
"schema_version": {
"const": "security_supply_chain_contract_manifest_v1"
},
"status": {
"type": "string",
"enum": ["draft"]
},
"default_enforcement_level": {
"type": "string",
"enum": ["mirror_only"]
},
"contract_count": {
"type": "integer",
"minimum": 0
},
"contracts": {
"type": "array",
"items": {
"type": "object",
"required": [
"contract",
"schema_path",
"snapshot_paths",
"human_docs",
"consumer",
"consumption_mode",
"allowed_actions",
"forbidden_actions",
"notes"
],
"properties": {
"contract": {
"type": "string"
},
"schema_path": {
"type": "string"
},
"snapshot_paths": {
"type": "array",
"items": {
"type": "string"
}
},
"human_docs": {
"type": "array",
"items": {
"type": "string"
}
},
"consumer": {
"type": "string"
},
"consumption_mode": {
"type": "string",
"enum": ["mirror_only", "read_only_policy", "suggest_only", "approval_only"]
},
"allowed_actions": {
"type": "array",
"items": {
"type": "string"
}
},
"forbidden_actions": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}