Skip to content

Commit 3de0903

Browse files
committed
Update schema store
1 parent 419318b commit 3de0903

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"title":"Schema for AWS CDK context files (cdk.json)","$schema":"http://json-schema.org/draft-07/schema","type":"object","properties":{"app":{"type":"string","minLength":1},"context":{"type":"object","additionalProperties":{"type":"boolean"},"propertyNames":{"type":"string","enum":["@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver","@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId","@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021","@aws-cdk/aws-ec2:uniqueImdsv2TemplateName","@aws-cdk/aws-ecr-assets:dockerIgnoreSupport","@aws-cdk/aws-ecs-patterns:removeDefaultDesiredCount","@aws-cdk/aws-efs:defaultEncryptionAtRest","@aws-cdk/aws-iam:minimizePolicies","@aws-cdk/aws-kms:defaultKeyPolicies","@aws-cdk/aws-lambda:recognizeVersionProps","@aws-cdk/aws-rds:lowercaseDbIdentifier","@aws-cdk/aws-s3:grantWriteWithoutAcl","@aws-cdk/aws-secretsmanager:parseOwnedSecretName","@aws-cdk/core:enableStackNameDuplicates","@aws-cdk/core:stackRelativeExports","aws-cdk:enableDiffNoFail"]}}}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"$schema":"http://json-schema.org/draft-07/schema","title":"JSON schema for .pre-commit-config.yaml","definitions":{"file_types":{"type":"string","enum":["adobe-illustrator","alpm","apinotes","asar","asciidoc","ash","asm","audio","avif","awk","babelrc","bash","batch","bats","bazel","bazelrc","bib","binary","bitmap","bowerrc","browserslistrc","bzip2","c","c#","c++","c2hs","clojure","clojurescript","cmake","codespellrc","coffee","coveragerc","csh","cson","csproj","css","csslintrc","csv","cuda","cython","dart","dash","def","diff","directory","dockerfile","dockerignore","dtd","editorconfig","edn","ejs","eot","eps","erb","executable","expect","file","fish","flake8","gdscript","gherkin","gif","gitattributes","gitconfig","gitignore","gitlint","gitmodules","go","gotmpl","gpx","graphql","groovy","gyb","gyp","gzip","haskell","hcl","header","hgrc","html","icalendar","icns","icon","idl","idris","image","inc","ini","inx","jade","jar","java","java-properties","javascript","jenkins","jinja","jpeg","jshintrc","json","jsonnet","jsx","jupyter","kml","kotlin","ksh","lean","lektor","lektorproject","less","literate-haskell","lua","mailmap","makefile","manifest","map","markdown","mdx","mention-bot","mib","modulemap","myst","ngdoc","nim","nimble","nix","non-executable","npmignore","objective-c","objective-c++","ocaml","otf","p12","pdbrc","pdf","pem","perl","php","pkgbuild","plain-text","plantuml","plist","png","pofile","powershell","proto","puppet","purescript","pyi","pylintrc","pypirc","pyproj","python","python2","python3","pyz","r","rst","ruby","rust","salt","sass","sbt","scala","scheme","scss","sh","shell","sln","socket","solidity","spec","sql","stylus","svg","swf","swift","swiftdeps","symlink","system-verilog","tar","tcsh","terraform","tex","text","thrift","tiff","toml","ts","tsv","tsx","ttf","twig","twisted","txsprofile","urdf","vb","vbproj","vcxproj","vdx","verilog","vhdl","vim","vue","wav","webp","wheel","wkt","woff","woff2","wsgi","xhtml","xml","xquery","xsd","xsl","yaml","yamllint","yang","yin","zcml","zig","zip","zpt","zsh"]},"meta_repo":{"type":"object","properties":{"repo":{"default":"meta","const":"meta","type":"string"},"hooks":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","enum":["check-hooks-apply","check-useless-excludes","identity"]}}}}}},"local_repo":{"type":"object","properties":{"repo":{"default":"local","const":"local","type":"string"},"hooks":{"type":"array","items":{"$ref":"#/definitions/hook_definition","type":"object","required":["id","name","entry","language"]}}}},"uri_repo":{"type":"object","properties":{"repo":{"$comment":"the repository url to git clone from","type":"string","pattern":"^(((ssh)|(http[s]?)://)|(git@)).+"},"rev":{"$comment":"the revision or tag to clone at (previously sha).","type":"string"},"hooks":{"$comment":"A list of hook mappings. See https://pre-commit.com/#pre-commit-configyaml---hooks.","type":"array","items":{"type":"object","$ref":"#/definitions/hook_definition"}}}},"hook_definition":{"type":"object","properties":{"id":{"$comment":"which hook from the repository to use.","type":"string"},"alias":{"$comment":"(optional) allows the hook to be referenced using an additional id when using pre-commit run <hookid>.","type":"string"},"name":{"$comment":"(optional) override the name of the hook - shown during hook execution.","type":"string"},"language":{"$comment":"(optional) Tells pre-commit on how to install the hook. See https://pre-commit.com/#supported-languages","type":"string","enum":["conda","coursier","dart","docker","docker_image","dotnet","fail","golang","node","perl","python","python_venv","r","ruby","rust","swift","pygrep","script","system"]},"language_version":{"$comment":"(optional) override the language version for the hook. See https://pre-commit.com/#overriding-language-version.","type":"string"},"files":{"$comment":"(optional) override the default pattern for files to run on.","type":"string"},"entry":{"$comment":"(optional) Override default command to execute for the hook.","type":"string"},"exclude":{"$comment":"(optional) file exclude pattern.","type":"string"},"types":{"$comment":"(optional) override the default file types to run on. See https://pre-commit.com/#filtering-files-with-types.","type":"array","items":{"type":"string","$ref":"#/definitions/file_types"}},"types_or":{"$comment":"(optional) override the default file types to run on (OR). See Filtering files with types. new in 2.9.0.","type":"array","items":{"type":"string","$ref":"#/definitions/file_types"}},"exclude_types":{"$comment":"(optional) file types to exclude.","type":"array","items":{"type":"string"}},"args":{"$comment":"(optional) list of additional parameters to pass to the hook.","type":"array","items":{"type":"string"}},"stages":{"$comment":"(optional) confines the hook to the commit, merge-commit, push, prepare-commit-msg, commit-msg, post-checkout, post-commit or manual stage. See https://pre-commit.com/#confining-hooks-to-run-at-certain-stages.","type":"array","items":{"type":"string","enum":["commit","merge-commit","push","prepare-commit-msg","commit-msg","post-checkout","post-commit","post-merge","post-rewrite","manual"]}},"additional_dependencies":{"$comment":"(optional) a list of dependencies that will be installed in the environment where this hook gets run. One useful application is to install plugins for hooks such as eslint.","type":"array","items":{"type":"string"}},"always_run":{"$comment":"(optional) if true, this hook will run even if there are no matching files.","type":"boolean"},"verbose":{"$comment":"(optional) if true, forces the output of the hook to be printed even when the hook passes.","type":"boolean"},"log_file":{"$comment":"(optional) if present, the hook output will additionally be written to a file.","type":"string"},"pass_filenames":{"$comment":"(optional) if false, this hook will be called only once without being called for each matching file.","type":"boolean","default":false}}}},"type":"object","properties":{"ci":{"$comment":"pre-commit.ci specific settings. See https://pre-commit.ci/#configuration","type":"object","properties":{"autofix_commit_msg":{"$comment":"custom commit message for PR autofixes","default":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","type":"string"},"autofix_prs":{"$comment":"whether to autofix pull requests. when disabled, comment \"pre-commit.ci autofix\" on a pull request to manually trigger auto-fixing","default":true,"type":"boolean"},"autoupdate_branch":{"$comment":"branch to send autoupdate PRs to. by default, pre-commit.ci will update the default branch of the repository.","default":"","type":"string"},"autoupdate_commit_msg":{"$comment":"custom commit message for autoupdate PRs","default":"[pre-commit.ci] pre-commit autoupdate","type":"string"},"autoupdate_schedule":{"$comment":"control when the autoupdate runs","type":"string","default":"weekly","enum":["weekly","monthly","quarterly"]},"skip":{"$comment":"which hook ids to be skipped when running under pre-commit.ci","type":"array","items":{"type":"string"}},"submodules":{"$comment":"whether to recursive check out submodules","default":false,"type":"boolean"}}},"repos":{"$comment":"A list of repository mappings. See https://pre-commit.com/#pre-commit-configyaml---repos.","type":"array","items":{"anyOf":[{"$ref":"#/definitions/meta_repo"},{"$ref":"#/definitions/local_repo"},{"$ref":"#/definitions/uri_repo"}]}},"default_language_version":{"$comment":"(optional: default {}) a mapping from language to the default language_version that should be used for that language. This will only override individual hooks that do not set language_version.","type":"object","additionalProperties":{"type":"string"}},"default_stages":{"$comment":"(optional: default (all stages)) a configuration-wide default for the stages property of hooks. This will only override individual hooks that do not set stages.","type":"array","items":{"type":"string"}},"files":{"$comment":"(optional: default '') global file include pattern.","type":"string","default":""},"exclude":{"$comment":"(optional: default ^$) global file exclude pattern.","type":"string","default":"^$"},"fail_fast":{"$comment":"(optional: default false) set to true to have pre-commit stop running hooks after the first failure.","type":"boolean","default":false},"minimum_pre_commit_version":{"$comment":"(optional: default '0') require a minimum version of pre-commit.","type":"string","default":"0"}},"required":["repos"]}
1+
{"$schema":"http://json-schema.org/draft-07/schema","title":"JSON schema for .pre-commit-config.yaml","definitions":{"file_types":{"type":"string","enum":["adobe-illustrator","alpm","apinotes","asar","asciidoc","ash","asm","audio","avif","awk","babelrc","bash","batch","bats","bazel","bazelrc","bib","binary","bitmap","bowerrc","browserslistrc","bzip2","c","c#","c++","c2hs","clojure","clojurescript","cmake","codespellrc","coffee","coveragerc","csh","cson","csproj","css","csslintrc","csv","cuda","cython","dart","dash","def","diff","directory","dockerfile","dockerignore","dtd","editorconfig","edn","ejs","eot","eps","erb","executable","expect","file","fish","flake8","gdscript","gherkin","gif","gitattributes","gitconfig","gitignore","gitlint","gitmodules","go","gotmpl","gpx","graphql","groovy","gyb","gyp","gzip","haskell","hcl","header","hgrc","html","icalendar","icns","icon","idl","idris","image","inc","ini","inx","jade","jar","java","java-properties","javascript","jenkins","jinja","jpeg","jshintrc","json","jsonnet","jsx","jupyter","kml","kotlin","ksh","lean","lektor","lektorproject","less","literate-haskell","lua","mailmap","makefile","manifest","map","markdown","mdx","mention-bot","mib","modulemap","myst","ngdoc","nim","nimble","nix","non-executable","npmignore","objective-c","objective-c++","ocaml","otf","p12","pdbrc","pdf","pem","perl","php","pkgbuild","plain-text","plantuml","plist","png","pofile","powershell","proto","puppet","purescript","pyi","pylintrc","pypirc","pyproj","python","python2","python3","pyz","r","rst","ruby","rust","salt","sass","sbt","scala","scheme","scss","sh","shell","sln","socket","solidity","spec","sql","stylus","svg","swf","swift","swiftdeps","symlink","system-verilog","tar","tcsh","terraform","tex","text","thrift","tiff","toml","ts","tsv","tsx","ttf","twig","twisted","txsprofile","urdf","vb","vbproj","vcxproj","vdx","verilog","vhdl","vim","vue","wav","webp","wheel","wkt","woff","woff2","wsgi","xhtml","xml","xquery","xsd","xsl","yaml","yamllint","yang","yin","zcml","zig","zip","zpt","zsh"]},"meta_repo":{"type":"object","properties":{"repo":{"default":"meta","const":"meta","type":"string"},"hooks":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","enum":["check-hooks-apply","check-useless-excludes","identity"]}}}}}},"local_repo":{"type":"object","properties":{"repo":{"default":"local","const":"local","type":"string"},"hooks":{"type":"array","items":{"$ref":"#/definitions/hook_definition","type":"object","required":["id","name","entry","language"]}}}},"uri_repo":{"type":"object","properties":{"repo":{"$comment":"the repository url to git clone from","type":"string","pattern":"^(?!.*(local|meta)).*$"},"rev":{"$comment":"the revision or tag to clone at (previously sha).","type":"string"},"hooks":{"$comment":"A list of hook mappings. See https://pre-commit.com/#pre-commit-configyaml---hooks.","type":"array","items":{"type":"object","$ref":"#/definitions/hook_definition"}}}},"hook_definition":{"type":"object","properties":{"id":{"$comment":"which hook from the repository to use.","type":"string"},"alias":{"$comment":"(optional) allows the hook to be referenced using an additional id when using pre-commit run <hookid>.","type":"string"},"name":{"$comment":"(optional) override the name of the hook - shown during hook execution.","type":"string"},"language":{"$comment":"(optional) Tells pre-commit on how to install the hook. See https://pre-commit.com/#supported-languages","type":"string","enum":["conda","coursier","dart","docker","docker_image","dotnet","fail","golang","node","perl","python","python_venv","r","ruby","rust","swift","pygrep","script","system"]},"language_version":{"$comment":"(optional) override the language version for the hook. See https://pre-commit.com/#overriding-language-version.","type":"string"},"files":{"$comment":"(optional) override the default pattern for files to run on.","type":"string"},"entry":{"$comment":"(optional) Override default command to execute for the hook.","type":"string"},"exclude":{"$comment":"(optional) file exclude pattern.","type":"string"},"types":{"$comment":"(optional) override the default file types to run on. See https://pre-commit.com/#filtering-files-with-types.","type":"array","items":{"type":"string","$ref":"#/definitions/file_types"}},"types_or":{"$comment":"(optional) override the default file types to run on (OR). See Filtering files with types. new in 2.9.0.","type":"array","items":{"type":"string","$ref":"#/definitions/file_types"}},"exclude_types":{"$comment":"(optional) file types to exclude.","type":"array","items":{"type":"string"}},"args":{"$comment":"(optional) list of additional parameters to pass to the hook.","type":"array","items":{"type":"string"}},"stages":{"$comment":"(optional) confines the hook to the commit, merge-commit, push, prepare-commit-msg, commit-msg, post-checkout, post-commit or manual stage. See https://pre-commit.com/#confining-hooks-to-run-at-certain-stages.","type":"array","items":{"type":"string","enum":["commit","merge-commit","push","prepare-commit-msg","commit-msg","post-checkout","post-commit","post-merge","post-rewrite","manual"]}},"additional_dependencies":{"$comment":"(optional) a list of dependencies that will be installed in the environment where this hook gets run. One useful application is to install plugins for hooks such as eslint.","type":"array","items":{"type":"string"}},"always_run":{"$comment":"(optional) if true, this hook will run even if there are no matching files.","type":"boolean"},"verbose":{"$comment":"(optional) if true, forces the output of the hook to be printed even when the hook passes.","type":"boolean"},"log_file":{"$comment":"(optional) if present, the hook output will additionally be written to a file.","type":"string"},"pass_filenames":{"$comment":"(optional) if false, this hook will be called only once without being called for each matching file.","type":"boolean","default":false}}}},"type":"object","properties":{"ci":{"$comment":"pre-commit.ci specific settings. See https://pre-commit.ci/#configuration","type":"object","properties":{"autofix_commit_msg":{"$comment":"custom commit message for PR autofixes","default":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","type":"string"},"autofix_prs":{"$comment":"whether to autofix pull requests. when disabled, comment \"pre-commit.ci autofix\" on a pull request to manually trigger auto-fixing","default":true,"type":"boolean"},"autoupdate_branch":{"$comment":"branch to send autoupdate PRs to. by default, pre-commit.ci will update the default branch of the repository.","default":"","type":"string"},"autoupdate_commit_msg":{"$comment":"custom commit message for autoupdate PRs","default":"[pre-commit.ci] pre-commit autoupdate","type":"string"},"autoupdate_schedule":{"$comment":"control when the autoupdate runs","type":"string","default":"weekly","enum":["weekly","monthly","quarterly"]},"skip":{"$comment":"which hook ids to be skipped when running under pre-commit.ci","type":"array","items":{"type":"string"}},"submodules":{"$comment":"whether to recursive check out submodules","default":false,"type":"boolean"}}},"repos":{"$comment":"A list of repository mappings. See https://pre-commit.com/#pre-commit-configyaml---repos.","type":"array","items":{"anyOf":[{"$ref":"#/definitions/meta_repo"},{"$ref":"#/definitions/local_repo"},{"$ref":"#/definitions/uri_repo"}]}},"default_language_version":{"$comment":"(optional: default {}) a mapping from language to the default language_version that should be used for that language. This will only override individual hooks that do not set language_version.","type":"object","additionalProperties":{"type":"string"}},"default_stages":{"$comment":"(optional: default (all stages)) a configuration-wide default for the stages property of hooks. This will only override individual hooks that do not set stages.","type":"array","items":{"type":"string"}},"files":{"$comment":"(optional: default '') global file include pattern.","type":"string","default":""},"exclude":{"$comment":"(optional: default ^$) global file exclude pattern.","type":"string","default":"^$"},"fail_fast":{"$comment":"(optional: default false) set to true to have pre-commit stop running hooks after the first failure.","type":"boolean","default":false},"minimum_pre_commit_version":{"$comment":"(optional: default '0') require a minimum version of pre-commit.","type":"string","default":"0"}},"required":["repos"]}

schemastore/timestamp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":1649465386479}
1+
{"timestamp":1649638321731}

schemastore/www.schemastore.org/api/json/catalog.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,14 @@
872872
],
873873
"url": "https://json.schemastore.org/workflows.json"
874874
},
875+
{
876+
"name": "AWS CDK cdk.json",
877+
"description": "Schema for AWS CDK context files",
878+
"url": "https://json.schemastore.org/cdk.json",
879+
"fileMatch": [
880+
"cdk.json"
881+
]
882+
},
875883
{
876884
"name": "AWS CloudFormation",
877885
"description": "AWS CloudFormation provides a common language for you to describe and provision all the infrastructure resources in your cloud environment.",
@@ -1043,7 +1051,10 @@
10431051
{
10441052
"name": "Deno",
10451053
"description": "A JSON representation of a Deno configuration file.",
1046-
"fileMatch": ["deno.json", "deno.jsonc"],
1054+
"fileMatch": [
1055+
"deno.json",
1056+
"deno.jsonc"
1057+
],
10471058
"url": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json"
10481059
},
10491060
{
@@ -4095,7 +4106,7 @@
40954106
".markdownlint.yaml",
40964107
".markdownlint.yml"
40974108
],
4098-
"url": "https://raw.githubusercontent.com/DavidAnson/markdownlint/next/schema/markdownlint-config-schema.json"
4109+
"url": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json"
40994110
},
41004111
{
41014112
"name": "SauceCTL Configuration",

0 commit comments

Comments
 (0)