Zome Specifications
This section provides detailed specifications for each Holochain zome within the DNA.
For a higher-level overview of the system's technical foundation, see the main Technical Specifications.
Zomes
- Users & Organizations: Manages user profiles, organization profiles, and their relationships.
- Includes details split into User Management and Organization Management.
- Service Types: Manages the definition, validation workflow (pending, approved, rejected), and tag-based indexing of service types used in requests and offers.
- Requests: Handles the creation, management, and lifecycle of requests, integrating with the Service Types zome for defining the nature of requests using approved service types.
- Offers: Handles the creation, management, and lifecycle of offers, integrating with the Service Types zome for defining capabilities offered using approved service types.
- Administration: Covers administrator roles, status management, entity verification, and system moderation.
- Exchanges: Manages exchange proposals, agreements, completion validation, and exchange lifecycle between parties.
- Mediums of Exchange: Manages payment methods and value exchange mechanisms with approval workflow, supporting both traditional currencies and alternative exchange systems (time banking, LETS, etc.).
(Internal Note: Guidelines below are for maintaining documentation consistency)
Documentation Structure
Each zome's documentation follows this structure:
- Overview
- Technical Implementation
- Entry Types
- Link Types
- Core Functions
- Validation Rules
- Access Control
- Integration Points
- Usage Examples
Development Guidelines
-
Function Documentation:
- Document all public functions
- Include parameter and return type descriptions
- Provide error conditions and handling
-
Link Types:
- Document all link types
- Explain link creation conditions
- Describe link validation rules
-
Entry Types:
- Document all entry fields
- Include validation rules
- Provide example entries
-
Examples:
- Show common use cases
- Include error handling
- Demonstrate integration points