[ACA-1695] viewer extensions (#576)

[ACA-1695] viewer extensions
This commit is contained in:
Denys Vuika
2018-08-19 15:14:06 +01:00
committed by GitHub
parent eff9ce13f7
commit e97c8b703c
11 changed files with 299 additions and 0 deletions
+32
View File
@@ -268,6 +268,32 @@
}
}
}
},
"viewerExtensionRef": {
"type": "object",
"required": ["id", "component", "fileExtension"],
"properties": {
"id": {
"description": "Unique identifier for the navigation group",
"type": "string"
},
"component": {
"description": "Component id",
"type": "string"
},
"fileExtension": {
"description": "Target file extension",
"type": "string"
},
"order": {
"description": "Group order",
"type": "number"
},
"disabled": {
"description": "Toggles the disabled state",
"type": "boolean"
}
}
}
},
@@ -337,6 +363,12 @@
"type": "array",
"items": { "$ref": "#/definitions/contentActionRef" },
"minItems": 1
},
"content": {
"description": "Viewer content extensions",
"type": "array",
"items": { "$ref": "#/definitions/viewerExtensionRef" },
"minItems": 1
}
}
},