Priority: medium
Description
The contract storage schema (patient → token IDs, token ID → record, issuer → bool) is only described briefly in the README. A detailed schema document helps developers understand data layout and query patterns.
Acceptance Criteria
- All storage keys and their value types are documented
- Key derivation logic is explained
- Maximum storage sizes and cost implications are noted
- Schema document is stored in
docs/contract-storage.md
- Document is updated when the schema changes
Priority: medium
Description
The contract storage schema (patient → token IDs, token ID → record, issuer → bool) is only described briefly in the README. A detailed schema document helps developers understand data layout and query patterns.
Acceptance Criteria
docs/contract-storage.md