Skip to content

Core Documentation

Maryk’s core module defines the data contract: models, properties, keys, queries, serialization and version-aware behavior.

Recommended order for new users:

  1. Data Design
  2. Data Models
  3. Properties
  4. Keys
  5. Querying Data
  6. Versioning
  7. Serialization
  • Data Design: choose embedding, references, keys, indexes and graphs.
  • Data Models: define model structures and property indexes.
    • Properties: overview of property types, validations, operations and references.
    • Keys: design unique and efficient keys for data objects.
    • Index Design: choose between ordered, normalized, and search-oriented indexes.
  • Versioning: track and request historical value versions.
  • Querying Data: add, change, get and scan objects.
  • Collect & Inject: reuse values from previous responses in new requests.
  • Serialization: write and read YAML, JSON or ProtoBuf.

The properties directory dives deeper into property concepts:

  • README.md – overview of property characteristics and validation
  • operations.md – property operations such as change or delete
  • references.md – creating references to properties
  • types/ – documentation of each property type