games-development-ai/contracts/play-loop/match3-effect-audit.schema.json
lili cbfd4d871b
Some checks failed
contract-gates / contract-gates (push) Has been cancelled
docs-gate / docs-gate (push) Has been cancelled
feat(acceptance): 闭合 playtest v3 与 A+ 可信消费链
固化 Match-3 生产者、视觉、音频与双 Judge 证据闭包。

将《山海行纪》r1.1 绑定新的不可变 release,并以生产预检现场核验 bundle、Registry/2 和 25 项 Writer 快照。

同步地图1平衡锁值、跨游戏回归修复、验收契约与 SoT 证据。
2026-07-28 20:16:13 -07:00

38 lines
1.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://wanxiang.ai/contracts/play-loop/match3-effect-audit.schema.json",
"title": "Match3EffectAuditV1",
"type": "object",
"required": [
"schemaVersion", "artifactHash", "transactionId", "transactionHash",
"buildManifestRef", "buildManifestHash", "filmstripManifestRef", "filmstripManifestHash",
"paletteHash", "effectIds", "cascadeIndexes", "renderReceiptRefs", "status"
],
"properties": {
"schemaVersion": { "const": "Match3EffectAudit/1" },
"artifactHash": { "$ref": "#/$defs/sha256" },
"transactionId": { "$ref": "#/$defs/id" },
"transactionHash": { "$ref": "#/$defs/sha256" },
"buildManifestRef": { "$ref": "#/$defs/ref" },
"buildManifestHash": { "$ref": "#/$defs/sha256" },
"filmstripManifestRef": { "$ref": "#/$defs/ref" },
"filmstripManifestHash": { "$ref": "#/$defs/sha256" },
"paletteHash": { "$ref": "#/$defs/sha256" },
"effectIds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "minLength": 1 } },
"cascadeIndexes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "integer", "minimum": 0, "maximum": 6 } },
"renderReceiptRefs": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/sealedRef" } },
"status": { "const": "pass" }
},
"additionalProperties": false,
"$defs": {
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
"id": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$" },
"ref": { "type": "string", "minLength": 1, "pattern": "^(?!/).+$" },
"sealedRef": {
"type": "object", "required": ["ref", "hash"],
"properties": { "ref": { "$ref": "#/$defs/ref" }, "hash": { "$ref": "#/$defs/sha256" } },
"additionalProperties": false
}
}
}