{ "$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 } } }