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

114 lines
2.4 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": "string",
"enum": [
"app",
"hosting",
"directory",
"browser extension",
"wordpress plugin",
"website",
"social links",
"node hosting",
"video",
"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",
"iOS",
"Android",
"macOS",
"Windows",
"Linux",
"KaiOS",
"Chrome",
"Wordpress",
"N/A",
"AmigaOS 4"
]
}
},
"supportedElements": {
"type": "array",
"items": {
"$ref": "#/definitions/SupportedElement"
}
},
"tagLine": {
"type": "string"
}
}
},
"SupportedElement": {
"type": "object",
"title": "Supported Element",
"additionalProperties": false,
"properties": {
"elementName": {
"type": "string",
"enum": [
"Transcript",
"Locked",
"Funding",
"Chapters",
"Search",
"Season",
"Episode",
"Soundbite",
"Location",
"Person",
"Value",
"Sn-Network",
"Boostagrams",
"Sat Streaming",
"Video",
"Synchronize"
]
},
"elementURL": {
"type": "string",
"format": "uri"
}
},
"required": [
"elementName",
"elementURL"
]
}
}
}