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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,6 @@
"phrase.json",
"pre-commit-config.json",
"prisma.json",
"project-1.0.0-beta3.json",
"project-1.0.0-beta4.json",
"project-1.0.0-beta5.json",
"project-1.0.0-beta6.json",
"project-1.0.0-beta8.json",
"project-1.0.0-rc1.json",
"project-1.0.0-rc2.json",
"project.json",
"prometheus.json",
"putout.json",
"pyrseas-0.8.json",
Expand All @@ -153,7 +145,6 @@
"renovate-global-schema-43.json",
"renovate-inherited-schema-42.json",
"renovate-inherited-schema-43.json",
"sarif-1.0.0.json",
"sigmacv.json",
"size-limit.json",
"stylelintrc.json",
Expand Down Expand Up @@ -197,23 +188,6 @@
"partial-pyright.json",
"pep-723.json",
"pyproject.json",
"sarif-2.1.0-rtm.0.json",
"sarif-2.1.0-rtm.1.json",
"sarif-2.1.0-rtm.2.json",
"sarif-2.1.0-rtm.3.json",
"sarif-2.1.0-rtm.4.json",
"sarif-2.1.0-rtm.5.json",
"sarif-2.1.0-rtm.6.json",
"sarif-2.1.0.json",
"sarif-external-property-file-2.1.0-rtm.0.json",
"sarif-external-property-file-2.1.0-rtm.1.json",
"sarif-external-property-file-2.1.0-rtm.2.json",
"sarif-external-property-file-2.1.0-rtm.3.json",
"sarif-external-property-file-2.1.0-rtm.4.json",
"sarif-external-property-file-2.1.0-rtm.5.json",
"sarif-external-property-file-2.1.0.json",
"sarif-external-property-file.json",
"sarif.json",
"starlake.json",
"metaschema-draft-07-unofficial-strict.json",
"glazewm.json",
Expand Down
117 changes: 83 additions & 34 deletions src/schemas/json/project-1.0.0-beta3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/project-1.0.0-beta3.json",
"definitions": {
"compilationOptions": {
"type": "object",
Expand Down Expand Up @@ -54,28 +55,41 @@
"dependencies": {
"type": "object",
"additionalProperties": {
"type": ["string", "object"],
"properties": {
"version": {
"anyOf": [
{
"type": "string"
},
"type": {
"type": "string",
"default": "default",
"enum": ["default", "build"]
{
"type": "object",
"properties": {
"version": {
"type": "string"
},
"type": {
"type": "string",
"default": "default",
"enum": ["default", "build"]
}
}
}
}
]
}
},
"script": {
"type": ["string", "array"],
"items": {
"type": "string"
},
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"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",
Expand All @@ -86,18 +100,32 @@
},
"bundleExclude": {
"description": "List of files to exclude from publish output (kpm bundle).",
"type": ["string", "array"],
"items": {
"type": "string"
},
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": ""
},
"code": {
"description": "Glob pattern to specify all the code files that needs to be compiled. (data type: string or array with glob pattern(s)). Example: [ \"Folder1\\*.cs\", \"Folder2\\*.cs\" ]",
"type": ["string", "array"],
"items": {
"type": "string"
},
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": "**\\*.cs"
},
"commands": {
Expand Down Expand Up @@ -130,10 +158,17 @@
},
"exclude": {
"description": "Glob pattern to indicate all the code files to be excluded from compilation. (data type: string or array with glob pattern(s)).",
"type": ["string", "array"],
"items": {
"type": "string"
},
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": ["bin/**/*.*", "obj/**/*.*"]
},
"frameworks": {
Expand All @@ -149,10 +184,17 @@
},
"resources": {
"description": "Glob pattern to indicate all the files that need to be compiled as resources.",
"type": ["string", "array"],
"items": {
"type": "string"
},
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": "Compiler\\Resources\\**\\*.cs"
},
"scripts": {
Expand Down Expand Up @@ -184,10 +226,17 @@
},
"shared": {
"description": "Glob pattern to specify the code files to share with dependent projects. Example: [ \"Folder1\\*.cs\", \"Folder2\\*.cs\" ]",
"type": ["string", "array"],
"items": {
"type": "string"
},
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"default": "Compiler\\Shared\\**\\*.cs"
},
"version": {
Expand Down
Loading