Expand description
Content model types driven by the schema.
The schema defines frontmatter fields, types, and UI widget hints.
The built-in schema is generated from crate::schema_fields::BUILTIN_FIELDS,
the single source of truth for all frontmatter fields moss recognizes.
Plugin-contributed schemas are still parsed from JSON via parse_schema().
All types derive Serialize + Deserialize so they can cross the
Tauri command boundary.
Structs§
- Content
Schema - The top-level content schema.
- Field
Definition - A single field definition in the frontmatter schema.
- Frontmatter
Schema - Frontmatter schema: a map of field name to definition.
- Shortcode
Definition - A single shortcode definition.
- Shortcode
Param - A shortcode parameter.
- Shortcode
Schema - Shortcode schema: delimiters and named definitions.
Enums§
Functions§
- builtin_
schema - Return the built-in content schema.
- parse_
schema - Parse a content schema from a JSON string.