In order to understand Verona Interfaces, please go to Verona Interfaces Introduction!
A Verona Editor is a Html-file to be loaded into an iframe element of a web application. We call the web application "host". This specification describes the asynchronous communication between a host and the editor.
Read the spec here:
The editor file must contain of one script tag for metadata as json-ld. The syntax and elements are described here.
- add
no-value
,json
andcoded
to variable types
- add
alias
to variable - add
role
toeditorConfig
- do not allow additional properties anymore
- fix variables (must be an array)
- add more possible values of
format
property invariable info
- add page identifier to variable info; this might help to locate items
- change handling of variable-list: Separate json schema, tests added
- the editor should send always full payload; in case of performance issues, the editor should use strategies like buffer/delay/debounce; therefor,
voeGetDefinitionRequest
anddefinitionReportPolicy
property ofeditorConfig
invoeStartCommand
are removed; propertiesunitDefinition
andunitDefinitionType
invoeDefinitionChangedNotification
are now required - added
directDownloadUrl
ineditorConfig
to enable download of additional code or data by the editor - added dependencies
dependenciesToPlay
anddependenciesToEdit
to play or to edit the unit invoeDefinitionChangedNotification
- specify metadata as json-ld as described here; changed
voeReadyNotification
to send thismetadata
instead ofapiVersion
,notSupportedApiFeatures
andsupportedUnitDefinitionTypes
- add variable data to
voeDefinitionChangedNotification
to support coding scheme
- almost all operation ids renamed
- metadata introduced
- eager reporting added
This api is written as async api yaml file. After committing to main branch, a GitHub action is triggered to build the html page. Don't forget to update the version and the release notes in README.md
. Then, create an release.
If you like to check the html page before committing to main branch,
- have an npm/node.js-environment installed
- check out the repo
- run
npm install
- run the
generate
script in package.json.
After that, you can check docs/index.html
in a browser. This file will be ignored by git.