Skip to content

Commit

Permalink
Merge pull request #6197 from slub/add_missing_use_attribute_37x
Browse files Browse the repository at this point in the history
[3.7] Add missing mediaPartial to the allowed list
  • Loading branch information
solth authored Sep 2, 2024
2 parents 7b2de13 + 0a44375 commit 5d374e4
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 5d374e4

Please sign in to comment.