Note schemas
bm_schemaValidate notes against their schemas, infer a schema from a note type's notes, or diff a note type to detect schema drift in Basic Memory.
Instructions
Basic Memory note schemas (Picoschema). command: validate notes against their schema (one note_type, one note by identifier, or every type that has a schema); infer a schema from the notes of a note_type; diff a note_type's notes against its schema to find drift. A schema is a note with type: schema whose entity field names the note type it describes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | What to do. | |
| project | No | Project name, 'workspace/project', or project external id. Omit to use the default project. | |
| note_type | No | The frontmatter `type:` to check. Required for infer and diff. | |
| threshold | No | For infer: the share of notes a field must appear in to be suggested. | |
| identifier | No | For validate: one note, instead of a whole note type. | |
| output_format | No | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |