Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -9200,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"
}
},
{
Expand Down
3 changes: 3 additions & 0 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
245 changes: 245 additions & 0 deletions src/schemas/json/aio-wasm-graph-config-1.1.0.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
7 changes: 6 additions & 1 deletion src/schemas/json/ruff.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -2688,6 +2688,8 @@
"D417",
"D418",
"D419",
"D42",
"D420",
"DJ",
"DJ0",
"DJ00",
Expand Down Expand Up @@ -3261,6 +3263,7 @@
"PLR1708",
"PLR171",
"PLR1711",
"PLR1712",
"PLR1714",
"PLR1716",
"PLR172",
Expand Down Expand Up @@ -3584,6 +3587,8 @@
"RUF067",
"RUF068",
"RUF069",
"RUF07",
"RUF070",
"RUF1",
"RUF10",
"RUF100",
Expand Down