31 lines
616 B
JSON
31 lines
616 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"checksums": {
|
|
"type": "object",
|
|
"properties": {
|
|
"darwin": { "$ref": "#/$defs/sha" },
|
|
"linux": { "$ref": "#/$defs/sha" },
|
|
"windows": { "$ref": "#/$defs/sha" }
|
|
},
|
|
"required": ["darwin", "linux", "windows"]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
]
|
|
},
|
|
"$defs": {
|
|
"sha": {
|
|
"type": "string",
|
|
"pattern": "^[A-Fa-f0-9]{64}$"
|
|
}
|
|
}
|
|
}
|