Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / OKF Graph
Schema registry

OKF Graph

Graph generated for an OKF bundle

okf.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your okf.json and it validates in your browser — nothing is uploaded.

Validate a okf.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
versionrequiredstringSchema version of this OKF graph format.
generatedobjectAn actor and optional timestamp (generated.by / verified[].by). Actor convention: <producer>/<version>, human:<id>, process:<id>.
generated.bystringActor that performed the action.
generated.atstringWhen the action occurred.
timestampstringUTC timestamp when the graph was generated. Same instant as generated.at.
bundleobjectOptional object containing custom properties passed via -p when generating the graph. Only present when such properties were provided.
navobjectA node in the index-driven navigation tree. Directories are not concepts (reserved index.md).
nav.kindrequiredstringgroup/orphans are non-routeable grouping headers; dir and concept are navigable.
one of: "group", "dir", "concept", "orphans"
nav.idstringConcept id, or directory path relative to bundle root (empty string for root). Omitted for group and orphans.
nav.labelstringDisplay label (index link text, section heading, or derived title).
nav.descriptionstringOptional short description from index entry or concept frontmatter.
nav.bodystringIndex markdown for kind=dir (authored after optional root frontmatter strip, or synthetic listing). Parallel to node.body.
nav.syntheticbooleanTrue when body/children were synthesized because index.md was missing.
nav.childrenarrayChild nav nodes (groups, dirs, concepts, trailing orphans).
nodesrequiredarrayList of concept nodes in the knowledge graph.
edgesrequiredarrayDirected edges representing links between concepts.

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
formatJSON Schema Validation, draft 2020-12§7 — Vocabularies for Semantic Content With "format"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
minimumJSON Schema Validation, draft 2020-12§6.2.4 — "minimum"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
format: "date"RFC 3339§5.6 — Internet Date/Time Format
format: "date-time"RFC 3339§5.6 — Internet Date/Time Format

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas