Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Add doc context schema
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Dec 25, 2020
1 parent 3e3f2ff commit 500e2a9
Show file tree
Hide file tree
Showing 5 changed files with 1,196 additions and 9 deletions.
11 changes: 6 additions & 5 deletions docs/dev/schemas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Entity Schemas

This document describes the structure of various structures that developer can use.

The following documentation is generated from :download:`KMP JSON Schema <kmp_schema_v5.json>`. *Knowledge Model Package* file which can be used for importing and exporting Knowledge Models in DSW. Although we usually use ``.km`` extension, it is a JSON file with defined structure.
.. toctree::
:caption: Schemas
:maxdepth: 1

schemas/doc_context
schemas/kmp

.. jsonschema:: kmp_schema_v5.json
:lift_definitions:
:auto_reference:
:auto_target:
14 changes: 14 additions & 0 deletions docs/dev/schemas/doc_context.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. _schema-doc-context:

****************
Document Context
****************


The following documentation is generated from :download:`Document Context Schema <doc_context_schema_v2.json>` describing *Document Context* that is passed to document templates when generating a document using Jinja2.

.. jsonschema:: doc_context_schema_v2.json
:lift_definitions:
:auto_reference:
:auto_target:

Loading

0 comments on commit 500e2a9

Please sign in to comment.