License | BSD-3-Clause |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Graph-based heuristics for arranging the order of sections in the schema docs
Synopsis
- sortAndPruneSchemas :: SchemaIdReference -> [SchemaData] -> [SchemaData]
Documentation
sortAndPruneSchemas :: SchemaIdReference -> [SchemaData] -> [SchemaData] Source #
Sort the schemas in topological order.
Only includes schema files that are reachable from
the root schema
(i.e. exclude entities.json
and recipes.json
,
which are used independently to validate entities.yaml
and recipes.yaml
).