Skip to content

Commit

Permalink
Merge branch 'SchemaStore:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspar authored Jan 10, 2025
2 parents 57775ec + 9555e68 commit adef04c
Show file tree
Hide file tree
Showing 13 changed files with 255 additions and 93 deletions.
32 changes: 24 additions & 8 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -3207,7 +3207,7 @@
"fileMatch": [
"{.lefthook,lefthook,lefthook-local,.lefthook-local}.{yml,yaml,toml,json}"
],
"url": "https://json.schemastore.org/lefthook.json"
"url": "https://raw.githubusercontent.com/evilmartians/lefthook/master/schema.json"
},
{
"name": "lego.json",
Expand Down Expand Up @@ -3353,6 +3353,12 @@
"fileMatch": ["**/modules/*/metadata.json"],
"url": "https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main/metadata.schema.json"
},
{
"name": "Metatype Configuration",
"description": "Metatype configuration file",
"fileMatch": ["metatype.yml", "metatype.yaml"],
"url": "https://raw.githubusercontent.com/metatypedev/metatype/main/tools/schema/metatype.json"
},
{
"name": "MetricsHub Configuration",
"description": "MetricsHub configuration file",
Expand Down Expand Up @@ -5074,6 +5080,16 @@
"fileMatch": ["swagger.json"],
"url": "https://json.schemastore.org/swagger-2.0.json"
},
{
"name": "Synadia Connect Component",
"description": "Synadia Connect component definition",
"fileMatch": [
"**/.connect/scanners/*.yml",
"**/.connect/sources/*.yml",
"**/.connect/sinks/*.yml"
],
"url": "https://raw.githubusercontent.com/synadia-io/connect/main/schemas/component.json"
},
{
"name": "task.json",
"description": "VSCode Task file",
Expand Down Expand Up @@ -6566,7 +6582,7 @@
"url": "https://json.schemastore.org/mongodb-atlas-search-index-definition.json"
},
{
"name": "KoDE/CI build.yaml",
"name": "KODE/CI build.yaml",
"description": "yaml kode/ci build",
"fileMatch": ["**/.kode/*.yaml"],
"url": "https://json.schemastore.org/kode-ci-build-1.0.0.json"
Expand Down Expand Up @@ -7029,12 +7045,6 @@
"fileMatch": ["*.ksy"],
"url": "https://raw.githubusercontent.com/kaitai-io/ksy_schema/master/ksy_schema.json"
},
{
"name": "JSON-WF",
"description": "A blogroll interchange format",
"fileMatch": [],
"url": "https://www.json-wf.org.uk/json-wf-schema-1.0.json"
},
{
"name": "Cloud Foundry Application Manifest",
"description": "A manifest describes a Cloud Foundry application and can be used to deploy it to a Foundation",
Expand Down Expand Up @@ -7355,6 +7365,12 @@
"fileMatch": [".ctfd.yaml"],
"url": "https://json.schemastore.org/ctfd.json"
},
{
"name": "AMX Muse Program Descriptor",
"description": "A MUSE program descriptor file",
"fileMatch": [],
"url": "https://json.schemastore.org/amx-muse.json"
},
{
"name": "DonateCaseBetterCasino menu",
"description": "Configuration file for dcbc addon menus",
Expand Down
3 changes: 0 additions & 3 deletions src/negative_test/pyproject/poetry-invalid-package.toml

This file was deleted.

52 changes: 52 additions & 0 deletions src/schemas/json/amx-muse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/amx-muse.json",
"description": "A MUSE program descriptor file",
"additionalProperties": true,
"type": "object",
"properties": {
"id": {
"title": "Program ID",
"description": "Globally unique program ID, special characters are not allowed",
"type": "string",
"pattern": "^[a-zA-z0-9_-]+$"
},
"description": {
"title": "Program Description",
"description": "A description of the program that may be used by user interfaces",
"type": "string"
},
"disabled": {
"title": "Auto-start Disabled",
"description": "Disable the auto-start of the script on system boot",
"type": "boolean",
"default": false
},
"envvars": {
"title": "Environment Variables",
"description": "Name/Value pairs that can be used to set configuration of a program",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"scope": {
"title": "Program Scope",
"description": "The scope (location) to which the script belongs. Leave blank for global scope",
"type": "string",
"pattern": "^[a-zA-z0-9_\\.-]*$"
},
"provider": {
"title": "Programming Language",
"description": "The language the program is written in",
"enum": ["groovy", "javascript", "python"]
},
"script": {
"title": "Program File Name",
"description": "The file name of the main entry point of the program. Defaults to index.<extension>",
"type": "string",
"default": "index.{groovy,js,py}"
}
},
"required": ["id", "provider"]
}
114 changes: 69 additions & 45 deletions src/schemas/json/kode-ci-build-1.0.0.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/kode-ci-build-1.0.0.json",
"additionalProperties": false,
"definitions": {
"env": {
Expand Down Expand Up @@ -153,6 +154,36 @@
}
},
"additionalProperties": false
},
"schedule": {
"type": "object",
"description": "스케줄에 의한 조건",
"required": ["cron", "branches"],
"properties": {
"cron": {
"type": "string",
"description": "cron 표현식. unix 표현식과 quartz 표현식 사용가능"
},
"branches": {
"type": "array",
"items": {
"type": "string"
},
"description": "스케줄 빌드의 branch 조건",
"minItems": 1
},
"zone": {
"type": "string",
"default": ["Asia/Seoul"],
"description": "스케줄 빌드 zone"
},
"build-if-changed": {
"type": "boolean",
"default": true,
"description": "변경된 파일이 있을때만 빌드"
}
},
"additionalProperties": false
}
}
},
Expand Down Expand Up @@ -219,6 +250,7 @@
"items": {
"type": "object",
"additionalProperties": false,
"required": ["key", "path"],
"properties": {
"key": {
"type": "string",
Expand All @@ -228,6 +260,16 @@
"path": {
"type": "string",
"description": "캐시할 파일 혹은 디렉토리 경로"
},
"upload": {
"type": "boolean",
"description": "캐시 업로드 여부",
"default": true
},
"download": {
"type": "boolean",
"description": "캐시 다운로드 여부",
"default": true
}
}
}
Expand All @@ -249,16 +291,34 @@
"description": "빌드 후처리기 설정",
"additionalProperties": true,
"properties": {
"app-center-release": {
"$ref": "#/definitions/app-center-release"
},
"app-center-releases": {
"$ref": "#/definitions/app-center-releases"
},
"git-ops": {
"$ref": "#/definitions/git-ops"
}
}
},
"html-reports": {
"type": "array",
"description": "html report 설정. path 경로의 html 파일을 업로드",
"default": [],
"items": {
"type": "object",
"required": ["name", "path"],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "report 이름",
"pattern": "[a-zA-Z0-9_-]+"
},
"path": {
"type": "string",
"description": "report 경로. html 확장자만 지정 가능"
}
}
}
}
}
},
Expand Down Expand Up @@ -323,7 +383,7 @@
"default": [],
"items": {
"type": "string",
"enum": ["docker", "mobil-keystore"]
"const": "docker"
}
},
"platform": {
Expand Down Expand Up @@ -354,64 +414,28 @@
}
}
},
"app-center-release": {
"type": "object",
"description": "artifact로 지정된 .apk/.ipa 파일을 appcenter로 릴리즈",
"required": ["app-id", "release-group-tag"],
"additionalProperties": true,
"properties": {
"app-id": {
"type": "string",
"description": "App ID",
"pattern": "[a-zA-Z0-9_-]+"
},
"release-group-tag": {
"type": "string",
"description": "릴리즈 그룹에 대한 Tag 지정",
"pattern": "[a-zA-Z0-9_-]+"
},
"testers": {
"type": "array",
"description": "테스터 지정(@<user>, @@<group>, corp@@<corpcode>)",
"items": {
"type": "string",
"description": "@<user>, @@<group>, corp@@<corpcode>",
"pattern": "^(@[.a-zA-Z0-9_-]+|@@[.a-zA-Z0-9_-]+|corp@@[.a-zA-Z0-9_-]+)$"
}
}
}
},
"app-center-releases": {
"type": "array",
"description": "artifact로 지정된 .apk/.ipa 파일을 appcenter로 릴리즈",
"items": {
"type": "object",
"description": "appcenter release 설정",
"required": ["app-id", "release-group-tags"],
"required": ["app-id"],
"additionalProperties": false,
"properties": {
"app-id": {
"type": "string",
"description": "App ID",
"pattern": "[a-zA-Z0-9_-]+"
},
"release-group-tags": {
"tags": {
"type": "array",
"description": "릴리즈 그룹에 대한 Tag들을 지정",
"items": {
"type": "string",
"description": "릴리즈 그룹에 대한 Tag 값",
"pattern": "[a-zA-Z0-9_-]+"
}
},
"testers": {
"type": "array",
"description": "테스터 지정(@<user>, @@<group>, corp@@<corpcode>)",
"items": {
"type": "string",
"description": "@<user>, @@<group>, corp@@<corpcode>",
"pattern": "^(@[.a-zA-Z0-9_-]+|@@[.a-zA-Z0-9_-]+|corp@@[.a-zA-Z0-9_-]+)$"
}
}
}
}
Expand Down Expand Up @@ -463,7 +487,6 @@
}
}
},
"id": "https://json.schemastore.org/kode-ci-build-1.0.0.json",
"properties": {
"on": {
"$ref": "#/definitions/build-condition",
Expand All @@ -486,5 +509,6 @@
},
"required": ["jobs"],
"title": "KoDE/CI Build Spec",
"type": "object"
"type": "object",
"description": "KoDE/CI 빌드 스펙에 사용되는 yaml의 스키마를 정의"
}
Loading

0 comments on commit adef04c

Please sign in to comment.