From e5ab989cec6aca896881a90705c21640b905cd46 Mon Sep 17 00:00:00 2001 From: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> Date: Thu, 25 Apr 2024 18:56:23 -0400 Subject: [PATCH] fix: schema integration (#2463) ## Description site has broken schema integration ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/.github/CONTRIBUTING.md#developer-workflow) followed --- 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) => {