This document outlines the definitions used in the Sidebar Navigation JSON Schema, version v1.0.0. These components form a flexible and reusable structure for nested sidebars, metadata, and navigation.
visibleStringA basic string type used for labels and identifiers.
string^\S+$ (No whitespace)labelledObjectRepresents any object with a human-readable label.
label: visibleStringlabelcommonMetaProvides standard metadata applicable to most sidebar components.
brief: Optional stringdescription: Optional stringid: string (Pattern: ^[a-zA-Z0-9._-]+$)path: string (Pattern: ^(/)?([^/ ]+(/)?)*$)slug: string (Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$)summary: Optional stringtitle: Optional stringemptySidebarAn empty navigational group.
labelledObjectcommonMetaarray with max 0 itemspopulatedSidebarA sidebar containing actual navigation elements.
labelledObjectcommonMetavisibleStringtopicItemcategoryItemlinkItemleafHeading and parentHeadingDefine headings within documents.
labelledObjectcommonMetavisibleString, leafHeading, or parentHeadingtopicItemA documentation topic block.
emptySidebarvisibleString, leafHeading, or parentHeadinglinkItemDefines external/internal hyperlinks.
labelledObjectcommonMetahref (type: URI)categoryItemNested category container.
labelledObjectcommonMetavisibleStringlinkItemtopicItemcategoryItemFeel free to tweak formatting or add usage examples to make it more interactive. Want me to help generate example data structures or usage scenarios next?