{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://holochain.org/hc/app-manifest",
"title": "WebAppManifest",
"description": "Holochain WebHApp manifest",
"type": "object",
"additionalProperties": false,
"required": [
"manifest_version",
"name",
"ui"
],
"properties": {
"manifest_version": {
"type": "string",
"description": "The version of the app manifest schema"
},
"name": {
"type": "string",
"description": "The name of the app"
},
"ui": {
"$ref": "#/definitions/Location"
},
"happ_manifest": {
"$ref": "#/definitions/Location"
}
},
"definitions": {
"Location": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"bundled": {
"type": "string",
"description": "Expect file to be part of this bundle"
}
}
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"type": "string",
"description": "Get file from local filesystem (not bundled)"
}
}
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "Get file from URL"
}
}
}
]
}
}
}