React Structural Metadata Editor component which allows a user to interact with structural metadata, adding, editing and deleting headers and timespans. Also presents a visual waveform representation of the work audio file, for help in navigating and identifying sections of the waveform.
Potentially the Avalon endpoint for saving structure could return error message if there is invalid data, and that could be returned to both XML editor and SME. We do have an XSD that could be used for validation.
Description
SME renders the structure from a nested list of
Range
s understructures
property in a IIIF manifest.According to the Presentation 3.0 spec, a Range must have an
items
property with at least one item (https://iiif.io/api/presentation/3.0/#34-structural-properties).To abide this when creating/changing
structures
in SME, we should disallow saving emptyDiv
(heading) items.Done Looks Like
Definition of Done