chenmoHwI’pu’
OnSong® binder file mIw
QoQ ghommey QaHqu’ OnSong® app, vaj nav chord charts sheet music je lonta’ chaH. ’ej binder lonmeH QoQ chu’wI’pu’ wIQaHpu’. DaH 3-rings hole punch je Dalo’nISbe’. ’ach De’wI’ mIw chu’ law’ rur ngeDmeH mIwvam: latlh qaD chenmoH. chay’ De’wI’ chord charts, sets, paqmey je wIQaylaH, ngeD file format lo’taHvIS, Hoch jan Daq Qapbogh? OnSong® Binder ghoS!
nuq ’oH OnSong® Binder’e’?
file format ’oH OnSong® Binder’e’; OnSong 2026.2 ’ej veb Dalo’laH. *.onsongbinder file extension lo’ ’ej “application/onsong-binder” MIME type lo’. ZIP file nap ’oH; nabbogh file hierarchy ’ej De’ Segh law’ labmeH files ngaS. ghIq DaneHchugh compress uncompress je De’vam; ngaSbogh Dochmey nejlu’laH; serialize deserialize je objects; data file chellu’laH je. DaH OnSong® Binder file chenmoHmeH mIwmey ’op ghIlegh.
file pat
Hoch taghnIS Daq; vaj root Daq matagh. De’ structure root Daq ratlhbogh file folder joq chaH. folder file joq chaH chaq. folder ’oSlaH wa’ Doch pagh De’, pagh De’ ghom. chay’ pIm chaH DaSovmeH, yIlaD:
Dochmey
Doch identifier ghajbogh folder Daq Doch pollu’. ghIq “manifest.json” file ngaS folder’e’. JSON (JavaScript Object Notation) file ’oH. De’ ngaS; De’vetlh lo’taHvIS, class-based Dochmey chenmoHlaH De’wI’ cha’.
ghommey
collections ngaSbogh folders tu’lu’, ’ej folders ngaS object De’, “manifest.json” file ngaSmo’. object puq ghajchugh, pImbogh folders Daq collections polta’lu’, ’ej collection pong lo’ folder pong. chovnatlh: set ghaj “songs” folder; folders law’ ngaS, ’ej wa’ bom object ’oS Hoch folder.
Dochvam Dasovmo’, wa’ root object ngaSlaH OnSong® Binder file’e’ maH; object law’ ngaSlaH je. bommey set list DangeHchugh, root-Daq “manifest.json” file DachellaH; set De’ ngaS. vaj “songs” folder DachellaH; setlist bom object ’oS. folder ’oH Hoch object’e’; Dochvam rur…
manifest De’
manifest.json file’e’ JavaScript Object Notation file ’oH; vaj pat Sar lo’laH. Doch De’ polmeH ’ej ghunDaq Doch chenmoHqa’meH De’ poQlu’bogh ngaS. JSON file’Daq pong ’ej value tu’lu’; latlh binder Dotlhmey le’ tu’lu’ je:
$binder.ID
Doch ngu’meH pong pIm ’oH pongvam’e’. ’oH ngaSbogh folder pong je rapnIS.
$binder.class
serializelu’pu’bogh Doch class pong ’oH. motlh, class pongmey rapmoH binding mIw: app namespace, prefix je teq. OnSong® app “OSBook” class lo’, ’ach “Book” neH moj class. OnSong® Binder file format class’e’ “Set”, “Book”, “Song”, “SongAttachment” je lo’laH.
$binder.assembledOn
Doch binder je chenmoHlu’pu’bogh jaj/poH ’oH De’vam’e’; ISO 8601 mIw lo’.
$binder.collectionName
pIj latlh Dochmey ghaj serialize-lu’bogh Dochmey: puqpu’ pagh Dochmey rarlu’bogh. ghu’vam yIqel: bommey ghaj set, ’ej mIw wa’DIch tetlhlu’nIS bommeyvetlh. attachments ghaj bom; files ngaSlaH attachments, ’ej mIwmey law’ bom cha’meH lo’lu’ filesvetlh. collection pong ’oH collection property’e’, “$binder.songs” rur.
“$binder.” prefix tlha’ property pong’e’ folder pong rur; foldervetlhDaq objects tu’lu’. ghantoHvamDaq, Set folder ngaS “songs” folder, ’ej foldervetlh ngaS Hoch bomvaD file. collection property ngaS related item reference, class je, object ’oH ’ej properties tu’lu’:
$binder.ref
container folder pong Doch folder pong je ngaSbogh Doch ’agh URIvam.
$binder.class
Doch Segh pong ’oH.
unique identifier SONG_IDENTIFIER_1 ghajchugh Song object wIlo’bogh, collectionDaq element tlha’bogh ngaS:
{“$binder.ref” : ”songs/SONG_IDENTIFIER_1”, “$binder.class” : ”Song”}
file Dalo’DI’, DaneHchugh keys DateqlaH, class files Dalo’pa’.
teywI’mey
files pol je OnSong® Binder file format. object Daq binary pagh text file Dalo’chugh, lo’laH. bom wa’, attachments law’ ghajlaH; files leghlaHbogh ngaS attachments. file’e’ ngaSbogh property tu’lu’DI’, files’vam ngaSmeH OnSong® Binder chenmoHlu’.
SongAttachment Doch’e’: “filename” property ghaj, ’ej file ’oS property’vam. app naQDaq file ’oS Doch class’vam je. binder mutlhmeH mIw’e’: file ’oSlu’bogh lIngqa’ ’ej binding folderDaq lan; bom folderDaq attachment “manifest.json” retlhDaq ’oH binding folder’e’. ghIq “filename” property wIlo’DI’, wa’ attachment file wItu’laH.
chovnatlhmey
Dayaj Qatlh chaq, ’ach OnSong® Binder file format lo’ ngeD, ’e’ wIHar. OnSong® Binder Qap chay’ DaghojmeH, mIwvam QaQ law’ Hoch QaQ puS: examples yInuD — bommey law’, wa’ bom, wa’ setlist, wa’ paq je — ’ej chay’ chaH ghun OnSong ’e’ yIlegh. ZIP files DapoSmoHlaH, ngaSbogh Dochmey DanuDmeH: