doc/ffprobe.xsd: Clean-up choice indicator definitions

Remove the unneeded wrapping sequence element. Also the
minOccurs/maxOccurs occurrence indicators on the inner element
definitions can be removed.

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
This commit is contained in:
Tobias Rapp 2021-03-31 11:47:18 +02:00
parent f10da58ec3
commit 39eafd0b2e
1 changed files with 9 additions and 13 deletions

View File

@ -29,22 +29,18 @@
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="framesType"> <xsd:complexType name="framesType">
<xsd:sequence> <xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="frame" type="ffprobe:frameType"/>
<xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="subtitle" type="ffprobe:subtitleType"/>
<xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/> </xsd:choice>
</xsd:choice>
</xsd:sequence>
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="packetsAndFramesType"> <xsd:complexType name="packetsAndFramesType">
<xsd:sequence> <xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="packet" type="ffprobe:packetType"/>
<xsd:element name="packet" type="ffprobe:packetType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="frame" type="ffprobe:frameType"/>
<xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="subtitle" type="ffprobe:subtitleType"/>
<xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/> </xsd:choice>
</xsd:choice>
</xsd:sequence>
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="packetType"> <xsd:complexType name="packetType">