{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://registry.capstate.org/schemas/public-embed-v0.json","title":"CapState Public Embed Payload v0","type":"object","additionalProperties":false,"required":["contractVersion","issuerId","mode","asOf","graphId","graphHash","canonicalUrl","neutralRegistry","disclosure","labels","marketNotificationDefault","disclaimer"],"properties":{"contractVersion":{"const":"capstate-public-embed-v0"},"issuerId":{"type":"string","minLength":1},"mode":{"enum":["public-status","attestation-status","current-state-summary"]},"asOf":{"type":"string","format":"date-time"},"graphId":{"type":"string","minLength":1},"graphHash":{"type":"string","minLength":1},"canonicalUrl":{"type":"string","minLength":1},"neutralRegistry":{"type":"object","additionalProperties":false,"required":["canonicalAttestationSubstrate","role"],"properties":{"canonicalAttestationSubstrate":{"const":"EAS/Base"},"role":{"const":"indexer_interpreter_view"}}},"disclosure":{"type":"object","additionalProperties":false,"required":["status","label","tone","shortText","longText"],"properties":{"status":{"type":"string"},"label":{"type":"string"},"tone":{"enum":["positive","neutral","caution"]},"shortText":{"type":"string"},"longText":{"type":"string"}}},"labels":{"type":"array","items":{"type":"string"}},"lastIndexedAttestation":{"type":"string","format":"date-time"},"currentStateSummary":{"type":"array","maxItems":8,"items":{"type":"object","additionalProperties":false,"required":["type","nodeId","label"],"properties":{"type":{"type":"string"},"nodeId":{"type":"string"},"label":{"type":"string"},"asOf":{"type":"string","format":"date-time"},"hash":{"type":"string"}}}},"marketNotificationDefault":{"const":false},"disclaimer":{"type":"string","minLength":1}}}