From fc7245c1d329fb0c38f1daa50e1393635870bbf8 Mon Sep 17 00:00:00 2001 From: Fernando-A-Rocha Date: Sat, 18 Jan 2025 12:40:15 +0000 Subject: [PATCH] Fix structure.yaml schema --- navigation/structure.yaml | 2 +- schemas/structure.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/navigation/structure.yaml b/navigation/structure.yaml index 60af389..1392df9 100644 --- a/navigation/structure.yaml +++ b/navigation/structure.yaml @@ -14,7 +14,7 @@ wiki: - title: "Introduction to Scripting" path: "/guides/introduction-to-scripting" article: "guides/introduction-to-scripting" - + # Reference Index - title: "Lua API Reference" path: "/lua" diff --git a/schemas/structure.yaml b/schemas/structure.yaml index 3125149..a17dbd1 100644 --- a/schemas/structure.yaml +++ b/schemas/structure.yaml @@ -1,10 +1,11 @@ $schema: "https://json-schema.org/draft/2020-12/schema" $id: "/schemas/structure" - title: "Wiki Navigation Schema" -type: "array" -items: - $ref: "#/$defs/section" +type: "object" + +properties: + wiki: + $ref: "#/$defs/section" $defs: section: