冻结地图1二十分钟纵切版的平衡、证据与金标登记。 新增 ReferenceAsset/2 清单、策略、release、受信快照及 CLI/Service/acceptance provenance /4 消费链;保持 survivor live、R1 签名与部署关闭。
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://wanxiang.ai/contracts/play-loop/reference-asset-release.schema.json",
|
|
"title": "ReferenceAssetReleaseV1",
|
|
"description": "ReferenceAssetRelease/1。将 ReferenceAssetRegistry/2、ReferenceAssetConsumptionPolicy/1、验证器版本和可信根绑定为不可变 release 身份。",
|
|
"type": "object",
|
|
"required": [
|
|
"schemaVersion", "releaseId", "registryRef", "registryHash",
|
|
"policyRef", "policyHash", "verifierVersion", "trustedRootId"
|
|
],
|
|
"properties": {
|
|
"schemaVersion": { "const": "ReferenceAssetRelease/1" },
|
|
"releaseId": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._-]*$"
|
|
},
|
|
"registryRef": { "$ref": "#/$defs/relativePath" },
|
|
"registryHash": { "$ref": "#/$defs/sha256" },
|
|
"policyRef": { "$ref": "#/$defs/relativePath" },
|
|
"policyHash": { "$ref": "#/$defs/sha256" },
|
|
"verifierVersion": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z][A-Za-z0-9._-]*/[0-9]+\\.[0-9]+\\.[0-9]+$"
|
|
},
|
|
"trustedRootId": {
|
|
"type": "string",
|
|
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:-]*$"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"$defs": {
|
|
"sha256": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-f]{64}$"
|
|
},
|
|
"relativePath": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1024,
|
|
"pattern": "^(?!/)(?!.*//)(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\\\).+$"
|
|
}
|
|
}
|
|
}
|