36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://app.emissary.cadoles.com/spec.json",
|
|
"title": "AppSpec",
|
|
"description": "Emissary 'App' specification",
|
|
"type": "object",
|
|
"properties": {
|
|
"apps": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"sha256sum": {
|
|
"type": "string"
|
|
},
|
|
"address": {
|
|
"type": "string"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"enum": ["zip", "tar.gz"]
|
|
}
|
|
},
|
|
"required": ["url", "sha256sum", "address", "format"],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": ["apps"],
|
|
"additionalProperties": false
|
|
} |