From 82a417dea8b8b400903ae1fcb93f5f2ceb73f5b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Thu, 26 Feb 2026 20:16:29 +0100 Subject: [PATCH 1/3] Add Citrus test case schema (#5408) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add Citrus test case schema fixes #5407 Signed-off-by: Aurélien Pupier * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Aurélien Pupier Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/api/json/catalog.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index a16ef77ef4b..89f9db52ba1 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -1408,6 +1408,18 @@ "fileMatch": ["cibuildwheel.toml", ".cibuildwheel.toml"], "url": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/cibuildwheel.json" }, + { + "name": "Citrus test case", + "description": "Citrus test case", + "fileMatch": [ + "*.citrus.yaml", + "*.citrus.test.yaml", + "*.citrus.it.yaml", + "*.citrus-test.yaml", + "*.citrus-it.yaml" + ], + "url": "https://citrusframework.org/schema/json/testcase/citrus-testcase.json" + }, { "name": "CityJSON", "description": "the representation of 3D city models", From d2ca59d2f88be8e71bfbdb9225f1ee47fa3c35ea Mon Sep 17 00:00:00 2001 From: Brent Westbrook <36778786+ntBre@users.noreply.github.com> Date: Thu, 26 Feb 2026 14:16:45 -0500 Subject: [PATCH 2/3] Update ruff's JSON schema (#5415) This updates ruff's JSON schema to [a62ba8c6e2bac0b899d90fd30a1b26c07aac44bb](https://github.com/astral-sh/ruff/commit/a62ba8c6e2bac0b899d90fd30a1b26c07aac44bb) --- src/schemas/json/ruff.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/schemas/json/ruff.json b/src/schemas/json/ruff.json index 91bd251f946..6fd85cc9b88 100644 --- a/src/schemas/json/ruff.json +++ b/src/schemas/json/ruff.json @@ -131,7 +131,7 @@ } }, "extension": { - "description": "A mapping of custom file extensions to known file types (overridden\nby the `--extension` command-line flag).\n\nSupported file types include `python`, `pyi`, `ipynb`, and `markdown`.", + "description": "A mapping of custom file extensions to known file types (overridden\nby the `--extension` command-line flag).\n\nSupported file types include `python`, `pyi`, `ipynb`, and `markdown`.\n\nAny file extensions listed here will be automatically added to the\ndefault `include` list as a `*.{ext}` glob, so that they are linted\nand formatted without needing any additional configuration settings.", "type": ["object", "null"], "additionalProperties": { "$ref": "#/definitions/Language" @@ -2688,6 +2688,8 @@ "D417", "D418", "D419", + "D42", + "D420", "DJ", "DJ0", "DJ00", @@ -3261,6 +3263,7 @@ "PLR1708", "PLR171", "PLR1711", + "PLR1712", "PLR1714", "PLR1716", "PLR172", @@ -3584,6 +3587,8 @@ "RUF067", "RUF068", "RUF069", + "RUF07", + "RUF070", "RUF1", "RUF10", "RUF100", From 7f76b24477d6dd27a3f6e61413283094d9bfead9 Mon Sep 17 00:00:00 2001 From: Anca Antochi Date: Thu, 26 Feb 2026 14:31:26 -0800 Subject: [PATCH 3/3] Add aio wasm graph schema 1.1.0 (#5416) * Add aio wasm graph schema 1.1.0 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix validation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/api/json/catalog.json | 5 +- src/schema-validation.jsonc | 3 + .../json/aio-wasm-graph-config-1.1.0.json | 245 ++++++++++++++++++ 3 files changed, 251 insertions(+), 2 deletions(-) create mode 100644 src/schemas/json/aio-wasm-graph-config-1.1.0.json diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 89f9db52ba1..7420d91ac46 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -9212,9 +9212,10 @@ { "name": "Azure IoT Operations Wasm Graph Config", "description": "", - "url": "https://www.schemastore.org/aio-wasm-graph-config-1.0.0.json", + "url": "https://www.schemastore.org/aio-wasm-graph-config-1.1.0.json", "versions": { - "1.0.0": "https://www.schemastore.org/aio-wasm-graph-config-1.0.0.json" + "1.0.0": "https://www.schemastore.org/aio-wasm-graph-config-1.0.0.json", + "1.1.0": "https://www.schemastore.org/aio-wasm-graph-config-1.1.0.json" } }, { diff --git a/src/schema-validation.jsonc b/src/schema-validation.jsonc index dee15b72a95..226644a018a 100644 --- a/src/schema-validation.jsonc +++ b/src/schema-validation.jsonc @@ -706,6 +706,9 @@ "apibuilder.json": { "externalSchema": ["base-04.json"] }, + "aio-wasm-graph-config-1.1.0.json": { + "unknownFormat": ["uint32"] + }, "apollo-router-2.8.1.json": { "externalSchema": ["base.json"], "unknownFormat": ["uint", "uint32", "uint64"] diff --git a/src/schemas/json/aio-wasm-graph-config-1.1.0.json b/src/schemas/json/aio-wasm-graph-config-1.1.0.json new file mode 100644 index 00000000000..11ad6d627b1 --- /dev/null +++ b/src/schemas/json/aio-wasm-graph-config-1.1.0.json @@ -0,0 +1,245 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://www.schemastore.org/aio-wasm-graph-config-1.1.0.json", + "title": "Azure IoT Operations Wasm Graph Config", + "type": "object", + "required": ["connections", "metadata", "moduleRequirements", "operations"], + "properties": { + "connections": { + "type": "array", + "items": { + "$ref": "#/definitions/WasmGraphConfigConnection" + } + }, + "metadata": { + "$ref": "#/definitions/WasmGraphMetadata" + }, + "moduleConfigurations": { + "default": [], + "type": "array", + "items": { + "$ref": "#/definitions/ModuleConfiguration" + } + }, + "moduleRequirements": { + "$ref": "#/definitions/ModuleVersions" + }, + "operations": { + "type": "array", + "items": { + "$ref": "#/definitions/WasmGraphConfigModule" + } + }, + "schemas": { + "default": [], + "type": "array", + "items": { + "$ref": "#/definitions/SchemaConfiguration" + } + } + }, + "additionalProperties": false, + "definitions": { + "Arity": { + "oneOf": [ + { + "type": "integer", + "format": "uint32", + "minimum": 1 + }, + { + "const": "unbounded" + } + ], + "default": 1 + }, + "BranchOutputArm": { + "type": "string", + "enum": ["False", "True"] + }, + "ConfigParameters": { + "type": "object", + "required": ["name"], + "properties": { + "default": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "required": { + "default": false, + "type": "boolean" + }, + "schema": { + "type": ["string", "null"] + } + } + }, + "ModuleConfiguration": { + "type": "object", + "required": ["name", "parameters"], + "properties": { + "name": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ConfigParameters" + } + } + } + }, + "ModuleVersionFeature": { + "type": "object", + "required": ["name"], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": ["string", "null"] + } + }, + "additionalProperties": false + }, + "ModuleVersions": { + "type": "object", + "required": ["apiVersion", "runtimeVersion"], + "properties": { + "apiVersion": { + "type": "string" + }, + "features": { + "type": ["array", "null"], + "items": { + "$ref": "#/definitions/ModuleVersionFeature" + } + }, + "runtimeVersion": { + "type": "string" + } + }, + "additionalProperties": false + }, + "SchemaConfiguration": { + "type": "object", + "required": ["format", "name", "schema"], + "properties": { + "format": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "type": "string" + } + } + }, + "WasmGraphConfigConnection": { + "type": "object", + "required": ["from", "to"], + "properties": { + "from": { + "$ref": "#/definitions/WasmGraphConfigConnectionFromPoint" + }, + "to": { + "$ref": "#/definitions/WasmGraphConfigConnectionToPoint" + } + }, + "additionalProperties": false + }, + "WasmGraphConfigConnectionFromPoint": { + "type": "object", + "required": ["name"], + "properties": { + "arm": { + "anyOf": [ + { + "$ref": "#/definitions/BranchOutputArm" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "schemaName": { + "type": ["string", "null"] + } + }, + "additionalProperties": false + }, + "WasmGraphConfigConnectionOperator": { + "type": "string", + "enum": [ + "source", + "map", + "filter", + "branch", + "concatenate", + "accumulate", + "delay", + "sink" + ] + }, + "WasmGraphConfigConnectionToPoint": { + "type": "object", + "required": ["name"], + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false + }, + "WasmGraphConfigModule": { + "type": "object", + "required": ["name", "operationType"], + "properties": { + "arity": { + "$ref": "#/definitions/Arity" + }, + "module": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "operationType": { + "$ref": "#/definitions/WasmGraphConfigConnectionOperator" + } + }, + "additionalProperties": false + }, + "WasmGraphMetadata": { + "type": "object", + "required": ["$schema", "name", "version"], + "properties": { + "$schema": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "vendor": { + "type": ["string", "null"] + }, + "version": { + "type": "string" + } + }, + "additionalProperties": false + } + } +}