Talk:Next Generation Schema/XML

From MusicBrainz Wiki
< Talk:Next Generation Schema
Revision as of 14:14, 1 October 2009 by Murdos (talk | contribs) (Release: asin attribute?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Release

This is what I'd use as for release:

<metadata xmlns="http://musicbrainz.org/ns/mmd-1.0#">                                                              
    <release id="f205627f-b70a-409d-adbe-66289b614e80" status="Official" packaging="JewelBox">                             
        <title>Aerial</title>                                                                                                  
        <text-representation language="ENG" script="Latn"/>                                                                     
        <artist-credit>                                                                                                        
            <name-credit>                                                                                                      
                <artist id="4b585938-f271-45e2-b19a-91c634b5e396">                                                             
                    <name>Kate Bush</name>                                                                                     
                    <sort-name>Bush, Kate</sort-name>
                </artist>                                                                                                      
            </name-credit>                                                                                                     
        </artist-credit>
        <release-event date="2005-11-07" country="GB" barcode="0094634396028" asin="B000BHNLX0"/>                              
            <label-info catalog-number="343 960 2">                                                                            
                <label/>                                                                                                       
            </label-info>                                                                                                      
            <label-info catalog-number="343492 54">                                                                            
                <label/>                                                                                                       
            </label-info>                                                                                                      
        </release-event>                                                                                                       
        <release-group id="6169f5bc-b5ff-3348-b806-1b0f2a414217" type="Album" />
        <disambiguation>UK CD version</disambiguation>                                                  
        <medium-list>
            <medium position="1" format="CD">                                                                                  
                <title>Sea of Honey</title>
                <track-list>                                                                                               
                    <track position="1">
                        <title>King of the Mountain in Candyland</title>                                                                    
                        <recording id="54b9d183-7dab-42ba-94a3-7388a66604b8">
                            <title>King of the Mountains</title>
                            <duration>293720</duration>
                        </recording>
                    </track>                                                                                               
                    <track position="2">                                                      
                        <recording id="659f405b-b4ee-4033-868a-0daa27784b89">
                            <title>π</title>                                                                                       
                            <duration>369680</duration>                                                                            
                        </recording>
                    </track>                                                                                               
                    <track position="3">
                        <recording id="ae674299-2824-4500-9516-653ac1bc6f80"/>
                            <title>Bertie</title>                                                                                  
                            <duration>258839</duration> 
                        </recording>
                    </track>                                                                                               
                    <track position="4">                                                      
                        <recording id="b1d58a57-a0f3-4db8-aa94-868cdc7bc3bb"/>
                           <title>Mrs. Bartolozzi</title>                                                                         
                           <duration>358960</duration>                                                                            
                        </recording>
                    </track>                                                                                               
                    <track position="5">                                                      
                        <recording id="44f52946-0c98-47ba-ba60-964774db56f0"/>
                            <title>How to Be Invisible</title>                                                                     
                            <duration>332613</duration>                                                                            
                        </recording>
                    </track>
                    <track position="6">                                                      
                        <recording id="07614140-8bb8-4db9-9dcc-0917c3a8471b"/>
                            <title>Joanni</title>      
                            <duration>296160</duration>        
                        </recording>
                    </track>                               
                    <track position="7">
                        <recording id="1eb4f672-5ee3-454f-9a67-db85a4478fea"/>
                            <title>A Coral Room</title>
                            <duration>372386</duration>
                        </recording>
                    </track>
                 </track-list>
            </medium>
            <medium position="2" format="CD">                                                                                  
                <title>Sky of Honey</title>
                <track-list>
                    <!-- ... -->
                </track-list>
            </medium>
        </medium-list>
    </release>
</metadata>

Lukáš Lalinský 10:43, 12 August 2009 (UTC)

Why the <release-event> element has an asin attribute? And how is it going to be populated? Murdos 14:14, 1 October 2009 (UTC)