Skip to content

Commit

Permalink
Add missing mediaPartial to the allowed list
Browse files Browse the repository at this point in the history
  • Loading branch information
henning-gerhardt committed Aug 27, 2024
1 parent 7b2de13 commit 0a44375
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Kitodo-DataEditor/src/test/resources/ruleset.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,11 @@
'createChildrenWithCalendar' This division is a superordinate unit to which child processes with a
calendar structure can be created. This attribute can only be set on a division that has a
<subdivisionByDate>.

'mediaPartial' with this feature, audio and video bookmarks can be set. This allows, for example,
the setting of chapters for videos, similar to what is possible with YouTube, or the division
of sections of a vinyl record side into segments for audio. More information are available
under https://github.com/kitodo/kitodo-production/wiki/Verwendung-von-Audio-oder-Video#nutzung-der-medienteile-media-partials
</xs:documentation>
</xs:annotation>
<xs:restriction>
Expand All @@ -511,6 +516,7 @@
<xs:restriction base="xs:token">
<xs:enumeration value="createChildrenFromParent"/>
<xs:enumeration value="createChildrenWithCalendar"/>
<xs:enumeration value="mediaPartial"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
Expand Down
6 changes: 6 additions & 0 deletions Kitodo/rulesets/ruleset.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,11 @@
'createChildrenWithCalendar' This division is a superordinate unit to which child processes with a
calendar structure can be created. This attribute can only be set on a division that has a
&lt;subdivisionByDate&gt;.

'mediaPartial' with this feature, audio and video bookmarks can be set. This allows, for example,
the setting of chapters for videos, similar to what is possible with YouTube, or the division
of sections of a vinyl record side into segments for audio. More information are available
under https://github.com/kitodo/kitodo-production/wiki/Verwendung-von-Audio-oder-Video#nutzung-der-medienteile-media-partials
</xs:documentation>
</xs:annotation>
<xs:restriction>
Expand All @@ -511,6 +516,7 @@
<xs:restriction base="xs:token">
<xs:enumeration value="createChildrenFromParent"/>
<xs:enumeration value="createChildrenWithCalendar"/>
<xs:enumeration value="mediaPartial"/>
</xs:restriction>
</xs:simpleType>
</xs:list>
Expand Down

0 comments on commit 0a44375

Please sign in to comment.