27 lines
970 B
JSON
27 lines
970 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"required": ["schema_version", "release", "commit", "artifacts"],
|
|
"properties": {
|
|
"schema_version": {"const": 1},
|
|
"release": {"type": "string", "minLength": 1},
|
|
"commit": {"type": "string", "pattern": "^[0-9a-fA-F]{40}$"},
|
|
"artifacts": {
|
|
"type": "object",
|
|
"required": ["android", "ios"],
|
|
"properties": {
|
|
"android": {
|
|
"type": "object",
|
|
"required": ["url", "sha256", "package"],
|
|
"properties": {"url": {"type": "string"}, "sha256": {"type": "string", "pattern": "^[0-9a-fA-F]{64}$"}, "package": {"const": "page.writes"}}
|
|
},
|
|
"ios": {
|
|
"type": "object",
|
|
"required": ["url", "sha256", "bundle_id"],
|
|
"properties": {"url": {"type": "string"}, "sha256": {"type": "string", "pattern": "^[0-9a-fA-F]{64}$"}, "bundle_id": {"const": "page.writes"}}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|