{ "$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}(?:/|$))(?!.*\\\\).+$" } } }