diff --git a/src/schema-validation.jsonc b/src/schema-validation.jsonc index af04e27759c..1f2a81bb344 100644 --- a/src/schema-validation.jsonc +++ b/src/schema-validation.jsonc @@ -989,38 +989,23 @@ "azure-deviceupdate-update-manifest-5.json": { "externalSchema": ["azure-deviceupdate-manifest-definitions-5.0.json"] }, - "azure-iot-edge-deployment-2.0.json": { - "unknownKeywords": ["examples", "contentMediaType"] - }, "azure-iot-edge-deployment-template-1.0.json": { "externalSchema": ["azure-iot-edge-deployment-1.0.json"] }, "azure-iot-edge-deployment-template-2.0.json": { - "externalSchema": ["azure-iot-edge-deployment-2.0.json"], - "unknownKeywords": ["examples", "contentMediaType"] + "externalSchema": ["azure-iot-edge-deployment-2.0.json"] }, "azure-iot-edge-deployment-template-3.0.json": { "externalSchema": [ "azure-iot-edgeagent-deployment-1.1.json", "azure-iot-edgehub-deployment-1.1.json" - ], - "unknownKeywords": ["examples", "contentMediaType"] + ] }, "azure-iot-edge-deployment-template-4.0.json": { "externalSchema": [ "azure-iot-edgeagent-deployment-1.1.json", "azure-iot-edgehub-deployment-1.2.json" - ], - "unknownKeywords": ["examples", "contentMediaType"] - }, - "azure-iot-edgeagent-deployment-1.1.json": { - "unknownKeywords": ["examples", "contentMediaType"] - }, - "azure-iot-edgehub-deployment-1.1.json": { - "unknownKeywords": ["examples", "contentMediaType"] - }, - "azure-iot-edgehub-deployment-1.2.json": { - "unknownKeywords": ["examples", "contentMediaType"] + ] }, "bitrise.json": { "externalSchema": ["bitrise-step.json"] @@ -1101,33 +1086,12 @@ "creatomic.json": { "unknownKeywords": ["scope"] }, - "cryproj.52.schema.json": { - "unknownKeywords": ["$id", "examples"] - }, - "cryproj.53.schema.json": { - "unknownKeywords": ["$id", "examples"] - }, - "cryproj.54.schema.json": { - "unknownKeywords": ["$id", "examples"] - }, - "cryproj.55.schema.json": { - "unknownKeywords": ["$id", "examples"] - }, - "cryproj.dev.schema.json": { - "unknownKeywords": ["$id", "examples"] - }, - "cryproj.json": { - "unknownKeywords": ["$id", "examples"] - }, "dart-build.json": { "unknownKeywords": ["deprecationMessage", "sources"] }, "dependabot-2.0.json": { "externalSchema": ["base.json"] }, - "dependabot.json": { - "unknownKeywords": ["examples"] - }, "drone.json": { "externalSchema": ["kubernetes-definitions.json"], "unknownKeywords": [ @@ -1149,30 +1113,13 @@ "externalSchema": ["partial-eslint-plugins.json"] }, "expo-37.0.0.json": { - "unknownKeywords": [ - "example", - "fallback", - "meta", - "deprecated", - "PWA", - "metatag" - ] - }, - "expo-38.0.0.json": { - "unknownKeywords": ["deprecated"] - }, - "expo-39.0.0.json": { - "unknownKeywords": ["deprecated"] - }, - "expo-40.0.0.json": { - "unknownKeywords": ["deprecated"] + "unknownKeywords": ["example", "fallback", "meta", "PWA", "metatag"] }, "fabric.mod.json": { "externalSchema": ["base.json"] }, "feed.json": { - "externalSchema": ["feed-1.json"], - "unknownKeywords": ["deprecated"] + "externalSchema": ["feed-1.json"] }, "foundryvtt-base-package-manifest.json": { "unknownKeywords": ["deprecationMessage"] @@ -1224,9 +1171,6 @@ "hammerkit.json": { "externalSchema": ["base.json"] }, - "host.json": { - "unknownKeywords": ["examples"] - }, "hugo-theme.json": { "externalSchema": ["base.json"] }, @@ -1261,9 +1205,6 @@ "kestra-0.19.0.json": { "unknownKeywords": ["$deprecated", "$dynamic", "$metrics"] }, - "local.settings.json": { - "unknownKeywords": ["examples"] - }, "lsdlschema-0.7.json": { "unknownFormat": ["language", "identifier-properties", "identifier"] }, @@ -1611,9 +1552,6 @@ "pep561-stub-name" ] }, - "staticwebapp.config.json": { - "unknownKeywords": ["examples"] - }, "template.json": { "unknownKeywords": ["deprecationMessage", "sources"] }, diff --git a/src/schemas/json/BizTalkServerApplicationSchema.json b/src/schemas/json/BizTalkServerApplicationSchema.json index d14aa76efd4..c56dacdcd7f 100644 --- a/src/schemas/json/BizTalkServerApplicationSchema.json +++ b/src/schemas/json/BizTalkServerApplicationSchema.json @@ -1,7 +1,7 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://schema.management.azure.com/schemas/2017-04-01/BizTalkServerApplicationSchema.json#", "description": "BizTalk Server Application Inventory Schema", - "id": "http://schema.management.azure.com/schemas/2017-04-01/BizTalkServerApplicationSchema.json#", "properties": { "BizTalkAssemblies": { "type": "array", diff --git a/src/schemas/json/agripparc-1.2.json b/src/schemas/json/agripparc-1.2.json index ae2c2f35922..240ec180b52 100644 --- a/src/schemas/json/agripparc-1.2.json +++ b/src/schemas/json/agripparc-1.2.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/agripparc-1.2.json", "additionalProperties": false, - "id": "https://json.schemastore.org/agripparc-1.2.json", "properties": { "$schema": { "description": "Link to https://www.schemastore.org/agripparc-1.2.json", "type": "string", - "enum": ["https://www.schemastore.org/agripparc-1.2.json"] + "const": "https://www.schemastore.org/agripparc-1.2.json" }, "props": { "description": "Which prop declaration method to use", diff --git a/src/schemas/json/agripparc-1.3.json b/src/schemas/json/agripparc-1.3.json index be262141abf..fe3cc0753f9 100644 --- a/src/schemas/json/agripparc-1.3.json +++ b/src/schemas/json/agripparc-1.3.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/agripparc-1.3.json", "additionalProperties": false, - "id": "https://json.schemastore.org/agripparc-1.3.json", "properties": { "$schema": { "description": "Link to https://www.schemastore.org/agripparc-1.3.json", "type": "string", - "enum": ["https://www.schemastore.org/agripparc-1.3.json"] + "const": "https://www.schemastore.org/agripparc-1.3.json" }, "props": { "description": "Which prop declaration method to use", diff --git a/src/schemas/json/agripparc-1.4.json b/src/schemas/json/agripparc-1.4.json index 3d008657bef..1da24f7a231 100644 --- a/src/schemas/json/agripparc-1.4.json +++ b/src/schemas/json/agripparc-1.4.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/agripparc-1.4.json", "additionalProperties": false, - "id": "https://json.schemastore.org/agripparc-1.4.json", "properties": { "$schema": { "description": "Link to https://www.schemastore.org/agripparc-1.4.json", "type": "string", - "enum": ["https://www.schemastore.org/agripparc-1.4.json"] + "const": "https://www.schemastore.org/agripparc-1.4.json" }, "props": { "description": "Which prop declaration method to use", diff --git a/src/schemas/json/apibuilder.json b/src/schemas/json/apibuilder.json index 9c30157625e..edff823939f 100644 --- a/src/schemas/json/apibuilder.json +++ b/src/schemas/json/apibuilder.json @@ -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/apibuilder.json", "additionalProperties": false, "definitions": { "apidoc": { @@ -674,7 +675,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", diff --git a/src/schemas/json/appveyor.json b/src/schemas/json/appveyor.json index d19a10f23b7..ff925e1c03c 100644 --- a/src/schemas/json/appveyor.json +++ b/src/schemas/json/appveyor.json @@ -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/appveyor.json", "allOf": [ { "$ref": "#/definitions/job" @@ -495,7 +496,7 @@ "oneOf": [ { "type": "boolean", - "enum": [false] + "const": false }, { "title": "build options", @@ -601,8 +602,8 @@ "oneOf": [ { "type": "boolean", - "enum": [false], - "description": "To disable automatic tests" + "description": "To disable automatic tests", + "const": false }, { "title": "test options", @@ -727,7 +728,7 @@ "deploy": { "oneOf": [ { - "enum": ["off"] + "const": "off" }, { "type": "array", @@ -776,6 +777,5 @@ } } }, - "id": "https://json.schemastore.org/appveyor.json", "title": "JSON schema for AppVeyor CI configuration files" } diff --git a/src/schemas/json/artifacthub-repo.json b/src/schemas/json/artifacthub-repo.json index 5c76a8db0e9..95d1338faa4 100644 --- a/src/schemas/json/artifacthub-repo.json +++ b/src/schemas/json/artifacthub-repo.json @@ -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", diff --git a/src/schemas/json/asconfig-schema.json b/src/schemas/json/asconfig-schema.json index 8a5e42cc958..afd4ba7bdbe 100644 --- a/src/schemas/json/asconfig-schema.json +++ b/src/schemas/json/asconfig-schema.json @@ -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": { @@ -269,7 +270,6 @@ } } }, - "id": "https://json.schemastore.org/asconfig-schema.json", "properties": { "extends": { "$ref": "#/definitions/nonEmptyString" diff --git a/src/schemas/json/azure-iot-edge-deployment-2.0.json b/src/schemas/json/azure-iot-edge-deployment-2.0.json index d2bf97d36a7..c31ef834aa0 100644 --- a/src/schemas/json/azure-iot-edge-deployment-2.0.json +++ b/src/schemas/json/azure-iot-edge-deployment-2.0.json @@ -1,9 +1,10 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/azure-iot-edge-deployment-2.0.json", "additionalProperties": false, "definitions": { "moduleType": { - "enum": ["docker"] + "const": "docker" }, "status": { "enum": ["running", "stopped"] @@ -56,7 +57,6 @@ "contentMediaType": "application/json" } }, - "id": "https://json.schemastore.org/azure-iot-edge-deployment-2.0.json", "properties": { "modulesContent": { "type": "object", diff --git a/src/schemas/json/azure-iot-edge-deployment-template-2.0.json b/src/schemas/json/azure-iot-edge-deployment-template-2.0.json index ebda2b39513..043848c2518 100644 --- a/src/schemas/json/azure-iot-edge-deployment-template-2.0.json +++ b/src/schemas/json/azure-iot-edge-deployment-template-2.0.json @@ -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/azure-iot-edge-deployment-template-2.0.json", "additionalProperties": false, "definitions": { "moduleType": { @@ -41,7 +42,6 @@ "contentMediaType": "application/json" } }, - "id": "https://json.schemastore.org/azure-iot-edge-deployment-template-2.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/azure-iot-edge-deployment-template-3.0.json b/src/schemas/json/azure-iot-edge-deployment-template-3.0.json index fb2b8c684aa..f886472c76f 100644 --- a/src/schemas/json/azure-iot-edge-deployment-template-3.0.json +++ b/src/schemas/json/azure-iot-edge-deployment-template-3.0.json @@ -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/azure-iot-edge-deployment-template-3.0.json", "definitions": { "moduleSettings": { "type": "object", @@ -20,7 +21,6 @@ "contentMediaType": "application/json" } }, - "id": "https://json.schemastore.org/azure-iot-edge-deployment-template-3.0.json", "properties": { "modulesContent": { "type": "object", diff --git a/src/schemas/json/azure-iot-edge-deployment-template-4.0.json b/src/schemas/json/azure-iot-edge-deployment-template-4.0.json index 763ce52eab5..02b734ba837 100644 --- a/src/schemas/json/azure-iot-edge-deployment-template-4.0.json +++ b/src/schemas/json/azure-iot-edge-deployment-template-4.0.json @@ -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/azure-iot-edge-deployment-template-4.0.json", "definitions": { "moduleSettings": { "type": "object", @@ -20,7 +21,6 @@ "contentMediaType": "application/json" } }, - "id": "https://json.schemastore.org/azure-iot-edge-deployment-template-4.0.json", "properties": { "modulesContent": { "type": "object", diff --git a/src/schemas/json/azure-iot-edgeagent-deployment-1.1.json b/src/schemas/json/azure-iot-edgeagent-deployment-1.1.json index 71e5d08db25..07040e7468a 100644 --- a/src/schemas/json/azure-iot-edgeagent-deployment-1.1.json +++ b/src/schemas/json/azure-iot-edgeagent-deployment-1.1.json @@ -1,9 +1,10 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/azure-iot-edgeagent-deployment-1.1.json", "additionalProperties": false, "definitions": { "moduleType": { - "enum": ["docker"] + "const": "docker" }, "status": { "enum": ["running", "stopped"] @@ -56,7 +57,6 @@ "contentMediaType": "application/json" } }, - "id": "https://json.schemastore.org/azure-iot-edgeagent-deployment-1.1.json", "properties": { "$edgeAgent": { "type": "object", diff --git a/src/schemas/json/azure-iot-edgehub-deployment-1.1.json b/src/schemas/json/azure-iot-edgehub-deployment-1.1.json index 79c0b54bf9c..36804acca06 100644 --- a/src/schemas/json/azure-iot-edgehub-deployment-1.1.json +++ b/src/schemas/json/azure-iot-edgehub-deployment-1.1.json @@ -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/azure-iot-edgehub-deployment-1.1.json", "additionalProperties": false, - "id": "https://json.schemastore.org/azure-iot-edgehub-deployment-1.1.json", "properties": { "$edgeHub": { "type": "object", diff --git a/src/schemas/json/azure-iot-edgehub-deployment-1.2.json b/src/schemas/json/azure-iot-edgehub-deployment-1.2.json index 5ab347e246a..21ed6284f7d 100644 --- a/src/schemas/json/azure-iot-edgehub-deployment-1.2.json +++ b/src/schemas/json/azure-iot-edgehub-deployment-1.2.json @@ -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/azure-iot-edgehub-deployment-1.2.json", "additionalProperties": false, "definitions": { "policy": { @@ -27,7 +28,6 @@ } } }, - "id": "https://json.schemastore.org/azure-iot-edgehub-deployment-1.2.json", "properties": { "$edgeHub": { "type": "object", diff --git a/src/schemas/json/babelrc.json b/src/schemas/json/babelrc.json index 327aa806f07..ea9b7f00844 100644 --- a/src/schemas/json/babelrc.json +++ b/src/schemas/json/babelrc.json @@ -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/babelrc.json", "allOf": [ { "$ref": "#/definitions/Options" @@ -164,7 +165,6 @@ } } }, - "id": "https://json.schemastore.org/babelrc.json", "title": "JSON schema for Babel 6+ configuration files", "type": "object" } diff --git a/src/schemas/json/band-manifest.json b/src/schemas/json/band-manifest.json index dac6a5542e6..7266e36c8f7 100644 --- a/src/schemas/json/band-manifest.json +++ b/src/schemas/json/band-manifest.json @@ -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/band-manifest.json", "definitions": { "icon": { "type": "string", @@ -16,7 +17,7 @@ }, "condition": { "description": "If set, then must be set to 'true' for this release", - "enum": ["true"] + "const": "true" }, "resource": { "type": "object", @@ -133,11 +134,10 @@ } } }, - "id": "https://json.schemastore.org/band-manifest.json", "properties": { "manifestVersion": { "description": "Defines the contract between the web tile developer and the Microsoft Health app. It must be set to 1 for the current release.", - "enum": [1] + "const": 1 }, "name": { "description": "Defines the name of the web tile.", diff --git a/src/schemas/json/base-04.json b/src/schemas/json/base-04.json index 9603f259e40..ad8a2d6a92e 100644 --- a/src/schemas/json/base-04.json +++ b/src/schemas/json/base-04.json @@ -1,37 +1,38 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/base-04.json", "definitions": { "nullable-array": { - "id": "nullable-array", + "$id": "nullable-array", "type": ["array", "null"] }, "nullable-boolean": { - "id": "nullable-boolean", + "$id": "nullable-boolean", "type": ["boolean", "null"] }, "nullable-integer": { - "id": "nullable-integer", + "$id": "nullable-integer", "type": ["integer", "null"] }, "nullable-number": { - "id": "nullable-number", + "$id": "nullable-number", "type": ["number", "null"] }, "nullable-object": { - "id": "nullable-object", + "$id": "nullable-object", "type": ["object", "null"] }, "nullable-string": { - "id": "nullable-string", + "$id": "nullable-string", "type": ["string", "null"] }, "path": { - "id": "path", + "$id": "path", "type": "string", "minLength": 1 }, "nullable-path": { - "id": "nullable-path", + "$id": "nullable-path", "oneOf": [ { "$ref": "path" @@ -42,7 +43,7 @@ ] }, "editor": { - "id": "editor", + "$id": "editor", "type": "string", "oneOf": [ { @@ -52,7 +53,7 @@ ] }, "nullable-editor": { - "id": "nullable-editor", + "$id": "nullable-editor", "oneOf": [ { "$ref": "editor" @@ -222,7 +223,7 @@ ] }, "timezone": { - "id": "timezone", + "$id": "timezone", "type": "string", "enum": [ "Africa/Abidjan", @@ -825,7 +826,7 @@ ] }, "nullable-timezone": { - "id": "nullable-timezone", + "$id": "nullable-timezone", "oneOf": [ { "$ref": "timezone" @@ -836,6 +837,5 @@ ] } }, - "id": "https://json.schemastore.org/base-04.json", "title": "Common types for all schemas" } diff --git a/src/schemas/json/bootstraprc.json b/src/schemas/json/bootstraprc.json index 969ef6470f1..a923ad59ca0 100644 --- a/src/schemas/json/bootstraprc.json +++ b/src/schemas/json/bootstraprc.json @@ -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/bootstraprc.json", "allOf": [ { "$ref": "#/definitions/coreProperties" @@ -77,8 +78,8 @@ }, "loglevel": { "description": "The verbosity of logging. Exclude this property to disable.", - "enum": ["debug"], - "type": "string" + "type": "string", + "const": "debug" }, "preBootstrapCustomizations": { "description": "The .scss file path to be loaded before Bootstrap's _variables.scss file", @@ -115,7 +116,6 @@ } } }, - "id": "https://json.schemastore.org/bootstraprc.json", "title": "JSON schema for Webpack's bootstrap-loader configuration file", "type": "object" } diff --git a/src/schemas/json/bower.json b/src/schemas/json/bower.json index c79af8c055f..3cee6661232 100644 --- a/src/schemas/json/bower.json +++ b/src/schemas/json/bower.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/bower.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/bower.json", "patternProperties": { "^_": { "description": "Any property starting with _ is valid.", @@ -62,7 +62,7 @@ "properties": { "type": { "type": "string", - "enum": ["git"] + "const": "git" }, "url": { "type": "string", diff --git a/src/schemas/json/bowerrc.json b/src/schemas/json/bowerrc.json index 8c978cf76b5..2765a789550 100644 --- a/src/schemas/json/bowerrc.json +++ b/src/schemas/json/bowerrc.json @@ -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/bowerrc.json", "additionalProperties": true, - "id": "https://json.schemastore.org/bowerrc.json", "properties": { "analytics": { "type": "boolean", diff --git a/src/schemas/json/bozr.json b/src/schemas/json/bozr.json index 787a5874b9f..26f05a04865 100644 --- a/src/schemas/json/bozr.json +++ b/src/schemas/json/bozr.json @@ -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/bozr.json", "description": "Bozr test suite schema definition", - "id": "https://json.schemastore.org/bozr.json", "items": { "type": "object", "additionalProperties": false, diff --git a/src/schemas/json/bundleconfig.json b/src/schemas/json/bundleconfig.json index 753621e3735..a2f2ca126ea 100644 --- a/src/schemas/json/bundleconfig.json +++ b/src/schemas/json/bundleconfig.json @@ -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/bundleconfig.json", "definitions": { "jsBundle": { "properties": { @@ -220,7 +221,6 @@ } }, "description": "Schema for bundleconfig.json files", - "id": "https://json.schemastore.org/bundleconfig.json", "items": { "$ref": "#/definitions/bundle" }, diff --git a/src/schemas/json/cdk.json b/src/schemas/json/cdk.json index 190ae425eb1..0a33d3458c1 100644 --- a/src/schemas/json/cdk.json +++ b/src/schemas/json/cdk.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/cdk.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/cdk.json", "properties": { "app": { "type": "string", diff --git a/src/schemas/json/chutzpah.json b/src/schemas/json/chutzpah.json index 148b9b4e4eb..b3cc4ca199a 100644 --- a/src/schemas/json/chutzpah.json +++ b/src/schemas/json/chutzpah.json @@ -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/chutzpah.json", "additionalProperties": true, "definitions": { "engineOptions": { @@ -203,7 +204,6 @@ } } }, - "id": "https://json.schemastore.org/chutzpah.json", "properties": { "Framework": { "description": "Determines what testing framework to use. This will override the other detection methods.", diff --git a/src/schemas/json/circleciconfig.json b/src/schemas/json/circleciconfig.json index dc444992a6b..9332b3299c8 100644 --- a/src/schemas/json/circleciconfig.json +++ b/src/schemas/json/circleciconfig.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/draft-06/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://json.schemastore.org/circleciconfig.json", "$ref": "https://raw.githubusercontent.com/CircleCI-Public/circleci-yaml-language-server/refs/heads/main/schema.json", "title": "CircleCI Config", diff --git a/src/schemas/json/clasp.json b/src/schemas/json/clasp.json index 2db5062a61f..23216875b72 100644 --- a/src/schemas/json/clasp.json +++ b/src/schemas/json/clasp.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/clasp.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/clasp.json", "properties": { "scriptId": { "description": "An ID of the current Google Apps Script project\nhttps://github.com/google/clasp#scriptid-required", diff --git a/src/schemas/json/codeclimate.json b/src/schemas/json/codeclimate.json index f7c0abc2ca9..f298058215f 100644 --- a/src/schemas/json/codeclimate.json +++ b/src/schemas/json/codeclimate.json @@ -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/codeclimate.json", "$comment": "https://docs.codeclimate.com/docs/advanced-configuration", "definitions": { "enabled": { @@ -22,7 +23,6 @@ } }, "description": "Configuration file as an alternative for configuring your repository in the settings page.", - "id": "https://json.schemastore.org/codeclimate.json", "properties": { "version": { "title": "Version", diff --git a/src/schemas/json/coffeelint.json b/src/schemas/json/coffeelint.json index 382f2974eca..18a9fbdf754 100644 --- a/src/schemas/json/coffeelint.json +++ b/src/schemas/json/coffeelint.json @@ -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/coffeelint.json", "additionalProperties": true, "definitions": { "base": { @@ -13,7 +14,6 @@ } } }, - "id": "https://json.schemastore.org/coffeelint.json", "properties": { "arrow_spacing": { "description": "This rule checks to see that there is spacing before and after the arrow operator that declares a function. [default level: ignore]", diff --git a/src/schemas/json/commands.json b/src/schemas/json/commands.json index e6ce48469c1..8e11ac8bf06 100644 --- a/src/schemas/json/commands.json +++ b/src/schemas/json/commands.json @@ -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/commands.json", "definitions": { "commands": { "type": "object", @@ -29,7 +30,6 @@ } }, "description": "Schema for bundleconfig.json files", - "id": "https://json.schemastore.org/commands.json", "properties": { "commands": { "description": "A list of commands.", diff --git a/src/schemas/json/compile-commands.json b/src/schemas/json/compile-commands.json index fa945241c52..1e9dbe27374 100644 --- a/src/schemas/json/compile-commands.json +++ b/src/schemas/json/compile-commands.json @@ -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/compile-commands.json", "definitions": { "commandObject": { "properties": { @@ -38,7 +39,6 @@ } }, "description": "Describes a format for specifying how to replay single compilations independently of the build system", - "id": "https://json.schemastore.org/compile-commands.json", "items": { "$ref": "#/definitions/commandObject" }, diff --git a/src/schemas/json/compilerconfig.json b/src/schemas/json/compilerconfig.json index c8cd385f910..5669f3e91a3 100644 --- a/src/schemas/json/compilerconfig.json +++ b/src/schemas/json/compilerconfig.json @@ -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/compilerconfig.json", "definitions": { "lessOptions": { "properties": { @@ -148,7 +149,6 @@ } }, "description": "Schema for bundleconfig.json files", - "id": "https://json.schemastore.org/compilerconfig.json", "items": { "$ref": "#/definitions/config" }, diff --git a/src/schemas/json/compilerdefaults.json b/src/schemas/json/compilerdefaults.json index 1e571a36adb..91b8c4dfea3 100644 --- a/src/schemas/json/compilerdefaults.json +++ b/src/schemas/json/compilerdefaults.json @@ -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/compilerdefaults.json", "definitions": { "less": { "description": "Specify options for the compiler.", @@ -269,7 +270,6 @@ } }, "description": "Schema for bundleconfig.json files", - "id": "https://json.schemastore.org/compilerdefaults.json", "properties": { "compilers": { "type": "object", diff --git a/src/schemas/json/component-detection-manifest.json b/src/schemas/json/component-detection-manifest.json index 638679657f2..bab4c417334 100644 --- a/src/schemas/json/component-detection-manifest.json +++ b/src/schemas/json/component-detection-manifest.json @@ -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/component-detection-manifest.json", "$ref": "#/definitions/CGManifest", "definitions": { "ActorInfo": { @@ -128,7 +129,7 @@ "properties": { "type": { "type": "string", - "enum": ["cargo"] + "const": "cargo" }, "cargo": { "type": "object", @@ -179,7 +180,7 @@ "properties": { "type": { "type": "string", - "enum": ["git"] + "const": "git" }, "git": { "type": "object", @@ -234,7 +235,7 @@ "properties": { "type": { "type": "string", - "enum": ["go"] + "const": "go" }, "go": { "type": "object", @@ -285,7 +286,7 @@ "properties": { "type": { "type": "string", - "enum": ["linux"] + "const": "linux" }, "linux": { "type": "object", @@ -350,7 +351,7 @@ "properties": { "type": { "type": "string", - "enum": ["maven"] + "const": "maven" }, "maven": { "type": "object", @@ -404,7 +405,7 @@ "properties": { "type": { "type": "string", - "enum": ["npm"] + "const": "npm" }, "npm": { "type": "object", @@ -455,7 +456,7 @@ "properties": { "type": { "type": "string", - "enum": ["nuget"] + "const": "nuget" }, "nuget": { "type": "object", @@ -506,7 +507,7 @@ "properties": { "type": { "type": "string", - "enum": ["other"] + "const": "other" }, "other": { "title": "Other", @@ -560,7 +561,7 @@ "properties": { "type": { "type": "string", - "enum": ["pip"] + "const": "pip" }, "pip": { "type": "object", @@ -611,7 +612,7 @@ "properties": { "type": { "type": "string", - "enum": ["pod"] + "const": "pod" }, "pod": { "type": "object", @@ -662,7 +663,7 @@ "properties": { "type": { "type": "string", - "enum": ["rubygems"] + "const": "rubygems" }, "rubygems": { "type": "object", @@ -713,7 +714,7 @@ "properties": { "type": { "type": "string", - "enum": ["vcpkg"] + "const": "vcpkg" }, "vcpkg": { "type": "object", @@ -774,6 +775,5 @@ "required": ["type", "vcpkg"] } }, - "id": "https://json.schemastore.org/component-detection-manifest.json", "title": "Component Detection manifest" } diff --git a/src/schemas/json/content-security-policy-report-2.json b/src/schemas/json/content-security-policy-report-2.json index c67aa94663d..f51796dc071 100644 --- a/src/schemas/json/content-security-policy-report-2.json +++ b/src/schemas/json/content-security-policy-report-2.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/content-security-policy-report-2.json", "additionalProperties": false, "description": "https://www.w3.org/TR/CSP2/#violation-reports", - "id": "https://json.schemastore.org/content-security-policy-report-2.json", "properties": { "csp-report": { "type": "object", diff --git a/src/schemas/json/cosmos-config.json b/src/schemas/json/cosmos-config.json index 684760cd1e6..779274a836e 100644 --- a/src/schemas/json/cosmos-config.json +++ b/src/schemas/json/cosmos-config.json @@ -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/cosmos-config.json", "additionalProperties": false, - "id": "https://json.schemastore.org/cosmos-config.json", "properties": { "$schema": { "type": "string" @@ -210,7 +210,7 @@ "minLength": 1 }, { - "enum": [false] + "const": false } ] }, diff --git a/src/schemas/json/creatomic.json b/src/schemas/json/creatomic.json index 4060c06a03a..aa1241d9119 100644 --- a/src/schemas/json/creatomic.json +++ b/src/schemas/json/creatomic.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/creatomic.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/creatomic.json", "properties": { "tslint.enable": { "type": "boolean", diff --git a/src/schemas/json/crowdin.json b/src/schemas/json/crowdin.json index a60bdca32f2..69e455918c1 100644 --- a/src/schemas/json/crowdin.json +++ b/src/schemas/json/crowdin.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/crowdin.json", "$comment": "https://support.crowdin.com/configuration-file/", "description": "Configuration for Crowdin, a crowd-translation platform.", - "id": "https://json.schemastore.org/crowdin.json", "properties": { "project_id": { "title": "Project ID", diff --git a/src/schemas/json/cryproj.52.schema.json b/src/schemas/json/cryproj.52.schema.json index 9dc19a62405..b478bfffd01 100644 --- a/src/schemas/json/cryproj.52.schema.json +++ b/src/schemas/json/cryproj.52.schema.json @@ -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/cryproj.52.schema", "$comment": "JSON Schema for CRYENGINE 5.2", "definitions": { "cvars": { @@ -2642,7 +2643,6 @@ ] } }, - "id": "https://json.schemastore.org/cryproj.52.schema", "properties": { "console_variables": { "type": "array", @@ -2754,7 +2754,7 @@ "description": "This indicates which engine version will be used", "default": "", "examples": ["engine-5.4"], - "enum": ["engine-5.2"] + "const": "engine-5.2" }, "plugins": { "type": "array", diff --git a/src/schemas/json/cryproj.53.schema.json b/src/schemas/json/cryproj.53.schema.json index 9e41894a9c7..078e19f0c46 100644 --- a/src/schemas/json/cryproj.53.schema.json +++ b/src/schemas/json/cryproj.53.schema.json @@ -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/cryproj.53.schema", "$comment": "JSON Schema for CRYENGINE 5.3", "definitions": { "cvars": { @@ -2657,7 +2658,6 @@ ] } }, - "id": "https://json.schemastore.org/cryproj.53.schema", "properties": { "console_variables": { "type": "array", @@ -2769,7 +2769,7 @@ "description": "This indicates which engine version will be used", "default": "", "examples": ["engine-5.4"], - "enum": ["engine-5.3"] + "const": "engine-5.3" }, "plugins": { "type": "array", diff --git a/src/schemas/json/cryproj.54.schema.json b/src/schemas/json/cryproj.54.schema.json index 5e666487edd..f1c7dac77a7 100644 --- a/src/schemas/json/cryproj.54.schema.json +++ b/src/schemas/json/cryproj.54.schema.json @@ -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/cryproj.54.schema", "$comment": "JSON Schema for CRYENGINE 5.4", "definitions": { "cvars": { @@ -2663,7 +2664,6 @@ ] } }, - "id": "https://json.schemastore.org/cryproj.54.schema", "properties": { "console_variables": { "type": "array", @@ -2775,7 +2775,7 @@ "description": "This indicates which engine version will be used", "default": "", "examples": ["engine-5.4"], - "enum": ["engine-5.4"] + "const": "engine-5.4" }, "plugins": { "type": "array", diff --git a/src/schemas/json/cryproj.55.schema.json b/src/schemas/json/cryproj.55.schema.json index a053f9d1993..35f5962ed13 100644 --- a/src/schemas/json/cryproj.55.schema.json +++ b/src/schemas/json/cryproj.55.schema.json @@ -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/cryproj.55.schema", "$comment": "JSON Schema for CRYENGINE 5.5", "definitions": { "cvars": { @@ -2669,7 +2670,6 @@ ] } }, - "id": "https://json.schemastore.org/cryproj.55.schema", "properties": { "console_variables": { "type": "array", @@ -2781,7 +2781,7 @@ "description": "This indicates which engine version will be used", "default": "", "examples": ["engine-5.4"], - "enum": ["engine-5.5"] + "const": "engine-5.5" }, "plugins": { "type": "array", diff --git a/src/schemas/json/cryproj.dev.schema.json b/src/schemas/json/cryproj.dev.schema.json index 271aeed806c..4e60ce10ba9 100644 --- a/src/schemas/json/cryproj.dev.schema.json +++ b/src/schemas/json/cryproj.dev.schema.json @@ -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/cryproj.dev.schema", "$comment": "JSON Schema for CRYENGINE dev", "definitions": { "cvars": { @@ -2669,7 +2670,6 @@ ] } }, - "id": "https://json.schemastore.org/cryproj.dev.schema", "properties": { "console_variables": { "type": "array", @@ -2781,7 +2781,7 @@ "description": "This indicates which engine version will be used", "default": "", "examples": ["engine-5.4"], - "enum": ["engine-dev"] + "const": "engine-dev" }, "plugins": { "type": "array", diff --git a/src/schemas/json/cryproj.json b/src/schemas/json/cryproj.json index cd0058bdaf3..249350361bc 100644 --- a/src/schemas/json/cryproj.json +++ b/src/schemas/json/cryproj.json @@ -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/cryproj", "$comment": "JSON Schema for CRYENGINE *", "definitions": { "cvars": { @@ -2669,7 +2670,6 @@ ] } }, - "id": "https://json.schemastore.org/cryproj", "properties": { "console_variables": { "type": "array", diff --git a/src/schemas/json/csscomb.json b/src/schemas/json/csscomb.json index afa9ecd4661..a70d75af014 100644 --- a/src/schemas/json/csscomb.json +++ b/src/schemas/json/csscomb.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/csscomb.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/csscomb.json", "properties": { "exclude": { "description": "A list of files to ignore in the current project\nhttps://github.com/csscomb/csscomb.js/blob/dev/doc/configuration.md#create-custom-config", diff --git a/src/schemas/json/csslintrc.json b/src/schemas/json/csslintrc.json index 2a321b881a0..cf383bcce0d 100644 --- a/src/schemas/json/csslintrc.json +++ b/src/schemas/json/csslintrc.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/csslintrc.json", "definitions": { "rule": { "description": "CSS Lint rule\n\n'false' means rule is off\n'true' means it is a warning\n'2' means the rule is an error", "enum": [2, true, false] } }, - "id": "https://json.schemastore.org/csslintrc.json", "properties": { "adjoining-classes": { "$ref": "#/definitions/rule" diff --git a/src/schemas/json/debugsettings.json b/src/schemas/json/debugsettings.json index 00e8bd1f703..22bab4cc50a 100644 --- a/src/schemas/json/debugsettings.json +++ b/src/schemas/json/debugsettings.json @@ -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/debugsettings.json", "definitions": { "profile": { "type": "object", @@ -78,7 +79,6 @@ } } }, - "id": "https://json.schemastore.org/debugsettings.json", "properties": { "profiles": { "type": "array", diff --git a/src/schemas/json/dependabot.json b/src/schemas/json/dependabot.json index fa6dcfe0846..d0ac5b9573e 100644 --- a/src/schemas/json/dependabot.json +++ b/src/schemas/json/dependabot.json @@ -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/dependabot.json", "definitions": {}, - "id": "https://json.schemastore.org/dependabot.json", "properties": { "version": { "type": "integer", diff --git a/src/schemas/json/detekt-1.14.1.json b/src/schemas/json/detekt-1.14.1.json index 09ed283be3a..f9815137d0e 100644 --- a/src/schemas/json/detekt-1.14.1.json +++ b/src/schemas/json/detekt-1.14.1.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/detekt-1.14.1.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/detekt-1.14.1.json", "properties": { "build": { "type": "object", diff --git a/src/schemas/json/detekt-1.22.0.json b/src/schemas/json/detekt-1.22.0.json index 2ab85f08283..a9f6b0bece7 100644 --- a/src/schemas/json/detekt-1.22.0.json +++ b/src/schemas/json/detekt-1.22.0.json @@ -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/detekt-1.22.0.json", "$defs": { "ruleProperties": { "type": "object", @@ -28,7 +29,6 @@ } } }, - "id": "https://json.schemastore.org/detekt-1.22.0.json", "properties": { "build": { "type": "object", diff --git a/src/schemas/json/devinit.schema-1.0.json b/src/schemas/json/devinit.schema-1.0.json index b8712270dcc..7b78dc8e198 100644 --- a/src/schemas/json/devinit.schema-1.0.json +++ b/src/schemas/json/devinit.schema-1.0.json @@ -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/devinit.schema-1.0.json", "additionalProperties": false, "definitions": { "runObject": { @@ -79,7 +80,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/devinit.schema-1.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/devinit.schema-2.0.json b/src/schemas/json/devinit.schema-2.0.json index 4ac3401d87d..d3c3bcbba54 100644 --- a/src/schemas/json/devinit.schema-2.0.json +++ b/src/schemas/json/devinit.schema-2.0.json @@ -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/devinit.schema-2.0.json", "additionalProperties": false, "definitions": { "runObject": { @@ -81,7 +82,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/devinit.schema-2.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/devinit.schema-3.0.json b/src/schemas/json/devinit.schema-3.0.json index 5febeb7f909..6a2616b1794 100644 --- a/src/schemas/json/devinit.schema-3.0.json +++ b/src/schemas/json/devinit.schema-3.0.json @@ -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/devinit.schema-3.0.json", "additionalProperties": false, "definitions": { "runObject": { @@ -82,7 +83,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/devinit.schema-3.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/devinit.schema-4.0.json b/src/schemas/json/devinit.schema-4.0.json index eb60db2bc2a..8a392e2bb9d 100644 --- a/src/schemas/json/devinit.schema-4.0.json +++ b/src/schemas/json/devinit.schema-4.0.json @@ -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/devinit.schema-4.0.json", "additionalProperties": false, "definitions": { "runObject": { @@ -84,7 +85,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/devinit.schema-4.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/devinit.schema-5.0.json b/src/schemas/json/devinit.schema-5.0.json index 5ac8f653cbe..8908bae59b1 100644 --- a/src/schemas/json/devinit.schema-5.0.json +++ b/src/schemas/json/devinit.schema-5.0.json @@ -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/devinit.schema-5.0.json", "additionalProperties": false, "definitions": { "runObject": { @@ -82,7 +83,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/devinit.schema-5.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/devinit.schema-6.0.json b/src/schemas/json/devinit.schema-6.0.json index 2738631a164..2ca07333bbe 100644 --- a/src/schemas/json/devinit.schema-6.0.json +++ b/src/schemas/json/devinit.schema-6.0.json @@ -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/devinit.schema-6.0.json", "additionalProperties": false, "definitions": { "runObject": { @@ -84,7 +85,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/devinit.schema-6.0.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/docfx.json b/src/schemas/json/docfx.json index 302a1a5091e..7af49580d0f 100644 --- a/src/schemas/json/docfx.json +++ b/src/schemas/json/docfx.json @@ -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/docfx.json", "definitions": { "buildConfig": { "type": "object", @@ -456,7 +457,6 @@ "description": "If set to true, DocFX would not fetch Git related information for articles." } }, - "id": "https://json.schemastore.org/docfx.json", "properties": { "metadata": { "$ref": "#/definitions/metadataConfig" diff --git a/src/schemas/json/dotnet-releases-index.json b/src/schemas/json/dotnet-releases-index.json index baa809f2fe0..418707a9e6e 100644 --- a/src/schemas/json/dotnet-releases-index.json +++ b/src/schemas/json/dotnet-releases-index.json @@ -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/dotnet-releases-index.json", "$comment": "Schema derived from https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases-index.json and https://github.com/dotnet/deployment-tools/blob/main/src/Microsoft.Deployment.DotNet.Releases/src/Product.cs", "additionalProperties": false, "definitions": { @@ -114,7 +115,6 @@ } }, "description": "A collection of manifests for .NET products, which is updated with each preview and stable release of the .NET SDK and/or Runtime", - "id": "https://json.schemastore.org/dotnet-releases-index.json", "properties": { "releases-index": { "type": "array", diff --git a/src/schemas/json/dotnetcli.host.json b/src/schemas/json/dotnetcli.host.json index 2da86d15549..0e9cc0f2dab 100644 --- a/src/schemas/json/dotnetcli.host.json +++ b/src/schemas/json/dotnetcli.host.json @@ -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/dotnetcli.host.json", "definitions": { "symbolInfo": { "properties": { @@ -22,7 +23,6 @@ } } }, - "id": "https://json.schemastore.org/dotnetcli.host.json", "properties": { "symbolInfo": { "type": "object", diff --git a/src/schemas/json/dss-2.0.0.json b/src/schemas/json/dss-2.0.0.json index 740bc1acff1..8460357ab0b 100644 --- a/src/schemas/json/dss-2.0.0.json +++ b/src/schemas/json/dss-2.0.0.json @@ -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/dss-2.0.0.json", "definitions": { "dss2-SignRequestType": { "$xsd-full-type": "dss2:SignRequestType", @@ -1235,7 +1236,6 @@ "required": ["result"] } }, - "id": "https://json.schemastore.org/dss-2.0.0.json", "properties": { "signReq": { "$ref": "#/definitions/dss2-SignRequestType" diff --git a/src/schemas/json/embrace-config-schema-1.0.0.json b/src/schemas/json/embrace-config-schema-1.0.0.json index 740c409724e..396906d6d2c 100644 --- a/src/schemas/json/embrace-config-schema-1.0.0.json +++ b/src/schemas/json/embrace-config-schema-1.0.0.json @@ -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/embrace-config-schema-1.0.0.json", "description": "JSON Schema definition for the Embrace configuration file.", - "id": "https://json.schemastore.org/embrace-config-schema-1.0.0.json", "properties": { "app_id": { "description": "Your 5 character app ID.", diff --git a/src/schemas/json/epr-manifest.json b/src/schemas/json/epr-manifest.json index 48edb41eac5..98db0cbb72b 100644 --- a/src/schemas/json/epr-manifest.json +++ b/src/schemas/json/epr-manifest.json @@ -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/epr-manifest.json", "additionalProperties": true, "definitions": { "behavior": { @@ -38,7 +39,6 @@ } } }, - "id": "https://json.schemastore.org/epr-manifest.json", "properties": { "site": { "description": "A fully qualified URL of your website.", diff --git a/src/schemas/json/es6importsorterrc.json b/src/schemas/json/es6importsorterrc.json index b10c5c64980..7b37241391a 100644 --- a/src/schemas/json/es6importsorterrc.json +++ b/src/schemas/json/es6importsorterrc.json @@ -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/base-04.json", "additionalProperties": false, - "id": "https://json.schemastore.org/base-04.json", "properties": { "sourcePrefixes": { "description": "The prefixes of your source imports. Ex: import sth from '@data' => '@' can considered as a sourcePrefix", @@ -59,12 +59,12 @@ "default": "terminal", "oneOf": [ { - "enum": ["vscode"], - "description": "Command will be executed as vscode command" + "description": "Command will be executed as vscode command", + "const": "vscode" }, { - "enum": ["terminal"], - "description": "Command will be executed as terminal command" + "description": "Command will be executed as terminal command", + "const": "terminal" } ] } diff --git a/src/schemas/json/esquio.json b/src/schemas/json/esquio.json index 7bade073b87..06cd84be560 100644 --- a/src/schemas/json/esquio.json +++ b/src/schemas/json/esquio.json @@ -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/esquio.json", "definitions": { "Esquio": { "type": ["object", "null"], @@ -57,7 +58,6 @@ "required": ["Type", "Parameters"] } }, - "id": "https://json.schemastore.org/esquio.json", "properties": { "Esquio": { "$ref": "#/definitions/Esquio" diff --git a/src/schemas/json/expo-37.0.0.json b/src/schemas/json/expo-37.0.0.json index f935887cf2e..bde583ada94 100644 --- a/src/schemas/json/expo-37.0.0.json +++ b/src/schemas/json/expo-37.0.0.json @@ -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/expo-37.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-37.0.0.json", "properties": { "expo": { "type": "object", diff --git a/src/schemas/json/expo-38.0.0.json b/src/schemas/json/expo-38.0.0.json index 07ccc250bc3..e3556d6ba3c 100644 --- a/src/schemas/json/expo-38.0.0.json +++ b/src/schemas/json/expo-38.0.0.json @@ -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/expo-38.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-38.0.0.json", "properties": { "expo": { "type": "object", diff --git a/src/schemas/json/expo-39.0.0.json b/src/schemas/json/expo-39.0.0.json index 190f7e36575..cc9a5c866cd 100644 --- a/src/schemas/json/expo-39.0.0.json +++ b/src/schemas/json/expo-39.0.0.json @@ -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/expo-39.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-39.0.0.json", "properties": { "expo": { "definitions": { diff --git a/src/schemas/json/expo-40.0.0.json b/src/schemas/json/expo-40.0.0.json index fec92e6fb22..c20007abce8 100644 --- a/src/schemas/json/expo-40.0.0.json +++ b/src/schemas/json/expo-40.0.0.json @@ -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/expo-40.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-40.0.0.json", "properties": { "expo": { "definitions": { diff --git a/src/schemas/json/expo-41.0.0.json b/src/schemas/json/expo-41.0.0.json index 7111d381d31..9d0fd6602d9 100644 --- a/src/schemas/json/expo-41.0.0.json +++ b/src/schemas/json/expo-41.0.0.json @@ -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/expo-41.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-41.0.0.json", "properties": { "expo": { "definitions": { diff --git a/src/schemas/json/expo-42.0.0.json b/src/schemas/json/expo-42.0.0.json index 40963004fa7..9d9215fa320 100644 --- a/src/schemas/json/expo-42.0.0.json +++ b/src/schemas/json/expo-42.0.0.json @@ -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/expo-42.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-42.0.0.json", "properties": { "expo": { "definitions": { diff --git a/src/schemas/json/expo-46.0.0.json b/src/schemas/json/expo-46.0.0.json index c298eadbdf2..38f64cfceed 100644 --- a/src/schemas/json/expo-46.0.0.json +++ b/src/schemas/json/expo-46.0.0.json @@ -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/expo-46.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-46.0.0.json", "properties": { "expo": { "definitions": { diff --git a/src/schemas/json/expo-50.0.0.json b/src/schemas/json/expo-50.0.0.json index bcf99e599c6..97d5dc8030c 100644 --- a/src/schemas/json/expo-50.0.0.json +++ b/src/schemas/json/expo-50.0.0.json @@ -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/expo-50.0.0.json", "additionalProperties": false, - "id": "https://json.schemastore.org/expo-50.0.0.json", "properties": { "expo": { "definitions": { @@ -931,8 +931,8 @@ "properties": { "alg": { "description": "Algorithm used to generate manifest code signing signature. Valid values: `rsa-v1_5-sha256`", - "enum": ["rsa-v1_5-sha256"], - "type": "string" + "type": "string", + "const": "rsa-v1_5-sha256" }, "keyid": { "description": "Identifier for the key in the certificate. Used to instruct signing mechanisms when signing or verifying signatures.", diff --git a/src/schemas/json/feed-1.json b/src/schemas/json/feed-1.json index 941c35aa2c2..bdfe026e971 100644 --- a/src/schemas/json/feed-1.json +++ b/src/schemas/json/feed-1.json @@ -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/feed-1", "additionalProperties": false, "definitions": { "attachment": { @@ -194,7 +195,6 @@ "format": "uri" } }, - "id": "https://json.schemastore.org/feed-1", "patternProperties": { "^_[a-zA-Z]([^.]+)$": { "$ref": "#/definitions/extension" @@ -291,7 +291,7 @@ "description": "The URL of the version of the format the feed uses. This should appear at the very top, though we recognize that not all JSON generators allow for ordering.", "anyOf": [ { - "enum": ["https://jsonfeed.org/version/1"] + "const": "https://jsonfeed.org/version/1" }, { "$ref": "#/definitions/uri" diff --git a/src/schemas/json/feed.json b/src/schemas/json/feed.json index 30ae3593910..6869edae6b9 100644 --- a/src/schemas/json/feed.json +++ b/src/schemas/json/feed.json @@ -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/feed.json", "additionalProperties": false, "definitions": { "item": { @@ -90,7 +91,6 @@ } } }, - "id": "https://json.schemastore.org/feed.json", "patternProperties": { "^_[a-zA-Z]([^.]+)$": { "$ref": "feed-1#/definitions/extension" @@ -156,7 +156,7 @@ "description": "The URL of the version of the format the feed uses. This should appear at the very top, though we recognize that not all JSON generators allow for ordering.", "anyOf": [ { - "enum": ["https://jsonfeed.org/version/1.1"] + "const": "https://jsonfeed.org/version/1.1" }, { "$ref": "feed-1#/definitions/uri" diff --git a/src/schemas/json/foxx-manifest.json b/src/schemas/json/foxx-manifest.json index b99f660efc2..a1a412b3e7f 100644 --- a/src/schemas/json/foxx-manifest.json +++ b/src/schemas/json/foxx-manifest.json @@ -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/foxx-manifest.json", "description": "Schema for ArangoDB Foxx service manifests", - "id": "https://json.schemastore.org/foxx-manifest.json", "properties": { "configuration": { "type": "object", diff --git a/src/schemas/json/function.json b/src/schemas/json/function.json index da563af6f1b..73596fcef42 100644 --- a/src/schemas/json/function.json +++ b/src/schemas/json/function.json @@ -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/function.json", "definitions": { "bindingBase": { "properties": { @@ -84,20 +85,20 @@ { "properties": { "type": { - "enum": ["serviceBusTrigger"] + "const": "serviceBusTrigger" }, "direction": { - "enum": ["in"] + "const": "in" } } }, { "properties": { "type": { - "enum": ["serviceBus"] + "const": "serviceBus" }, "direction": { - "enum": ["out"] + "const": "out" } } } @@ -118,17 +119,17 @@ { "properties": { "type": { - "enum": ["blobTrigger"] + "const": "blobTrigger" }, "direction": { - "enum": ["in"] + "const": "in" } } }, { "properties": { "type": { - "enum": ["blob"] + "const": "blob" } } } @@ -137,10 +138,10 @@ "manualTriggerBinding": { "properties": { "type": { - "enum": ["manualTrigger"] + "const": "manualTrigger" }, "direction": { - "enum": ["in"] + "const": "in" } } }, @@ -159,10 +160,10 @@ { "properties": { "type": { - "enum": ["eventHubTrigger"] + "const": "eventHubTrigger" }, "direction": { - "enum": ["in"] + "const": "in" }, "consumerGroup": { "type": "string", @@ -177,10 +178,10 @@ { "properties": { "type": { - "enum": ["eventHub"] + "const": "eventHub" }, "direction": { - "enum": ["out"] + "const": "out" } } } @@ -189,10 +190,10 @@ "timerTriggerBinding": { "properties": { "type": { - "enum": ["timerTrigger"] + "const": "timerTrigger" }, "direction": { - "enum": ["in"] + "const": "in" }, "schedule": { "type": "string", @@ -223,20 +224,20 @@ { "properties": { "type": { - "enum": ["queueTrigger"] + "const": "queueTrigger" }, "direction": { - "enum": ["in"] + "const": "in" } } }, { "properties": { "type": { - "enum": ["queue"] + "const": "queue" }, "direction": { - "enum": ["out"] + "const": "out" } } } @@ -248,10 +249,10 @@ { "properties": { "type": { - "enum": ["httpTrigger"] + "const": "httpTrigger" }, "direction": { - "enum": ["in"] + "const": "in" }, "route": { "type": "string", @@ -290,10 +291,10 @@ { "properties": { "type": { - "enum": ["http"] + "const": "http" }, "direction": { - "enum": ["out"] + "const": "out" } } } @@ -302,7 +303,7 @@ "mobileBinding": { "properties": { "type": { - "enum": ["mobileTable"] + "const": "mobileTable" }, "tableName": { "type": "string", @@ -321,7 +322,7 @@ { "properties": { "direction": { - "enum": ["in"] + "const": "in" }, "id": { "type": "string", @@ -332,7 +333,7 @@ { "properties": { "direction": { - "enum": ["out"] + "const": "out" } } } @@ -341,7 +342,7 @@ "documentDBBinding": { "properties": { "type": { - "enum": ["documentDB"] + "const": "documentDB" }, "connection": { "type": "string", @@ -360,7 +361,7 @@ { "properties": { "direction": { - "enum": ["in"] + "const": "in" }, "id": { "type": "string", @@ -375,7 +376,7 @@ { "properties": { "direction": { - "enum": ["out"] + "const": "out" }, "createIfNotExists": { "type": "boolean", @@ -388,7 +389,7 @@ "tableBinding": { "properties": { "type": { - "enum": ["table"] + "const": "table" }, "tableName": { "type": "string", @@ -411,7 +412,7 @@ { "properties": { "direction": { - "enum": ["in"] + "const": "in" }, "take": { "type": "string", @@ -426,7 +427,7 @@ { "properties": { "direction": { - "enum": ["out"] + "const": "out" } } } @@ -435,10 +436,10 @@ "notificationHubBinding": { "properties": { "type": { - "enum": ["notificationHub"] + "const": "notificationHub" }, "direction": { - "enum": ["out"] + "const": "out" }, "tagExpression": { "type": "string", @@ -462,10 +463,10 @@ "twilioSmsBinding": { "properties": { "type": { - "enum": ["twilioSms"] + "const": "twilioSms" }, "direction": { - "enum": ["out"] + "const": "out" }, "accountSid": { "type": "string", @@ -492,10 +493,10 @@ "sendGridBinding": { "properties": { "type": { - "enum": ["sendGrid"] + "const": "sendGrid" }, "direction": { - "enum": ["out"] + "const": "out" }, "apiKey": { "type": "string", @@ -530,7 +531,7 @@ { "properties": { "type": { - "enum": ["sqlTrigger"] + "const": "sqlTrigger" }, "tableName": { "type": "string", @@ -541,10 +542,10 @@ { "properties": { "type": { - "enum": ["sql"] + "const": "sql" }, "direction": { - "enum": ["in"] + "const": "in" }, "commandText": { "type": "string", @@ -591,14 +592,14 @@ "description": "A managed service identity that has to be attached to use the bindings." }, "type": { - "enum": ["kusto"] + "const": "kusto" } }, "oneOf": [ { "properties": { "direction": { - "enum": ["in"] + "const": "in" }, "kqlCommand": { "type": "string", @@ -613,7 +614,7 @@ { "properties": { "direction": { - "enum": ["out"] + "const": "out" }, "tableName": { "type": "string", @@ -642,10 +643,10 @@ { "properties": { "type": { - "enum": ["mysql"] + "const": "mysql" }, "direction": { - "enum": ["in"] + "const": "in" }, "commandText": { "type": "string", @@ -667,7 +668,7 @@ "const": "mysql" }, "direction": { - "enum": ["out"] + "const": "out" }, "commandText": { "type": "string", @@ -678,7 +679,7 @@ { "properties": { "type": { - "enum": ["mysqlTrigger"] + "const": "mysqlTrigger" }, "tableName": { "type": "string", @@ -689,7 +690,6 @@ ] } }, - "id": "https://json.schemastore.org/function.json", "properties": { "disabled": { "type": "boolean", @@ -732,7 +732,7 @@ "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$" }, { - "enum": [null] + "const": null } ] }, @@ -744,7 +744,7 @@ "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$" }, { - "enum": [null] + "const": null } ] }, @@ -756,7 +756,7 @@ "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$" }, { - "enum": [null] + "const": null } ] } diff --git a/src/schemas/json/global.json b/src/schemas/json/global.json index 6c2dc66b924..9ac0f7138e4 100644 --- a/src/schemas/json/global.json +++ b/src/schemas/json/global.json @@ -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/global.json", "additionalProperties": true, - "id": "https://json.schemastore.org/global.json", "properties": { "sdk": { "type": "object", diff --git a/src/schemas/json/gpc.json b/src/schemas/json/gpc.json index 8f804b75551..e3f3d89881a 100644 --- a/src/schemas/json/gpc.json +++ b/src/schemas/json/gpc.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/gpc.json", "$comment": "https://globalprivacycontrol.github.io/gpc-spec/", "description": "Configuration for GPC, so a site can convey its support for the Global Privacy Control.", - "id": "https://json.schemastore.org/gpc.json", "properties": { "gpc": { "title": "Global Privacy Control", diff --git a/src/schemas/json/grafana-dashboard-5.x.json b/src/schemas/json/grafana-dashboard-5.x.json index d08fe437166..377f8b50edb 100644 --- a/src/schemas/json/grafana-dashboard-5.x.json +++ b/src/schemas/json/grafana-dashboard-5.x.json @@ -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/grafana-dashboard-5.x.json", "description": "JSON Schema for Grafana 5.x Dashboards (https://grafana.com/docs/grafana/latest/reference/dashboard/#dashboard-json)", - "id": "https://json.schemastore.org/grafana-dashboard-5.x.json", "properties": { "meta": { "type": "object", diff --git a/src/schemas/json/grpc-api-gateway.json b/src/schemas/json/grpc-api-gateway.json index 4a167b4ad44..876d38645c0 100644 --- a/src/schemas/json/grpc-api-gateway.json +++ b/src/schemas/json/grpc-api-gateway.json @@ -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/grpc-api-gateway.json", "description": "Configuration files for gRPC API Gateway & OpenAPI generation plugin for protobuf (https://github.com/meshapi/grpc-api-gateway)", - "id": "https://json.schemastore.org/grpc-api-gateway.json", "properties": { "gateway": { "$ref": "#/definitions/meshapi.gateway.GatewaySpec" @@ -62,37 +62,49 @@ "oneOf": [ { "properties": { - "get": { "type": "string" } + "get": { + "type": "string" + } }, "required": ["get"] }, { "properties": { - "put": { "type": "string" } + "put": { + "type": "string" + } }, "required": ["put"] }, { "properties": { - "post": { "type": "string" } + "post": { + "type": "string" + } }, "required": ["post"] }, { "properties": { - "delete": { "type": "string" } + "delete": { + "type": "string" + } }, "required": ["delete"] }, { "properties": { - "patch": { "type": "string" } + "patch": { + "type": "string" + } }, "required": ["patch"] }, { "properties": { - "custom": { "$ref": "#/definitions/meshapi.gateway.CustomPattern" } + "custom": { + "$ref": "#/definitions/meshapi.gateway.CustomPattern" + } }, "required": ["custom"] } @@ -175,37 +187,49 @@ "oneOf": [ { "properties": { - "get": { "type": "string" } + "get": { + "type": "string" + } }, "required": ["get"] }, { "properties": { - "put": { "type": "string" } + "put": { + "type": "string" + } }, "required": ["put"] }, { "properties": { - "post": { "type": "string" } + "post": { + "type": "string" + } }, "required": ["post"] }, { "properties": { - "delete": { "type": "string" } + "delete": { + "type": "string" + } }, "required": ["delete"] }, { "properties": { - "patch": { "type": "string" } + "patch": { + "type": "string" + } }, "required": ["patch"] }, { "properties": { - "custom": { "$ref": "#/definitions/meshapi.gateway.CustomPattern" } + "custom": { + "$ref": "#/definitions/meshapi.gateway.CustomPattern" + } }, "required": ["custom"] } @@ -633,7 +657,7 @@ }, "allow_reserved": { "type": "boolean", - "description": "Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986] :/?#[]@!$\u0026'()*+,;= to be included without percent-encoding. The default value is false. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored." + "description": "Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986] :/?#[]@!$&'()*+,;= to be included without percent-encoding. The default value is false. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded or multipart/form-data. If a value is explicitly defined, then the value of contentType (implicit or explicit) SHALL be ignored." }, "extensions": { "additionalProperties": { @@ -1091,13 +1115,17 @@ "oneOf": [ { "properties": { - "operation_ref": { "type": "string" } + "operation_ref": { + "type": "string" + } }, "required": ["operation_ref"] }, { "properties": { - "operation_id": { "type": "string" } + "operation_id": { + "type": "string" + } }, "required": ["operation_id"] } @@ -1302,7 +1330,7 @@ }, "allow_reserved": { "type": "boolean", - "description": "Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986] :/?#[]@!$\u0026'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is false." + "description": "Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986] :/?#[]@!$&'()*+,;= to be included without percent-encoding. This property only applies to parameters with an in value of query. The default value is false." }, "schema": { "$ref": "#/definitions/meshapi.gateway.openapi.Schema" @@ -1764,7 +1792,9 @@ "oneOf": [ { "properties": { - "schema": { "$ref": "#/definitions/meshapi.gateway.openapi.Schema" } + "schema": { + "$ref": "#/definitions/meshapi.gateway.openapi.Schema" + } }, "required": ["schema"] }, diff --git a/src/schemas/json/grunt-clean-task.json b/src/schemas/json/grunt-clean-task.json index f7869792ae9..5049754e4bd 100644 --- a/src/schemas/json/grunt-clean-task.json +++ b/src/schemas/json/grunt-clean-task.json @@ -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/grunt-clean-task.json", "additionalProperties": { "anyOf": [ { @@ -42,7 +43,6 @@ } } }, - "id": "https://json.schemastore.org/grunt-clean-task.json", "properties": { "options": { "$ref": "#/definitions/options" diff --git a/src/schemas/json/grunt-copy-task.json b/src/schemas/json/grunt-copy-task.json index f7815c731ba..71bd12ab48e 100644 --- a/src/schemas/json/grunt-copy-task.json +++ b/src/schemas/json/grunt-copy-task.json @@ -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/grunt-copy-task.json", "additionalProperties": { "allOf": [ { @@ -36,7 +37,6 @@ } } }, - "id": "https://json.schemastore.org/grunt-copy-task.json", "properties": { "options": { "$ref": "#/definitions/options" diff --git a/src/schemas/json/grunt-cssmin-task.json b/src/schemas/json/grunt-cssmin-task.json index 24e4dcf2464..33f8bb58f04 100644 --- a/src/schemas/json/grunt-cssmin-task.json +++ b/src/schemas/json/grunt-cssmin-task.json @@ -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/grunt-cssmin-task.json", "additionalProperties": { "allOf": [ { @@ -40,7 +41,6 @@ } } }, - "id": "https://json.schemastore.org/grunt-cssmin-task.json", "properties": { "options": { "$ref": "#/definitions/options" diff --git a/src/schemas/json/grunt-jshint-task.json b/src/schemas/json/grunt-jshint-task.json index 7211293cb66..0e8d3a55db2 100644 --- a/src/schemas/json/grunt-jshint-task.json +++ b/src/schemas/json/grunt-jshint-task.json @@ -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/grunt-jshint-task.json", "additionalProperties": { "anyOf": [ { @@ -29,7 +30,7 @@ "jshintrc": { "description": "Either a boolean value or a string containing the file name of the jshintrc file.", "type": ["boolean", "string"], - "enum": [true] + "const": true } } }, @@ -39,7 +40,6 @@ ] } }, - "id": "https://json.schemastore.org/grunt-jshint-task.json", "properties": { "options": { "$ref": "#/definitions/options" diff --git a/src/schemas/json/grunt-task.json b/src/schemas/json/grunt-task.json index 74d319007de..2390b828b71 100644 --- a/src/schemas/json/grunt-task.json +++ b/src/schemas/json/grunt-task.json @@ -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/grunt-task", "additionalProperties": { "anyOf": [ { @@ -105,7 +106,6 @@ } } }, - "id": "https://json.schemastore.org/grunt-task", "properties": { "options": { "type": "object" diff --git a/src/schemas/json/grunt-watch-task.json b/src/schemas/json/grunt-watch-task.json index 76300a027ea..4800abc282a 100644 --- a/src/schemas/json/grunt-watch-task.json +++ b/src/schemas/json/grunt-watch-task.json @@ -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/grunt-watch-task.json", "additionalProperties": { "$ref": "#/definitions/target" }, @@ -115,7 +116,6 @@ } } }, - "id": "https://json.schemastore.org/grunt-watch-task.json", "properties": { "options": { "$ref": "#/definitions/options" diff --git a/src/schemas/json/host-meta.json b/src/schemas/json/host-meta.json index d1ce0505b7d..6a856e74bb7 100644 --- a/src/schemas/json/host-meta.json +++ b/src/schemas/json/host-meta.json @@ -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/host-meta.json", "additionalProperties": true, "definitions": { "property": { @@ -41,7 +42,6 @@ } } }, - "id": "https://json.schemastore.org/host-meta.json", "properties": { "subject": { "type": "string", diff --git a/src/schemas/json/host.json b/src/schemas/json/host.json index aa1ff6fe67b..58bbce86336 100644 --- a/src/schemas/json/host.json +++ b/src/schemas/json/host.json @@ -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/host.json", "definitions": { "aggregator": { "description": "Configuration settings for the function result aggregator.", @@ -34,7 +35,7 @@ "pattern": "^(-1|(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d)$" }, { - "enum": [null] + "const": null } ] }, @@ -912,7 +913,7 @@ "type": "string" }, { - "enum": [null] + "const": null } ], "default": null @@ -994,7 +995,7 @@ "type": "string" }, { - "enum": [null] + "const": null } ], "default": null @@ -1026,7 +1027,7 @@ "type": "string" }, { - "enum": [null] + "const": null } ], "default": null @@ -1043,7 +1044,7 @@ "type": "string" }, { - "enum": [null] + "const": null } ], "default": null @@ -1102,7 +1103,7 @@ "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$" }, { - "enum": [null] + "const": null } ] }, @@ -1114,7 +1115,7 @@ "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$" }, { - "enum": [null] + "const": null } ] }, @@ -1126,7 +1127,7 @@ "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$" }, { - "enum": [null] + "const": null } ] } @@ -1204,7 +1205,7 @@ }, "version": { "description": "The version of the Azure Functions host.json schema. This is NOT the version of the Azure Functions host.", - "enum": ["2.0"] + "const": "2.0" }, "extensions": { "type": "object", @@ -1635,7 +1636,7 @@ }, "telemetryMode": { "description": "Used to enable output of logs and traces in an OpenTelemetry output format to one or more endpoints that support OpenTelemetry.", - "enum": ["OpenTelemetry"] + "const": "OpenTelemetry" }, "configurationProfile": { "description": "Configuration profile to use for the Function App. Settings defined by the configuration profile will be implicitly applied to the Function App.", @@ -1664,7 +1665,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/host.json", "oneOf": [ { "$ref": "#/definitions/version-1" diff --git a/src/schemas/json/htmlhint.json b/src/schemas/json/htmlhint.json index 19ba3d605c9..b53f12afa6f 100644 --- a/src/schemas/json/htmlhint.json +++ b/src/schemas/json/htmlhint.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/htmlhint.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/htmlhint.json", "properties": { "alt-require": { "description": "Alt of img must be present and alt of area[href] and input[type=image] must be set value.", @@ -10,8 +10,15 @@ "attr-lowercase": { "description": "Attribute name must be lowercase.", "anyOf": [ - { "type": "boolean" }, - { "type": "array", "items": { "type": "string" } } + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + } ], "default": false }, @@ -38,8 +45,15 @@ "attr-value-no-duplication": { "description": "Class attributes should not contain duplicate values. Other attributes can be checked via configuration.", "anyOf": [ - { "type": "boolean" }, - { "type": "array", "items": { "type": "string" } } + { + "type": "boolean" + }, + { + "type": "array", + "items": { + "type": "string" + } + } ], "default": false }, diff --git a/src/schemas/json/hws-config.json b/src/schemas/json/hws-config.json index eb81dcecd74..0e71b8727c6 100644 --- a/src/schemas/json/hws-config.json +++ b/src/schemas/json/hws-config.json @@ -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/hws-config.json", "additionalProperties": false, "definitions": { "duration": { @@ -81,7 +82,6 @@ } } }, - "id": "https://json.schemastore.org/hws-config.json", "properties": { "collectPeriod": { "$ref": "#/definitions/duration", diff --git a/src/schemas/json/ide.host.json b/src/schemas/json/ide.host.json index d1ec5558a42..ba374d2dc36 100644 --- a/src/schemas/json/ide.host.json +++ b/src/schemas/json/ide.host.json @@ -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/ide.host.json", "definitions": { "text": { "required": ["text"], @@ -125,7 +126,7 @@ "id": { "description": "The host identifier.", "type": "string", - "enum": ["vs"] + "const": "vs" }, "version": { "description": "A version range specifying the unsupported host versions. This uses the nuget package format." @@ -144,7 +145,7 @@ "hostId": { "description": "The host id that the component applies to", "type": "string", - "enum": ["vs"] + "const": "vs" }, "componentType": { "type": "string", @@ -156,7 +157,6 @@ } } }, - "id": "https://json.schemastore.org/ide.host.json", "properties": { "name": { "description": "Name of the template", diff --git a/src/schemas/json/imageoptimizer.json b/src/schemas/json/imageoptimizer.json index a04e3acb6ae..bad939a4e8c 100644 --- a/src/schemas/json/imageoptimizer.json +++ b/src/schemas/json/imageoptimizer.json @@ -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/imageoptimizer.json", "description": "Schema for imageoptimizer.json files", - "id": "https://json.schemastore.org/imageoptimizer.json", "properties": { "optimizations": { "description": "An array of optimization rules", diff --git a/src/schemas/json/imgbotconfig.json b/src/schemas/json/imgbotconfig.json index d1d4188a455..b888c498753 100644 --- a/src/schemas/json/imgbotconfig.json +++ b/src/schemas/json/imgbotconfig.json @@ -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/imgbotconfig.json", "default": {}, - "id": "https://json.schemastore.org/imgbotconfig.json", "properties": { "schedule": { "title": "Limits the PRs from Imgbot to once a day, once a week, or once a month respectively. The default behavior is to receive Imgbot PRs as images require optimization.", diff --git a/src/schemas/json/importmap.json b/src/schemas/json/importmap.json index 1315154f349..45367f227ce 100644 --- a/src/schemas/json/importmap.json +++ b/src/schemas/json/importmap.json @@ -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/importmap.json", "additionalProperties": false, - "id": "https://json.schemastore.org/importmap.json", "properties": { "imports": { "description": "The Imports field", diff --git a/src/schemas/json/jasmine.json b/src/schemas/json/jasmine.json index de2191002a6..75b9ee18cc1 100644 --- a/src/schemas/json/jasmine.json +++ b/src/schemas/json/jasmine.json @@ -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/jasmine.json", "allOf": [ { "$ref": "#/definitions/root-items" @@ -101,6 +102,5 @@ } } }, - "id": "https://json.schemastore.org/jasmine.json", "title": "Schema for jasmine JSON config file" } diff --git a/src/schemas/json/jasonette.json b/src/schemas/json/jasonette.json index 0ad397872c5..ea6021152ac 100644 --- a/src/schemas/json/jasonette.json +++ b/src/schemas/json/jasonette.json @@ -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/jasonette.json", "definitions": { "style": { "type": "object", @@ -129,7 +130,7 @@ "properties": { "type": { "type": "string", - "enum": ["image"] + "const": "image" }, "url": { "$ref": "#/definitions/imgUrl" @@ -154,7 +155,7 @@ "properties": { "type": { "type": "string", - "enum": ["label"] + "const": "label" }, "text": { "type": "string", @@ -166,7 +167,6 @@ ] } }, - "id": "https://json.schemastore.org/jasonette.json", "properties": { "head": { "type": "object", @@ -272,8 +272,8 @@ { "title": "none", "type": "string", - "enum": ["none"], - "required": ["none"] + "required": ["none"], + "const": "none" }, { "title": "border color", diff --git a/src/schemas/json/jdt.json b/src/schemas/json/jdt.json index 7dac5a21adc..d103e0e6fcd 100644 --- a/src/schemas/json/jdt.json +++ b/src/schemas/json/jdt.json @@ -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/jdt.json", "additionalProperties": { "$ref": "#" }, @@ -13,7 +14,6 @@ "description": "The transformation value that should be applied." } }, - "id": "https://json.schemastore.org/jdt.json", "properties": { "@jdt.rename": { "anyOf": [ diff --git a/src/schemas/json/jsbeautifyrc-nested.json b/src/schemas/json/jsbeautifyrc-nested.json index b6af31020e1..bf44a3b3cdb 100644 --- a/src/schemas/json/jsbeautifyrc-nested.json +++ b/src/schemas/json/jsbeautifyrc-nested.json @@ -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/jsbeautifyrc-nested", "allOf": [ { "$ref": "jsbeautifyrc#/definitions/CHJProperties" @@ -60,7 +61,6 @@ } } ], - "id": "https://json.schemastore.org/jsbeautifyrc-nested", "title": "JSON schema for beautifyrc", "type": "object" } diff --git a/src/schemas/json/jsbeautifyrc.json b/src/schemas/json/jsbeautifyrc.json index 9db81127f2e..1bba688892d 100644 --- a/src/schemas/json/jsbeautifyrc.json +++ b/src/schemas/json/jsbeautifyrc.json @@ -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/jsbeautifyrc", "allOf": [ { "$ref": "#/definitions/CHJProperties" @@ -342,7 +343,6 @@ } } }, - "id": "https://json.schemastore.org/jsbeautifyrc", "title": "JSON schema for beautifyrc", "type": "object" } diff --git a/src/schemas/json/jsconfig.json b/src/schemas/json/jsconfig.json index a6aeceb9a11..64a2feab4d6 100644 --- a/src/schemas/json/jsconfig.json +++ b/src/schemas/json/jsconfig.json @@ -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/jsconfig.json", "$comment": "Note that this schema uses 'null' in various places. The value of 'null' is UNDOCUMENTED (https://github.com/microsoft/TypeScript/pull/18058)", "allowTrailingCommas": true, "allOf": [ @@ -1242,7 +1243,6 @@ } } }, - "id": "https://json.schemastore.org/jsconfig.json", "title": "JSON schema for a JavaScript project using TypeScript tooling", "type": "object" } diff --git a/src/schemas/json/jscsrc.json b/src/schemas/json/jscsrc.json index 300d5f4bee5..8d4e3593f9e 100644 --- a/src/schemas/json/jscsrc.json +++ b/src/schemas/json/jscsrc.json @@ -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/jscsrc.json", "additionalProperties": true, "definitions": { "blockKeywords": { @@ -124,15 +125,15 @@ "oneOf": [ { "description": "https://github.com/google/closure-compiler", - "enum": ["closurecompiler"] + "const": "closurecompiler" }, { "description": "https://github.com/jsdoc3/jsdoc", - "enum": ["jsdoc3"] + "const": "jsdoc3" }, { "description": "https://github.com/senchalabs/jsduck", - "enum": ["jsduck5"] + "const": "jsduck5" } ] }, @@ -156,15 +157,15 @@ "oneOf": [ { "description": "https://github.com/google/closure-compiler", - "enum": ["closurecompiler"] + "const": "closurecompiler" }, { "description": "https://github.com/jsdoc3/jsdoc", - "enum": ["jsdoc3"] + "const": "jsdoc3" }, { "description": "https://github.com/senchalabs/jsduck", - "enum": ["jsduck5"] + "const": "jsduck5" } ] } @@ -214,11 +215,11 @@ "oneOf": [ { "description": "The strictNativeCase mode checks that case of natives is the same as in this list: boolean, number, string, Object, Array, Date, RegExp.", - "enum": ["strictNativeCase"] + "const": "strictNativeCase" }, { "description": "The capitalizedNativeCase mode checks that the first letter in all native types and primitives is uppercased except the case with function in google closure format: {function(...)}.", - "enum": ["capitalizedNativeCase"] + "const": "capitalizedNativeCase" } ] } @@ -239,11 +240,11 @@ "oneOf": [ { "description": "If an @access tag is specified, the function name must contain a leading _underscore.", - "enum": ["enforceLeadingUnderscore"] + "const": "enforceLeadingUnderscore" }, { "description": "If an @access tag is specified, the function name must contain a trailing underscore_.", - "enum": ["enforceTrailingUnderscore"] + "const": "enforceTrailingUnderscore" } ] } @@ -265,11 +266,11 @@ "oneOf": [ { "description": "Enforce only @private for all _underscored function names.", - "enum": ["private"] + "const": "private" }, { "description": "Enforce only @protected for all _underscored function names.", - "enum": ["protected"] + "const": "protected" } ] } @@ -298,15 +299,15 @@ "oneOf": [ { "description": "Skip expression functions.", - "enum": ["expressions"] + "const": "expressions" }, { "description": "Skip module.exports = function () {};", - "enum": ["exports"] + "const": "exports" }, { "description": "Functions without parameters and with empty return statements will be skipped.", - "enum": ["paramless-procedures"] + "const": "paramless-procedures" } ] }, @@ -320,7 +321,7 @@ "oneOf": [ { "description": "Skip expression functions.", - "enum": ["exceptExports"] + "const": "exceptExports" } ] } @@ -461,7 +462,6 @@ "uniqueItems": true } }, - "id": "https://json.schemastore.org/jscsrc.json", "properties": { "additionalRules": { "description": "Path to load additional rules", @@ -503,7 +503,7 @@ "type": "array", "minItems": 0, "items": { - "enum": ["function"] + "const": "function" }, "uniqueItems": true } @@ -567,7 +567,7 @@ "type": "array", "minItems": 0, "items": { - "enum": ["comments"] + "const": "comments" }, "uniqueItems": true } @@ -717,11 +717,11 @@ "oneOf": [ { "description": "Allows declarations where all variables are importing external modules with require.", - "enum": ["require"] + "const": "require" }, { "description": "Allows declarations where all variables are not defined.", - "enum": ["undefined"] + "const": "undefined" } ] }, @@ -789,7 +789,7 @@ "type": "string" }, { - "enum": ["multiline"] + "const": "multiline" } ] }, @@ -928,7 +928,7 @@ }, { "description": "Allows ES3+ reserved words to remain quoted which is helpful when using this option with JSHint's es3 flag.", - "enum": ["reserved"] + "const": "reserved" } ] }, @@ -941,7 +941,7 @@ "type": "string", "oneOf": [ { - "enum": ["allButReserved"] + "const": "allButReserved" } ] } @@ -988,7 +988,7 @@ "oneOf": [ { "description": "Allow spaces in place of absent values in sparse arrays.", - "enum": ["sparseArrays"] + "const": "sparseArrays" } ] }, @@ -1034,19 +1034,19 @@ "oneOf": [ { "description": "Ignores objects if the object only takes up a single line.", - "enum": ["singleline"] + "const": "singleline" }, { "description": "Ignores objects if the object takes up multiple lines.", - "enum": ["multiline"] + "const": "multiline" }, { "description": "Ignores aligned object properties.", - "enum": ["aligned"] + "const": "aligned" }, { "description": "Ignores method declarations.", - "enum": ["method"] + "const": "method" } ] }, @@ -1060,11 +1060,11 @@ "oneOf": [ { "description": "Ignores objects if the object only takes up a single line.", - "enum": ["ignoreSingleLine"] + "const": "ignoreSingleLine" }, { "description": "Ignores objects if the object takes up multiple lines.", - "enum": ["ignoreMultiLine"] + "const": "ignoreMultiLine" } ] } @@ -1116,7 +1116,7 @@ "oneOf": [ { "description": "Allow spaces in place of absent values in sparse arrays.", - "enum": ["sparseArrays"] + "const": "sparseArrays" } ] }, @@ -1130,7 +1130,7 @@ "oneOf": [ { "description": "Skip expression functions.", - "enum": ["exceptExports"] + "const": "exceptExports" } ] } @@ -1181,7 +1181,7 @@ "type": "string", "anyOf": [ { - "enum": ["("] + "const": "(" }, { "type": "string", @@ -1343,7 +1343,7 @@ "type": "string", "oneOf": [ { - "enum": ["nested"] + "const": "nested" } ] } @@ -1421,7 +1421,7 @@ "type": "string", "oneOf": [ { - "enum": ["nested"] + "const": "nested" } ] } @@ -1615,23 +1615,23 @@ "anyOf": [ { "description": "Allows comments to break the rule.", - "enum": ["comments"] + "const": "comments" }, { "description": "Allows function definitions to break the rule.", - "enum": ["functionSignature"] + "const": "functionSignature" }, { "description": "Allows regular expression literals to break the rule.", - "enum": ["regex"] + "const": "regex" }, { "description": "Allows require expressions to break the rule.", - "enum": ["require"] + "const": "require" }, { "description": "Allows comments with long urls to break the rule.", - "enum": ["urlComments"] + "const": "urlComments" } ] }, @@ -1676,7 +1676,7 @@ "anyOf": [ { "description": "Allows comments to break the rule.", - "enum": ["comments"] + "const": "comments" } ] }, @@ -1727,7 +1727,7 @@ { "description": "Use `firstParam` to require parameters on a new line to be aligned with the first parameter(s) on the previous line.", "type": "string", - "enum": ["firstParam"] + "const": "firstParam" } ] }, @@ -1743,15 +1743,15 @@ "oneOf": [ { "description": "Use for strict mode.", - "enum": ["all"] + "const": "all" }, { "description": "Ignores objects if one of the property values is a function expression.", - "enum": ["ignoreFunction"] + "const": "ignoreFunction" }, { "description": "Ignores objects if there are line breaks between properties.", - "enum": ["ignoreLineBreak"] + "const": "ignoreLineBreak" } ] } @@ -1779,7 +1779,7 @@ "anyOf": [ { "description": "Ignores function declarations.", - "enum": ["declarations"] + "const": "declarations" } ] }, @@ -1911,7 +1911,7 @@ "type": "string", "oneOf": [ { - "enum": ["ignoreProperties"] + "const": "ignoreProperties" } ] } @@ -2095,11 +2095,11 @@ "oneOf": [ { "description": "Allow quoted identifiers made of reserved words.", - "enum": ["keywords"] + "const": "keywords" }, { "description": "Allow quoted snake cased identifiers.", - "enum": ["snake_case"] + "const": "snake_case" } ] }, @@ -2113,7 +2113,7 @@ "oneOf": [ { "description": "Allow quoted snake cased identifiers.", - "enum": ["except_snake_case"] + "const": "except_snake_case" } ] } @@ -2258,7 +2258,7 @@ "oneOf": [ { "description": "`require` statements are allowed to have a var declaration per variable.", - "enum": ["require"] + "const": "require" } ] }, @@ -2271,7 +2271,7 @@ "oneOf": [ { "description": "If equal to 'onevar', requireMultipleVarDecl will allow only one var per function scope.", - "enum": ["onevar"] + "const": "onevar" } ] } @@ -2360,7 +2360,7 @@ "oneOf": [ { "description": "Ignores the rule if all the keys and values are on the same line.", - "enum": ["sameLine"] + "const": "sameLine" } ] }, @@ -2415,19 +2415,19 @@ "oneOf": [ { "description": "Blocks don't need a line of padding in function argument lists.", - "enum": ["inCallExpressions"] + "const": "inCallExpressions" }, { "description": "Blocks don't need a line of padding in constructor argument lists.", - "enum": ["inNewExpressions"] + "const": "inNewExpressions" }, { "description": "Blocks don't need a line of padding in arrays.", - "enum": ["inArrayExpressions"] + "const": "inArrayExpressions" }, { "description": "Blocks don't need a line of padding as object properties.", - "enum": ["inProperties"] + "const": "inProperties" } ] }, @@ -2461,7 +2461,7 @@ "oneOf": [ { "description": "Allows 'require' statements to occur immediately after 'use strict'.", - "enum": ["require"] + "const": "require" } ] }, @@ -2516,7 +2516,7 @@ "oneOf": [ { "description": "Comments may be first line of block without extra padding.", - "enum": ["firstAfterCurly"] + "const": "firstAfterCurly" } ] }, @@ -2562,11 +2562,11 @@ "oneOf": [ { "description": "Ignores conditional (if, else if, else) blocks.", - "enum": ["conditionals"] + "const": "conditionals" }, { "description": "Ignores function blocks.", - "enum": ["functions"] + "const": "functions" } ] }, @@ -2681,7 +2681,7 @@ "oneOf": [ { "description": "Ignore trailing commas.", - "enum": ["trailing"] + "const": "trailing" } ] }, @@ -2730,7 +2730,7 @@ "type": "string", "oneOf": [ { - "enum": ["allowSlash"] + "const": "allowSlash" } ] } @@ -2895,7 +2895,7 @@ "oneOf": [ { "description": "If \"shorthand\" is provided, spaces will not be required for ES6 method definitions.", - "enum": ["shorthand"] + "const": "shorthand" } ] }, @@ -3052,11 +3052,11 @@ "oneOf": [ { "description": "Strict mode.", - "enum": ["all"] + "const": "all" }, { "description": "Deprecated in favor of the object \"allExcept\": [\"[\", \"]\"] format.", - "enum": ["allButNested"] + "const": "allButNested" } ] } @@ -3127,11 +3127,11 @@ "oneOf": [ { "description": "Strict mode.", - "enum": ["all"] + "const": "all" }, { "description": "Deprecated in favor of the object \"allExcept\": [\"}\"] format.", - "enum": ["allButNested"] + "const": "allButNested" } ] } @@ -3179,11 +3179,11 @@ "oneOf": [ { "description": "Strict mode.", - "enum": ["all"] + "const": "all" }, { "description": "Deprecated in favor of the object \"except\": [\"(\", \")\"] format. Ignores nested brackets in a row.", - "enum": ["allButNested"] + "const": "allButNested" } ] } @@ -3259,7 +3259,7 @@ "oneOf": [ { "description": "Ignores strings concatenated with other strings.", - "enum": ["stringConcatenation"] + "const": "stringConcatenation" } ] }, @@ -3446,11 +3446,11 @@ "oneOf": [ { "description": "Ignores comments.", - "enum": ["comments"] + "const": "comments" }, { "description": "Ignores empty lines, included by default.", - "enum": ["emptyLines"] + "const": "emptyLines" } ] }, @@ -3535,27 +3535,27 @@ "oneOf": [ { "description": "Requires sorting in ascending order.", - "enum": ["asc"] + "const": "asc" }, { "description": "Requires sorting in ascending order (case-insensitive).", - "enum": ["asc-insensitive"] + "const": "asc-insensitive" }, { "description": "Requires sorting in ascending natural order.", - "enum": ["asc-natural"] + "const": "asc-natural" }, { "description": "Requires sorting in descending order.", - "enum": ["desc"] + "const": "desc" }, { "description": "Requires sorting in descending order (case-insensitive).", - "enum": ["desc-insensitive"] + "const": "desc-insensitive" }, { "description": "Requires sorting in descending natural order.", - "enum": ["desc-natural"] + "const": "desc-natural" } ] } @@ -3573,19 +3573,19 @@ "oneOf": [ { "description": "Function parameters are immediately followed by a comma.", - "enum": [","] + "const": "," }, { "description": "Function parameters are immediately followed by a comma and then a space.", - "enum": [", "] + "const": ", " }, { "description": "Function parameters are immediately followed by a space and then a comma.", - "enum": [" ,"] + "const": " ," }, { "description": "Function parameters are immediately followed by a space, a comma, and then a space.", - "enum": [" , "] + "const": " , " } ] } @@ -3615,11 +3615,11 @@ "oneOf": [ { "description": "All strings require double quotes.", - "enum": [""] + "const": "" }, { "description": "All strings require single quotes.", - "enum": [""] + "const": "" } ] }, @@ -3635,11 +3635,11 @@ "oneOf": [ { "description": "All strings require double quotes.", - "enum": ["\""] + "const": "\"" }, { "description": "All strings require single quotes.", - "enum": ["'"] + "const": "'" } ] } diff --git a/src/schemas/json/jshintrc.json b/src/schemas/json/jshintrc.json index 19459721860..89655d4e854 100644 --- a/src/schemas/json/jshintrc.json +++ b/src/schemas/json/jshintrc.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/jshintrc", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/jshintrc", "properties": { "bitwise": { "description": "Prohibit the use of bitwise operators (&, |, ^, etc.)", diff --git a/src/schemas/json/jsinspectrc.json b/src/schemas/json/jsinspectrc.json index d843e3a069f..749c5e617cf 100644 --- a/src/schemas/json/jsinspectrc.json +++ b/src/schemas/json/jsinspectrc.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/jsinspectrc.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/jsinspectrc.json", "properties": { "identifiers": { "default": false, diff --git a/src/schemas/json/json-api-1.0.json b/src/schemas/json/json-api-1.0.json index 46a61aa5080..6252df1a118 100644 --- a/src/schemas/json/json-api-1.0.json +++ b/src/schemas/json/json-api-1.0.json @@ -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/json-api-1.0.json", "definitions": { "success": { "type": "object", @@ -365,7 +366,6 @@ } }, "description": "This is a schema for responses in the JSON API format. For more, see http://jsonapi.org", - "id": "https://json.schemastore.org/json-api-1.0.json", "oneOf": [ { "$ref": "#/definitions/success" diff --git a/src/schemas/json/json-patch.json b/src/schemas/json/json-patch.json index 8739298e042..0667af1535f 100644 --- a/src/schemas/json/json-patch.json +++ b/src/schemas/json/json-patch.json @@ -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/json-patch.json", "definitions": { "path": { "description": "A JSON Pointer path.", @@ -7,7 +8,6 @@ "type": "string" } }, - "id": "https://json.schemastore.org/json-patch.json", "items": { "oneOf": [ { @@ -37,7 +37,7 @@ "op": { "description": "The operation to perform.", "type": "string", - "enum": ["remove"] + "const": "remove" } } }, diff --git a/src/schemas/json/jsonld.json b/src/schemas/json/jsonld.json index 77d1af5fd24..9b3b5a6aa3d 100644 --- a/src/schemas/json/jsonld.json +++ b/src/schemas/json/jsonld.json @@ -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/jsonld.json", "additionalProperties": true, "allOf": [ { @@ -103,7 +104,6 @@ } } }, - "id": "https://json.schemastore.org/jsonld.json", "title": "Schema for JSON-LD", "type": ["object", "array"] } diff --git a/src/schemas/json/kong_json_schema.json b/src/schemas/json/kong_json_schema.json index ef02306346d..03e4a308c51 100644 --- a/src/schemas/json/kong_json_schema.json +++ b/src/schemas/json/kong_json_schema.json @@ -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/kong_json_schema.json", "additionalProperties": false, "definitions": { "ACLGroup": { @@ -1595,7 +1596,6 @@ "type": "object" } }, - "id": "https://json.schemastore.org/kong_json_schema.json", "properties": { "_format_version": { "type": "string" diff --git a/src/schemas/json/kustomization.json b/src/schemas/json/kustomization.json index dc6656b6722..102115d97f1 100644 --- a/src/schemas/json/kustomization.json +++ b/src/schemas/json/kustomization.json @@ -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/kustomization.json", "$ref": "#/definitions/Kustomization", "definitions": { "ConfigMapArgs": { @@ -444,7 +445,7 @@ { "properties": { "order": { - "enum": ["legacy"] + "const": "legacy" }, "legacySortOptions": { "properties": { @@ -465,7 +466,7 @@ { "properties": { "order": { - "enum": ["fifo"] + "const": "fifo" } }, "additionalProperties": false, @@ -977,6 +978,5 @@ "additionalProperties": false, "type": "object" } - }, - "id": "https://json.schemastore.org/kustomization.json" + } } diff --git a/src/schemas/json/label-commenter-config.json b/src/schemas/json/label-commenter-config.json index 68992519f97..442921b907e 100644 --- a/src/schemas/json/label-commenter-config.json +++ b/src/schemas/json/label-commenter-config.json @@ -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/label-commenter-config.json", "$comment": "https://github.com/peaceiris/actions-label-commenter", "definitions": { "labelItem": { @@ -51,7 +52,6 @@ } }, "description": "Configuration for Actions Label Commenter, for posting messages triggered by labels.", - "id": "https://json.schemastore.org/label-commenter-config.json", "properties": { "comment": { "title": "Comment", diff --git a/src/schemas/json/launchsettings.json b/src/schemas/json/launchsettings.json index 1b2372492b9..b2e45bba4b9 100644 --- a/src/schemas/json/launchsettings.json +++ b/src/schemas/json/launchsettings.json @@ -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/launchsettings.json", "allowTrailingCommas": true, "definitions": { "profile": { @@ -219,7 +220,6 @@ } } }, - "id": "https://json.schemastore.org/launchsettings.json", "properties": { "profiles": { "type": "object", diff --git a/src/schemas/json/lego.json b/src/schemas/json/lego.json index f8da14592ec..f32caeaf2f2 100644 --- a/src/schemas/json/lego.json +++ b/src/schemas/json/lego.json @@ -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/lego.json", "$defs": { "file": { "oneOf": [ @@ -33,7 +34,6 @@ "required": ["name"] } }, - "id": "https://json.schemastore.org/lego.json", "properties": { "blocks": { "description": "An array of your app's blocks.", diff --git a/src/schemas/json/lgtm.json b/src/schemas/json/lgtm.json index 46ba795faf9..92b2566d364 100644 --- a/src/schemas/json/lgtm.json +++ b/src/schemas/json/lgtm.json @@ -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/lgtm.json", "$comment": "https://lgtm.com/help/lgtm/lgtm.yml-configuration-file", "definitions": { "queryItem": { @@ -29,7 +30,6 @@ } }, "description": "Configuration file for lgtm, for continuous security analysis.", - "id": "https://json.schemastore.org/lgtm.json", "properties": { "path_classifiers": { "title": "Path Classifiers", diff --git a/src/schemas/json/licenses.1.json b/src/schemas/json/licenses.1.json index 24b85c075d6..2480eb8247b 100644 --- a/src/schemas/json/licenses.1.json +++ b/src/schemas/json/licenses.1.json @@ -1,5 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://tools.wmflabs.org/spdx/schema/licenses.json", "definitions": { "license": { "type": "string", @@ -379,6 +380,5 @@ "wxWindows" ] } - }, - "id": "https://tools.wmflabs.org/spdx/schema/licenses.json" + } } diff --git a/src/schemas/json/linkinator-config.json b/src/schemas/json/linkinator-config.json index 823f14fc81a..ea9ede71d4b 100644 --- a/src/schemas/json/linkinator-config.json +++ b/src/schemas/json/linkinator-config.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/linkinator-config.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/linkinator-config.json", "properties": { "concurrency": { "description": "The number of connections to make simultaneously.", diff --git a/src/schemas/json/linutil-tab-data.json b/src/schemas/json/linutil-tab-data.json index 736ededa932..9de5dd375ef 100644 --- a/src/schemas/json/linutil-tab-data.json +++ b/src/schemas/json/linutil-tab-data.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/linutil-tab-data.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/linutil-tab-data.json", "definitions": { "string-property": { "type": "string", diff --git a/src/schemas/json/linutil-tabs.json b/src/schemas/json/linutil-tabs.json index f45fccb5188..c873314f384 100644 --- a/src/schemas/json/linutil-tabs.json +++ b/src/schemas/json/linutil-tabs.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/linutil-tabs.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/linutil-tabs.json", "title": "tab data", "description": "Tab data", "type": "object", diff --git a/src/schemas/json/local.settings.json b/src/schemas/json/local.settings.json index 71f04d4dd9f..96dab064db7 100644 --- a/src/schemas/json/local.settings.json +++ b/src/schemas/json/local.settings.json @@ -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/local.settings.json", "default": { "IsEncrypted": false, "Values": { @@ -7,7 +8,6 @@ "FUNCTIONS_WORKER_RUNTIME": "" } }, - "id": "https://json.schemastore.org/local.settings.json", "properties": { "IsEncrypted": { "type": "boolean", diff --git a/src/schemas/json/markdown-link-check.json b/src/schemas/json/markdown-link-check.json index 71572a6448b..8d728de0707 100644 --- a/src/schemas/json/markdown-link-check.json +++ b/src/schemas/json/markdown-link-check.json @@ -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/markdown-link-check.json", "additionalProperties": false, - "id": "https://json.schemastore.org/markdown-link-check.json", "properties": { "ignorePatterns": { "type": "array", diff --git a/src/schemas/json/mdxlintrc.json b/src/schemas/json/mdxlintrc.json index f0e273cb238..8614d0cf4cd 100644 --- a/src/schemas/json/mdxlintrc.json +++ b/src/schemas/json/mdxlintrc.json @@ -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/mdxlintrc.json", "additionalProperties": false, - "id": "https://json.schemastore.org/mdxlintrc.json", "properties": { "plugins": { "description": "The plugins field, related to plugins in options, has either an array of plugin names (or paths) or plugin–options tuples, or an object mapping plugins to their options.\nPlugin options can be false, which specifies that a plugin should not be used. In all other cases, they are treated as an object, and merged by the cascade. Thus, it's possible to specify part of the options from one configuration file, and overwrite or extend it from another file.", diff --git a/src/schemas/json/mkdocs-1.0.json b/src/schemas/json/mkdocs-1.0.json index bff233a8bd8..475f4486008 100644 --- a/src/schemas/json/mkdocs-1.0.json +++ b/src/schemas/json/mkdocs-1.0.json @@ -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/mkdocs-1.0.json", "allOf": [ { "$ref": "#/definitions/coreProperties" @@ -201,7 +202,6 @@ } }, "description": "JSON schema for MkDocs configuration file", - "id": "https://json.schemastore.org/mkdocs-1.0.json", "title": "MkDocs Configuration", "type": "object" } diff --git a/src/schemas/json/modernizrrc.json b/src/schemas/json/modernizrrc.json index ada39434d57..016d6704c0f 100644 --- a/src/schemas/json/modernizrrc.json +++ b/src/schemas/json/modernizrrc.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/modernizrrc.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/modernizrrc.json", "properties": { "classPrefix": { "type": "string", diff --git a/src/schemas/json/mycode.json b/src/schemas/json/mycode.json index 50969d404c9..93ebeaf3e53 100644 --- a/src/schemas/json/mycode.json +++ b/src/schemas/json/mycode.json @@ -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/mycode.json", "definitions": { "classification": { "enum": ["MyCode", "LibraryCode", "UnrelatedCode"] @@ -12,7 +13,6 @@ } } }, - "id": "https://json.schemastore.org/mycode.json", "properties": { "Eval": { "description": "Script that is executed by passing a string to the host-provided eval function.", diff --git a/src/schemas/json/nightwatch.json b/src/schemas/json/nightwatch.json index e48a29285dc..d74f23920c0 100644 --- a/src/schemas/json/nightwatch.json +++ b/src/schemas/json/nightwatch.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/nightwatch.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/nightwatch.json", "properties": { "custom_commands_path": { "type": ["null", "string", "array"], diff --git a/src/schemas/json/ninjs-1.0.json b/src/schemas/json/ninjs-1.0.json index ae37440b99a..1c9403444e3 100644 --- a/src/schemas/json/ninjs-1.0.json +++ b/src/schemas/json/ninjs-1.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.0.json#", "additionalProperties": false, "description": "A news item as JSON object -- copyright 2013 IPTC - International Press Telecommunications Council - www.iptc.org - This document is published under the Creative Commons Attribution 3.0 license, see http://creativecommons.org/licenses/by/3.0/ $$comment: as of 2013-11-07, edited by MS for the IPTC ninjs-dev group ", - "id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.0.json#", "patternProperties": { "^description_[a-zA-Z0-9_]+": { "description": "A free-form textual description of the content of the item. (The string appended to description_ in the property name should reflect the format of the text)", diff --git a/src/schemas/json/ninjs-1.1.json b/src/schemas/json/ninjs-1.1.json index 3c0e46bc680..1855c8040d0 100644 --- a/src/schemas/json/ninjs-1.1.json +++ b/src/schemas/json/ninjs-1.1.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.1.json#", "additionalProperties": false, "description": "A news item as JSON object -- copyright 2014 IPTC - International Press Telecommunications Council - www.iptc.org - This document is published under the Creative Commons Attribution 3.0 license, see http://creativecommons.org/licenses/by/3.0/ $$comment: as of 2014-03-13 ", - "id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.1.json#", "patternProperties": { "^description_[a-zA-Z0-9_]+": { "description": "A free-form textual description of the content of the item. (The string appended to description_ in the property name should reflect the format of the text)", diff --git a/src/schemas/json/ninjs-1.2.json b/src/schemas/json/ninjs-1.2.json index 7a9b023c627..74ee719f69a 100644 --- a/src/schemas/json/ninjs-1.2.json +++ b/src/schemas/json/ninjs-1.2.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.2.json#", "additionalProperties": false, "description": "A news item as JSON object -- copyright 2019 IPTC - International Press Telecommunications Council - www.iptc.org - This document is published under the Creative Commons Attribution 4.0 license, see http://creativecommons.org/licenses/by/4.0/ $$comment: as of 2019-10-16 ", - "id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.2.json#", "patternProperties": { "^description_[a-zA-Z0-9_]+": { "title": "Description", diff --git a/src/schemas/json/ninjs-1.3.json b/src/schemas/json/ninjs-1.3.json index 69023a9c85f..faf968e0d64 100644 --- a/src/schemas/json/ninjs-1.3.json +++ b/src/schemas/json/ninjs-1.3.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.3.json#", "additionalProperties": false, "description": "A news item as JSON object -- copyright 2020 IPTC - International Press Telecommunications Council - www.iptc.org - This document is published under the Creative Commons Attribution 4.0 license, see http://creativecommons.org/licenses/by/4.0/", - "id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.3.json#", "patternProperties": { "^description_[a-zA-Z0-9_]+": { "title": "Description", diff --git a/src/schemas/json/ninjs-1.4.json b/src/schemas/json/ninjs-1.4.json index c82235711c6..e7e71fefe40 100644 --- a/src/schemas/json/ninjs-1.4.json +++ b/src/schemas/json/ninjs-1.4.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.4.json#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://www.iptc.org/std/ninjs/ninjs-schema_1.4.json#", "type": "object", "title": "IPTC ninjs - News in JSON - version 1.4 (approved, 18 May 2022)", "description": "A news item as JSON object -- copyright 2022 IPTC - International Press Telecommunications Council - www.iptc.org - This document is published under the Creative Commons Attribution 4.0 license, see http://creativecommons.org/licenses/by/4.0/", diff --git a/src/schemas/json/now.json b/src/schemas/json/now.json index 3bc21202f60..05f547d54a1 100644 --- a/src/schemas/json/now.json +++ b/src/schemas/json/now.json @@ -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/now.json", "definitions": { "alias": { "type": "string", @@ -14,7 +15,6 @@ } }, "description": "ZEIT Now project configuration file", - "id": "https://json.schemastore.org/now.json", "properties": { "name": { "type": "string", @@ -139,7 +139,7 @@ }, "handle": { "type": "string", - "enum": ["filesystem"] + "const": "filesystem" } } } diff --git a/src/schemas/json/npmpackagejsonlintrc.json b/src/schemas/json/npmpackagejsonlintrc.json index 333ea599962..74b1ca1eac6 100644 --- a/src/schemas/json/npmpackagejsonlintrc.json +++ b/src/schemas/json/npmpackagejsonlintrc.json @@ -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/npmpackagejsonlintrc.json", "definitions": { "rule": { "oneOf": [ @@ -390,7 +391,6 @@ } } }, - "id": "https://json.schemastore.org/npmpackagejsonlintrc.json", "properties": { "extends": { "description": "Use the extends property to inherit rules from a shared configuration file/module.", diff --git a/src/schemas/json/nswag.json b/src/schemas/json/nswag.json index f354661d67c..77c2550850e 100644 --- a/src/schemas/json/nswag.json +++ b/src/schemas/json/nswag.json @@ -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/nswag.json", "definitions": { "swaggerGenerator": { "type": "object", @@ -261,7 +262,6 @@ }, "swaggerToCSharpController": {} }, - "id": "https://json.schemastore.org/nswag.json", "properties": { "swaggerGenerator": { "$ref": "#/definitions/swaggerGenerator" diff --git a/src/schemas/json/nuget-project-3.3.0.json b/src/schemas/json/nuget-project-3.3.0.json index 82a2d6cf779..898cb160171 100644 --- a/src/schemas/json/nuget-project-3.3.0.json +++ b/src/schemas/json/nuget-project-3.3.0.json @@ -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/nuget-project-3.3.0.json", "definitions": { "configType": { "type": "object", @@ -30,7 +31,6 @@ } } }, - "id": "https://json.schemastore.org/nuget-project-3.3.0.json", "properties": { "dependencies": { "$ref": "#/definitions/dependencies" diff --git a/src/schemas/json/nuget-project.json b/src/schemas/json/nuget-project.json index 2454c08f9c0..507c679e0d7 100644 --- a/src/schemas/json/nuget-project.json +++ b/src/schemas/json/nuget-project.json @@ -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/nuget-project.json", "definitions": { "configType": { "type": "object", @@ -30,7 +31,6 @@ } } }, - "id": "https://json.schemastore.org/nuget-project.json", "properties": { "dependencies": { "$ref": "#/definitions/dependencies" diff --git a/src/schemas/json/nycrc.json b/src/schemas/json/nycrc.json index 24a900fa5f9..af34b9c695d 100644 --- a/src/schemas/json/nycrc.json +++ b/src/schemas/json/nycrc.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/nycrc.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/nycrc.json", "properties": { "extends": { "description": "Name of configuration to extend from.", diff --git a/src/schemas/json/omnisharp.json b/src/schemas/json/omnisharp.json index b6cb3d640bc..a51242a82d7 100644 --- a/src/schemas/json/omnisharp.json +++ b/src/schemas/json/omnisharp.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/omnisharp.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/omnisharp.json", "properties": { "FormattingOptions": { "type": "object", diff --git a/src/schemas/json/openfin.json b/src/schemas/json/openfin.json index a7f5afd3afc..b6d62a6960f 100644 --- a/src/schemas/json/openfin.json +++ b/src/schemas/json/openfin.json @@ -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/openfin.json", "additionalProperties": false, - "id": "https://json.schemastore.org/openfin.json", "properties": { "appAssets": { "description": "Set this object to co-deploy native apps along with your app.", diff --git a/src/schemas/json/package.manifest-7.0.0.json b/src/schemas/json/package.manifest-7.0.0.json index 30203851425..3cafabafcd4 100644 --- a/src/schemas/json/package.manifest-7.0.0.json +++ b/src/schemas/json/package.manifest-7.0.0.json @@ -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/package.manifest-7.0.0.json", "definitions": { "editor": { "description": "This describes details about the editor", @@ -174,7 +175,6 @@ } } }, - "id": "https://json.schemastore.org/package.manifest-7.0.0.json", "properties": { "javascript": { "type": "array", diff --git a/src/schemas/json/package.manifest-8.0.0.json b/src/schemas/json/package.manifest-8.0.0.json index 8ef299d01f6..2c1380bea65 100644 --- a/src/schemas/json/package.manifest-8.0.0.json +++ b/src/schemas/json/package.manifest-8.0.0.json @@ -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/package.manifest-8.0.0.json", "definitions": { "editor": { "description": "This describes details about the editor", @@ -290,7 +291,6 @@ } } }, - "id": "https://json.schemastore.org/package.manifest-8.0.0.json", "properties": { "javascript": { "type": "array", diff --git a/src/schemas/json/package.manifest.json b/src/schemas/json/package.manifest.json index 1e9128d718d..b4cb61d45b0 100644 --- a/src/schemas/json/package.manifest.json +++ b/src/schemas/json/package.manifest.json @@ -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/package.manifest.json", "definitions": { "editor": { "description": "This describes details about the editor.", @@ -295,7 +296,6 @@ } } }, - "id": "https://json.schemastore.org/package.manifest.json", "properties": { "id": { "type": "string", diff --git a/src/schemas/json/pantsbuild-2.14.0.json b/src/schemas/json/pantsbuild-2.14.0.json index 24cd5cf2848..19151fc940d 100644 --- a/src/schemas/json/pantsbuild-2.14.0.json +++ b/src/schemas/json/pantsbuild-2.14.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.14.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.14.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", @@ -206,7 +206,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.14/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -424,7 +424,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.14/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, diff --git a/src/schemas/json/pantsbuild-2.15.0.json b/src/schemas/json/pantsbuild-2.15.0.json index d91feee980a..c06a7210d69 100644 --- a/src/schemas/json/pantsbuild-2.15.0.json +++ b/src/schemas/json/pantsbuild-2.15.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.15.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.15.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", @@ -211,7 +211,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.15/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -399,7 +399,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.15/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -429,7 +429,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.15/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, diff --git a/src/schemas/json/pantsbuild-2.16.0.json b/src/schemas/json/pantsbuild-2.16.0.json index e2a7bf3e0cd..27b894a9468 100644 --- a/src/schemas/json/pantsbuild-2.16.0.json +++ b/src/schemas/json/pantsbuild-2.16.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.16.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.16.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", diff --git a/src/schemas/json/pantsbuild-2.17.0.json b/src/schemas/json/pantsbuild-2.17.0.json index 5d30c297f8a..63ef1b842b1 100644 --- a/src/schemas/json/pantsbuild-2.17.0.json +++ b/src/schemas/json/pantsbuild-2.17.0.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/pantsbuild-2.17.0.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.17.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", "properties": { @@ -211,7 +211,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.17/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -399,7 +399,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.17/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -429,7 +429,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.17/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2054,7 +2054,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.18.0.json b/src/schemas/json/pantsbuild-2.18.0.json index f4abcf95ca0..3773149fc48 100644 --- a/src/schemas/json/pantsbuild-2.18.0.json +++ b/src/schemas/json/pantsbuild-2.18.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.18.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.18.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", @@ -206,7 +206,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.14/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -424,7 +424,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.14/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, diff --git a/src/schemas/json/pantsbuild-2.19.0.json b/src/schemas/json/pantsbuild-2.19.0.json index 1999fa20412..08addaf3c0e 100644 --- a/src/schemas/json/pantsbuild-2.19.0.json +++ b/src/schemas/json/pantsbuild-2.19.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.19.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.19.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", @@ -211,7 +211,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.19/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -409,7 +409,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.19/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -439,7 +439,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.19/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2088,7 +2088,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.20.0.json b/src/schemas/json/pantsbuild-2.20.0.json index 7bd41929754..2c8ee2bd327 100644 --- a/src/schemas/json/pantsbuild-2.20.0.json +++ b/src/schemas/json/pantsbuild-2.20.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.20.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.20.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", @@ -217,7 +217,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.20/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -424,7 +424,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.20/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -454,7 +454,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.20/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2123,7 +2123,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.21.0.json b/src/schemas/json/pantsbuild-2.21.0.json index efb50c1763f..2b4bc7a4da4 100644 --- a/src/schemas/json/pantsbuild-2.21.0.json +++ b/src/schemas/json/pantsbuild-2.21.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.21.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", - "id": "https://json.schemastore.org/pantsbuild-2.21.0.json", "properties": { "GLOBAL": { "description": "Options to control the overall behavior of Pants.", @@ -217,7 +217,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.21/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -424,7 +424,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.21/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -454,7 +454,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.21/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2153,7 +2153,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n\nwhere package.json contains\n\n# package.json\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.24.0.json b/src/schemas/json/pantsbuild-2.24.0.json index de2e0dd2c54..43a755d5df8 100644 --- a/src/schemas/json/pantsbuild-2.24.0.json +++ b/src/schemas/json/pantsbuild-2.24.0.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/pantsbuild-2.24.0.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.24.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", "properties": { @@ -242,7 +242,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.24/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -449,7 +449,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.24/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -479,7 +479,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.24/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2284,7 +2284,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.26.0.json b/src/schemas/json/pantsbuild-2.26.0.json index e5f301c68a2..f7538b582ed 100644 --- a/src/schemas/json/pantsbuild-2.26.0.json +++ b/src/schemas/json/pantsbuild-2.26.0.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/pantsbuild-2.26.0.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.26.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", "properties": { @@ -237,7 +237,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.26/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -444,7 +444,7 @@ "type": "number" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.26/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -474,7 +474,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.26/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2298,7 +2298,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.30.0.json b/src/schemas/json/pantsbuild-2.30.0.json index 28ff60d5a98..5a1969adfd6 100644 --- a/src/schemas/json/pantsbuild-2.30.0.json +++ b/src/schemas/json/pantsbuild-2.30.0.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/pantsbuild-2.30.0.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.30.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", "properties": { @@ -237,7 +237,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.30/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -454,7 +454,7 @@ "type": "boolean" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.30/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -484,7 +484,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.30/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2318,7 +2318,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.31.0.json b/src/schemas/json/pantsbuild-2.31.0.json index e6e83f3f8eb..c4b671bffc6 100644 --- a/src/schemas/json/pantsbuild-2.31.0.json +++ b/src/schemas/json/pantsbuild-2.31.0.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/pantsbuild-2.31.0.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.31.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", "properties": { @@ -237,7 +237,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.31/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -454,7 +454,7 @@ "type": "boolean" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.31/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -484,7 +484,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.31/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2271,7 +2271,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pantsbuild-2.32.0.json b/src/schemas/json/pantsbuild-2.32.0.json index 2d04c21e709..17005287a4a 100644 --- a/src/schemas/json/pantsbuild-2.32.0.json +++ b/src/schemas/json/pantsbuild-2.32.0.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/pantsbuild-2.32.0.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/pantsbuild-2.32.0.json", "additionalProperties": true, "description": "Pants configuration file schema: https://www.pantsbuild.org/", "properties": { @@ -242,7 +242,7 @@ "type": "number" }, "pantsd_timeout_when_multiple_invocations": { - "default": 60.0, + "default": 60, "description": "The maximum amount of time to wait for the invocation to start until raising a timeout exception\nhttps://www.pantsbuild.org/v2.32/docs/reference-global#pantsd_timeout_when_multiple_invocations", "type": "number" }, @@ -459,7 +459,7 @@ "type": "boolean" }, "session_end_tasks_timeout": { - "default": 3.0, + "default": 3, "description": "The time in seconds to wait for still-running \"session end\" tasks to complete before finishing completion of a Pants invocation. \"Session end\" tasks include, for example, writing data that was generated during the applicable Pants invocation to a configured remote cache\nhttps://www.pantsbuild.org/v2.32/docs/reference-global#session_end_tasks_timeout", "type": "number" }, @@ -489,7 +489,7 @@ "enum": ["trace", "debug", "info", "warn", "error"] }, "streaming_workunits_report_interval": { - "default": 1.0, + "default": 1, "description": "Interval in seconds between when streaming workunit event receivers will be polled\nhttps://www.pantsbuild.org/v2.32/docs/reference-global#streaming_workunits_report_interval", "type": "number" }, @@ -2285,7 +2285,7 @@ "type": "object" }, "nodejs-test": { - "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n\u251c\u2500\u2500 BUILD\n\u251c\u2500\u2500 src/\n\u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u251c\u2500\u2500 test/\n\u2502 \u2502 \u251c\u2500\u2500 BUILD\n\u2502 \u2502 \u2514\u2500\u2500 index.test.js\n\u2502 \u2514\u2500\u2500 index.js\n\u2514\u2500\u2500 package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", + "description": "Options for package.json script configured tests.\n\nYour preferred test runner is configured via the `package.json#scripts.test` field.\n\nThe only expectation from pants is that the `test` script can accept a variadic number of path arguments, relative to the package.json, and that any configuration files are `file` dependencies to the `package_json`.\n\nSimple example:\n\nConsider a directory-layout:\n\n```\n├── BUILD\n├── src/\n│ ├── BUILD\n│ ├── test/\n│ │ ├── BUILD\n│ │ └── index.test.js\n│ └── index.js\n└── package.json\n```\n\nwhere package.json contains\n\n```json title=\"package.json\"\n{\n ...\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"devDependencies: {\n ...\n }\n}\n```\n\n\nExecuting `pants test src/test/index.test.js` will cause the equivalent of `mocha src/test/index.test.js` to run.", "properties": { "coverage_output_dir": { "default": "{distdir}/coverage/js/{target_spec}", diff --git a/src/schemas/json/pattern.json b/src/schemas/json/pattern.json index bcfc421d0da..3dd38fb7530 100644 --- a/src/schemas/json/pattern.json +++ b/src/schemas/json/pattern.json @@ -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/pattern.json", "additionalProperties": false, - "id": "https://json.schemastore.org/pattern.json", "properties": { "id": { "description": "Unique id of this pattern", diff --git a/src/schemas/json/phraseapp.json b/src/schemas/json/phraseapp.json index a33b3ae11ec..7fc4813b515 100644 --- a/src/schemas/json/phraseapp.json +++ b/src/schemas/json/phraseapp.json @@ -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/phraseapp.json", "definitions": { "project_id": { "description": "ID of the project", @@ -20,7 +21,6 @@ "default": "UTF-8" } }, - "id": "https://json.schemastore.org/phraseapp.json", "properties": { "phraseapp": { "description": "Root element of the PhraseApp config", diff --git a/src/schemas/json/plagiarize-0.0.json b/src/schemas/json/plagiarize-0.0.json index 20f1feff75d..6e01dd857aa 100644 --- a/src/schemas/json/plagiarize-0.0.json +++ b/src/schemas/json/plagiarize-0.0.json @@ -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/plagiarize-0.0", "description": "plagiarize.yaml configuration schema", - "id": "https://json.schemastore.org/plagiarize-0.0", "properties": { "repo": { "required": ["url"], diff --git a/src/schemas/json/plagiarize-me-0.0.json b/src/schemas/json/plagiarize-me-0.0.json index a2c0556ff13..03e8a001b3a 100644 --- a/src/schemas/json/plagiarize-me-0.0.json +++ b/src/schemas/json/plagiarize-me-0.0.json @@ -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/plagiarize-me-0.0", "additionalProperties": false, "definitions": { "moveItems": { @@ -27,7 +28,7 @@ "type": { "type": "string", "description": "Merge type", - "enum": ["jq"] + "const": "jq" }, "path": { "type": "string", @@ -96,7 +97,7 @@ "type": { "type": "string", "description": "Merge type", - "enum": ["yq"] + "const": "yq" }, "path": { "type": "string", @@ -165,7 +166,7 @@ "type": { "type": "string", "description": "Merge type", - "enum": ["git"] + "const": "git" }, "path": { "type": "string", @@ -180,7 +181,7 @@ "properties": { "type": { "type": "string", - "enum": ["env"] + "const": "env" }, "path": { "type": "string" @@ -215,7 +216,6 @@ } }, "description": "plagiarize-me.yaml configuration schema", - "id": "https://json.schemastore.org/plagiarize-me-0.0", "properties": { "repo": { "type": "object", @@ -273,8 +273,8 @@ "oneOf": [ { "type": "string", - "enum": ["always"], - "description": "Condition type" + "description": "Condition type", + "const": "always" }, { "type": "object", @@ -285,7 +285,7 @@ "type": { "type": "string", "description": "Condition type", - "enum": ["if-missing"] + "const": "if-missing" }, "options": { "type": "object", @@ -307,7 +307,7 @@ "type": { "description": "Condition type", "type": "string", - "enum": ["always"] + "const": "always" } } } @@ -584,11 +584,11 @@ "properties": { "type": { "type": "string", - "enum": ["create-merge-request"] + "const": "create-merge-request" }, "api": { "type": "string", - "enum": ["gitlab"] + "const": "gitlab" }, "envVars": { "type": "object", diff --git a/src/schemas/json/plagiarize-me.json b/src/schemas/json/plagiarize-me.json index 51a6a1bc19d..8c3fe09457c 100644 --- a/src/schemas/json/plagiarize-me.json +++ b/src/schemas/json/plagiarize-me.json @@ -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/plagiarize-me", "additionalProperties": false, "definitions": { "moveItems": { @@ -27,7 +28,7 @@ "type": { "type": "string", "description": "Merge type", - "enum": ["jq"] + "const": "jq" }, "path": { "type": "string", @@ -96,7 +97,7 @@ "type": { "type": "string", "description": "Merge type", - "enum": ["yq"] + "const": "yq" }, "path": { "type": "string", @@ -165,7 +166,7 @@ "type": { "type": "string", "description": "Merge type", - "enum": ["git"] + "const": "git" }, "path": { "type": "string", @@ -180,7 +181,7 @@ "properties": { "type": { "type": "string", - "enum": ["env"] + "const": "env" }, "path": { "type": "string" @@ -215,7 +216,6 @@ } }, "description": "plagiarize-me.yaml configuration schema", - "id": "https://json.schemastore.org/plagiarize-me", "properties": { "repo": { "type": "object", @@ -273,8 +273,8 @@ "oneOf": [ { "type": "string", - "enum": ["always"], - "description": "Condition type" + "description": "Condition type", + "const": "always" }, { "type": "object", @@ -285,7 +285,7 @@ "type": { "type": "string", "description": "Condition type", - "enum": ["if-missing"] + "const": "if-missing" }, "options": { "type": "object", @@ -307,7 +307,7 @@ "type": { "description": "Condition type", "type": "string", - "enum": ["always"] + "const": "always" } } } @@ -584,11 +584,11 @@ "properties": { "type": { "type": "string", - "enum": ["create-merge-request"] + "const": "create-merge-request" }, "api": { "type": "string", - "enum": ["gitlab"] + "const": "gitlab" }, "envVars": { "type": "object", diff --git a/src/schemas/json/plagiarize.json b/src/schemas/json/plagiarize.json index e78aa2c9ec7..e002d985421 100644 --- a/src/schemas/json/plagiarize.json +++ b/src/schemas/json/plagiarize.json @@ -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/plagiarize", "description": "plagiarize.yaml configuration schema", - "id": "https://json.schemastore.org/plagiarize", "properties": { "repo": { "required": ["url"], diff --git a/src/schemas/json/pm2-ecosystem.json b/src/schemas/json/pm2-ecosystem.json index 6f56b980d20..93a241aebfc 100644 --- a/src/schemas/json/pm2-ecosystem.json +++ b/src/schemas/json/pm2-ecosystem.json @@ -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/pm2-ecosystem.json", "definitions": { "app": { "type": "object", @@ -78,7 +79,7 @@ "log_type": { "type": "string", "description": "Define a specific log output type", - "enum": ["json"] + "const": "json" }, "log_date_format": { "type": "string", @@ -337,7 +338,6 @@ } } }, - "id": "https://json.schemastore.org/pm2-ecosystem.json", "properties": { "apps": { "type": "array", diff --git a/src/schemas/json/pocketmine-plugin.json b/src/schemas/json/pocketmine-plugin.json index 00a865b71af..65e8a9e1db2 100644 --- a/src/schemas/json/pocketmine-plugin.json +++ b/src/schemas/json/pocketmine-plugin.json @@ -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/pocketmine-plugin.json", "additionalProperties": {}, "definitions": { "PermissionChildren": { @@ -45,7 +46,6 @@ "type": "string" } }, - "id": "https://json.schemastore.org/pocketmine-plugin.json", "properties": { "api": { "anyOf": [ diff --git a/src/schemas/json/postcssrc.json b/src/schemas/json/postcssrc.json index 140154eb1ba..49049b7d8b7 100644 --- a/src/schemas/json/postcssrc.json +++ b/src/schemas/json/postcssrc.json @@ -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/postcssrc.json", "additionalProperties": false, "definitions": { "ConfigPlugin": { @@ -8,12 +9,11 @@ "type": "object" }, { - "enum": [false] + "const": false } ] } }, - "id": "https://json.schemastore.org/postcssrc.json", "properties": { "parser": { "description": "A special syntax parser (for example, SCSS).", @@ -22,7 +22,7 @@ "type": "string" }, { - "enum": [false] + "const": false } ] }, @@ -33,7 +33,7 @@ "type": "string" }, { - "enum": [false] + "const": false } ] }, @@ -44,7 +44,7 @@ "type": "string" }, { - "enum": [false] + "const": false } ] }, diff --git a/src/schemas/json/prettierrc-1.8.2.json b/src/schemas/json/prettierrc-1.8.2.json index 64b6520baaa..ea742d050a7 100644 --- a/src/schemas/json/prettierrc-1.8.2.json +++ b/src/schemas/json/prettierrc-1.8.2.json @@ -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/prettierrc-1.8.2.json", "allOf": [ { "$ref": "#/definitions/optionsDefinition" @@ -139,7 +140,6 @@ } } }, - "id": "https://json.schemastore.org/prettierrc-1.8.2.json", "title": "Schema for .prettierrc", "type": "object" } diff --git a/src/schemas/json/prettierrc-2.8.8.json b/src/schemas/json/prettierrc-2.8.8.json index 170396d00cf..d9f3dfe3958 100644 --- a/src/schemas/json/prettierrc-2.8.8.json +++ b/src/schemas/json/prettierrc-2.8.8.json @@ -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/prettierrc.json", "definitions": { "optionsDefinition": { "type": "object", @@ -9,12 +10,12 @@ "default": "always", "oneOf": [ { - "enum": ["always"], - "description": "Always include parens. Example: `(x) => x`" + "description": "Always include parens. Example: `(x) => x`", + "const": "always" }, { - "enum": ["avoid"], - "description": "Omit parens when possible. Example: `x => x`" + "description": "Omit parens when possible. Example: `x => x`", + "const": "avoid" } ] }, @@ -43,12 +44,12 @@ "default": "auto", "oneOf": [ { - "enum": ["auto"], - "description": "Format embedded code if Prettier can automatically identify it." + "description": "Format embedded code if Prettier can automatically identify it.", + "const": "auto" }, { - "enum": ["off"], - "description": "Never automatically format embedded code." + "description": "Never automatically format embedded code.", + "const": "off" } ] }, @@ -57,20 +58,20 @@ "default": "lf", "oneOf": [ { - "enum": ["lf"], - "description": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" + "description": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos", + "const": "lf" }, { - "enum": ["crlf"], - "description": "Carriage Return + Line Feed characters (\\r\\n), common on Windows" + "description": "Carriage Return + Line Feed characters (\\r\\n), common on Windows", + "const": "crlf" }, { - "enum": ["cr"], - "description": "Carriage Return character only (\\r), used very rarely" + "description": "Carriage Return character only (\\r), used very rarely", + "const": "cr" }, { - "enum": ["auto"], - "description": "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" + "description": "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)", + "const": "auto" } ] }, @@ -83,16 +84,16 @@ "default": "css", "oneOf": [ { - "enum": ["css"], - "description": "Respect the default value of CSS display property." + "description": "Respect the default value of CSS display property.", + "const": "css" }, { - "enum": ["strict"], - "description": "Whitespaces are considered sensitive." + "description": "Whitespaces are considered sensitive.", + "const": "strict" }, { - "enum": ["ignore"], - "description": "Whitespaces are considered insensitive." + "description": "Whitespaces are considered insensitive.", + "const": "ignore" } ] }, @@ -110,96 +111,96 @@ "description": "Which parser to use.", "anyOf": [ { - "enum": ["flow"], - "description": "Flow" + "description": "Flow", + "const": "flow" }, { - "enum": ["babel"], - "description": "JavaScript" + "description": "JavaScript", + "const": "babel" }, { - "enum": ["babel-flow"], - "description": "Flow" + "description": "Flow", + "const": "babel-flow" }, { - "enum": ["babel-ts"], - "description": "TypeScript" + "description": "TypeScript", + "const": "babel-ts" }, { - "enum": ["typescript"], - "description": "TypeScript" + "description": "TypeScript", + "const": "typescript" }, { - "enum": ["acorn"], - "description": "JavaScript" + "description": "JavaScript", + "const": "acorn" }, { - "enum": ["espree"], - "description": "JavaScript" + "description": "JavaScript", + "const": "espree" }, { - "enum": ["meriyah"], - "description": "JavaScript" + "description": "JavaScript", + "const": "meriyah" }, { - "enum": ["css"], - "description": "CSS" + "description": "CSS", + "const": "css" }, { - "enum": ["less"], - "description": "Less" + "description": "Less", + "const": "less" }, { - "enum": ["scss"], - "description": "SCSS" + "description": "SCSS", + "const": "scss" }, { - "enum": ["json"], - "description": "JSON" + "description": "JSON", + "const": "json" }, { - "enum": ["json5"], - "description": "JSON5" + "description": "JSON5", + "const": "json5" }, { - "enum": ["json-stringify"], - "description": "JSON.stringify" + "description": "JSON.stringify", + "const": "json-stringify" }, { - "enum": ["graphql"], - "description": "GraphQL" + "description": "GraphQL", + "const": "graphql" }, { - "enum": ["markdown"], - "description": "Markdown" + "description": "Markdown", + "const": "markdown" }, { - "enum": ["mdx"], - "description": "MDX" + "description": "MDX", + "const": "mdx" }, { - "enum": ["vue"], - "description": "Vue" + "description": "Vue", + "const": "vue" }, { - "enum": ["yaml"], - "description": "YAML" + "description": "YAML", + "const": "yaml" }, { - "enum": ["glimmer"], - "description": "Ember / Handlebars" + "description": "Ember / Handlebars", + "const": "glimmer" }, { - "enum": ["html"], - "description": "HTML" + "description": "HTML", + "const": "html" }, { - "enum": ["angular"], - "description": "Angular" + "description": "Angular", + "const": "angular" }, { - "enum": ["lwc"], - "description": "Lightning Web Components" + "description": "Lightning Web Components", + "const": "lwc" }, { "type": "string", @@ -218,8 +219,8 @@ } }, { - "enum": [false], - "description": "Disable plugin autoloading." + "description": "Disable plugin autoloading.", + "const": false } ] }, @@ -241,16 +242,16 @@ "default": "preserve", "oneOf": [ { - "enum": ["always"], - "description": "Wrap prose if it exceeds the print width." + "description": "Wrap prose if it exceeds the print width.", + "const": "always" }, { - "enum": ["never"], - "description": "Do not wrap prose." + "description": "Do not wrap prose.", + "const": "never" }, { - "enum": ["preserve"], - "description": "Wrap prose as-is." + "description": "Wrap prose as-is.", + "const": "preserve" } ] }, @@ -259,16 +260,16 @@ "default": "as-needed", "oneOf": [ { - "enum": ["as-needed"], - "description": "Only add quotes around object properties where required." + "description": "Only add quotes around object properties where required.", + "const": "as-needed" }, { - "enum": ["consistent"], - "description": "If at least one property in an object requires quotes, quote all properties." + "description": "If at least one property in an object requires quotes, quote all properties.", + "const": "consistent" }, { - "enum": ["preserve"], - "description": "Respect the input use of quotes in object properties." + "description": "Respect the input use of quotes in object properties.", + "const": "preserve" } ] }, @@ -312,16 +313,16 @@ "default": "es5", "oneOf": [ { - "enum": ["es5"], - "description": "Trailing commas where valid in ES5 (objects, arrays, etc.)" + "description": "Trailing commas where valid in ES5 (objects, arrays, etc.)", + "const": "es5" }, { - "enum": ["none"], - "description": "No trailing commas." + "description": "No trailing commas.", + "const": "none" }, { - "enum": ["all"], - "description": "Trailing commas wherever possible (including function arguments)." + "description": "Trailing commas wherever possible (including function arguments).", + "const": "all" } ] }, @@ -387,7 +388,6 @@ } } }, - "id": "https://json.schemastore.org/prettierrc.json", "oneOf": [ { "type": "object", diff --git a/src/schemas/json/project-1.0.0-beta3.json b/src/schemas/json/project-1.0.0-beta3.json index 6eede56cdd8..11086f3140c 100644 --- a/src/schemas/json/project-1.0.0-beta3.json +++ b/src/schemas/json/project-1.0.0-beta3.json @@ -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/project-1.0.0-beta3.json", "definitions": { "compilationOptions": { "type": "object", @@ -75,7 +76,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-beta3.json", "properties": { "authors": { "type": "array", diff --git a/src/schemas/json/project-1.0.0-beta4.json b/src/schemas/json/project-1.0.0-beta4.json index a067d7c5efc..623cabbb41d 100644 --- a/src/schemas/json/project-1.0.0-beta4.json +++ b/src/schemas/json/project-1.0.0-beta4.json @@ -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/project-1.0.0-beta4.json", "definitions": { "compilationOptions": { "type": "object", @@ -75,7 +76,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-beta4.json", "properties": { "authors": { "type": "array", diff --git a/src/schemas/json/project-1.0.0-beta5.json b/src/schemas/json/project-1.0.0-beta5.json index e874ec9ad85..5a8a5732e78 100644 --- a/src/schemas/json/project-1.0.0-beta5.json +++ b/src/schemas/json/project-1.0.0-beta5.json @@ -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/project-1.0.0-beta5.json", "definitions": { "compilationOptions": { "type": "object", @@ -75,7 +76,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-beta5.json", "properties": { "authors": { "type": "array", diff --git a/src/schemas/json/project-1.0.0-beta6.json b/src/schemas/json/project-1.0.0-beta6.json index 786bc1a5f0f..2653a3984a5 100644 --- a/src/schemas/json/project-1.0.0-beta6.json +++ b/src/schemas/json/project-1.0.0-beta6.json @@ -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/project-1.0.0-beta6.json", "definitions": { "compilationOptions": { "type": "object", @@ -86,7 +87,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-beta6.json", "properties": { "authors": { "type": "array", @@ -222,8 +222,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" } }, "additionalProperties": { diff --git a/src/schemas/json/project-1.0.0-beta8.json b/src/schemas/json/project-1.0.0-beta8.json index 300532c0b84..501c686ef04 100644 --- a/src/schemas/json/project-1.0.0-beta8.json +++ b/src/schemas/json/project-1.0.0-beta8.json @@ -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/project-1.0.0-beta8.json", "definitions": { "compilationOptions": { "type": "object", @@ -95,7 +96,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-beta8.json", "properties": { "authors": { "type": "array", @@ -340,8 +340,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" } }, "additionalProperties": { diff --git a/src/schemas/json/project-1.0.0-rc1.json b/src/schemas/json/project-1.0.0-rc1.json index 83fc3e42b35..8bc54e5db84 100644 --- a/src/schemas/json/project-1.0.0-rc1.json +++ b/src/schemas/json/project-1.0.0-rc1.json @@ -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/project-1.0.0-rc1.json", "definitions": { "compilationOptions": { "type": "object", @@ -95,7 +96,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-rc1.json", "properties": { "authors": { "type": "array", @@ -340,8 +340,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" }, "url": { "type": "string", diff --git a/src/schemas/json/project-1.0.0-rc2.json b/src/schemas/json/project-1.0.0-rc2.json index da9723ba32a..858bb442bc3 100644 --- a/src/schemas/json/project-1.0.0-rc2.json +++ b/src/schemas/json/project-1.0.0-rc2.json @@ -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/project-1.0.0-rc2.json", "definitions": { "compilationOptions": { "description": "[Deprecated] Options that are passed to the compiler. Use 'buildOptions' instead.", @@ -374,8 +375,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" }, "url": { "type": "string", @@ -497,7 +498,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project-1.0.0-rc2.json", "properties": { "authors": { "description": "The author of the application.", @@ -764,8 +764,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" }, "url": { "type": "string", diff --git a/src/schemas/json/project.json b/src/schemas/json/project.json index ab3d9de279b..2f477f2364e 100644 --- a/src/schemas/json/project.json +++ b/src/schemas/json/project.json @@ -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/project.json", "definitions": { "compilationOptions": { "title": "compilation options", @@ -398,8 +399,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" }, "url": { "type": "string", @@ -523,7 +524,6 @@ "description": "A command line script or scripts.\r\rAvailable variables:\r%project:Directory% - The project directory\r%project:Name% - The project name\r%project:Version% - The project version" } }, - "id": "https://json.schemastore.org/project.json", "properties": { "authors": { "description": "The author of the application.", @@ -797,8 +797,8 @@ "properties": { "type": { "type": "string", - "enum": ["git"], - "default": "git" + "default": "git", + "const": "git" }, "url": { "type": "string", diff --git a/src/schemas/json/proxies.json b/src/schemas/json/proxies.json index e4355e89ae9..2e7c7c13eb7 100644 --- a/src/schemas/json/proxies.json +++ b/src/schemas/json/proxies.json @@ -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/proxies.json", "additionalProperties": false, "definitions": { "proxy-schema": { @@ -224,7 +225,6 @@ ] } }, - "id": "https://json.schemastore.org/proxies.json", "properties": { "$schema": { "type": "string" diff --git a/src/schemas/json/pterodactyl.json b/src/schemas/json/pterodactyl.json index bc4a8d3a95c..9c292ea43d7 100644 --- a/src/schemas/json/pterodactyl.json +++ b/src/schemas/json/pterodactyl.json @@ -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/pterodactyl.json", "additionalProperties": false, - "id": "https://json.schemastore.org/pterodactyl.json", "properties": { "_comment": { "type": "string", diff --git a/src/schemas/json/pull-request-labeler.json b/src/schemas/json/pull-request-labeler.json index 716426c92c4..6f44e63c3a4 100644 --- a/src/schemas/json/pull-request-labeler.json +++ b/src/schemas/json/pull-request-labeler.json @@ -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/pull-request-labeler.json", "$comment": "https://github.com/actions/labeler", "additionalProperties": { "title": "Label", @@ -31,7 +32,6 @@ } }, "description": "A GitHub Action for automatically labelling pull requests.", - "id": "https://json.schemastore.org/pull-request-labeler.json", "title": "Pull Request Labeler", "type": "object" } diff --git a/src/schemas/json/qfconfig.json b/src/schemas/json/qfconfig.json index 94b5425509a..1f135d2d2f6 100644 --- a/src/schemas/json/qfconfig.json +++ b/src/schemas/json/qfconfig.json @@ -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/qfconfig.json", "additionalProperties": false, "definitions": { "generator": { @@ -21,7 +22,6 @@ } }, "description": "A configuration file for Queryfirst (https://queryfirst.net), named qfconfig.json", - "id": "https://json.schemastore.org/qfconfig.json", "properties": { "defaultConnection": { "type": "string" diff --git a/src/schemas/json/rehyperc.json b/src/schemas/json/rehyperc.json index 18b0347c144..0fbd336f66b 100644 --- a/src/schemas/json/rehyperc.json +++ b/src/schemas/json/rehyperc.json @@ -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/rehyperc.json", "additionalProperties": false, - "id": "https://json.schemastore.org/rehyperc.json", "properties": { "plugins": { "description": "The plugins field, related to plugins in options, has either an array of plugin names (or paths) or plugin–options tuples, or an object mapping plugins to their options.\nPlugin options can be false, which specifies that a plugin should not be used. In all other cases, they are treated as an object, and merged by the cascade. Thus, it's possible to specify part of the options from one configuration file, and overwrite or extend it from another file.", diff --git a/src/schemas/json/remarkrc.json b/src/schemas/json/remarkrc.json index 78006120dcb..86d299bcf7d 100644 --- a/src/schemas/json/remarkrc.json +++ b/src/schemas/json/remarkrc.json @@ -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/remarkrc.json", "additionalProperties": false, - "id": "https://json.schemastore.org/remarkrc.json", "properties": { "plugins": { "description": "The plugins field, related to plugins in options, has either an array of plugin names (or paths) or plugin–options tuples, or an object mapping plugins to their options.\nPlugin options can be false, which specifies that a plugin should not be used. In all other cases, they are treated as an object, and merged by the cascade. Thus, it's possible to specify part of the options from one configuration file, and overwrite or extend it from another file.", diff --git a/src/schemas/json/renovate-39.json b/src/schemas/json/renovate-39.json index b5672e77a5b..3562670869e 100644 --- a/src/schemas/json/renovate-39.json +++ b/src/schemas/json/renovate-39.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/renovate-39.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/renovate-39.json", "title": "JSON schema for Renovate config files (https://renovatebot.com/)", "type": "object", "properties": { @@ -1455,7 +1455,7 @@ "type": ["array", "null"], "items": { "type": "string", - "enum": ["composer"] + "const": "composer" }, "default": null }, diff --git a/src/schemas/json/renovate-40.json b/src/schemas/json/renovate-40.json index a033b578639..3f01d7cf3cf 100644 --- a/src/schemas/json/renovate-40.json +++ b/src/schemas/json/renovate-40.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/renovate-40.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/renovate-40.json", "title": "JSON schema for Renovate config files (https://renovatebot.com/)", "type": "object", "properties": { @@ -3612,7 +3612,7 @@ "type": ["array", "null"], "items": { "type": "string", - "enum": ["composer"] + "const": "composer" }, "default": null }, diff --git a/src/schemas/json/resjson.json b/src/schemas/json/resjson.json index 19be6f7a9b1..5e72dc95d8e 100644 --- a/src/schemas/json/resjson.json +++ b/src/schemas/json/resjson.json @@ -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/resjson.json", "additionalProperties": { "minProperties": 1, "anyOf": [ @@ -27,7 +28,6 @@ } } }, - "id": "https://json.schemastore.org/resjson.json", "title": "JSON schema for Windows resource files (.resjson)", "type": "object" } diff --git a/src/schemas/json/rust-project.json b/src/schemas/json/rust-project.json index 8e80048f29b..c8092ff16e2 100644 --- a/src/schemas/json/rust-project.json +++ b/src/schemas/json/rust-project.json @@ -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/rust-project.json", "definitions": { "crate": { "type": "object", @@ -125,7 +126,6 @@ "required": ["crate", "name"] } }, - "id": "https://json.schemastore.org/rust-project.json", "properties": { "sysroot": { "description": "Path to sysroot.", diff --git a/src/schemas/json/safebox-schema-v1.0.0.json b/src/schemas/json/safebox-schema-v1.0.0.json index 6d56bbb0e92..7d13fa7f528 100644 --- a/src/schemas/json/safebox-schema-v1.0.0.json +++ b/src/schemas/json/safebox-schema-v1.0.0.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/safebox-schema-v1.0.0.json", "additionalProperties": false, "description": "Configuration for safebox to deploy parameters to various parameter stores", - "id": "https://json.schemastore.org/safebox-schema-v1.0.0.json", "properties": { "service": { "type": "string", diff --git a/src/schemas/json/sarif-1.0.0.json b/src/schemas/json/sarif-1.0.0.json index afcde85b0e3..0855d13706f 100644 --- a/src/schemas/json/sarif-1.0.0.json +++ b/src/schemas/json/sarif-1.0.0.json @@ -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/sarif-1.0.0.json", "additionalProperties": false, "definitions": { "annotatedCodeLocation": { @@ -1072,7 +1073,6 @@ } }, "description": "Static Analysis Results Format (SARIF) Version 1.0.0 JSON Schema: a standard format for the output of static analysis and other tools.", - "id": "https://json.schemastore.org/sarif-1.0.0.json", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", @@ -1081,7 +1081,7 @@ }, "version": { "description": "The SARIF format version of this log file.", - "enum": ["1.0.0"] + "const": "1.0.0" }, "runs": { "description": "The set of runs contained in this log file.", diff --git a/src/schemas/json/sarif-2.0.0-csd.2.beta.2018-10-10.json b/src/schemas/json/sarif-2.0.0-csd.2.beta.2018-10-10.json index 93f7bbceada..969e007e9a3 100644 --- a/src/schemas/json/sarif-2.0.0-csd.2.beta.2018-10-10.json +++ b/src/schemas/json/sarif-2.0.0-csd.2.beta.2018-10-10.json @@ -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/sarif-2.0.0-csd.2.beta.2018-10-10.json", "additionalProperties": false, "definitions": { "attachment": { @@ -1542,7 +1543,6 @@ } }, "description": "Static Analysis Results Format (SARIF) Version 2.0.0.csd.2.beta-2018-10-10 JSON Schema: a standard format for the output of static analysis tools.", - "id": "https://json.schemastore.org/sarif-2.0.0-csd.2.beta.2018-10-10.json", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", @@ -1551,7 +1551,7 @@ }, "version": { "description": "The SARIF format version of this log file.", - "enum": ["2.0.0-csd.2.beta.2018-10-10"] + "const": "2.0.0-csd.2.beta.2018-10-10" }, "runs": { "description": "The set of runs contained in this log file.", diff --git a/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-09.json b/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-09.json index ca2fe0e6f36..00a3f20752a 100644 --- a/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-09.json +++ b/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-09.json @@ -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/sarif-2.0.0-csd.2.beta.2019-01-09.json", "additionalProperties": false, "definitions": { "attachment": { @@ -1756,7 +1757,6 @@ } }, "description": "Static Analysis Results Format (SARIF) Version 2.0.0-csd.2.beta-2019-01-09 JSON Schema: a standard format for the output of static analysis tools.", - "id": "https://json.schemastore.org/sarif-2.0.0-csd.2.beta.2019-01-09.json", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", @@ -1765,7 +1765,7 @@ }, "version": { "description": "The SARIF format version of this log file.", - "enum": ["2.0.0-csd.2.beta.2019-01-09"] + "const": "2.0.0-csd.2.beta.2019-01-09" }, "runs": { "description": "The set of runs contained in this log file.", diff --git a/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-24.json b/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-24.json index 04bb64abac8..0871a701f9a 100644 --- a/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-24.json +++ b/src/schemas/json/sarif-2.0.0-csd.2.beta.2019-01-24.json @@ -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/sarif-2.0.0-csd.2.beta.2019-01-24.json", "additionalProperties": false, "definitions": { "artifact": { @@ -1853,7 +1854,6 @@ } }, "description": "Static Analysis Results Format (SARIF) Version 2.0.0-csd.2.beta-2019-01-24 JSON Schema: a standard format for the output of static analysis tools.", - "id": "https://json.schemastore.org/sarif-2.0.0-csd.2.beta.2019-01-24.json", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", @@ -1862,7 +1862,7 @@ }, "version": { "description": "The SARIF format version of this log file.", - "enum": ["2.0.0-csd.2.beta.2019-01-24"] + "const": "2.0.0-csd.2.beta.2019-01-24" }, "runs": { "description": "The set of runs contained in this log file.", diff --git a/src/schemas/json/sarif-2.0.0.json b/src/schemas/json/sarif-2.0.0.json index 2a3ea26b228..194a554c4e3 100644 --- a/src/schemas/json/sarif-2.0.0.json +++ b/src/schemas/json/sarif-2.0.0.json @@ -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/sarif-2.0.0.json", "additionalProperties": false, "definitions": { "attachment": { @@ -1699,7 +1700,6 @@ } }, "description": "Static Analysis Results Format (SARIF) Version 2.0.0 JSON Schema: a standard format for the output of static analysis tools.", - "id": "https://json.schemastore.org/sarif-2.0.0.json", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", @@ -1708,7 +1708,7 @@ }, "version": { "description": "The SARIF format version of this log file.", - "enum": ["2.0.0"] + "const": "2.0.0" }, "runs": { "description": "The set of runs contained in this log file.", diff --git a/src/schemas/json/sarif.json b/src/schemas/json/sarif.json index 51dbf7f8310..b94352036ac 100644 --- a/src/schemas/json/sarif.json +++ b/src/schemas/json/sarif.json @@ -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/sarif-2.1.0-rtm.5.json", "additionalProperties": false, "definitions": { "address": { @@ -452,7 +453,7 @@ }, "version": { "description": "The SARIF format version of this external properties object.", - "enum": ["2.1.0"] + "const": "2.1.0" }, "guid": { "description": "A stable, unique identifier for this external properties object, in the form of a GUID.", @@ -2842,7 +2843,6 @@ } }, "description": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.5 JSON Schema: a standard format for the output of static analysis tools.", - "id": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", @@ -2851,7 +2851,7 @@ }, "version": { "description": "The SARIF format version of this log file.", - "enum": ["2.1.0"] + "const": "2.1.0" }, "runs": { "description": "The set of runs contained in this log file.", diff --git a/src/schemas/json/schema-draft-v4.json b/src/schemas/json/schema-draft-v4.json index a518559d000..5ae78a2da5f 100644 --- a/src/schemas/json/schema-draft-v4.json +++ b/src/schemas/json/schema-draft-v4.json @@ -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/schema-draft-v4.json", "default": {}, "definitions": { "schemaArray": { @@ -48,7 +49,6 @@ "exclusiveMinimum": ["minimum"] }, "description": "Modified JSON Schema draft v4 that includes the optional '$ref' and 'format'", - "id": "https://json.schemastore.org/schema-draft-v4.json", "properties": { "$schema": { "type": "string", @@ -73,8 +73,7 @@ "default": {}, "multipleOf": { "type": "number", - "minimum": 0, - "exclusiveMinimum": true + "exclusiveMinimum": 0 }, "maximum": { "type": "number" diff --git a/src/schemas/json/schema-org-action.json b/src/schemas/json/schema-org-action.json index 9f221bb77ab..da46ca28bc1 100644 --- a/src/schemas/json/schema-org-action.json +++ b/src/schemas/json/schema-org-action.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/schema-org-action.json", "anyOf": [ { "$ref": "schema-org-thing.json" } ], "description": "This is a JSON schema representation of the schema.org Action schema: https://schema.org/Action", - "id": "https://json.schemastore.org/schema-org-action.json", "properties": { "@context": { "type": "string", diff --git a/src/schemas/json/schema-org-contact-point.json b/src/schemas/json/schema-org-contact-point.json index 1f7d8c3648b..24f145e8886 100644 --- a/src/schemas/json/schema-org-contact-point.json +++ b/src/schemas/json/schema-org-contact-point.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/schema-org-contact-point.json", "anyOf": [ { "$ref": "schema-org-thing.json" } ], "description": "This is a JSON schema representation of the schema.org Action schema: https://schema.org/ContactPoint", - "id": "https://json.schemastore.org/schema-org-contact-point.json", "properties": { "@context": { "type": "string", diff --git a/src/schemas/json/schema-org-place.json b/src/schemas/json/schema-org-place.json index adcf102ef2a..dcc6da3b7a8 100644 --- a/src/schemas/json/schema-org-place.json +++ b/src/schemas/json/schema-org-place.json @@ -1,12 +1,12 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/schema-org-place.json", "anyOf": [ { "$ref": "schema-org-thing.json" } ], "description": "This is a JSON schema representation of the schema.org Place schema: https://schema.org/Place", - "id": "https://json.schemastore.org/schema-org-place.json", "properties": { "@context": { "type": "string", diff --git a/src/schemas/json/schema-org-thing.json b/src/schemas/json/schema-org-thing.json index 5353879680b..f4e4e0ef44e 100644 --- a/src/schemas/json/schema-org-thing.json +++ b/src/schemas/json/schema-org-thing.json @@ -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/schema-org-thing.json", "$comment": "Version 1.1", "anyOf": [ { @@ -7,7 +8,6 @@ } ], "description": "This is a JSON schema representation of the schema.org Thing schema: https://schema.org/Thing", - "id": "https://json.schemastore.org/schema-org-thing.json", "properties": { "@context": { "type": "string", diff --git a/src/schemas/json/servicehub.config.schema.json b/src/schemas/json/servicehub.config.schema.json index c6d1fa71ca8..6d4976a499d 100644 --- a/src/schemas/json/servicehub.config.schema.json +++ b/src/schemas/json/servicehub.config.schema.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/servicehub.config.schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/servicehub.config.schema.json", "properties": { "controller": { "type": "object", diff --git a/src/schemas/json/servicehub.service.schema.json b/src/schemas/json/servicehub.service.schema.json index b726c29d342..2c00a6d9db7 100644 --- a/src/schemas/json/servicehub.service.schema.json +++ b/src/schemas/json/servicehub.service.schema.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/servicehub.service.schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/servicehub.service.schema.json", "properties": { "host": { "type": "string", diff --git a/src/schemas/json/settings.job.json b/src/schemas/json/settings.job.json index db612e43fbc..feb936c11ec 100644 --- a/src/schemas/json/settings.job.json +++ b/src/schemas/json/settings.job.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/settings.job.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/settings.job.json", "minProperties": 1, "properties": { "stopping_wait_time": { diff --git a/src/schemas/json/slack-app-manifest.json b/src/schemas/json/slack-app-manifest.json index 11e5587f74e..e18d0c57a78 100644 --- a/src/schemas/json/slack-app-manifest.json +++ b/src/schemas/json/slack-app-manifest.json @@ -1,8 +1,8 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/slack-app-manifest.json", "additionalProperties": false, "description": "A manifest file for a Slack app, as described on this page: https://api.slack.com/reference/manifests", - "id": "https://json.schemastore.org/slack-app-manifest.json", "properties": { "_metadata": { "description": "Settings that describe the manifest.\nhttps://api.slack.com/reference/manifests#metadata", diff --git a/src/schemas/json/solidaritySchema.json b/src/schemas/json/solidaritySchema.json index dd28fc49222..c5d476d6753 100644 --- a/src/schemas/json/solidaritySchema.json +++ b/src/schemas/json/solidaritySchema.json @@ -1,12 +1,13 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/solidaritySchema.json", "definitions": { "cli": { "description": "CLI Rule", "type": "object", "properties": { "rule": { - "enum": ["cli"] + "const": "cli" }, "binary": { "type": "string" @@ -75,7 +76,7 @@ "type": "object", "properties": { "rule": { - "enum": ["file"] + "const": "file" }, "platform": { "enum": [ @@ -102,7 +103,7 @@ "type": "object", "properties": { "rule": { - "enum": ["env"] + "const": "env" }, "platform": { "enum": [ @@ -129,7 +130,7 @@ "type": "object", "properties": { "rule": { - "enum": ["shell"] + "const": "shell" }, "platform": { "enum": [ @@ -161,7 +162,7 @@ "additionalProperties": true, "properties": { "rule": { - "enum": ["custom"] + "const": "custom" }, "plugin": { "type": "string" @@ -195,7 +196,6 @@ } }, "description": "A rule-set and config for the Solidarity JSON checker", - "id": "https://json.schemastore.org/solidaritySchema.json", "properties": { "config": { "type": "object", diff --git a/src/schemas/json/solution-filter.json b/src/schemas/json/solution-filter.json index 6a80209471c..67464aca7d4 100644 --- a/src/schemas/json/solution-filter.json +++ b/src/schemas/json/solution-filter.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/solution-filter.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/solution-filter.json", "properties": { "solution": { "type": "object", diff --git a/src/schemas/json/sourcehut-build-0.41.2.json b/src/schemas/json/sourcehut-build-0.41.2.json index 2409bddf777..7cfd2ca8eee 100644 --- a/src/schemas/json/sourcehut-build-0.41.2.json +++ b/src/schemas/json/sourcehut-build-0.41.2.json @@ -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/sourcehut-build-0.41.2.json", "description": "A recipe for Sourcehut CI service", - "id": "https://json.schemastore.org/sourcehut-build-0.41.2.json", "properties": { "image": { "description": "Which OS image to build in", diff --git a/src/schemas/json/sourcemap-v3.json b/src/schemas/json/sourcemap-v3.json index 72dde5d253e..418f7aa78a6 100644 --- a/src/schemas/json/sourcemap-v3.json +++ b/src/schemas/json/sourcemap-v3.json @@ -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/sourcemap-v3.json", "definitions": { "sectionMap": { "anyOf": [ @@ -22,7 +23,6 @@ ] } }, - "id": "https://json.schemastore.org/sourcemap-v3.json", "patternProperties": { "^x_": { "type": "object", diff --git a/src/schemas/json/sourcery_yaml_schema.json b/src/schemas/json/sourcery_yaml_schema.json index d4e79fc6667..f8e0f9cbe94 100644 --- a/src/schemas/json/sourcery_yaml_schema.json +++ b/src/schemas/json/sourcery_yaml_schema.json @@ -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/sourcery_yaml_schema.json", "additionalProperties": false, "definitions": { "RuleType": { @@ -196,7 +197,7 @@ "properties": { "quality_threshold": { "title": "Quality Threshold", - "default": 25.0, + "default": 25, "type": "number" } }, @@ -305,7 +306,6 @@ "additionalProperties": false } }, - "id": "https://json.schemastore.org/sourcery_yaml_schema.json", "properties": { "version": { "title": "Version", diff --git a/src/schemas/json/specif-1.0.json b/src/schemas/json/specif-1.0.json index a2de3179d98..919d4d48d24 100644 --- a/src/schemas/json/specif-1.0.json +++ b/src/schemas/json/specif-1.0.json @@ -1,5 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://specif.de/v1.0/schema#", "definitions": { "id": { "description": "A globally unique identifier.", @@ -205,7 +206,6 @@ } }, "description": "The Specification Integration Facility (SpecIF) integrates partial system models from different methods and tools in a semantic net. Collaborators shall browse, search and audit engineering results in a common context. Also, the exchange of model information between organizations and tools is facilitated. SpecIF represents the visible, i.e. the diagrams and the text, as well as the semantics of system specifications.", - "id": "http://specif.de/v1.0/schema#", "properties": { "$schema": { "type": "string", @@ -337,7 +337,7 @@ "type": "string", "title": "Data-type 'Integer'", "description": "The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.", - "enum": ["xs:integer"] + "const": "xs:integer" }, "id": { "$ref": "#/definitions/id" @@ -381,7 +381,7 @@ "type": "string", "title": "Data-type 'Double'", "description": "The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.", - "enum": ["xs:double"] + "const": "xs:double" }, "id": { "$ref": "#/definitions/id" @@ -471,7 +471,7 @@ "type": "string", "title": "Data-type 'Enumeration'", "description": "The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.", - "enum": ["xs:enumeration"] + "const": "xs:enumeration" }, "id": { "$ref": "#/definitions/id" diff --git a/src/schemas/json/sprite.json b/src/schemas/json/sprite.json index d90a5e3c9d7..d58d3363578 100644 --- a/src/schemas/json/sprite.json +++ b/src/schemas/json/sprite.json @@ -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/sprite.json", "description": "Schema for image sprite generation files", - "id": "https://json.schemastore.org/sprite.json", "properties": { "customstyles": { "description": "Define custom CSS declarations to inject into the generated stylesheet.", diff --git a/src/schemas/json/stale.json b/src/schemas/json/stale.json index 64a61c8349d..8d509836376 100644 --- a/src/schemas/json/stale.json +++ b/src/schemas/json/stale.json @@ -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/stale.json", "$comment": "https://probot.github.io/apps/stale/", "$ref": "#/definitions/configuration", "definitions": { @@ -88,7 +89,6 @@ } }, "description": "A GitHub app that closes abandoned issues and pull requests", - "id": "https://json.schemastore.org/stale.json", "properties": { "pulls": { "$ref": "#/definitions/configuration", diff --git a/src/schemas/json/staticwebapp.config.json b/src/schemas/json/staticwebapp.config.json index e1e462a325f..7b03cc57ea7 100644 --- a/src/schemas/json/staticwebapp.config.json +++ b/src/schemas/json/staticwebapp.config.json @@ -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/staticwebapp.config.json", "additionalProperties": false, "default": { "navigationFallback": { @@ -438,7 +439,6 @@ } }, "description": "Documentation: https://aka.ms/swa/config-schema", - "id": "https://json.schemastore.org/staticwebapp.config.json", "properties": { "$schema": { "type": "string", diff --git a/src/schemas/json/stylua.json b/src/schemas/json/stylua.json index 116312c0edb..ae9656b81f3 100644 --- a/src/schemas/json/stylua.json +++ b/src/schemas/json/stylua.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/stylua.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/stylua.json", "title": "Stylua Config", "description": "Configuration files for the Stylua formatter", "type": "object", diff --git a/src/schemas/json/taurus.json b/src/schemas/json/taurus.json index d50dd1f4cc4..578e933049a 100644 --- a/src/schemas/json/taurus.json +++ b/src/schemas/json/taurus.json @@ -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/taurus.json", "definitions": { "cli": { "type": "object", @@ -834,7 +835,7 @@ "properties": { "aggregator": { "type": "string", - "enum": ["consolidator"] + "const": "consolidator" }, "artifacts-dir": { "type": "string" @@ -887,7 +888,6 @@ "type": "string" } }, - "id": "https://json.schemastore.org/taurus.json", "properties": { "execution": { "$ref": "#/definitions/execution" diff --git a/src/schemas/json/templatesources.json b/src/schemas/json/templatesources.json index c7961e1e931..f3f681e5a02 100644 --- a/src/schemas/json/templatesources.json +++ b/src/schemas/json/templatesources.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/templatesources.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/templatesources.json", "properties": { "sources": { "description": "Includes information regarding all sources that have been added to SideWaffle.", diff --git a/src/schemas/json/testenvironments.json b/src/schemas/json/testenvironments.json index 1ceb7c61958..d93692810be 100644 --- a/src/schemas/json/testenvironments.json +++ b/src/schemas/json/testenvironments.json @@ -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/testenvironments.json", "definitions": { "config": { "required": ["name", "type"], @@ -32,7 +33,7 @@ "docker": { "properties": { "type": { - "enum": ["docker"] + "const": "docker" } }, "oneOf": [ @@ -60,7 +61,7 @@ "required": ["wslDistribution"], "properties": { "type": { - "enum": ["wsl"] + "const": "wsl" }, "wslDistribution": { "type": "string", @@ -72,7 +73,7 @@ "required": ["remoteUri"], "properties": { "type": { - "enum": ["ssh"] + "const": "ssh" }, "remoteUri": { "type": "string", @@ -84,7 +85,7 @@ "required": ["remoteUri"], "properties": { "type": { - "enum": ["remote"] + "const": "remote" }, "remoteUri": { "type": "string", @@ -93,7 +94,6 @@ } } }, - "id": "https://json.schemastore.org/testenvironments.json", "properties": { "version": { "type": "string" diff --git a/src/schemas/json/tizen_workspace.json b/src/schemas/json/tizen_workspace.json index 21c0af837c3..0030c6b3a75 100644 --- a/src/schemas/json/tizen_workspace.json +++ b/src/schemas/json/tizen_workspace.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/tizen_workspace.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/tizen_workspace.json", "properties": { "auto_gen_build_files": { "type": "boolean" diff --git a/src/schemas/json/tmuxinator.json b/src/schemas/json/tmuxinator.json index f2763f7dc9d..8a872ba4dc8 100644 --- a/src/schemas/json/tmuxinator.json +++ b/src/schemas/json/tmuxinator.json @@ -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/tmuxinator.json", "additionalProperties": false, - "id": "https://json.schemastore.org/tmuxinator.json", "properties": { "defaults": { "type": "object" diff --git a/src/schemas/json/toolinfo.1.1.0.json b/src/schemas/json/toolinfo.1.1.0.json index 4ab6cdf0131..c9e193d1c1a 100644 --- a/src/schemas/json/toolinfo.1.1.0.json +++ b/src/schemas/json/toolinfo.1.1.0.json @@ -1,5 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://tools.wmflabs.org/toolhub/schema/1.1.0", "authors": ["Hay Kranen", "James Hare"], "definitions": { "tool": { @@ -109,7 +110,7 @@ }, { "type": "string", - "enum": ["*"] + "const": "*" } ], "default": "en", @@ -246,7 +247,6 @@ } }, "description": "A tool is a piece of software that helps facilitate contribution toward, or consumption of, Wikimedia projects and associated data, not including the core wiki software and its extensions", - "id": "https://tools.wmflabs.org/toolhub/schema/1.1.0", "oneOf": [ { "type": "array", diff --git a/src/schemas/json/travis.json b/src/schemas/json/travis.json index d47f864366b..7256db5d755 100644 --- a/src/schemas/json/travis.json +++ b/src/schemas/json/travis.json @@ -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/travis.json", "allOf": [ { "$ref": "#/definitions/job" @@ -802,7 +803,7 @@ "mono": { "oneOf": [ { - "enum": ["none"] + "const": "none" }, { "type": "array", @@ -1117,7 +1118,7 @@ "artifacts": { "oneOf": [ { - "enum": [true] + "const": true }, { "type": "object", @@ -1377,7 +1378,7 @@ "cache": { "oneOf": [ { - "enum": [false] + "const": false }, { "$ref": "#/definitions/cache" @@ -1474,7 +1475,7 @@ "default": 50 }, { - "enum": [false] + "const": false } ] }, @@ -1505,7 +1506,7 @@ }, { "type": "string", - "enum": ["input"] + "const": "input" } ], "description": "Specify handling of line endings when cloning repository" @@ -1645,7 +1646,7 @@ "type": "object", "properties": { "provider": { - "enum": ["script"] + "const": "script" }, "script": { "type": "string" @@ -1657,7 +1658,7 @@ "type": "object", "properties": { "provider": { - "enum": ["npm"] + "const": "npm" }, "email": { "$ref": "#/definitions/possiblySecretString" @@ -1685,7 +1686,7 @@ "type": "object", "properties": { "provider": { - "enum": ["surge"] + "const": "surge" }, "project": { "type": "string" @@ -1700,7 +1701,7 @@ "type": "object", "properties": { "provider": { - "enum": ["releases"] + "const": "releases" }, "api_key": { "$ref": "#/definitions/possiblySecretString" @@ -1739,7 +1740,7 @@ "description": "deploy to heroku, to see https://docs.travis-ci.com/user/deployment/heroku/", "properties": { "provider": { - "enum": ["heroku"] + "const": "heroku" }, "api_key": { "description": "heroku auth token", @@ -1799,7 +1800,7 @@ "type": "object", "properties": { "provider": { - "enum": ["s3"] + "const": "s3" }, "access_key_id": { "$ref": "#/definitions/possiblySecretString" @@ -2267,6 +2268,5 @@ ] } }, - "id": "https://json.schemastore.org/travis.json", "title": "JSON schema for Travis CI configuration files" } diff --git a/src/schemas/json/tsconfig.json b/src/schemas/json/tsconfig.json index bc573e5501c..a9c0320a296 100644 --- a/src/schemas/json/tsconfig.json +++ b/src/schemas/json/tsconfig.json @@ -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/tsconfig", "$comment": "Note that this schema uses 'null' in various places. The value of 'null' is UNDOCUMENTED (https://github.com/microsoft/TypeScript/pull/18058)", "allowTrailingCommas": true, "allOf": [ @@ -1525,7 +1526,6 @@ } } }, - "id": "https://json.schemastore.org/tsconfig", "title": "JSON schema for the TypeScript compiler's configuration file", "type": "object" } diff --git a/src/schemas/json/tsd.json b/src/schemas/json/tsd.json index 55972102cb8..62a325f5ebb 100644 --- a/src/schemas/json/tsd.json +++ b/src/schemas/json/tsd.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/tsd.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/tsd.json", "properties": { "bundle": { "description": "Path to a '.d.ts' bundle file (see below). Change this if you want the bundle to be closer to the actual source files. TSD will create the appropriate relative paths.", diff --git a/src/schemas/json/tsdrc.json b/src/schemas/json/tsdrc.json index b9aef5a573b..4bef3277431 100644 --- a/src/schemas/json/tsdrc.json +++ b/src/schemas/json/tsdrc.json @@ -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/tsdrc.json", "additionalProperties": true, - "id": "https://json.schemastore.org/tsdrc.json", "properties": { "strictSSL": { "type": "boolean", diff --git a/src/schemas/json/tsoa.json b/src/schemas/json/tsoa.json index d4e8f04862f..c4331bb995b 100644 --- a/src/schemas/json/tsoa.json +++ b/src/schemas/json/tsoa.json @@ -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/tsoa", "allOf": [ { "$ref": "tsconfig#/definitions/compilerOptionsDefinition" @@ -205,8 +206,8 @@ "type": "string" }, "type": { - "enum": ["apiKey"], - "type": "string" + "type": "string", + "const": "apiKey" } }, "type": "object" @@ -217,8 +218,8 @@ "type": "string" }, "type": { - "enum": ["basic"], - "type": "string" + "type": "string", + "const": "basic" } }, "type": "object" @@ -229,12 +230,12 @@ "type": "string" }, "scheme": { - "enum": ["basic"], - "type": "string" + "type": "string", + "const": "basic" }, "type": { - "enum": ["http"], - "type": "string" + "type": "string", + "const": "http" } }, "type": "object" @@ -259,8 +260,8 @@ "type": "string" }, "flow": { - "enum": ["accessCode"], - "type": "string" + "type": "string", + "const": "accessCode" }, "scopes": { "$ref": "#/definitions/Swagger.OAuthScope" @@ -269,8 +270,8 @@ "type": "string" }, "type": { - "enum": ["oauth2"], - "type": "string" + "type": "string", + "const": "oauth2" } }, "type": "object" @@ -281,8 +282,8 @@ "type": "string" }, "flow": { - "enum": ["application"], - "type": "string" + "type": "string", + "const": "application" }, "scopes": { "$ref": "#/definitions/Swagger.OAuthScope" @@ -291,8 +292,8 @@ "type": "string" }, "type": { - "enum": ["oauth2"], - "type": "string" + "type": "string", + "const": "oauth2" } }, "type": "object" @@ -306,15 +307,15 @@ "type": "string" }, "flow": { - "enum": ["implicit"], - "type": "string" + "type": "string", + "const": "implicit" }, "scopes": { "$ref": "#/definitions/Swagger.OAuthScope" }, "type": { - "enum": ["oauth2"], - "type": "string" + "type": "string", + "const": "oauth2" } }, "type": "object" @@ -325,8 +326,8 @@ "type": "string" }, "flow": { - "enum": ["password"], - "type": "string" + "type": "string", + "const": "password" }, "scopes": { "$ref": "#/definitions/Swagger.OAuthScope" @@ -335,8 +336,8 @@ "type": "string" }, "type": { - "enum": ["oauth2"], - "type": "string" + "type": "string", + "const": "oauth2" } }, "type": "object" @@ -350,8 +351,8 @@ "$ref": "#/definitions/Swagger.OAuthFlow" }, "type": { - "enum": ["oauth2"], - "type": "string" + "type": "string", + "const": "oauth2" } }, "type": "object" @@ -412,7 +413,6 @@ } }, "description": "JSON Schema for the tsoa configuration file", - "id": "https://json.schemastore.org/tsoa", "title": "tsoa", "type": "object" } diff --git a/src/schemas/json/typings.json b/src/schemas/json/typings.json index fcb7f6b9d6a..e670f447852 100644 --- a/src/schemas/json/typings.json +++ b/src/schemas/json/typings.json @@ -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/typings.json", "additionalProperties": true, - "id": "https://json.schemastore.org/typings.json", "properties": { "main": { "description": "The entry point to the definition (canonical to `\"main\"` in NPM's `package.json`).", diff --git a/src/schemas/json/typingsrc.json b/src/schemas/json/typingsrc.json index 3512523a773..1ae6e88a446 100644 --- a/src/schemas/json/typingsrc.json +++ b/src/schemas/json/typingsrc.json @@ -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/typingsrc.json", "additionalProperties": true, - "id": "https://json.schemastore.org/typingsrc.json", "properties": { "ca": { "type": ["array", "string"], diff --git a/src/schemas/json/ubuntu-server-autoinstall.json b/src/schemas/json/ubuntu-server-autoinstall.json index db9274d91eb..33e3b93b724 100644 --- a/src/schemas/json/ubuntu-server-autoinstall.json +++ b/src/schemas/json/ubuntu-server-autoinstall.json @@ -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/ubuntu-server-autoinstall.json", "description": "Settings file for Ubuntu Autoinstall", - "id": "https://json.schemastore.org/ubuntu-server-autoinstall.json", "properties": { "autoinstall": { "type": "object", diff --git a/src/schemas/json/uproject.json b/src/schemas/json/uproject.json index d6f18091eb6..877ac3b5dd1 100644 --- a/src/schemas/json/uproject.json +++ b/src/schemas/json/uproject.json @@ -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/uproject.json", "additionalProperties": false, "definitions": { "BuildConfiguration": { @@ -230,7 +231,6 @@ } }, "description": "Descriptor for projects. Contains all the information contained within a .uproject file.", - "id": "https://json.schemastore.org/uproject.json", "markdownDescription": "Descriptor for projects. Contains all the information contained within a `.uproject` file.", "properties": { "AdditionalPluginDirectories": { diff --git a/src/schemas/json/vega-lite.json b/src/schemas/json/vega-lite.json index 8627af49ad8..6c083979b87 100644 --- a/src/schemas/json/vega-lite.json +++ b/src/schemas/json/vega-lite.json @@ -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/vega-lite.json", "$ref": "#/definitions/TopLevelExtendedSpec", "definitions": { "Aggregate": { @@ -147,12 +148,12 @@ "type": "boolean" }, { - "enum": ["parity"], - "type": "string" + "type": "string", + "const": "parity" }, { - "enum": ["greedy"], - "type": "string" + "type": "string", + "const": "greedy" } ], "description": "The strategy to use for resolving overlap of axis labels. If `false` (the default), no overlap reduction is attempted. If set to `true` or `\"parity\"`, a strategy of removing every other label is used (this works well for standard linear axes). If set to `\"greedy\"`, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).\n\n__Default value:__ `true` for non-nominal fields with non-log scales; `\"greedy\"` for log scales; otherwise `false`." @@ -317,12 +318,12 @@ "type": "boolean" }, { - "enum": ["parity"], - "type": "string" + "type": "string", + "const": "parity" }, { - "enum": ["greedy"], - "type": "string" + "type": "string", + "const": "greedy" } ], "description": "The strategy to use for resolving overlap of axis labels. If `false` (the default), no overlap reduction is attempted. If set to `true` or `\"parity\"`, a strategy of removing every other label is used (this works well for standard linear axes). If set to `\"greedy\"`, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).\n\n__Default value:__ `true` for non-nominal fields with non-log scales; `\"greedy\"` for log scales; otherwise `false`." @@ -1250,8 +1251,8 @@ }, "invalidValues": { "description": "Defines how Vega-Lite should handle invalid values (`null` and `NaN`).\n- If set to `\"filter\"` (default), all data items with null values are filtered.\n- If `null`, all data items are included. In this case, invalid values will be interpreted as zeroes.", - "enum": ["filter"], - "type": "string" + "type": "string", + "const": "filter" }, "legend": { "$ref": "#/definitions/LegendConfig", @@ -1338,8 +1339,8 @@ "parse": { "anyOf": [ { - "enum": ["auto"], - "type": "string" + "type": "string", + "const": "auto" }, { "type": "object" @@ -1387,8 +1388,8 @@ "parse": { "anyOf": [ { - "enum": ["auto"], - "type": "string" + "type": "string", + "const": "auto" }, { "type": "object" @@ -2667,8 +2668,8 @@ "properties": { "bind": { "description": "Establishes a two-way binding between the interval selection and the scales\nused within the same view. This allows a user to interactively pan and\nzoom the view.", - "enum": ["scales"], - "type": "string" + "type": "string", + "const": "scales" }, "empty": { "description": "By default, all data values are considered to lie within an empty selection.\nWhen set to `none`, empty selections contain no data values.", @@ -2706,8 +2707,8 @@ "type": ["string", "boolean"] }, "type": { - "enum": ["interval"], - "type": "string" + "type": "string", + "const": "interval" }, "zoom": { "description": "When truthy, allows a user to interactively resize an interval selection.\nCan be `true`, `false` (to disable zooming), or a [Vega event stream\ndefinition](https://vega.github.io/vega/docs/event-streams/). Currently,\nonly `wheel` events are supported.\n\n\n__Default value:__ `true`, which corresponds to `wheel!`.", @@ -2722,8 +2723,8 @@ "properties": { "bind": { "description": "Establishes a two-way binding between the interval selection and the scales\nused within the same view. This allows a user to interactively pan and\nzoom the view.", - "enum": ["scales"], - "type": "string" + "type": "string", + "const": "scales" }, "empty": { "description": "By default, all data values are considered to lie within an empty selection.\nWhen set to `none`, empty selections contain no data values.", @@ -2773,8 +2774,8 @@ "parse": { "anyOf": [ { - "enum": ["auto"], - "type": "string" + "type": "string", + "const": "auto" }, { "type": "object" @@ -2788,8 +2789,8 @@ }, "type": { "description": "Type of input data: `\"json\"`, `\"csv\"`, `\"tsv\"`.\nThe default format type is determined by the extension of the file URL.\nIf no extension is detected, `\"json\"` will be used by default.", - "enum": ["json"], - "type": "string" + "type": "string", + "const": "json" } }, "type": "object" @@ -3745,8 +3746,8 @@ "type": ["string", "boolean"] }, "type": { - "enum": ["multi"], - "type": "string" + "type": "string", + "const": "multi" } }, "required": ["type"], @@ -4251,8 +4252,8 @@ "type": "array" }, { - "enum": ["unaggregated"], - "type": "string" + "type": "string", + "const": "unaggregated" }, { "$ref": "#/definitions/SelectionDomain" @@ -4737,8 +4738,8 @@ "description": "With layered and multi-view displays, a strategy that determines how\nselections' data queries are resolved when applied in a filter transform,\nconditional encoding rule, or scale domain." }, "type": { - "enum": ["single"], - "type": "string" + "type": "string", + "const": "single" } }, "required": ["type"], @@ -4834,12 +4835,12 @@ "SortOrder": { "anyOf": [ { - "enum": ["ascending"], - "type": "string" + "type": "string", + "const": "ascending" }, { - "enum": ["descending"], - "type": "string" + "type": "string", + "const": "descending" }, { "type": "null" @@ -5853,8 +5854,8 @@ "parse": { "anyOf": [ { - "enum": ["auto"], - "type": "string" + "type": "string", + "const": "auto" }, { "type": "object" @@ -5864,8 +5865,8 @@ }, "type": { "description": "Type of input data: `\"json\"`, `\"csv\"`, `\"tsv\"`.\nThe default format type is determined by the extension of the file URL.\nIf no extension is detected, `\"json\"` will be used by default.", - "enum": ["topojson"], - "type": "string" + "type": "string", + "const": "topojson" } }, "type": "object" @@ -5958,8 +5959,8 @@ }, "invalidValues": { "description": "Defines how Vega-Lite should handle invalid values (`null` and `NaN`).\n- If set to `\"filter\"` (default), all data items with null values are filtered.\n- If `null`, all data items are included. In this case, invalid values will be interpreted as zeroes.", - "enum": ["filter"], - "type": "string" + "type": "string", + "const": "filter" }, "numberFormat": { "description": "D3 Number format for axis labels and text tables. For example \"s\" for SI units. Use [D3's number format pattern](https://github.com/d3/d3-format#locale_format).", @@ -6092,12 +6093,12 @@ "type": "boolean" }, { - "enum": ["parity"], - "type": "string" + "type": "string", + "const": "parity" }, { - "enum": ["greedy"], - "type": "string" + "type": "string", + "const": "greedy" } ], "description": "The strategy to use for resolving overlap of axis labels. If `false` (the default), no overlap reduction is attempted. If set to `true` or `\"parity\"`, a strategy of removing every other label is used (this works well for standard linear axes). If set to `\"greedy\"`, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).\n\n__Default value:__ `true` for non-nominal fields with non-log scales; `\"greedy\"` for log scales; otherwise `false`." @@ -6220,12 +6221,12 @@ "type": "boolean" }, { - "enum": ["parity"], - "type": "string" + "type": "string", + "const": "parity" }, { - "enum": ["greedy"], - "type": "string" + "type": "string", + "const": "greedy" } ], "description": "The strategy to use for resolving overlap of axis labels. If `false` (the default), no overlap reduction is attempted. If set to `true` or `\"parity\"`, a strategy of removing every other label is used (this works well for standard linear axes). If set to `\"greedy\"`, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).\n\n__Default value:__ `true` for non-nominal fields with non-log scales; `\"greedy\"` for log scales; otherwise `false`." @@ -6346,8 +6347,8 @@ "type": "string" }, "input": { - "enum": ["checkbox"], - "type": "string" + "type": "string", + "const": "checkbox" } }, "required": ["input"], @@ -6686,8 +6687,8 @@ "type": "string" }, "input": { - "enum": ["radio"], - "type": "string" + "type": "string", + "const": "radio" }, "options": { "items": { @@ -6706,8 +6707,8 @@ "type": "string" }, "input": { - "enum": ["range"], - "type": "string" + "type": "string", + "const": "range" }, "max": { "type": "number" @@ -6748,8 +6749,8 @@ "type": "string" }, "input": { - "enum": ["select"], - "type": "string" + "type": "string", + "const": "select" }, "options": { "items": { @@ -6875,6 +6876,5 @@ }, "type": "object" } - }, - "id": "https://json.schemastore.org/vega-lite.json" + } } diff --git a/src/schemas/json/vega.json b/src/schemas/json/vega.json index 9c77e422f82..899636d8220 100644 --- a/src/schemas/json/vega.json +++ b/src/schemas/json/vega.json @@ -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/vega.json", "allOf": [ { "$ref": "#/defs/scope" @@ -233,7 +234,7 @@ "type": "object", "properties": { "input": { - "enum": ["checkbox"] + "const": "checkbox" }, "element": { "$ref": "#/refs/element" @@ -267,7 +268,7 @@ "type": "object", "properties": { "input": { - "enum": ["range"] + "const": "range" }, "element": { "$ref": "#/refs/element" @@ -331,12 +332,12 @@ { "properties": { "type": { - "enum": ["json"] + "const": "json" }, "parse": { "oneOf": [ { - "enum": ["auto"] + "const": "auto" }, { "type": "object", @@ -371,7 +372,7 @@ "parse": { "oneOf": [ { - "enum": ["auto"] + "const": "auto" }, { "type": "object", @@ -395,7 +396,7 @@ { "properties": { "type": { - "enum": ["dsv"] + "const": "dsv" }, "delimiter": { "type": "string" @@ -403,7 +404,7 @@ "parse": { "oneOf": [ { - "enum": ["auto"] + "const": "auto" }, { "type": "object", @@ -429,7 +430,7 @@ { "properties": { "type": { - "enum": ["topojson"] + "const": "topojson" }, "feature": { "type": "string" @@ -443,7 +444,7 @@ { "properties": { "type": { - "enum": ["topojson"] + "const": "topojson" }, "mesh": { "type": "string" @@ -1416,7 +1417,7 @@ { "properties": { "type": { - "enum": ["group"] + "const": "group" } }, "required": ["type"] @@ -1450,7 +1451,7 @@ "not": { "properties": { "type": { - "enum": ["group"] + "const": "group" } } } @@ -1880,7 +1881,7 @@ { "properties": { "type": { - "enum": ["ordinal"] + "const": "ordinal" }, "range": { "oneOf": [ @@ -1959,7 +1960,7 @@ { "properties": { "type": { - "enum": ["band"] + "const": "band" }, "range": { "oneOf": [ @@ -2030,7 +2031,7 @@ { "properties": { "type": { - "enum": ["point"] + "const": "point" }, "range": { "oneOf": [ @@ -2098,7 +2099,7 @@ { "properties": { "type": { - "enum": ["sequential"] + "const": "sequential" }, "range": { "oneOf": [ @@ -2311,7 +2312,7 @@ { "properties": { "type": { - "enum": ["identity"] + "const": "identity" }, "nice": { "$ref": "#/refs/booleanOrSignal" @@ -2536,7 +2537,7 @@ { "properties": { "type": { - "enum": ["log"] + "const": "log" }, "range": { "oneOf": [ @@ -2640,7 +2641,7 @@ { "properties": { "type": { - "enum": ["pow"] + "const": "pow" }, "range": { "oneOf": [ @@ -2744,7 +2745,7 @@ { "properties": { "type": { - "enum": ["bin-linear"] + "const": "bin-linear" }, "range": { "oneOf": [ @@ -2937,7 +2938,7 @@ "$ref": "#/defs/signalName" }, "push": { - "enum": ["outer"] + "const": "outer" }, "description": { "type": "string" @@ -3302,7 +3303,7 @@ "type": "object", "properties": { "type": { - "enum": ["aggregate"] + "const": "aggregate" }, "signal": { "type": "string" @@ -3464,7 +3465,7 @@ "type": "object", "properties": { "type": { - "enum": ["bin"] + "const": "bin" }, "signal": { "type": "string" @@ -3649,7 +3650,7 @@ "type": "object", "properties": { "type": { - "enum": ["collect"] + "const": "collect" }, "signal": { "type": "string" @@ -3665,7 +3666,7 @@ "type": "object", "properties": { "type": { - "enum": ["countpattern"] + "const": "countpattern" }, "signal": { "type": "string" @@ -3746,7 +3747,7 @@ "type": "object", "properties": { "type": { - "enum": ["cross"] + "const": "cross" }, "signal": { "type": "string" @@ -3785,7 +3786,7 @@ "type": "object", "properties": { "type": { - "enum": ["density"] + "const": "density" }, "signal": { "type": "string" @@ -3840,7 +3841,7 @@ "type": "object", "properties": { "function": { - "enum": ["normal"] + "const": "normal" }, "mean": { "anyOf": [ @@ -3871,7 +3872,7 @@ "type": "object", "properties": { "function": { - "enum": ["uniform"] + "const": "uniform" }, "min": { "anyOf": [ @@ -3902,7 +3903,7 @@ "type": "object", "properties": { "function": { - "enum": ["kde"] + "const": "kde" }, "field": { "oneOf": [ @@ -3938,7 +3939,7 @@ "type": "object", "properties": { "function": { - "enum": ["mixture"] + "const": "mixture" }, "distributions": { "oneOf": [ @@ -4006,7 +4007,7 @@ "type": "object", "properties": { "type": { - "enum": ["extent"] + "const": "extent" }, "signal": { "type": "string" @@ -4032,7 +4033,7 @@ "type": "object", "properties": { "type": { - "enum": ["filter"] + "const": "filter" }, "signal": { "type": "string" @@ -4048,7 +4049,7 @@ "type": "object", "properties": { "type": { - "enum": ["fold"] + "const": "fold" }, "signal": { "type": "string" @@ -4107,7 +4108,7 @@ "type": "object", "properties": { "type": { - "enum": ["formula"] + "const": "formula" }, "signal": { "type": "string" @@ -4143,7 +4144,7 @@ "type": "object", "properties": { "type": { - "enum": ["impute"] + "const": "impute" }, "signal": { "type": "string" @@ -4228,7 +4229,7 @@ "type": "object", "properties": { "type": { - "enum": ["joinaggregate"] + "const": "joinaggregate" }, "signal": { "type": "string" @@ -4369,7 +4370,7 @@ "type": "object", "properties": { "type": { - "enum": ["lookup"] + "const": "lookup" }, "signal": { "type": "string" @@ -4465,7 +4466,7 @@ "type": "object", "properties": { "type": { - "enum": ["project"] + "const": "project" }, "signal": { "type": "string" @@ -4524,7 +4525,7 @@ "type": "object", "properties": { "type": { - "enum": ["sample"] + "const": "sample" }, "signal": { "type": "string" @@ -4548,7 +4549,7 @@ "type": "object", "properties": { "type": { - "enum": ["sequence"] + "const": "sequence" }, "signal": { "type": "string" @@ -4592,7 +4593,7 @@ "type": "object", "properties": { "type": { - "enum": ["window"] + "const": "window" }, "signal": { "type": "string" @@ -4793,7 +4794,7 @@ "type": "object", "properties": { "type": { - "enum": ["identifier"] + "const": "identifier" }, "signal": { "type": "string" @@ -4816,7 +4817,7 @@ "type": "object", "properties": { "type": { - "enum": ["linkpath"] + "const": "linkpath" }, "signal": { "type": "string" @@ -4918,7 +4919,7 @@ "type": "object", "properties": { "type": { - "enum": ["pie"] + "const": "pie" }, "signal": { "type": "string" @@ -4998,7 +4999,7 @@ "type": "object", "properties": { "type": { - "enum": ["stack"] + "const": "stack" }, "signal": { "type": "string" @@ -5084,7 +5085,7 @@ "type": "object", "properties": { "type": { - "enum": ["contour"] + "const": "contour" }, "signal": { "type": "string" @@ -5225,7 +5226,7 @@ "type": "object", "properties": { "type": { - "enum": ["geojson"] + "const": "geojson" }, "signal": { "type": "string" @@ -5276,7 +5277,7 @@ "type": "object", "properties": { "type": { - "enum": ["geopath"] + "const": "geopath" }, "signal": { "type": "string" @@ -5316,7 +5317,7 @@ "type": "object", "properties": { "type": { - "enum": ["geopoint"] + "const": "geopoint" }, "signal": { "type": "string" @@ -5380,7 +5381,7 @@ "type": "object", "properties": { "type": { - "enum": ["geoshape"] + "const": "geoshape" }, "signal": { "type": "string" @@ -5421,7 +5422,7 @@ "type": "object", "properties": { "type": { - "enum": ["graticule"] + "const": "graticule" }, "signal": { "type": "string" @@ -5552,7 +5553,7 @@ "type": "object", "properties": { "type": { - "enum": ["force"] + "const": "force" }, "signal": { "type": "string" @@ -5639,7 +5640,7 @@ "type": "object", "properties": { "force": { - "enum": ["center"] + "const": "center" }, "x": { "anyOf": [ @@ -5669,7 +5670,7 @@ "type": "object", "properties": { "force": { - "enum": ["collide"] + "const": "collide" }, "radius": { "anyOf": [ @@ -5717,7 +5718,7 @@ "type": "object", "properties": { "force": { - "enum": ["nbody"] + "const": "nbody" }, "strength": { "anyOf": [ @@ -5770,7 +5771,7 @@ "type": "object", "properties": { "force": { - "enum": ["link"] + "const": "link" }, "links": { "type": "string" @@ -5840,7 +5841,7 @@ "type": "object", "properties": { "force": { - "enum": ["x"] + "const": "x" }, "strength": { "anyOf": [ @@ -5874,7 +5875,7 @@ "type": "object", "properties": { "force": { - "enum": ["y"] + "const": "y" }, "strength": { "anyOf": [ @@ -5936,7 +5937,7 @@ "type": "object", "properties": { "type": { - "enum": ["nest"] + "const": "nest" }, "signal": { "type": "string" @@ -5995,7 +5996,7 @@ "type": "object", "properties": { "type": { - "enum": ["pack"] + "const": "pack" }, "signal": { "type": "string" @@ -6092,7 +6093,7 @@ "type": "object", "properties": { "type": { - "enum": ["partition"] + "const": "partition" }, "signal": { "type": "string" @@ -6186,7 +6187,7 @@ "type": "object", "properties": { "type": { - "enum": ["stratify"] + "const": "stratify" }, "signal": { "type": "string" @@ -6225,7 +6226,7 @@ "type": "object", "properties": { "type": { - "enum": ["tree"] + "const": "tree" }, "signal": { "type": "string" @@ -6332,7 +6333,7 @@ "type": "object", "properties": { "type": { - "enum": ["treelinks"] + "const": "treelinks" }, "signal": { "type": "string" @@ -6358,7 +6359,7 @@ "type": "object", "properties": { "type": { - "enum": ["treemap"] + "const": "treemap" }, "signal": { "type": "string" @@ -6541,7 +6542,7 @@ "type": "object", "properties": { "type": { - "enum": ["voronoi"] + "const": "voronoi" }, "signal": { "type": "string" @@ -6630,7 +6631,7 @@ "type": "object", "properties": { "type": { - "enum": ["wordcloud"] + "const": "wordcloud" }, "signal": { "type": "string" @@ -6843,7 +6844,7 @@ "type": "object", "properties": { "type": { - "enum": ["crossfilter"] + "const": "crossfilter" }, "signal": { "type": "string" @@ -6890,7 +6891,7 @@ "type": "object", "properties": { "type": { - "enum": ["resolvefilter"] + "const": "resolvefilter" }, "signal": { "type": "string" @@ -6911,7 +6912,6 @@ "required": ["type", "ignore", "filter"] } }, - "id": "https://json.schemastore.org/vega.json", "refs": { "tickCount": { "oneOf": [ @@ -8185,7 +8185,7 @@ "type": "object", "properties": { "op": { - "enum": ["count"] + "const": "count" }, "order": { "$ref": "#/refs/sortOrder" @@ -8251,7 +8251,7 @@ "type": "object", "properties": { "op": { - "enum": ["count"] + "const": "count" }, "order": { "$ref": "#/refs/sortOrder" diff --git a/src/schemas/json/vs-2017.3.host.json b/src/schemas/json/vs-2017.3.host.json index ad14cd81409..135c8866f77 100644 --- a/src/schemas/json/vs-2017.3.host.json +++ b/src/schemas/json/vs-2017.3.host.json @@ -1,10 +1,10 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/vs-2017.3.host.json", "allOf": [ { "$ref": "ide.host.json" } ], - "id": "https://json.schemastore.org/vs-2017.3.host.json", "title": "JSON schema for IDE template host files" } diff --git a/src/schemas/json/vs-nesting.json b/src/schemas/json/vs-nesting.json index 887e5d51a10..ae6322791fe 100644 --- a/src/schemas/json/vs-nesting.json +++ b/src/schemas/json/vs-nesting.json @@ -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/vs-nesting.json", "definitions": { "fileExtension": { "pattern": "^\\.[^/\\\\]+$" @@ -85,7 +86,7 @@ } }, { - "enum": ["*"] + "const": "*" } ] } @@ -110,7 +111,7 @@ "$ref": "#/definitions/ext-ext" }, { - "enum": ["*"] + "const": "*" } ] } @@ -135,7 +136,7 @@ "$ref": "#/definitions/file-file" }, { - "enum": ["*"] + "const": "*" } ] } @@ -160,7 +161,7 @@ "$ref": "#/definitions/file-ext" }, { - "enum": ["*"] + "const": "*" } ] } @@ -199,7 +200,7 @@ }, { "type": "string", - "enum": ["*"] + "const": "*" } ] } @@ -208,7 +209,6 @@ } } }, - "id": "https://json.schemastore.org/vs-nesting.json", "properties": { "root": { "description": "Determines if this is the root nesting config file and no further inheritance is required.", @@ -234,7 +234,7 @@ "$ref": "#/definitions/providers" }, { - "enum": ["*"] + "const": "*" } ] } diff --git a/src/schemas/json/vsconfig.json b/src/schemas/json/vsconfig.json index 08592fc6cea..eb7722091be 100644 --- a/src/schemas/json/vsconfig.json +++ b/src/schemas/json/vsconfig.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/vsconfig.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/vsconfig.json", "properties": { "version": { "description": "The version of the component configuration file format.", diff --git a/src/schemas/json/vsext.json b/src/schemas/json/vsext.json index 1b567c4b26d..7cc19385f91 100644 --- a/src/schemas/json/vsext.json +++ b/src/schemas/json/vsext.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/vsext.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/vsext.json", "properties": { "id": { "description": "A unique identifier for the extension pack. This is to uniquely identify the extension pack and will not be shown to the user.", diff --git a/src/schemas/json/vsix-manifestinjection.json b/src/schemas/json/vsix-manifestinjection.json index 9f7f104374c..a7a5b604e05 100644 --- a/src/schemas/json/vsix-manifestinjection.json +++ b/src/schemas/json/vsix-manifestinjection.json @@ -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/vsix-manifestinjection.json", "definitions": { "fileAssociation": { "required": ["extension", "progId"], @@ -129,7 +130,6 @@ } } }, - "id": "https://json.schemastore.org/vsix-manifestinjection.json", "properties": { "fileAssociations": { "description": "A list of file associations (protocol handlers).", diff --git a/src/schemas/json/vsix-publish.json b/src/schemas/json/vsix-publish.json index b3d34463a62..fe46445c500 100644 --- a/src/schemas/json/vsix-publish.json +++ b/src/schemas/json/vsix-publish.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/vsix-publish.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/vsix-publish.json", "properties": { "identity": { "type": "object", diff --git a/src/schemas/json/vsls.json b/src/schemas/json/vsls.json index a850b7cddc0..5f32d2904d6 100644 --- a/src/schemas/json/vsls.json +++ b/src/schemas/json/vsls.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/vsls.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/vsls.json", "properties": { "excludeFiles": { "description": "An array of globs which indicate the files that should be completely unavailable to guests when you share (e.g. secrets).", diff --git a/src/schemas/json/web-manifest-app-info.json b/src/schemas/json/web-manifest-app-info.json index e23eb8bbebf..bc7a4128003 100644 --- a/src/schemas/json/web-manifest-app-info.json +++ b/src/schemas/json/web-manifest-app-info.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/web-manifest-app-info.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/web-manifest-app-info.json", "properties": { "categories": { "description": "Describes the expected application categories to which the web application belongs.", diff --git a/src/schemas/json/web-manifest-combined.json b/src/schemas/json/web-manifest-combined.json index 3243289346f..359072a8c9e 100644 --- a/src/schemas/json/web-manifest-combined.json +++ b/src/schemas/json/web-manifest-combined.json @@ -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/web-manifest-combined.json", "allOf": [ { "$ref": "web-manifest.json" @@ -11,6 +12,5 @@ "$ref": "web-manifest-share-target.json" } ], - "id": "https://json.schemastore.org/web-manifest-combined.json", "title": "JSON schema for Web Application manifest files" } diff --git a/src/schemas/json/web-manifest-share-target.json b/src/schemas/json/web-manifest-share-target.json index 45835ee63c2..decfd5f9adf 100644 --- a/src/schemas/json/web-manifest-share-target.json +++ b/src/schemas/json/web-manifest-share-target.json @@ -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/web-manifest-share-target.json", "definitions": { "share_target": { "type": "object", @@ -93,7 +94,6 @@ "required": ["name", "accept"] } }, - "id": "https://json.schemastore.org/web-manifest-share-target.json", "properties": { "share_target": { "$ref": "#/definitions/share_target", diff --git a/src/schemas/json/web-manifest.json b/src/schemas/json/web-manifest.json index c60d5926e18..3ef0f72af13 100644 --- a/src/schemas/json/web-manifest.json +++ b/src/schemas/json/web-manifest.json @@ -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/web-manifest.json", "definitions": { "manifest_image_resource": { "type": "object", @@ -12,7 +13,7 @@ "pattern": "^[0-9 x]+$" }, { - "enum": ["any"] + "const": "any" } ] }, @@ -118,7 +119,6 @@ "required": ["name", "url"] } }, - "id": "https://json.schemastore.org/web-manifest.json", "properties": { "background_color": { "description": "The background_color member describes the expected background color of the web application.", diff --git a/src/schemas/json/web-types.json b/src/schemas/json/web-types.json index f3633a1d84b..2bf14b65a8b 100644 --- a/src/schemas/json/web-types.json +++ b/src/schemas/json/web-types.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/web-types.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/web-types.json", "title": "JSON schema for Web-Types", "type": "object", "properties": { @@ -66,7 +66,7 @@ "js-types-syntax": { "description": "Language in which JavaScript objects types are specified.", "type": "string", - "enum": ["typescript"] + "const": "typescript" }, "description-markup": { "description": "Markup language in which descriptions are formatted.", diff --git a/src/schemas/json/webjob-publish-settings.json b/src/schemas/json/webjob-publish-settings.json index e134cbb8364..bb1c997d8da 100644 --- a/src/schemas/json/webjob-publish-settings.json +++ b/src/schemas/json/webjob-publish-settings.json @@ -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/webjob-publish-settings.json", "definitions": { "shared": { "properties": { @@ -44,8 +45,8 @@ "properties": { "runMode": { "type": "string", - "enum": ["Scheduled"], - "description": "Determines the run mode of the Azure Webjob. \n\n Triggered: manually triggered \n Scheduled: runs on a specific schedule \n Continuous: runs all the time" + "description": "Determines the run mode of the Azure Webjob. \n\n Triggered: manually triggered \n Scheduled: runs on a specific schedule \n Continuous: runs all the time", + "const": "Scheduled" } } }, @@ -65,7 +66,6 @@ } } }, - "id": "https://json.schemastore.org/webjob-publish-settings.json", "oneOf": [ { "$ref": "#/definitions/scheduled" diff --git a/src/schemas/json/webjobs-list.json b/src/schemas/json/webjobs-list.json index 9f9fd930aba..890ff5d3d97 100644 --- a/src/schemas/json/webjobs-list.json +++ b/src/schemas/json/webjobs-list.json @@ -1,6 +1,6 @@ { - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "https://json.schemastore.org/webjobs-list.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/webjobs-list.json", "properties": { "WebJobs": { "type": "array",