Skip to content

[FEATURE] Support schema for notes #375

@phernandez

Description

@phernandez

Feature Description

It would be very useful to be able to add some sort of schema which could be applied to notes in a project.

  • A note could define a schema that enforced its structure:
  • The schema could be defined in yml in the note fronmatter
  • A note defined with a particular schema could be evaluated to check if it is valid

We could also define some notes to define an ontology for other notes, as schema notes, with rules, etc, similar to SQL DDL.

For instance: the user could define a schema for notes of type "contact" that defines required properties for notes, such as "First Name" or "Last Name".

The properties could possibly markdown header sections or other types of data.

Why

  • This would enable users wanting more structure in their notes to assert notes were created with the required information.
  • Tools could validate the content of a note before or after creation and prompt the AI for any action required
  • The system could review notes and present any files that are invalid.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions