{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": ["parent-workflow-id", "product-decision-id", "category", "target-job", "surface-archetype", "references", "synthesis", "no-copy-attestation"], "properties": { "parent-workflow-id": {"type": "string", "minLength": 1}, "product-decision-id": {"type": "string", "minLength": 1}, "category": {"type": "string", "minLength": 1}, "target-job": {"type": "string", "minLength": 1}, "surface-archetype": {"type": "string", "minLength": 1}, "references": { "type": "array", "minItems": 5, "items": { "type": "object", "required": ["name", "class", "source-url", "captured-at", "screenshots", "flows", "information-architecture", "interaction-patterns", "content-strategy", "strengths", "weaknesses"], "properties": { "name": {"type": "string", "minLength": 1}, "class": {"enum": ["direct", "adjacent", "substitute"]}, "source-url": {"type": "string", "pattern": "^https?://"}, "captured-at": {"type": "string", "format": "date-time"}, "screenshots": { "type": "object", "required": ["desktop", "mobile"], "properties": { "desktop": {"$ref": "#/definitions/screenshotList"}, "mobile": {"$ref": "#/definitions/screenshotList"} } }, "flows": {"type": "array", "minItems": 1, "items": {"type": "object", "required": ["name", "steps"], "properties": {"name": {"type": "string", "minLength": 1}, "steps": {"type": "array", "minItems": 1}}}}, "information-architecture": {"type": "object", "minProperties": 1}, "interaction-patterns": {"type": "array", "minItems": 1}, "content-strategy": {"type": "object", "minProperties": 1}, "strengths": {"$ref": "#/definitions/evidenceClaims"}, "weaknesses": {"$ref": "#/definitions/evidenceClaims"} } } }, "synthesis": { "type": "object", "required": ["table-stakes", "adopt", "adapt", "avoid", "differentiation-opportunities", "unresolved-questions"], "properties": { "table-stakes": {"type": "array", "minItems": 1}, "adopt": {"type": "array"}, "adapt": {"type": "array"}, "avoid": {"type": "array", "minItems": 1}, "differentiation-opportunities": {"type": "array", "minItems": 1}, "unresolved-questions": {"type": "array"} } }, "no-copy-attestation": {"const": true} }, "definitions": { "screenshotList": {"type": "array", "minItems": 1, "items": {"type": "object", "required": ["path", "sha256"], "properties": {"path": {"type": "string", "minLength": 1}, "sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}}}}, "evidenceClaims": {"type": "array", "minItems": 1, "items": {"type": "object", "required": ["claim", "evidence-refs"], "properties": {"claim": {"type": "string", "minLength": 1}, "evidence-refs": {"type": "array", "minItems": 1}}}} } }