Skip to content

Commit

Permalink
Merge pull request #6196 from slub/add_missing_use_attribute
Browse files Browse the repository at this point in the history
Add missing mediaPartial to the allowed list
  • Loading branch information
solth authored Sep 2, 2024
2 parents a342256 + 4a3fc56 commit c347da7
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 c347da7

Please sign in to comment.