Skip to content

docs: design metadata schema #88

@mfw78

Description

@mfw78

Context

All persistent data in Nexum (wallet metadata, account information, preferences, transaction history) must follow a well-defined schema that supports versioning and migration. The schema must be flexible enough to evolve while maintaining backward compatibility.

Considerations

This specification should address the following considerations:

  • Schema structure for identities, wallets, and accounts
  • Wallet metadata fields (names, icons, notes, tags)
  • Account metadata and categorization
  • Transaction history format and indexing
  • Preference storage (identity-scoped vs global)
  • Schema versioning strategy (semantic versioning)
  • Migration procedures between schema versions
  • Required vs optional fields
  • Default value handling
  • Data validation rules and constraints
  • Serialization format (JSON, CBOR, MessagePack, or custom)
  • Encryption boundaries (which fields are encrypted)
  • Size limits and constraints
  • Relationship encoding between entities

Dependencies

Depends on (Phase 2):

Blocks:

Out of Scope

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation is wrong or missing.featureNew capability that doesn't exist yet.p1-brokenActually broken. Fix this week.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions