Created
July 6, 2021 02:29
-
-
Save caarlos0/6571455024cb79ab32eb4a4876b0d5be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Project", | |
"definitions": { | |
"Announce": { | |
"properties": { | |
"twitter": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Twitter" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Archive": { | |
"required": [ | |
"allow_different_binary_count" | |
], | |
"properties": { | |
"ID": { | |
"type": "string" | |
}, | |
"Builds": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"name_template": { | |
"type": "string" | |
}, | |
"Replacements": { | |
"patternProperties": { | |
".*": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"Format": { | |
"type": "string" | |
}, | |
"format_overrides": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/FormatOverride" | |
}, | |
"type": "array" | |
}, | |
"wrap_in_directory": { | |
"type": "string" | |
}, | |
"Files": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"allow_different_binary_count": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Before": { | |
"properties": { | |
"Hooks": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Blob": { | |
"properties": { | |
"Bucket": { | |
"type": "string" | |
}, | |
"Provider": { | |
"type": "string" | |
}, | |
"Region": { | |
"type": "string" | |
}, | |
"disableSSL": { | |
"type": "boolean" | |
}, | |
"Folder": { | |
"type": "string" | |
}, | |
"KMSKey": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Endpoint": { | |
"type": "string" | |
}, | |
"extra_files": { | |
"items": { | |
"$ref": "#/definitions/ExtraFile" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Build": { | |
"properties": { | |
"ID": { | |
"type": "string" | |
}, | |
"Goos": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Goarch": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Goarm": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Gomips": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Targets": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Ignore": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/IgnoredBuild" | |
}, | |
"type": "array" | |
}, | |
"Dir": { | |
"type": "string" | |
}, | |
"Main": { | |
"type": "string" | |
}, | |
"Ldflags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Tags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Flags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Binary": { | |
"type": "string" | |
}, | |
"Hooks": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/HookConfig" | |
}, | |
"Env": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Lang": { | |
"type": "string" | |
}, | |
"Asmflags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Gcflags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"mod_timestamp": { | |
"type": "string" | |
}, | |
"Skip": { | |
"type": "boolean" | |
}, | |
"GoBinary": { | |
"type": "string" | |
}, | |
"no_unique_dist_dir": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"BuildHook": { | |
"properties": { | |
"Dir": { | |
"type": "string" | |
}, | |
"Cmd": { | |
"type": "string" | |
}, | |
"Env": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Changelog": { | |
"properties": { | |
"Filters": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Filters" | |
}, | |
"Sort": { | |
"type": "string" | |
}, | |
"Skip": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Checksum": { | |
"properties": { | |
"name_template": { | |
"type": "string" | |
}, | |
"algorithm": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"disable": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"CommitAuthor": { | |
"properties": { | |
"Name": { | |
"type": "string" | |
}, | |
"Email": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Content": { | |
"properties": { | |
"src": { | |
"type": "string" | |
}, | |
"dst": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"packager": { | |
"type": "string" | |
}, | |
"file_info": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/ContentFileInfo" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"ContentFileInfo": { | |
"required": [ | |
"group" | |
], | |
"properties": { | |
"owner": { | |
"type": "string" | |
}, | |
"group": { | |
"type": "string" | |
}, | |
"mode": { | |
"type": "integer" | |
}, | |
"mtime": { | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Docker": { | |
"properties": { | |
"Binaries": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Builds": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Goos": { | |
"type": "string" | |
}, | |
"Goarch": { | |
"type": "string" | |
}, | |
"Goarm": { | |
"type": "string" | |
}, | |
"Dockerfile": { | |
"type": "string" | |
}, | |
"image_templates": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"skip_push": { | |
"type": "string" | |
}, | |
"extra_files": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"build_flag_templates": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"push_flags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"use_buildx": { | |
"type": "boolean" | |
}, | |
"use": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"DockerManifest": { | |
"properties": { | |
"name_template": { | |
"type": "string" | |
}, | |
"skip_push": { | |
"type": "string" | |
}, | |
"image_templates": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"create_flags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"push_flags": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"use": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"EnvFiles": { | |
"properties": { | |
"github_token": { | |
"type": "string" | |
}, | |
"gitlab_token": { | |
"type": "string" | |
}, | |
"gitea_token": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"ExtraFile": { | |
"properties": { | |
"glob": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Filters": { | |
"properties": { | |
"Exclude": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"FormatOverride": { | |
"properties": { | |
"Goos": { | |
"type": "string" | |
}, | |
"Format": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"GitHubURLs": { | |
"properties": { | |
"api": { | |
"type": "string" | |
}, | |
"upload": { | |
"type": "string" | |
}, | |
"download": { | |
"type": "string" | |
}, | |
"skip_tls_verify": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"GitLabURLs": { | |
"properties": { | |
"api": { | |
"type": "string" | |
}, | |
"download": { | |
"type": "string" | |
}, | |
"skip_tls_verify": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"GiteaURLs": { | |
"properties": { | |
"api": { | |
"type": "string" | |
}, | |
"download": { | |
"type": "string" | |
}, | |
"skip_tls_verify": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"GoMod": { | |
"properties": { | |
"Proxy": { | |
"type": "boolean" | |
}, | |
"Env": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"GoBinary": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Homebrew": { | |
"properties": { | |
"Name": { | |
"type": "string" | |
}, | |
"Tap": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/RepoRef" | |
}, | |
"commit_author": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/CommitAuthor" | |
}, | |
"Folder": { | |
"type": "string" | |
}, | |
"Caveats": { | |
"type": "string" | |
}, | |
"Plist": { | |
"type": "string" | |
}, | |
"Install": { | |
"type": "string" | |
}, | |
"post_install": { | |
"type": "string" | |
}, | |
"Dependencies": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/HomebrewDependency" | |
}, | |
"type": "array" | |
}, | |
"Test": { | |
"type": "string" | |
}, | |
"Conflicts": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Description": { | |
"type": "string" | |
}, | |
"Homepage": { | |
"type": "string" | |
}, | |
"License": { | |
"type": "string" | |
}, | |
"skip_upload": { | |
"type": "string" | |
}, | |
"download_strategy": { | |
"type": "string" | |
}, | |
"url_template": { | |
"type": "string" | |
}, | |
"custom_require": { | |
"type": "string" | |
}, | |
"custom_block": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"goarm": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"HomebrewDependency": { | |
"properties": { | |
"Name": { | |
"type": "string" | |
}, | |
"Type": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"HookConfig": { | |
"properties": { | |
"Pre": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/BuildHook" | |
}, | |
"type": "array" | |
}, | |
"Post": { | |
"items": { | |
"$ref": "#/definitions/BuildHook" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"IgnoredBuild": { | |
"required": [ | |
"Goos", | |
"Goarch", | |
"Goarm", | |
"Gomips" | |
], | |
"properties": { | |
"Goos": { | |
"type": "string" | |
}, | |
"Goarch": { | |
"type": "string" | |
}, | |
"Goarm": { | |
"type": "string" | |
}, | |
"Gomips": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Milestone": { | |
"properties": { | |
"Repo": { | |
"$ref": "#/definitions/Repo" | |
}, | |
"Close": { | |
"type": "boolean" | |
}, | |
"fail_on_error": { | |
"type": "boolean" | |
}, | |
"name_template": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPM": { | |
"properties": { | |
"file_name_template": { | |
"type": "string" | |
}, | |
"package_name": { | |
"type": "string" | |
}, | |
"epoch": { | |
"type": "string" | |
}, | |
"release": { | |
"type": "string" | |
}, | |
"prerelease": { | |
"type": "string" | |
}, | |
"version_metadata": { | |
"type": "string" | |
}, | |
"Replacements": { | |
"patternProperties": { | |
".*": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"Dependencies": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Recommends": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Suggests": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Conflicts": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Replaces": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"empty_folders": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"contents": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Content" | |
}, | |
"type": "array" | |
}, | |
"scripts": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMScripts" | |
}, | |
"rpm": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMRPM" | |
}, | |
"deb": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMDeb" | |
}, | |
"apk": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMAPK" | |
}, | |
"overrides": { | |
"patternProperties": { | |
".*": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMOverridables" | |
} | |
}, | |
"type": "object" | |
}, | |
"ID": { | |
"type": "string" | |
}, | |
"Builds": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Formats": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Section": { | |
"type": "string" | |
}, | |
"Priority": { | |
"type": "string" | |
}, | |
"Vendor": { | |
"type": "string" | |
}, | |
"Homepage": { | |
"type": "string" | |
}, | |
"Maintainer": { | |
"type": "string" | |
}, | |
"Description": { | |
"type": "string" | |
}, | |
"License": { | |
"type": "string" | |
}, | |
"Bindir": { | |
"type": "string" | |
}, | |
"Meta": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMAPK": { | |
"properties": { | |
"scripts": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMAPKScripts" | |
}, | |
"signature": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMAPKSignature" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMAPKScripts": { | |
"properties": { | |
"preupgrade": { | |
"type": "string" | |
}, | |
"postupgrade": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMAPKSignature": { | |
"properties": { | |
"key_file": { | |
"type": "string" | |
}, | |
"key_name": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMDeb": { | |
"properties": { | |
"scripts": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMDebScripts" | |
}, | |
"triggers": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMDebTriggers" | |
}, | |
"breaks": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"signature": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMDebSignature" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMDebScripts": { | |
"properties": { | |
"rules": { | |
"type": "string" | |
}, | |
"templates": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMDebSignature": { | |
"properties": { | |
"key_file": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMDebTriggers": { | |
"properties": { | |
"interest": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"interest_await": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"interest_noawait": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"activate": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"activate_await": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"activate_noawait": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMOverridables": { | |
"properties": { | |
"file_name_template": { | |
"type": "string" | |
}, | |
"package_name": { | |
"type": "string" | |
}, | |
"epoch": { | |
"type": "string" | |
}, | |
"release": { | |
"type": "string" | |
}, | |
"prerelease": { | |
"type": "string" | |
}, | |
"version_metadata": { | |
"type": "string" | |
}, | |
"Replacements": { | |
"patternProperties": { | |
".*": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"Dependencies": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Recommends": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Suggests": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Conflicts": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Replaces": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"empty_folders": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"contents": { | |
"items": { | |
"$ref": "#/definitions/Content" | |
}, | |
"type": "array" | |
}, | |
"scripts": { | |
"$ref": "#/definitions/NFPMScripts" | |
}, | |
"rpm": { | |
"$ref": "#/definitions/NFPMRPM" | |
}, | |
"deb": { | |
"$ref": "#/definitions/NFPMDeb" | |
}, | |
"apk": { | |
"$ref": "#/definitions/NFPMAPK" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMRPM": { | |
"properties": { | |
"summary": { | |
"type": "string" | |
}, | |
"group": { | |
"type": "string" | |
}, | |
"compression": { | |
"type": "string" | |
}, | |
"signature": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMRPMSignature" | |
}, | |
"scripts": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPMRPMScripts" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMRPMScripts": { | |
"properties": { | |
"pretrans": { | |
"type": "string" | |
}, | |
"posttrans": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMRPMSignature": { | |
"properties": { | |
"key_file": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"NFPMScripts": { | |
"properties": { | |
"preinstall": { | |
"type": "string" | |
}, | |
"postinstall": { | |
"type": "string" | |
}, | |
"preremove": { | |
"type": "string" | |
}, | |
"postremove": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Project": { | |
"properties": { | |
"project_name": { | |
"type": "string" | |
}, | |
"Env": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Release": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Release" | |
}, | |
"Milestones": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Milestone" | |
}, | |
"type": "array" | |
}, | |
"Brews": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Homebrew" | |
}, | |
"type": "array" | |
}, | |
"Scoop": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Scoop" | |
}, | |
"Builds": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Build" | |
}, | |
"type": "array" | |
}, | |
"Archives": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Archive" | |
}, | |
"type": "array" | |
}, | |
"nfpms": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/NFPM" | |
}, | |
"type": "array" | |
}, | |
"Snapcrafts": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Snapcraft" | |
}, | |
"type": "array" | |
}, | |
"Snapshot": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Snapshot" | |
}, | |
"Checksum": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Checksum" | |
}, | |
"Dockers": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Docker" | |
}, | |
"type": "array" | |
}, | |
"docker_manifests": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/DockerManifest" | |
}, | |
"type": "array" | |
}, | |
"Artifactories": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Upload" | |
}, | |
"type": "array" | |
}, | |
"Uploads": { | |
"items": { | |
"$ref": "#/definitions/Upload" | |
}, | |
"type": "array" | |
}, | |
"blobs": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Blob" | |
}, | |
"type": "array" | |
}, | |
"publishers": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Publisher" | |
}, | |
"type": "array" | |
}, | |
"Changelog": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Changelog" | |
}, | |
"Dist": { | |
"type": "string" | |
}, | |
"Signs": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Sign" | |
}, | |
"type": "array" | |
}, | |
"env_files": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/EnvFiles" | |
}, | |
"Before": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Before" | |
}, | |
"Source": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Source" | |
}, | |
"gomod": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/GoMod" | |
}, | |
"announce": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Announce" | |
}, | |
"build": { | |
"$ref": "#/definitions/Build" | |
}, | |
"github_urls": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/GitHubURLs" | |
}, | |
"gitlab_urls": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/GitLabURLs" | |
}, | |
"gitea_urls": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/GiteaURLs" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Publisher": { | |
"properties": { | |
"Name": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Checksum": { | |
"type": "boolean" | |
}, | |
"Signature": { | |
"type": "boolean" | |
}, | |
"Dir": { | |
"type": "string" | |
}, | |
"Cmd": { | |
"type": "string" | |
}, | |
"Env": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Release": { | |
"properties": { | |
"GitHub": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/Repo" | |
}, | |
"GitLab": { | |
"$ref": "#/definitions/Repo" | |
}, | |
"Gitea": { | |
"$ref": "#/definitions/Repo" | |
}, | |
"Draft": { | |
"type": "boolean" | |
}, | |
"Disable": { | |
"type": "boolean" | |
}, | |
"Prerelease": { | |
"type": "string" | |
}, | |
"name_template": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"extra_files": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/ExtraFile" | |
}, | |
"type": "array" | |
}, | |
"discussion_category_name": { | |
"type": "string" | |
}, | |
"header": { | |
"type": "string" | |
}, | |
"footer": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Repo": { | |
"properties": { | |
"Owner": { | |
"type": "string" | |
}, | |
"Name": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"RepoRef": { | |
"properties": { | |
"Owner": { | |
"type": "string" | |
}, | |
"Name": { | |
"type": "string" | |
}, | |
"Token": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Scoop": { | |
"properties": { | |
"Name": { | |
"type": "string" | |
}, | |
"Bucket": { | |
"$ref": "#/definitions/RepoRef" | |
}, | |
"Folder": { | |
"type": "string" | |
}, | |
"commit_author": { | |
"$ref": "#/definitions/CommitAuthor" | |
}, | |
"commit_msg_template": { | |
"type": "string" | |
}, | |
"Homepage": { | |
"type": "string" | |
}, | |
"Description": { | |
"type": "string" | |
}, | |
"License": { | |
"type": "string" | |
}, | |
"url_template": { | |
"type": "string" | |
}, | |
"persist": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"skip_upload": { | |
"type": "string" | |
}, | |
"pre_install": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"post_install": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Sign": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"cmd": { | |
"type": "string" | |
}, | |
"args": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"signature": { | |
"type": "string" | |
}, | |
"artifacts": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"stdin": { | |
"type": "string" | |
}, | |
"stdin_file": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Snapcraft": { | |
"properties": { | |
"name_template": { | |
"type": "string" | |
}, | |
"Replacements": { | |
"patternProperties": { | |
".*": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
}, | |
"Publish": { | |
"type": "boolean" | |
}, | |
"ID": { | |
"type": "string" | |
}, | |
"Builds": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Name": { | |
"type": "string" | |
}, | |
"Summary": { | |
"type": "string" | |
}, | |
"Description": { | |
"type": "string" | |
}, | |
"Base": { | |
"type": "string" | |
}, | |
"License": { | |
"type": "string" | |
}, | |
"Grade": { | |
"type": "string" | |
}, | |
"Confinement": { | |
"type": "string" | |
}, | |
"Layout": { | |
"patternProperties": { | |
".*": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/SnapcraftLayoutMetadata" | |
} | |
}, | |
"type": "object" | |
}, | |
"Apps": { | |
"patternProperties": { | |
".*": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/SnapcraftAppMetadata" | |
} | |
}, | |
"type": "object" | |
}, | |
"Plugs": { | |
"patternProperties": { | |
".*": { | |
"additionalProperties": true | |
} | |
}, | |
"type": "object" | |
}, | |
"extra_files": { | |
"items": { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"$ref": "#/definitions/SnapcraftExtraFiles" | |
}, | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"SnapcraftAppMetadata": { | |
"required": [ | |
"Plugs", | |
"Daemon", | |
"Args", | |
"command" | |
], | |
"properties": { | |
"Plugs": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Daemon": { | |
"type": "string" | |
}, | |
"Args": { | |
"type": "string" | |
}, | |
"Completer": { | |
"type": "string" | |
}, | |
"command": { | |
"type": "string" | |
}, | |
"restart_condition": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"SnapcraftExtraFiles": { | |
"required": [ | |
"source" | |
], | |
"properties": { | |
"source": { | |
"type": "string" | |
}, | |
"destination": { | |
"type": "string" | |
}, | |
"mode": { | |
"type": "integer" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"SnapcraftLayoutMetadata": { | |
"properties": { | |
"Symlink": { | |
"type": "string" | |
}, | |
"Bind": { | |
"type": "string" | |
}, | |
"bind_file": { | |
"type": "string" | |
}, | |
"Type": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Snapshot": { | |
"properties": { | |
"name_template": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Source": { | |
"properties": { | |
"name_template": { | |
"type": "string" | |
}, | |
"Format": { | |
"type": "string" | |
}, | |
"Enabled": { | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Twitter": { | |
"properties": { | |
"enabled": { | |
"type": "boolean" | |
}, | |
"message_template": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
}, | |
"Upload": { | |
"properties": { | |
"Name": { | |
"type": "string" | |
}, | |
"ids": { | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"Target": { | |
"type": "string" | |
}, | |
"Username": { | |
"type": "string" | |
}, | |
"Mode": { | |
"type": "string" | |
}, | |
"Method": { | |
"type": "string" | |
}, | |
"checksum_header": { | |
"type": "string" | |
}, | |
"trusted_certificates": { | |
"type": "string" | |
}, | |
"Checksum": { | |
"type": "boolean" | |
}, | |
"Signature": { | |
"type": "boolean" | |
}, | |
"custom_artifact_name": { | |
"type": "boolean" | |
}, | |
"custom_headers": { | |
"patternProperties": { | |
".*": { | |
"type": "string" | |
} | |
}, | |
"type": "object" | |
} | |
}, | |
"additionalProperties": false, | |
"type": "object" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment