From 155d8a32525c6fd07871e694577bf6c6cb5f2d25 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Wed, 12 Aug 2026 18:01:08 +0000 Subject: [PATCH] fix(docs): Add zockerId keyword to ajv options --- docsite/src/components/PlaygroundInner.tsx | 1 + docsite/src/components/Schema/SchemaEditor.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/docsite/src/components/PlaygroundInner.tsx b/docsite/src/components/PlaygroundInner.tsx index 278090c0..3c85cdbc 100644 --- a/docsite/src/components/PlaygroundInner.tsx +++ b/docsite/src/components/PlaygroundInner.tsx @@ -24,6 +24,7 @@ const validator = createAjvValidator({ onCreateAjv: (ajv) => { const a = new Ajv2020(); a.addKeyword('deprecationMessage'); + a.addKeyword('zockerId'); f.default(a); return a; } diff --git a/docsite/src/components/Schema/SchemaEditor.tsx b/docsite/src/components/Schema/SchemaEditor.tsx index 527affc5..207a63a1 100644 --- a/docsite/src/components/Schema/SchemaEditor.tsx +++ b/docsite/src/components/Schema/SchemaEditor.tsx @@ -32,6 +32,7 @@ function SchemaEditorInner(props: SchemaEditorProps): JSX.Element { onCreateAjv: (ajv) => { const a = new Ajv2020(); a.addKeyword('deprecationMessage'); + a.addKeyword('zockerId'); f.default(a); return a; } -- 2.51.2