Skip to content

Split schema into modular components #8

@spacexbt

Description

@spacexbt

To improve maintainability and prevent hitting size limits, we should split the schema into multiple component files:

  1. base.json

    • Version (with semver validation)
    • Core identity fields
  2. entity.json

    • Basic entity properties
    • Form and occupation
    • Extended attributes
  3. emotional.json

    • Current emotional state
    • Emotional baseline
    • Triggers and responses
  4. personality.json

    • Personality traits
    • Values and beliefs
    • Expression patterns
  5. relationships.json

    • Relationship dynamics
    • Boundaries
    • Interaction patterns

The main schema will use $ref to combine these components while keeping each part manageable and focused.

This modular approach will:

  • Make the schema easier to maintain
  • Allow partial implementations
  • Enable better version control
  • Prevent size limit issues
  • Improve readability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions