Documents

Documents extend Metadata to allow for quickly building structured, user-facing content.

Documents build on top of Metadata to help teams create rich, structured, and reusable content for websites and apps.

What makes Documents useful:

  • Flexible building blocks: Arrange text, media, images, and more to fit your story.
  • Editor-friendly: Organize content in a way that’s easy to manage and update.
  • Workflow-ready: Automate steps like approvals, publishing, or enrichment (e.g., transcription, summaries, audio).
  • Personalization: Feed content into tailored experiences for different audiences.
  • Accessibility and localization: Support accessible formats and multiple languages.

Example use cases:

  • Articles, blog posts, devotionals, or studies
  • Media landing pages for videos, sermons, or podcasts
  • Campaign pages or learning modules

For developers

Documents are backed by flexible templates and a schema-first GraphQL API. Bosca's content model is designed to be easily extended, allowing developers to create custom editors, renderers, and content types without fighting the platform.

Key technical features:

  • Schema-driven: Templates define the structure, validation, and default behavior.
  • API-first: Full GraphQL support for creating, querying, and managing documents.
  • Structured Content: Content is stored as a tree of nodes (paragraphs, headings, images, custom containers), ensuring it stays semantic and machine-readable.
  • Extensible: Developers can define custom components and attributes to fit specific application needs.

For detailed API references and schema definitions, consult the Architecture documentation or the framework/core module.