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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 128 additions & 3 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,36 @@
"fileMatch": ["boyka-config.json"],
"url": "https://www.schemastore.org/boyka-config.json"
},
{
"name": "Breadkit board definition",
"description": "Board geometry and electrical strip definitions for Breadkit",
"fileMatch": ["*.bkboard.yml", "*.bkboard.yaml"],
"url": "https://breadkit.github.io/breadkit/schema/board-v1.json"
},
{
"name": "Breadkit circuit IR",
"description": "Resolved single-board Breadkit circuit interchange format",
"fileMatch": ["*.bkir.json"],
"url": "https://breadkit.github.io/breadkit/schema/ir-v1.json"
},
{
"name": "Breadkit circuit IR v2",
"description": "Resolved multi-board Breadkit circuit interchange format",
"fileMatch": ["*.bkir-v2.json"],
"url": "https://breadkit.github.io/breadkit/schema/ir-v2.json"
},
{
"name": "Breadkit lint results",
"description": "JSON results produced by the Breadkit circuit linter",
"fileMatch": ["*.bklint.json"],
"url": "https://breadkit.github.io/breadkit-lint/schemas/lint-v1.json"
},
{
"name": "Breadkit part definition",
"description": "Part pin, footprint, and rendering definitions for Breadkit",
"fileMatch": ["*.bkpart.yml", "*.bkpart.yaml"],
"url": "https://breadkit.github.io/breadkit/schema/part-v1.json"
},
{
"name": "BrickKit",
"description": "BrickKit project configuration (brickkit.yaml): declares components, install sources, deploy target and resource bindings",
Expand Down Expand Up @@ -10644,9 +10674,104 @@
},
{
"name": "moon.yml",
"description": "Moonrepo project configuration file",
"fileMatch": ["moon.yml"],
"url": "https://raw.githubusercontent.com/moonrepo/moon/master/website/static/schemas/project.json"
"description": "moon (moonrepo) project configuration file",
"fileMatch": [
"moon.yml",
"moon.yaml",
"moon.json",
"moon.jsonc",
"moon.toml"
],
"url": "https://moonrepo.dev/schemas/v2/project.json",
"versions": {
"1": "https://moonrepo.dev/schemas/v1/project.json",
"2": "https://moonrepo.dev/schemas/v2/project.json"
}
},
{
"name": "moon workspace",
"description": "moon (moonrepo) workspace configuration file",
"fileMatch": [
"**/.moon/workspace.yml",
"**/.moon/workspace.yaml",
"**/.moon/workspace.json",
"**/.moon/workspace.jsonc",
"**/.moon/workspace.toml",
"**/.config/moon/workspace.yml",
"**/.config/moon/workspace.yaml",
"**/.config/moon/workspace.json",
"**/.config/moon/workspace.jsonc",
"**/.config/moon/workspace.toml"
],
"url": "https://moonrepo.dev/schemas/v2/workspace.json",
"versions": {
"1": "https://moonrepo.dev/schemas/v1/workspace.json",
"2": "https://moonrepo.dev/schemas/v2/workspace.json"
}
},
{
"name": "moon toolchains",
"description": "moon (moonrepo) toolchains configuration file",
"fileMatch": [
"**/.moon/toolchains.yml",
"**/.moon/toolchains.yaml",
"**/.moon/toolchains.json",
"**/.moon/toolchains.jsonc",
"**/.moon/toolchains.toml",
"**/.config/moon/toolchains.yml",
"**/.config/moon/toolchains.yaml",
"**/.config/moon/toolchains.json",
"**/.config/moon/toolchains.jsonc",
"**/.config/moon/toolchains.toml"
],
"url": "https://moonrepo.dev/schemas/v2/toolchains.json"
},
{
"name": "moon extensions",
"description": "moon (moonrepo) extensions configuration file",
"fileMatch": [
"**/.moon/extensions.yml",
"**/.moon/extensions.yaml",
"**/.moon/extensions.json",
"**/.moon/extensions.jsonc",
"**/.moon/extensions.toml",
"**/.config/moon/extensions.yml",
"**/.config/moon/extensions.yaml",
"**/.config/moon/extensions.json",
"**/.config/moon/extensions.jsonc",
"**/.config/moon/extensions.toml"
],
"url": "https://moonrepo.dev/schemas/v2/extensions.json"
},
{
"name": "moon tasks",
"description": "moon (moonrepo) inherited tasks configuration file",
"fileMatch": [
"**/.moon/tasks/**/*.yml",
"**/.moon/tasks/**/*.yaml",
"**/.moon/tasks/**/*.json",
"**/.moon/tasks/**/*.jsonc",
"**/.moon/tasks/**/*.toml",
"**/.config/moon/tasks/**/*.yml",
"**/.config/moon/tasks/**/*.yaml",
"**/.config/moon/tasks/**/*.json",
"**/.config/moon/tasks/**/*.jsonc",
"**/.config/moon/tasks/**/*.toml"
],
"url": "https://moonrepo.dev/schemas/v2/tasks.json",
"versions": {
"1": "https://moonrepo.dev/schemas/v1/tasks.json",
"2": "https://moonrepo.dev/schemas/v2/tasks.json"
}
},
{
"name": "moon template",
"description": "moon (moonrepo) code generation template configuration file (template.yml)",
"url": "https://moonrepo.dev/schemas/v2/template.json",
"versions": {
"1": "https://moonrepo.dev/schemas/v1/template.json",
"2": "https://moonrepo.dev/schemas/v2/template.json"
}
},
{
"name": "WireMock stub mapping",
Expand Down
4 changes: 4 additions & 0 deletions src/negative_test/package/version-empty-string.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-empty-string",
"version": ""
}
6 changes: 0 additions & 6 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
"abc-clinical-demand-forecast-5.1.0.json",
"abc-supply-plan-14.1.0.json",
"abc-supply-plan-14.2.0.json",
"backportrc.json",
"behat.json",
"bootstraprc.json",
"bower.json",
"boyka-config.json",
"bukkit-plugin.json",
"bxci.schema-1.0.json",
"bxci.schema-1.0.1.json",
Expand All @@ -25,7 +22,6 @@
"dofigen.json",
"drone.json",
"drupal-recipe.json",
"electron-builder.json",
"esmrc.json",
"expo-37.0.0.json",
"expo-38.0.0.json",
Expand Down Expand Up @@ -53,7 +49,6 @@
"libman.json",
"lintstagedrc.schema.json",
"metricshub.json",
"metricshub-connector.json",
"minecraft-advancement.json",
"minecraft-biome.json",
"minecraft-dimension.json",
Expand Down Expand Up @@ -106,7 +101,6 @@
"metaschema-draft-07-unofficial-strict.json",
"glazewm.json",
"youtrack-app.json",
"cinnamon-spice-settings.json",
"podman-desktop-extension.json",
"podman-desktop-extension-1.27.json"
],
Expand Down
9 changes: 8 additions & 1 deletion src/schemas/json/behat.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@
"title": "Suite contexts",
"type": "array",
"items": {
"type": ["string", "object"]
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"uniqueItems": true
},
Expand Down
54 changes: 48 additions & 6 deletions src/schemas/json/bukkit-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@
},
"aliases": {
"description": "Alternate command names a user may use instead.",
"type": ["string", "array"]
"anyOf": [
{
"type": "string"
},
{
"type": "array"
}
]
},
"permission": {
"description": "The permission required to use the command.",
Expand Down Expand Up @@ -47,13 +54,27 @@
},
"children": {
"description": "Allows other permissions to be set as a relation to the parent permission.",
"type": ["array", "object"],
"anyOf": [
{
"type": "array"
},
{
"type": "object"
}
],
"items": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/definitions/permission",
"type": ["boolean", "object"],
"anyOf": [
{
"type": "boolean"
},
{
"type": "object"
}
],
"items": {
"type": "boolean"
}
Expand All @@ -62,7 +83,14 @@
}
},
"default-permission": {
"type": ["string", "boolean"],
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
}
],
"enum": [true, false, "op", "not op"],
"default": "op"
}
Expand All @@ -79,7 +107,14 @@
},
"version": {
"description": "A plugin revision identifier.",
"type": ["string", "number"]
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"description": {
"description": "Human readable plugin summary.",
Expand Down Expand Up @@ -168,7 +203,14 @@
},
"api-version": {
"description": "Gives the API version which this plugin is designed to support.",
"type": ["string", "number"],
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
],
"examples": ["1.13", "1.14", "1.15", "1.16"]
},
"libraries": {
Expand Down
Loading
Loading