Format JSON upload UCS by Arie Nugraha

SLiMS Comments Off

Karena SLiMS menggunakan open format untuk upload data bibliografi ke UCS, yaitu dengan format JSON, maka aplikasi perpustakaan lain pun bisa meng-upload data bibliografi mereka ke UCS. Berikut saya tuliskan format JSON yang bisa diterima UCS melalui protokol HTTP seandainya ada aplikasi perpustakaan lain yang ingin meng-upload data mereka ke UCS.

Bentuk request push record UCS SLiMS dalam format JSON. Secara garis besar request push record dibagi menjadi 2, yaitu bagian “node_info” yang berisi data identifikasi dari node yang mengirimkan data, dan “node_data” yang berisikan data-data bibliografis yang dikirimkan.

Contoh di bawah adalah push 3 buah record dari node “slims-node”,

record yang di-push adalah dengan judul:

– Producing open source software : how to run a successful free software project (dengan ID record 5)

– The organization of information (dengan ID record 9)

– Library and Information Center Management (dengan ID record 10)

 

Some notes:

* Nama field dan value string pada JSON harus diapit dengan “double quotes”

* Value yang dimulai dengan “[” dan diakhiri dengan “]” adalah Array javascript

 

Format JSON push request UCS:

 

{

“node_info”:

{“id”:”slims-node”,

“password”:”2325f677e21c1613909c953eb03c57352259cc5d”,

“name”:”SLiMS Library”},

“node_data”:

{“5”:{“biblio_id”:”5″,

“title”:”Producing open source software : how to run a successful free software project”,

“spec_detail_info”:null,

“gmd_code”:”TE”,

“gmd_name”:”Text”,

“edition”:”1st ed.”,

“isbn_issn”:”9780596007591″,

“publisher_name”:”OReilly”,

“publish_year”:”2005″,

“collation”:”xx, 279 p. ; 24 cm.”,

“series_title”:null,

“call_number”:”005.1-22 Fog p”,

“language_id”:”en”,

“language_name”:”English”,

“place_name”:”Sebastopol, CA”,

“classification”:”005.1 22″,

“notes”:”Includes index.”,

“frequency”:null,

“authors”:[{“name”:”Fogel, Karl”,”level”:”1″,”type”:”p”,”auth_list”:null}],

“subjects”:[{“name”:”Open Source”,”level”:”1″,”type”:”t”,”auth_list”:null},{“name”:”Project”,”level”:”2″,”type”:”t”,”auth_list”:null}]},

“9”:{“biblio_id”:”9″,

“title”:”The organization of information”,

“spec_detail_info”:null,

“gmd_code”:”TE”,

“gmd_name”:”Text”,

“edition”:”2nd ed.”,

“isbn_issn”:”1563089769″,

“publisher_name”:”Libraries Unlimited”,

“publish_year”:”2004″,

“collation”:”xxvii, 417 p. : ill. ; 27 cm.”,

“series_title”:”Library and information science text series”,

“call_number”:”025-22 Tay o”,

“language_id”:”en”,

“language_name”:”English”,

“place_name”:”Westport, Conn.”,

“classification”:”025 22″,

“notes”:”A basic textbook for students of library and information studies, and a guide for practicing school library media specialists. Describes the impact of global forces and the school district on the development and operation of a media center, the technical and human side of management, programmatic activities, supportive services to students, and the quality and quantity of resources available to support programs.”,

“frequency”:null,

“authors”:[{“name”:”Taylor, Arlene G.”,”level”:”1″,”type”:”p”,”auth_list”:null}],

“subjects”:[{“name”:”Information”,”level”:”1″,”type”:”t”,”auth_list”:null},{“name”:”Organization”,”level”:”2″,”type”:”t”,”auth_list”:null},{“name”:”Metadata”,”level”:”2″,”type”:”t”,”auth_list”:null}]},

“10”:{“biblio_id”:”10″,”title”:”Library and Information Center Management”,

“spec_detail_info”:null,

“gmd_code”:”TE”,

“gmd_name”:”Text”,

“edition”:”7th ed.”,

“isbn_issn”:”9781591584063″,

“publisher_name”:”Libraries Unlimited”,

“publish_year”:”2007″,

“collation”:”xxviii, 492 p. : ill. ; 27 cm.”,

“series_title”:”Library and information science text series”,

“call_number”:”025.1-22 Stu l”,

“language_id”:”en”,

“language_name”:”English”,

“place_name”:”Westport, Conn.”,

“classification”:”025.1 22″,

“notes”:null,

“frequency”:null,

“authors”:[{“name”:”Stueart, Robert D.”,”level”:”1″,”type”:”p”,”auth_list”:null},{“name”:”Moran, Barbara B.”,”level”:”2″,”type”:”p”,”auth_list”:null}],

“subjects”:[{“name”:”Information”,”level”:”1″,”type”:”t”,”auth_list”:null},{“name”:”Library”,”level”:”2″,”type”:”t”,”auth_list”:null}]}

}

}

Author

Back to Top