{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://judgecat.app/protocol/cat/authority/v2-draft","title":"CAT Authority wallet challenge proposal — experimental draft","type":"object","additionalProperties":false,"required":["schema","protocol","type","network","nonce","participants","terms","lifecycle","limits","proposalId"],"properties":{"schema":{"const":"https://judgecat.app/protocol/cat/authority/v2-draft"},"protocol":{"type":"object","additionalProperties":false,"required":["acronym","name","version"],"properties":{"acronym":{"const":"CAT"},"name":{"const":"Court Attestation & Transparency"},"version":{"const":"2.0.0-draft.1"}}},"type":{"const":"authority.wallet-challenge"},"network":{"enum":["solana:devnet","solana:mainnet"]},"nonce":{"type":"string","pattern":"^[a-f0-9]{32}$"},"participants":{"type":"object","additionalProperties":false,"required":["proposer","counterparty"],"properties":{"proposer":{"type":"string","minLength":32,"maxLength":44},"counterparty":{"type":"string","minLength":32,"maxLength":44}}},"terms":{"type":"object","additionalProperties":false,"required":["humanSummary","evidenceWindowDays","outcomeMethod"],"properties":{"humanSummary":{"type":"string","minLength":12,"maxLength":280},"evidenceWindowDays":{"type":"integer","minimum":1,"maximum":90},"outcomeMethod":{"enum":["judgecat-public-history-v1"]}}},"lifecycle":{"type":"object","additionalProperties":false,"required":["createdAt","expiresAt","cancellationRule"],"properties":{"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"cancellationRule":{"const":"mutual-after-countersignature"}}},"limits":{"type":"object","additionalProperties":false,"required":["custody","arbitration","identity"],"properties":{"custody":{"const":false},"arbitration":{"const":false},"identity":{"const":false}}},"proposalId":{"type":"string","pattern":"^cat-auth:[0-9a-f]{32}$"}}}