Files
web-ui/server/data/apps-schema.json
T
2022-08-08 13:44:17 -05:00

137 lines
3.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"$ref": "#/definitions/App"
},
"definitions": {
"App": {
"type": "object",
"title": "App or Service",
"additionalProperties": false,
"required": [
"appName",
"appType",
"appIconUrl",
"appUrl",
"platforms",
"supportedElements"
],
"properties": {
"appName": {
"type": "string"
},
"appType": {
"type": "array",
"items": {
"type": "string",
"enum": [
"app",
"hosting",
"directory",
"browser extension",
"wordpress plugin",
"website",
"social links",
"node hosting",
"podcast player",
"video",
"sn-network",
"blockchain",
"podcaster wallet",
"open source",
"other"
]
}
},
"appUrl": {
"type": "string",
"format": "uri"
},
"appIconUrl": {
"type": "string",
"description": "Filename of png or jpg in assets folder"
},
"platforms": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Web",
"Mobile",
"iOS",
"iPad OS",
"Android",
"F-Droid",
"macOS",
"Windows",
"Linux",
"BSD",
"KaiOS",
"Chrome",
"Wordpress",
"N/A",
"AmigaOS 4",
"Sailfish OS",
"Umbrel",
"Citadel",
"Hive"
]
}
},
"supportedElements": {
"type": "array",
"items": {
"$ref": "#/definitions/SupportedElement"
}
},
"tagLine": {
"type": "string"
}
}
},
"SupportedElement": {
"type": "object",
"title": "Supported Element",
"additionalProperties": true,
"properties": {
"elementName": {
"type": "string",
"enum": [
"Transcript",
"Locked",
"Funding",
"Chapters",
"Search",
"Season",
"Episode",
"Soundbite",
"Location",
"Person",
"Value",
"Sn-Network",
"Boostagrams",
"Sat Streaming",
"Video",
"Synchronize",
"Podping",
"Alternate Enclosure",
"Trailer",
"GUID",
"Medium",
"Live",
"Block"
]
},
"elementURL": {
"type": "string",
"format": "uri"
}
},
"required": [
"elementName"
]
}
}
}