1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-26 19:22:15 -05:00

add composer, date, genre, language, lyricist, and performer tags; make rating optional

This commit is contained in:
Martin 2020-10-15 20:36:35 +00:00
parent 74d35ebbcf
commit 6116474da2

View File

@ -118,22 +118,58 @@
</tr> </tr>
<tr> <tr>
<td>artist</td> <td>artist</td>
<td>The artist or performer of the song or piece</td> <td>The artist of the song or piece</td>
<td>Yes</td> <td>Yes</td>
<td>xs:string</td> <td>xs:string</td>
</tr> </tr>
<tr>
<td>composer</td>
<td>The composer of the song or piece</td>
<td>Дмитрий Дмитриевич Шостакович (Dmitri Shostakovich)</td>
<td>xs:string</td>
</tr>
<tr>
<td>date</td>
<td>The recording or publication date of the song or piece</td>
<td>2003-02-15</td>
<td>xs:string</td>
</tr>
<tr>
<td>genre</td>
<td>The genre of the song or piece</td>
<td>Opera</td>
<td>xs:string</td>
</tr>
<tr>
<td>language</td>
<td>The language of the song or piece, SHOULD be an ISO-639 three letter code</td>
<td>rus</td>
<td>xs:string</td>
</tr>
<tr> <tr>
<td>length</td> <td>length</td>
<td>The duration of the song or piece in seconds</td> <td>The duration of the song or piece in seconds</td>
<td>686</td> <td>686</td>
<td>xs:unsignedShort</td> <td>xs:unsignedShort</td>
</tr> </tr>
<tr>
<td>lyricist</td>
<td>The lyricist of the song or piece</td>
<td>William Shakespeare</td>
<td>xs:string</td>
</tr>
<tr> <tr>
<td>rating</td> <td>rating</td>
<td>The user's rating of the song or piece, from 1 (lowest) to 10 (highest).</td> <td>The user's rating of the song or piece, from 1 (lowest) to 10 (highest).</td>
<td>8</td> <td>8</td>
<td>xs:positiveInteger</td> <td>xs:positiveInteger</td>
</tr> </tr>
<tr>
<td>performer</td>
<td>The performer of the song or piece</td>
<td>Елена Жидкова (Elena Zhidkova)</td>
<td>xs:string</td>
</tr>
<tr> <tr>
<td>source</td> <td>source</td>
<td>The collection (e.g., album) or other source (e.g., a band website that hosts streams or audio files)</td> <td>The collection (e.g., album) or other source (e.g., a band website that hosts streams or audio files)</td>
@ -272,8 +308,14 @@
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0'> <xs:sequence minOccurs='0'>
<xs:element name='artist' type='xs:string' minOccurs='0'/> <xs:element name='artist' type='xs:string' minOccurs='0'/>
<xs:element name='composer' type='xs:string' minOccurs='0'/>
<xs:element name='date' type='xs:string' minOccurs='0'/>
<xs:element name='genre' type='xs:string' minOccurs='0'/>
<xs:element name='language' type='xs:string' minOccurs='0'/>
<xs:element name='length' type='xs:unsignedShort' minOccurs='0'/> <xs:element name='length' type='xs:unsignedShort' minOccurs='0'/>
<xs:element name='rating'> <xs:element name='lyricist' type='xs:string' minOccurs='0'/>
<xs:element name='performer' type='xs:string' minOccurs='0'/>
<xs:element name='rating' minOccurs='0'>
<xs:simpleType> <xs:simpleType>
<xs:restriction base='xs:positiveInteger'> <xs:restriction base='xs:positiveInteger'>
<xs:maxInclusive value='10'/> <xs:maxInclusive value='10'/>