0
0
{
"lexicon": 1,
"id": "software.release.defs",
"defs": {
"httpArtifact": {
"type": "object",
"description": "One downloadable file: its URL, CIDv1 raw sha2-256 of its bytes, and size.",
"required": [
"name",
"url",
"cid",
"size",
"target"
],
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"cid": {
"type": "string",
"format": "cid"
},
"size": {
"type": "integer",
"minimum": 0
},
"target": {
"type": "ref",
"ref": "#target"
}
}
},
"target": {
"type": "object",
"required": [
"os",
"arch"
],
"properties": {
"os": {
"type": "string"
},
"arch": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}