Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (47 sloc) 1.13 KB
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Artifacts to be fetched by url",
"type": ["array", "null"],
"items": {
"type": "object",
"description": "A specific artifact to be fetched by URL",
"properties": {
"url": {
"description": "The URL to be used to fetch artifact",
"type": "string"
},
"md5": {
"description": "The md5 checksum of the artifact",
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"sha1": {
"description": "The sha1 checksum of the artifact",
"type": "string",
"pattern": "^[a-f0-9]{40}$"
},
"sha256": {
"description": "The sha256 checksum of the artifact",
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"target": {
"description": "Name to be used when saving artifact to disk",
"type": "string"
}
},
"additionalProperties": false,
"required": ["url"],
"anyOf": [
{
"required": ["md5"]
},
{
"required": ["sha1"]
},
{
"required": ["sha256"]
}
]
}
}
You can’t perform that action at this time.