Understand the chord data schema
masterThe database stores chords as JavaScript objects where each chord contains a key, a suffix, and an array of positions. Each position represents a specific way to play the chord (a variation).
Key fields within a position include:
frets: A string representing the fret number for each string (e.g.,'0320xx').fingers: A string representing the finger used for each string (e.g.,'031000').barres: An optional integer indicating if a barre is required.capo: An optional boolean to indicate if the barre should be represented as a capo.
export default {
key: 'D',
suffix: 'sus2',
positions: [{
frets: '0320xx',
fingers: '031000'
},
{
frets: '55775x',
fingers: '114310',
barres: 5,
capo: true
}]
}