Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpscholar/1bd53028e9a9685aa863f4e165252bbe to your computer and use it in GitHub Desktop.
Save wpscholar/1bd53028e9a9685aa863f4e165252bbe to your computer and use it in GitHub Desktop.
{
"audits": [
{
"id": 1,
"facility": "ST-CD-Mbandaka",
"bottler": "BGI",
"country": "Ivory coast",
"businessUnit": "Central East and West Africa",
"bottlerGroup": "Eurasia Africa",
"status": "completed",
"assessments": [ 2, 7, 8 ],
"createdBy: "user1",
"lastUpdatedBy": "user2",
"created": "2016-01-07",
"lastUpdated": "2016-01-27",
"dateCompleted": "2016-01-27"
}
],
"assessmentTypes": [
{
"type": "general",
"title": "General"
},
{
"type": "process-area",
"title": "Process Area"
},
{
"type": "warehouse-unit",
"title": "Warehouse / Unit"
}
],
"assessments": [
{
"id": 7,
"auditID": 1,
"title": "Site",
"category": "general",
"type": "site",
"createdBy": "default",
"state": "complete",
"sections": [ 18, 20 ],
"score": 90
},
{
"id": 8,
"auditID": 1,
"title": "Warehouse 12",
"category": "warehouse-unit",
"type": "warehouse-unit",
"createdBy": "user1",
"state": "incomplete",
"sections": [ 21, 22, 24 ],
"score": 45
}
],
"sections": [
{
"id": 20,
"auditID": 1,
"assessmentID": 1,
"title": "Activities and Surrounding Environment",
"type": "site",
"questions": [ 2, 3, 5, 6, 31 ]
},
{
"id": 22,
"auditID": 1,
"assessmentID": 1,
"title": "Section Title",
"type": "warehouse_unit",
"questions": [ 7, 8, 9, 31 ]
}
],
"questions": [
{
"id": 31,
"sectionID": 1,
"type": "site",
"title": "Question Title",
"description": "Question Description",
"tips": [
"Site is not in or close to local industry that emits objectionable smoke, odours, or dust",
"Site is not in an area of or next to hazardous substances or wastes (such as landfill) ",
"Site does not have an environmental impact which will draw adverse media and public reaction which could damage TCCC's reputation",
"Top management review and assess food safety risks to ensure they continue to be effective and created action plan as necessary"
],
"gateway": false
},
{
"id": 32,
"sectionID": 1,
"type": "site",
"title": "Question Title",
"description": "Question Description",
"tips": [],
"gateway": true
}
],
"answers": [
{
"id": 11,
"sectionID": 2,
"question": 31,
"answer": "",
"failures": 2,
"reason": "",
"note": "",
"photos": [ 73 ]
}
],
"photos": [
{
"id": 73,
"path": "",
"url": ""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment