Skip to content

Commit 3409df9

Browse files
authored
Add schema for Scarb manifest format (SchemaStore#5526)
1 parent 7a857fa commit 3409df9

4 files changed

Lines changed: 973 additions & 1 deletion

File tree

src/api/json/catalog.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5882,6 +5882,12 @@
58825882
"description": "Thing as defined by schema.org",
58835883
"url": "https://www.schemastore.org/schema-org-thing.json"
58845884
},
5885+
{
5886+
"name": "Scarb",
5887+
"description": "Scarb manifest file (Scarb.toml)",
5888+
"fileMatch": ["Scarb.toml"],
5889+
"url": "https://www.schemastore.org/scarb.json"
5890+
},
58855891
{
58865892
"name": "Scoop manifest",
58875893
"description": "Scoop bucket app manifest",

src/schema-validation.jsonc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@
313313
"specif-1.1.json",
314314
"ctfd.json",
315315
"zarf.json",
316-
"yamllint.json"
316+
"yamllint.json",
317+
"scarb.json"
317318
],
318319
"missingCatalogUrl": [
319320
// Below this line are subschemas that are included from other schema
@@ -1361,6 +1362,9 @@
13611362
"externalSchema": ["sarif-2.1.0.json", "sarif-2.1.0-rtm.5.json"],
13621363
"unknownKeywords": ["index"]
13631364
},
1365+
"scarb.json": {
1366+
"unknownFormat": ["uint"]
1367+
},
13641368
"schema-org-action.json": {
13651369
"externalSchema": ["schema-org-thing.json", "jsonld.json"]
13661370
},

0 commit comments

Comments
 (0)