Files
web-ui/server/data/apps-schema.json

200 lines
4.8 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",
"music player",
"video",
"blockchain",
"podcaster wallet",
"open source",
"other",
"chat bot",
"rss proxy",
"self-hosted"
]
}
},
"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",
"Start9",
"Citadel",
"Hive",
"Discord",
"Fediverse",
"Cloud Phone"
]
}
},
"supportedElements": {
"type": "array",
"items": {
"$ref": "#/definitions/SupportedElement"
}
},
"tagLine": {
"type": "string"
},
"platformLinks": {
"type": "object",
"description": "Platform-specific download/store links",
"properties": {
"iOS": {
"type": "string",
"format": "uri",
"description": "Apple Store URL"
},
"Android": {
"type": "string",
"format": "uri",
"description": "Google Play Store URL"
},
"macOS": {
"type": "string",
"format": "uri",
"description": "Mac App Store URL"
},
"Windows": {
"type": "string",
"format": "uri",
"description": "Microsoft Store URL"
},
"Web": {
"type": "string",
"format": "uri",
"description": "Web application URL"
},
"F-Droid": {
"type": "string",
"format": "uri",
"description": "F-Droid repository URL"
},
"Linux": {
"type": "string",
"format": "uri",
"description": "Linux distribution URL"
}
},
"additionalProperties": {
"type": "string",
"format": "uri"
}
}
}
},
"SupportedElement": {
"type": "object",
"title": "Supported Element",
"additionalProperties": true,
"properties": {
"elementName": {
"type": "string",
"enum": [
"Transcript",
"Locked",
"Funding",
"Chapters",
"Search",
"Season",
"Episode",
"Soundbite",
"Location",
"Person",
"Value",
"Boostagrams",
"Sat Streaming",
"Video",
"Podping",
"Alternate Enclosure",
"Trailer",
"GUID",
"Medium",
"Live Item",
"Live Boosts",
"Block",
"Social Interact",
"OP3",
"License",
"Txt",
"Wallet Switching (VTS)",
"Podroll",
"Update Frequency",
"Chat",
"Publisher",
"Content Link",
"Remote Item",
"Image"
]
},
"elementURL": {
"type": "string",
"format": "uri"
}
},
"required": [
"elementName"
]
}
}
}