{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://quantumsoftware.tech/schemas/nm-rfc-review-submission-0.1.schema.json","title":"N/M RFC Review Submission 0.1","type":"object","additionalProperties":false,"required":["format","version","submissionId","rfc","review","source","trust","integrity"],"properties":{"format":{"const":"nm-rfc-review-submission"},"version":{"const":"0.1"},"submissionId":{"type":"string","pattern":"^nmrfc-review-[0-9a-f]{16}$"},"rfc":{"type":"object","additionalProperties":false,"required":["id","title","revision","revisionDate","documentPath","documentDigestAlgorithm","documentSha256"],"properties":{"id":{"type":"string","pattern":"^NM-RFC-[0-9]{4}$"},"title":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"integer","minimum":1},"revisionDate":{"type":"string","format":"date"},"documentPath":{"type":"string","pattern":"^docs/rfcs/[A-Za-z0-9._-]+\\.md$"},"documentDigestAlgorithm":{"const":"sha256-utf8-lf-v1"},"documentSha256":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"review":{"type":"object","additionalProperties":false,"required":["role","requirement","outcome","reviewer","reviewedAt","rationale","evidenceUrl"],"properties":{"role":{"type":"string","minLength":2,"maxLength":120},"requirement":{"type":"string","minLength":3,"maxLength":1000},"outcome":{"enum":["approved","changes-requested","deferred"]},"reviewer":{"type":"string","minLength":2,"maxLength":120},"reviewedAt":{"type":"string","format":"date-time"},"rationale":{"type":"string","minLength":20,"maxLength":2000},"evidenceUrl":{"anyOf":[{"type":"null"},{"type":"string","format":"uri","maxLength":2048}]}}},"source":{"type":"object","additionalProperties":false,"required":["repository","commitSha"],"properties":{"repository":{"const":"statukocu/quantumsoftware.tech"},"commitSha":{"type":"string","pattern":"^[0-9a-f]{40}$"}}},"trust":{"type":"object","additionalProperties":false,"required":["kind","authoritative","activationEffect","registryUpdateRequired"],"properties":{"kind":{"const":"unsigned-review-submission"},"authoritative":{"const":false},"activationEffect":{"const":"none"},"registryUpdateRequired":{"const":true}}},"integrity":{"type":"object","additionalProperties":false,"required":["algorithm","recordHash"],"properties":{"algorithm":{"const":"fnv1a-64"},"recordHash":{"type":"string","pattern":"^[0-9a-f]{16}$"}}}}}