From dc7dc8a9644ee85e03ddaf0158975ec9c8546ff4 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Thu, 25 Apr 2024 21:02:35 +0000 Subject: [PATCH] fix schema integration --- site/src/components/SchemaItemProperties.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/components/SchemaItemProperties.astro b/site/src/components/SchemaItemProperties.astro index 0b62b83ecd..d6bb1d8409 100644 --- a/site/src/components/SchemaItemProperties.astro +++ b/site/src/components/SchemaItemProperties.astro @@ -14,7 +14,7 @@ const includesElement = (key: string) => { const json = await import("../assets/zarf.schema.json"); // @ts-expect-error - We don't import a TS type for the schema, but we know it's structured correctly -const itemSchema = json.definitions[item]; +const itemSchema = json["$defs"][item]; if (unwrap) { unwrap.forEach((wrapped: string) => {