schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
snapcraft.json
key-id
GPG key identifier / fingerprint. May be used to identify key file in <project>/snap/keys/<key-id>.asc
{"type": "string", "pattern": "^[A-Z0-9]{40}$"}
snapcraft.json
key-server
GPG keyserver to use to fetch GPG <key-id>, e.g. 'keyserver.ubuntu.com'. Defaults to keyserver.ubuntu.com if key is not found in project.
{"type": "string"}
snapcraft.json
path
Exact path to repository (relative to URL). Cannot be used with suites or components.
{"type": "string"}
snapcraft.json
items
Deb repository suites to enable, e.g. 'xenial-updates, xenial-security').
{"type": "string"}
snapcraft.json
url
Deb repository URL, e.g. 'http://archive.canonical.com/ubuntu'.
{"type": "string"}
snapcraft.json
apt-ppa
PPA repository
{"type": "object", "additionalProperties": false, "properties": {"type": {"type": "string", "enum": ["apt"]}, "ppa": {"type": "string"}}, "required": ["type", "ppa"], "validation-failure": "{!r} is not properly configured PPA repository"}
snapcraft.json
ppa
ppa path: e.g. 'canonical-kernel-team/unstable'
{"type": "string"}
snapcraft.json
system-username-scope
short-form user configuration (<username>: <scope>)
{"type": "string", "enum": ["shared"], "validation-failure": "{!r} is not a valid user scope. Valid scopes include: 'shared'"}
snapcraft.json
environment
environment entries
{"type": "object", "minItems": 1, "additionalProperties": {"anyOf": [{"type": "string", "minLength": 1}, {"type": "number"}]}}
snapcraft.json
build-packages
top level build packages.
{}
snapcraft.json
adopt-info
name of the part that provides source files that will be parsed to extract snap metadata information
{"type": "string"}
snapcraft.json
name
name of the snap package
{"allOf": [{"type": "string", "validation-failure": "snap names need to be strings.", "maxLength": 40}, {"pattern": "^[a-z0-9-]*[a-z][a-z0-9-]*$", "validation-failure": "{.instance!r} is not a valid snap name. Snap names can only use ASCII lowercase letters, numbers, and hyphens, and must have at least one letter."}, {"pattern": "^[^-]", "validation-failure": "{.instance!r} is not a valid snap name. Snap names cannot start with a hyphen."}, {"pattern": "[^-]$", "validation-failure": "{.instance!r} is not a valid snap name. Snap names cannot end with a hyphen."}, {"not": {"pattern": "--"}, "validation-failure": "{.instance!r} is not a valid snap name. Snap names cannot have two hyphens in a row."}]}
snapcraft.json
title
title for the snap
{"type": "string", "maxLength": 40}
snapcraft.json
architectures
architectures on which to build, and on which the resulting snap runs
{"type": "array", "minItems": 1, "uniqueItems": true, "format": "architectures", "items": {"anyOf": [{"type": "string"}, {"type": "object", "additionalProperties": false, "required": ["build-on"], "properties": {"build-on": {"anyOf": [{"type": "string"}, {"type": "array", "minItems": 1, "uniqueItems": true}]}, "run-on": {"anyOf": [{"type": "string"}, {"type": "array", "minItems": 1, "uniqueItems": true}]}}}]}}
snapcraft.json
version
package version
{"allOf": [{"type": "string", "validation-failure": "snap versions need to be strings. They must also be wrapped in quotes when the value will be interpreted by the YAML parser as a non-string. Examples: '1', '1.2', '1.2.3', git (will be replaced by a git describe based version string)."}, {"pattern": "^[a-zA-Z0-9](?:[a-zA-Z0-9:.+~-]*[a-zA-Z0-9+~])?$", "maxLength": 32, "validation-failure": "{.instance!r} is not a valid snap version string. Snap versions consist of upper- and lower-case alphanumeric characters, as well as periods, colons, plus signs, tildes, and hyphens. They cannot begin with a period, colon, plus sign, tilde, or hyphen. They cannot end with a period, colon, or hyphen."}]}
snapcraft.json
version-script
a script that echoes the version to set.
{"type": "string"}
snapcraft.json
license
the license the package holds
{"type": "string"}
snapcraft.json
icon
path to a 512x512 icon representing the package.
{"type": "string", "format": "icon-path"}
snapcraft.json
summary
one line summary for the package
{"type": "string", "maxLength": 78}
snapcraft.json
description
long description of the package
{"type": "string", "pattern": ".+", "validation-failure": "{.instance!r} is not a valid description string."}
snapcraft.json
assumes
featureset the snap requires in order to work.
{"type": "array", "minItems": 1, "uniqueItems": true, "items": [{"type": "string"}]}
snapcraft.json
type
the snap type, the implicit type is 'app'
{"type": "string", "enum": ["app", "base", "gadget", "kernel", "snapd"]}
snapcraft.json
confinement
the type of confinement supported by the snap
{"type": "string", "default": "strict", "enum": ["classic", "devmode", "strict"]}
snapcraft.json
grade
the quality grade of the snap
{"type": "string", "default": "stable", "enum": ["stable", "devel"]}
snapcraft.json
base
the base snap to use
{"type": "string"}
snapcraft.json
build-base
force a build environment based on base to create a snap
{"type": "string"}
snapcraft.json
epoch
the snap epoch, used to specify upgrade paths
{"format": "epoch"}
snapcraft.json
compression
compression to use for snap archive - default is otherwise determined by 'snap pack'
{"type": "string", "enum": ["lzo", "xz"]}
snapcraft.json
environment
environment entries for the snap as a whole
{}
snapcraft.json
passthrough
properties to be passed into snap.yaml as-is
{"type": "object"}
snapcraft.json
layout
layout property to be passed into the snap.yaml as-is
{"type": "object"}
snapcraft.json
package-repositories
additional repository configuration.
{"type": "array", "minItems": 0, "uniqueItems": true, "items": [{"oneOf": [{}, {}]}]}
snapcraft.json
system-usernames
system username
{"type": "object", "additionalProperties": false, "validation-failure": "{!r} is not a valid system-username.", "patternProperties": {"^snap_(daemon|microk8s|aziotedge|aziotdu)$": {"oneOf": [{}, {"type": "object", "additionalProperties": false, "properties": {"scope": {}}, "required": ["scope"]}]}}}
snapcraft.json
^snap_(daemon|microk8s|aziotedge|aziotdu)$
long-form user configuration
{"type": "object", "additionalProperties": false, "properties": {"scope": {}}, "required": ["scope"]}
snapcraft.json
autostart
Name of the desktop file placed by the application in $SNAP_USER_DATA/.config/autostart to indicate that application should be started with the user's desktop session.
{"type": "string", "pattern": "^[A-Za-z0-9. _#:$-]+\\.desktop$", "validation-failure": "{.instance!r} is not a valid desktop file name (e.g. myapp.desktop)"}
snapcraft.json
common-id
common identifier across multiple packaging formats
{"type": "string"}
snapcraft.json
bus-name
D-Bus name this service is reachable as
{"type": "string", "pattern": "^[A-Za-z0-9/. _#:$-]*$", "validation-failure": "{.instance!r} is not a valid bus name."}
snapcraft.json
activates-on
dbus interface slots this service activates on
{"type": "array", "minitems": 1, "uniqueItems": true, "items": {"type": "string"}}
snapcraft.json
desktop
path to a desktop file representing the app, relative to the prime directory
{"type": "string"}
snapcraft.json
command
command executed to run the binary
{"type": "string"}
snapcraft.json
completer
bash completion script relative to the prime directory
{"type": "string"}
snapcraft.json
stop-command
command executed to stop a service
{"type": "string"}
snapcraft.json
post-stop-command
command executed after stopping a service
{"type": "string"}
snapcraft.json
start-timeout
Optional time to wait for daemon to start - <n>ns | <n>us | <n>ms | <n>s | <n>m
{"type": "string", "pattern": "^[0-9]+(ns|us|ms|s|m)*$", "validation-failure": "{.instance!r} is not a valid timeout value."}
snapcraft.json
stop-timeout
Optional time to wait for daemon to stop - <n>ns | <n>us | <n>ms | <n>s | <n>m
{"type": "string", "pattern": "^[0-9]+(ns|us|ms|s|m)*$", "validation-failure": "{.instance!r} is not a valid timeout value."}
snapcraft.json
watchdog-timeout
Service watchdog timeout - <n>ns | <n>us | <n>ms | <n>s | <n>m
{"type": "string", "pattern": "^[0-9]+(ns|us|ms|s|m)*$", "validation-failure": "{.instance!r} is not a valid timeout value."}
snapcraft.json
reload-command
Command to use to ask the service to reload its configuration.
{"type": "string"}
snapcraft.json
restart-delay
Delay between service restarts - <n>ns | <n>us | <n>ms | <n>s | <n>m. Defaults to unset. See the systemd.service manual on RestartSec for details.
{"type": "string", "pattern": "^[0-9]+(ns|us|ms|s|m)*$", "validation-failure": "{.instance!r} is not a valid delay value."}
snapcraft.json
timer
The service is activated by a timer, app must be a daemon. (systemd.time calendar event string)
{"type": "string"}
snapcraft.json
daemon
signals that the app is a service.
{"type": "string", "enum": ["simple", "forking", "oneshot", "notify", "dbus"]}
snapcraft.json
after
List of applications that are ordered to be started after the current one
{"type": "array", "minitems": 1, "uniqueItems": true, "items": {"type": "string"}}
snapcraft.json
before
List of applications that are ordered to be started before the current one
{"type": "array", "minitems": 1, "uniqueItems": true, "items": {"type": "string"}}
snapcraft.json
refresh-mode
controls if the app should be restarted at all
{"type": "string", "enum": ["endure", "restart"]}
snapcraft.json
stop-mode
controls how the daemon should be stopped
{"type": "string", "enum": ["sigterm", "sigterm-all", "sighup", "sighup-all", "sigusr1", "sigusr1-all", "sigusr2", "sigusr2-all", "sigint", "sigint-all"]}
snapcraft.json
environment
environment entries for the specific app.
{}
snapcraft.json
adapter
What kind of wrapper to generate for the given command
{"type": "string", "enum": ["none", "legacy", "full"], "default": "legacy"}
snapcraft.json
^[a-z][a-z0-9_-]*$
Sockets for automatic service activation
{"type": "object", "required": ["listen-stream"], "additionalProperties": false, "properties": {"listen-stream": {"anyOf": [{"type": "integer", "usage": "port number, an integer between 1 and 65535", "minimum": 1, "maximum": 65535}, {"type": "string", "usage": "socket path, a string"}]}, "socket-mode": {"type": "integer"}}}
snapcraft.json
passthrough
properties to be passed into snap.yaml as-is
{"type": "object"}
snapcraft.json
environment
environment entries for this hook
{}
snapcraft.json
passthrough
properties to be passed into snap.yaml as-is
{"type": "object"}
snapcraft.json
plugin
plugin name
{"type": "string"}
snapcraft.json
items
submodules to fetch, by pathname in source tree
{"type": "string"}
snapcraft.json
ua-services
UA services to enable.
{"type": "array", "minItems": 1, "uniqueItems": true, "items": [{"type": "string"}]}
schema-org-action.json
This is a JSON schema representation of the schema.org Action schema: https://schema.org/Action
{"$schema": "http://json-schema.org/draft-04/schema#", "anyOf": [{}], "id": "https://json.schemastore.org/schema-org-action.json", "properties": {"@context": {"type": "string", "format": "regex", "pattern": "http://schema.org"}, "@type": {"type": "string", "format": "regex", "pattern": "Action"}, "actionStatus": {"type": "object"}, "agent": {"anyOf": [{}, {}]}, "endTime": {"type": "string", "format": "date-time"}, "error": {}, "instrument": {}, "location": {"anyOf": [{}, {}, {"type": "string"}]}, "object": {}, "participant": {"anyOf": [{}, {}, {"type": "array", "anyOf": [{}, {}]}]}, "result": {}, "startTime": {"type": "string", "format": "date-time"}, "target": {"type": "object"}}, "required": ["@type"], "type": "object"}
schema-org-action.json
@context
override the @context property to ensure the schema.org URI is used
{"type": "string", "format": "regex", "pattern": "http://schema.org"}
schema-org-action.json
@type
override the @type property to ensure Action is used
{"type": "string", "format": "regex", "pattern": "Action"}
schema-org-action.json
actionStatus
Indicates the current disposition of the Action.
{"type": "object"}
schema-org-action.json
agent
The direct performer or driver of the action (animate or inanimate). e.g. John wrote a book.
{"anyOf": [{}, {}]}
schema-org-action.json
agent
Organization
{}
schema-org-action.json
agent
Person
{}
schema-org-action.json
endTime
The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December.
{"type": "string", "format": "date-time"}
schema-org-action.json
error
For failed actions, more information on the cause of the failure.
{}
schema-org-action.json
instrument
The object that helped the agent perform the action. e.g. John wrote a book with a pen.
{}
schema-org-action.json
location
The location of for example where the event is happening, an organization is located, or where an action takes place.
{"anyOf": [{}, {}, {"type": "string"}]}
schema-org-action.json
location
Place
{}
schema-org-action.json
location
PostalAddress
{}
schema-org-action.json
object
The object upon the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read a book.
{}
schema-org-action.json
participant
Other co-agents that participated in the action indirectly. e.g. John wrote a book with Steve.
{"anyOf": [{}, {}, {"type": "array", "anyOf": [{}, {}]}]}
schema-org-action.json
participant
Organization
{}
schema-org-action.json
participant
Person
{}
schema-org-action.json
participant
Organization
{}
schema-org-action.json
participant
Person
{}
schema-org-action.json
result
The result produced in the action. e.g. John wrote a book.
{}
schema-org-action.json
startTime
The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December.
{"type": "string", "format": "date-time"}
schema-org-action.json
target
Indicates a target EntryPoint for an Action.
{"type": "object"}
project-1.0.0-beta3.json
script
A command line script or scripts. Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta3.json
bundleExclude
List of files to exclude from publish output (kpm bundle).
{"type": ["string", "array"], "items": {"type": "string"}, "default": ""}
project-1.0.0-beta3.json
code
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"}, "default": "**\\*.cs"}
project-1.0.0-beta3.json
configurations
Configurations are named groups of compilation settings. There are 2 defaults built into the runtime namely 'Debug' and 'Release'.
{"type": "object", "additionalProperties": {"type": "object", "properties": {"compilationOptions": {}}}}
project-1.0.0-beta3.json
description
The description of the application
{"type": "string"}
project-1.0.0-beta3.json
exclude
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"}, "default": ["bin/**/*.*", "obj/**/*.*"]}
project-1.0.0-beta3.json
preprocess
Glob pattern to indicate all the code files to be preprocessed. (data type: string with glob pattern).
{"type": "string", "default": "Compiler\\Preprocess\\**\\*.cs"}
project-1.0.0-beta3.json
resources
Glob pattern to indicate all the files that need to be compiled as resources.
{"type": ["string", "array"], "items": {"type": "string"}, "default": "Compiler\\Resources\\**\\*.cs"}
project-1.0.0-beta3.json
scripts
Scripts to execute during the various stages.
{"type": "object", "properties": {"prepack": {}, "postpack": {}, "prebundle": {}, "postbundle": {}, "prerestore": {}, "postrestore": {}, "prepare": {}}}
project-1.0.0-beta3.json
shared
Glob pattern to specify the code files to share with dependent projects. Example: [ "Folder1\*.cs", "Folder2\*.cs" ]
{"type": ["string", "array"], "items": {"type": "string"}, "default": "Compiler\\Shared\\**\\*.cs"}
project-1.0.0-beta3.json
version
The version of the application. Example: 1.2.0.0
{"type": "string"}
project-1.0.0-beta3.json
webroot
Specifying the webroot property in the project.json file specifies the web server root (aka public folder). In visual studio, this folder will be used to root IIS. Static files should be put in here.
{"type": "string"}
gradle-enterprise-config-schema-7.json
Gradle Enterprise configuration schema
{"$schema": "http://json-schema.org/draft-07/schema#", "definitions": {"ConfigParamKey": {"type": "string", "pattern": "^(?=[^=]+$)(?!\\s+$)(.|\\n)+$"}, "EmailAddress": {"type": "string", "pattern": "^.+@.+$", "format": "gradle-enterprise:email-address"}, "EncryptedSecret": {"type": "string", "pattern": "^(?:plain:.+|aes256:(?:\\s*[A-Za-z0-9+/]){16}:(?:\\s*[A-Za-z0-9+/]){16}:(?:(?:\\s*[A-Za-z0-9+/]){4})*(?:(?:\\s*[A-Za-z0-9+/]){2}(?:\\s*=){2}|(?:\\s*[A-Za-z0-9+/]){3}(?:\\s*=))?\\s*)$"}, "HashedSecret": {"type": "string", "pattern": "^(?:\\s*[A-Za-z0-9+/]){43}(?:\\s*=):(?:(?:\\s*[A-Za-z0-9+/]){4})*(?:(?:\\s*[A-Za-z0-9+/]){2}(?:\\s*=){2}|(?:\\s*[A-Za-z0-9+/]){3}(?:\\s*=))?\\s*$"}, "Map(ConfigParamKey,String)": {"type": "object", "additionalProperties": {"type": "string"}, "propertyNames": {}}, "Role": {"type": "object", "properties": {"assignToNewExternalUsers": {"type": "boolean"}, "displayName": {"type": ["string", "null"]}, "externalValue": {"type": ["string", "null"]}, "permissions": {"uniqueItems": true, "type": "array", "items": {"type": "string", "enum": ["viewScan", "exportData", "administerGe", "administerProjects", "administerCache", "publishScan", "testDistribution", "readCache", "writeCache", "accessAllProjects", "accessAnonymousProjectData"]}}}, "additionalProperties": false, "minProperties": 1}, "TimeOfDay": {"type": "string", "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"}}, "type": "object", "required": ["systemPassword", "version"], "additionalProperties": false, "minProperties": 1, "properties": {"version": {"const": 7}, "advanced": {"type": "object", "properties": {"app": {"type": "object", "properties": {"heapMemory": {"type": "integer", "minimum": 100}, "offHeapMemory": {"type": "integer", "minimum": 100}, "params": {"allOf": [{}, {}]}, "scanPayloadCacheSize": {"type": "integer"}}, "additionalProperties": false, "minProperties": 1}, "appBackgroundProcessor": {"type": "object", "properties": {"heapMemory": {"type": "integer", "minimum": 100}, "offHeapMemory": {"type": "integer", "minimum": 100}, "params": {"allOf": [{}, {}]}}, "additionalProperties": false, "minProperties": 1}, "buildCacheNode": {"type": "object", "properties": {"heapMemory": {"type": "integer", "minimum": 100}, "offHeapMemory": {"type": "integer", "minimum": 100}, "params": {"allOf": [{}, {}]}}, "additionalProperties": false, "minProperties": 1}, "distributionBroker": {"type": "object", "properties": {"heapMemory": {"type": "integer", "minimum": 100}, "offHeapMemory": {"type": "integer", "minimum": 100}, "params": {"allOf": [{}, {}]}}, "additionalProperties": false, "minProperties": 1}}, "additionalProperties": false, "minProperties": 1}, "auth": {"type": "object", "properties": {"anonymousPermissions": {"uniqueItems": true, "type": "array", "items": {"type": "string", "enum": ["viewScan", "exportData", "administerGe", "administerProjects", "administerCache", "publishScan", "testDistribution", "readCache", "writeCache", "accessAllProjects", "accessAnonymousProjectData"]}}, "external": {"anyOf": [{"type": "null"}, {"type": "object", "properties": {"type": {"enum": ["ldap", "saml"]}}, "required": ["type"], "allOf": [{"if": {"properties": {"type": {"const": "ldap"}}}, "then": {"type": "object", "required": ["connectionUrl", "displayName", "roles", "users"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "ldap"}, "bindUser": {"type": ["object", "null"], "properties": {"dn": {"type": "string"}, "password": {"allOf": [{}, {}]}}, "required": ["dn", "password"], "additionalProperties": false, "minProperties": 1}, "connectionUrl": {"type": "string"}, "displayName": {"type": "string"}, "roles": {"allOf": [{"if": {"properties": {"type": {"const": "external"}}}, "then": {"type": "object", "required": ["baseDn", "membershipAttribute", "membershipAttributeType", "nameAttribute", "objectClass"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "external"}, "baseDn": {"type": "string"}, "membershipAttribute": {"type": "string"}, "membershipAttributeType": {"type": "string", "enum": ["dn", "uid"]}, "nameAttribute": {"type": "string"}, "objectClass": {"type": "string"}, "retrieveStrategy": {"type": "string", "enum": ["groupMember", "userMemberof", "matchingRuleInChain"]}}}}, {"if": {"properties": {"type": {"const": "local"}}}, "then": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "local"}}}}], "type": "object", "properties": {"type": {"enum": ["external", "local"]}}, "required": ["type"], "minProperties": 1}, "users": {"type": "object", "properties": {"attributes": {"type": "object", "properties": {"email": {"type": "string"}, "firstName": {"type": "string"}, "lastName": {"type": "string"}, "userName": {"type": "string"}, "uuid": {"type": "string"}}, "required": ["email", "firstName", "lastName", "userName", "uuid"], "additionalProperties": false, "minProperties": 1}, "baseDn": {"type": "string"}, "filter": {"allOf": [{"type": ["string", "null"], "format": "gradle-enterprise:ldap-filter"}, {}]}}, "required": ["attributes", "baseDn"], "additionalProperties": false, "minProperties": 1}}}}, {"if": {"properties": {"type": {"const": "saml"}}}, "then": {"type": "object", "required": ["displayName", "idpMetadata", "roles"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "saml"}, "displayName": {"type": "string"}, "idpMetadata": {"type": "string", "pattern": "^(?:(?:\\s*[A-Za-z0-9+/]){4})*(?:(?:\\s*[A-Za-z0-9+/]){2}(?:\\s*=){2}|(?:\\s*[A-Za-z0-9+/]){3}(?:\\s*=))?\\s*$"}, "options": {"type": "object", "properties": {"requireEncryptedAssertion": {"type": "boolean"}, "signAuthenticationRequests": {"type": "boolean"}, "validateAssertionSignature": {"type": "boolean"}, "validateResponseSignature": {"type": "boolean"}}, "additionalProperties": false, "minProperties": 1}, "roles": {"allOf": [{"if": {"properties": {"type": {"const": "external"}}}, "then": {"type": "object", "required": ["attribute"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "external"}, "attribute": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "local"}}}, "then": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "local"}}}}], "type": "object", "properties": {"type": {"enum": ["external", "local"]}}, "required": ["type"], "minProperties": 1}, "userAttributes": {"type": "object", "properties": {"email": {"type": ["string", "null"]}, "firstName": {"type": ["string", "null"]}, "lastName": {"type": ["string", "null"]}}, "additionalProperties": false, "minProperties": 1}}}}], "minProperties": 1}]}, "roles": {"type": "object", "additionalProperties": {}, "propertyNames": {"type": "string"}}, "scim": {"type": "object", "properties": {"enabled": {"type": "boolean"}, "token": {"type": ["object", "null"], "properties": {"hash": {"allOf": [{}, {}]}, "length": {"type": "integer"}, "prefix": {"type": "string"}}, "required": ["hash", "length", "prefix"], "additionalProperties": false, "minProperties": 1}}, "additionalProperties": false, "minProperties": 1}, "timeouts": {"type": "object", "properties": {"accessTokenLifespan": {"type": "integer"}, "ssoSessionIdleTimeout": {"type": "integer"}, "ssoSessionMaxLifespan": {"type": "integer"}}, "additionalProperties": false, "minProperties": 1}}, "additionalProperties": false, "minProperties": 1}, "backups": {"type": ["object", "null"], "properties": {"backupsToRetain": {"type": "integer", "minimum": 1}, "emailNotification": {"type": "boolean"}, "schedule": {"type": "object", "properties": {"type": {"enum": ["daily", "weekly", "cron"]}}, "required": ["type"], "allOf": [{"if": {"properties": {"type": {"const": "daily"}}}, "then": {"type": "object", "required": ["timeOfDay"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "daily"}, "timeOfDay": {"allOf": [{}, {}]}}}}, {"if": {"properties": {"type": {"const": "weekly"}}}, "then": {"type": "object", "required": ["dayOfWeek", "timeOfDay"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "weekly"}, "dayOfWeek": {"type": "string", "enum": ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]}, "timeOfDay": {"allOf": [{}, {}]}}}}, {"if": {"properties": {"type": {"const": "cron"}}}, "then": {"type": "object", "required": ["expression"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "cron"}, "expression": {"type": "string", "pattern": "^(?:\\*|(?:(?:\\*\\/)?[1-5]?[0-9])) (?:\\*|(?:(?:\\*\\/)?(?:1?[0-9]|2[0-3]))) (?:\\*|(?:(?:\\*\\/)?(?:[1-9]|[12][0-9]|3[0-1]))) (?:\\*|(?:(?:\\*\\/)?(?:[1-9]|1[0-2]))) (?:\\*|(?:(?:\\*\\/)?[0-6]))$"}}}}], "minProperties": 1}}, "required": ["schedule"], "additionalProperties": false, "minProperties": 1}, "buildCache": {"type": "object", "properties": {"allowUntrustedNodeSsl": {"type": "boolean"}}, "additionalProperties": false, "minProperties": 1}, "buildScans": {"type": "object", "properties": {"diskSpaceMonitoring": {"type": "object", "properties": {"autoDeleteWhileFreeSpaceLessThanPercentage": {"type": ["integer", "null"], "maximum": 100, "minimum": 1}, "rejectIncomingWhileFreeSpaceLessThanPercentage": {"type": ["integer", "null"], "maximum": 100, "minimum": 1}, "sendWarningEmailWhenFreeSpaceLessThanPercentage": {"type": ["integer", "null"], "maximum": 100, "minimum": 1}}, "additionalProperties": false, "minProperties": 1}, "incomingStorageType": {"anyOf": [{"type": "null"}, {"type": "string", "enum": [null, "database", "objectStorage"]}]}, "keepDays": {"type": ["integer", "null"], "minimum": 2}}, "additionalProperties": false, "minProperties": 1}, "dailyMaintenanceTime": {"allOf": [{}, {}]}, "email": {"type": ["object", "null"], "properties": {"administratorAddress": {"allOf": [{}, {}]}, "authentication": {"type": ["object", "null"], "properties": {"password": {}, "type": {"type": "string", "enum": ["login", "cramMd5", "plain"]}, "username": {"type": "string"}}, "required": ["password", "type", "username"], "additionalProperties": false, "minProperties": 1}, "fromAddress": {"allOf": [{}, {}]}, "smtpServer": {"type": "string", "pattern": "^(?:(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*(?:[A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])):(?:[1-9][0-9]{0,3}|[1-6][0-5][0-5][0-3][0-5])$"}, "sslProtocol": {"anyOf": [{"type": "null"}, {"type": "string", "enum": [null, "startTls", "implicitTls"]}]}}, "required": ["administratorAddress", "fromAddress", "smtpServer"], "additionalProperties": false, "minProperties": 1}, "helpContact": {"type": "object", "properties": {"email": {"anyOf": [{"type": "null"}, {}]}, "name": {"type": ["string", "null"]}}, "additionalProperties": false, "minProperties": 1}, "network": {"type": ["object", "null"], "properties": {"additionalTrust": {"type": ["string", "null"], "pattern": "(?:^|\\r?\\n)-----BEGIN CERTIFICATE-----(?:\\r?\\n)(?:(?:\\s*[A-Za-z0-9+/]){4})*(?:(?:\\s*[A-Za-z0-9+/]){2}(?:\\s*=){2}|(?:\\s*[A-Za-z0-9+/]){3}(?:\\s*=))?\\s*(?:\\r?\\n)-----END CERTIFICATE-----(?:$|\\r?\\n)", "format": "gradle-enterprise:x509-certs-pem"}, "proxy": {"type": ["object", "null"], "properties": {"auth": {"type": ["object", "null"], "properties": {"password": {"allOf": [{}, {}]}, "username": {"type": "string"}}, "required": ["password", "username"], "additionalProperties": false, "minProperties": 1}, "excludedHosts": {"type": "array", "items": {"type": "string", "pattern": "^(?:(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|(?:(?:^[\\*]|[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*(?:[A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]))$", "format": "gradle-enterprise:excludedHosts"}}, "host": {"type": "string", "pattern": "^(?:(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*(?:[A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]))$", "format": "gradle-enterprise:host"}, "port": {"type": "integer", "maximum": 65535, "minimum": 1}, "protocol": {"type": "string", "enum": ["http", "https"]}}, "required": ["host"], "additionalProperties": false, "minProperties": 1}}, "additionalProperties": false, "minProperties": 1}, "objectStorage": {"type": "object", "properties": {"provider": {"anyOf": [{"type": "null"}, {"type": "object", "properties": {"type": {"enum": ["s3"]}}, "required": ["type"], "allOf": [{"if": {"properties": {"type": {"const": "s3"}}}, "then": {"type": "object", "required": ["bucket", "credentials", "region"], "additionalProperties": false, "minProperties": 1, "properties": {"type": {"const": "s3"}, "bucket": {"type": "string"}, "credentials": {"allOf": [{"if": {"properties": {"source": {"const": "configuration"}}}, "then": {"type": "object", "required": ["accessKey", "secretKey"], "additionalProperties": false, "minProperties": 1, "properties": {"source": {"const": "configuration"}, "accessKey": {"type": "string"}, "secretKey": {}}}}, {"if": {"properties": {"source": {"const": "environment"}}}, "then": {"type": "object", "additionalProperties": false, "minProperties": 1, "properties": {"source": {"const": "environment"}}}}], "type": "object", "properties": {"source": {"enum": ["configuration", "environment"]}}, "required": ["source"], "minProperties": 1}, "region": {"type": "string"}}}}], "minProperties": 1}]}}, "additionalProperties": false, "minProperties": 1}, "systemPassword": {"allOf": [{}, {}]}}}
gradle-enterprise-config-schema-7.json
EmailAddress
Internet email address conforming to most of RFC 822 syntax rules and by that allowing a majority of internalized email addresses as well.
{"type": "string", "pattern": "^.+@.+$", "format": "gradle-enterprise:email-address"}
gradle-enterprise-config-schema-7.json
version
The version of the config file model (must be 7).
{"const": 7}