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
26 changes: 26 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2801,6 +2801,15 @@
"fileMatch": ["**/eca/config.json", "**/.eca/config.json"],
"url": "https://eca.dev/config.json"
},
{
"name": "editorconfig-checker",
"description": "editorconfig-checker configuration file",
"fileMatch": [".editorconfig-checker.json"],
"url": "https://raw.githubusercontent.com/editorconfig-checker/editorconfig-checker/main/.editorconfig-checker.schema.json",
"versions": {
"3.8.0": "https://raw.githubusercontent.com/editorconfig-checker/editorconfig-checker/v3.8.0/.editorconfig-checker.schema.json"
}
},
{
"name": "eksctl",
"description": "eksctl cluster configuration file",
Expand Down Expand Up @@ -4568,6 +4577,17 @@
"fileMatch": [".kubri.yaml", ".kubri.yml", "kubri.yaml", "kubri.yml"],
"url": "https://kubri.dev/schema.json"
},
{
"name": "kind cluster",
"description": "Configuration file for kind (Kubernetes IN Docker) clusters",
"fileMatch": [
"kind.yaml",
"kind.yml",
"**/kind-config.yaml",
"**/kind-config.yml"
],
"url": "https://www.schemastore.org/kind-cluster.json"
},
{
"name": "kustomization.yaml",
"description": "Kubernetes native configuration management",
Expand Down Expand Up @@ -10653,6 +10673,12 @@
"fileMatch": ["**/.slang/server.json", "**/.slang/local/server.json"],
"url": "https://raw.githubusercontent.com/hudson-trading/slang-server/refs/heads/main/clients/vscode/resources/config.schema.json"
},
{
"name": "Heloisa Assistant Plugins Marketplace",
"description": "Validation rules for the Heloísa assistant's plugin catalog",
"fileMatch": ["heloisa-marketplace.json"],
"url": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/heloisa-marketplace.json"
},
{
"name": "OKF Graph",
"description": "Graph generated for an OKF bundle",
Expand Down
21 changes: 21 additions & 0 deletions src/negative_test/dependabot-2.0/registries-scope-wrong-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"registries": {
"github-packages": {
"scope": 42,
"token": "${{ secrets.GH_PACKAGES_PAT }}",
"type": "npm-registry",
"url": "https://npm.pkg.github.com"
}
},
"updates": [
{
"directory": "/",
"package-ecosystem": "npm",
"registries": ["github-packages"],
"schedule": {
"interval": "daily"
}
}
],
"version": 2
}
3 changes: 3 additions & 0 deletions src/negative_test/kind-cluster/invalid-kind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# yaml-language-server: $schema=../../schemas/json/kind-cluster.json
kind: Node
apiVersion: kind.x-k8s.io/v1alpha4
5 changes: 5 additions & 0 deletions src/negative_test/kind-cluster/invalid-role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/kind-cluster.json
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: master
19 changes: 0 additions & 19 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"ajvNotStrictMode": [
"anywork-ac-1.0.json",
"anywork-ac-1.1.json",
"apibuilder.json",
"appsettings.json",
"asmdef.json",
"aurora-1.0.json",
Expand All @@ -23,15 +22,12 @@
"azure-iot-edge-deployment-template-4.0.json",
"azure-iot-edgeagent-deployment-1.0.json",
"azure-iot-edgeagent-deployment-1.1.json",
"babelrc.json",
"backportrc.json",
"band-manifest.json",
"behat.json",
"bitrise-step.json",
"bitrise.json",
"bootstraprc.json",
"bower.json",
"bowerrc.json",
"boyka-config.json",
"bukkit-plugin.json",
"bundleconfig.json",
Expand Down Expand Up @@ -60,8 +56,6 @@
"datalogic-scan2deploy-android.json",
"datalogic-scan2deploy-ce.json",
"debugsettings.json",
"dependabot-2.0.json",
"dependabot.json",
"devinit.schema-1.0.json",
"devinit.schema-2.0.json",
"devinit.schema-3.0.json",
Expand Down Expand Up @@ -286,7 +280,6 @@
"yamllint.json",
"deployed.json",
"jfrog-pipelines.json",
"jdt.json",
"lsdlschema-0.7.json",
"lsdlschema-1.0.json",
"lsdlschema-1.2.json",
Expand Down Expand Up @@ -940,9 +933,6 @@
"anywork-ac-1.0.json": {
"externalSchema": ["base.json"]
},
"apibuilder.json": {
"externalSchema": ["base-04.json"]
},
"aio-wasm-graph-config-1.1.0.json": {
"unknownFormat": ["uint32"]
},
Expand Down Expand Up @@ -1012,9 +1002,6 @@
"bitrise.json": {
"externalSchema": ["bitrise-step.json"]
},
"bower.json": {
"externalSchema": ["base-04.json"]
},
"cargo-make.json": {
"unknownKeywords": ["links"]
},
Expand Down Expand Up @@ -1109,12 +1096,6 @@
"dart-build.json": {
"unknownKeywords": ["deprecationMessage", "sources"]
},
"dependabot-2.0.json": {
"externalSchema": ["base.json"]
},
"dependabot.json": {
"unknownKeywords": ["examples"]
},
"drone.json": {
"externalSchema": ["kubernetes-definitions.json"],
"unknownKeywords": [
Expand Down
21 changes: 11 additions & 10 deletions src/schemas/json/apibuilder.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/apibuilder.json",
"additionalProperties": false,
"type": "object",
"definitions": {
"apidoc": {
"title": "API documentation",
Expand Down Expand Up @@ -56,7 +58,8 @@
"properties": {
"name": {
"type": "string",
"description": "Name of the license - e.g. MIT"
"description": "Name of the license",
"examples": ["MIT"]
},
"url": {
"type": "string",
Expand Down Expand Up @@ -173,7 +176,7 @@
"title": "enumeration",
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"^[a-zA-Z][a-zA-Z0-9_]*$": {
"title": "name",
"type": "object",
"description": "The name of the enum. Names must be alphanumeric and must start with a letter. Valid characters are a-z, A-Z, 0-9 and _ characters. The name must be unique in the set of names assigned to enums, interfaces, models, or unions types.",
Expand Down Expand Up @@ -243,7 +246,7 @@
"title": "interface",
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"^[a-zA-Z][a-zA-Z0-9_]*$": {
"title": "name",
"type": "object",
"description": "Name specifies the name of the interface. Names must be alphanumeric and start with a letter. Valid characters are a-z, A-Z, 0-9 and _ characters. The name must be unique in the set of names assigned to enums, interfaces, or models. Note you may define an interface and a union of the same name.",
Expand Down Expand Up @@ -285,7 +288,7 @@
"name": {
"type": "string",
"description": "Specifies the name of the field. Names must be alphanumeric and start with a letter. Valid characters are a-z, A-Z, 0-9 and _ characters.",
"pattern": "^[a-zA-Z0-9_]*$"
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
},
"type": {
"type": "string",
Expand Down Expand Up @@ -341,7 +344,7 @@
"type": "object",
"description": "specifies the name of the model. Names must be alphanumeric and start with a letter. Valid characters are a-z, A-Z, 0-9 and _ characters. The name must be unique in the set of names assigned to enums, interfaces, models, or unions types.",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"^[a-zA-Z][a-zA-Z0-9_]*$": {
"title": "model",
"type": "object",
"properties": {
Expand Down Expand Up @@ -384,7 +387,7 @@
"title": "union",
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"^[a-zA-Z][a-zA-Z0-9_]*$": {
"type": "object",
"description": "Name specifies the name of the interface. Names must be alphanumeric and start with a letter. Valid characters are a-z, A-Z, 0-9 and _ characters. The name must be unique in the set of names assigned to enums, unions, or models. Note you may define an interface and a union of the same name, but in this case it is required to list that interface in the interfaces field.",
"properties": {
Expand Down Expand Up @@ -508,7 +511,6 @@
"operation": {
"title": "operation",
"type": "object",
"description": "",
"properties": {
"method": {
"type": "string",
Expand Down Expand Up @@ -558,7 +560,7 @@
"name": {
"type": "string",
"description": "The name of the parameter. Names must be alphanumeric and must start with a letter. Valid characters are a-z, A-Z, 0-9 and _ characters.",
"pattern": "^[a-zA-Z0-9_]*$"
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
},
"type": {
"type": "string",
Expand Down Expand Up @@ -674,7 +676,6 @@
}
},
"description": "JSON Schema for API Builder's api.json format from https://app.apibuilder.io/doc/apiJson",
"id": "https://json.schemastore.org/apibuilder.json",
"properties": {
"$schema": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions src/schemas/json/artifacthub-repo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/artifacthub-repo.json",
"additionalProperties": false,
"id": "https://json.schemastore.org/artifacthub-repo.json",
"properties": {
"repositoryID": {
"description": "An identifier of the Artifact Hub repository where the packages will be published to",
Expand Down
4 changes: 2 additions & 2 deletions src/schemas/json/asconfig-schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/asconfig-schema.json",
"additionalProperties": false,
"definitions": {
"nonEmptyString": {
Expand Down Expand Up @@ -269,7 +270,6 @@
}
}
},
"id": "https://json.schemastore.org/asconfig-schema.json",
"properties": {
"extends": {
"$ref": "#/definitions/nonEmptyString"
Expand Down
Loading
Loading