Data Structure - nilamdoc/CWMG-WEB GitHub Wiki
A typical structure of a page in a Volume will be similar to:
{
"_id": ObjectId("50b2fb309d5d0c3c16000146"),
"description": "<p>\r\n\t<itemno style=\"background-color: #006600;color: white;\">120<\/itemno>. <itemtitle style=\"background-color: #008800;color: white;\">TO THE PATELS OF BA [...]",
"filename": "v022-XXII-C-298",
"ip": "127.0.0.1",
"is_roman": "0",
"item": {
"address": {
"0": " BARDOLI"
},
"date": {
"actual": {
"0": "January 30, 1922"
}
},
"from": {
"0": "MOHANDAS KARAMCHAND GANDHI",
"1": "VITHALBHAI ]HAVERBHAI PATEL"
},
"no": {
"0": "120"
},
"source": {
"name": {
"0": "Navajivan"
},
"language": {
"0": "Gujarati"
},
"date": {
"0": "2-2-1922"
}
},
"title": {
"0": "TO THE PATELS OF BARDOLI"
}
},
"page": {
"notes": {
"0": "1 Village headmen who help in the collection of Government dues from the cultivators"
}
},
"page_no": "298",
"sort_order": NumberInt(327),
"type": {
"id": ObjectId("5082c62b9d5d0c440c000078"),
"name": "TEXT \/ ADDENDA",
"no": 11
},
"update_date": "2012-11-26 07: 46: 27",
"updated": "T",
"updated_date": "2012-11-26",
"volume_number": "22"
}