Skip to content

Commit 053939d

Browse files
authored
feat: add "x-tombi-toml-version". (SchemaStore#4330)
* feat: add "x-tombi-toml-version". * fix: test.
1 parent b0c1c45 commit 053939d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/schema-validation.jsonc

+2-1
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@
562562
"cargo.json": {
563563
"externalSchema": ["base.json"],
564564
"unknownFormat": ["uint32", "semver", "semver-requirement"],
565-
"unknownKeywords": ["x-taplo", "x-taplo-info"]
565+
"unknownKeywords": ["x-taplo", "x-taplo-info", "x-tombi-toml-version"]
566566
},
567567
"cheatsheets.json": {
568568
"externalSchema": ["base.json"]
@@ -1016,6 +1016,7 @@
10161016
"markdownDescription",
10171017
"x-taplo",
10181018
"x-taplo-info",
1019+
"x-tombi-toml-version",
10191020
"x-intellij-html-description",
10201021
"x-intellij-language-injection"
10211022
]

src/schemas/json/cargo.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://json.schemastore.org/cargo.json",
4+
"x-tombi-toml-version": "v1.0.0",
45
"definitions": {
56
"Build": {
67
"title": "Build",

src/schemas/json/pyproject.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://json.schemastore.org/pyproject.json",
44
"$comment": "there are multiple resources describing pyproject.toml. The canonical reference is at https://packaging.python.org/en/latest/specifications/declaring-project-metadata/, which refers to multiple proposals such as PEP 517, PEP 518 and PEP 621",
5+
"x-tombi-toml-version": "v1.0.0",
56
"additionalProperties": false,
67
"definitions": {
78
"projectAuthor": {

0 commit comments

Comments
 (0)