Skip to content

Instantly share code, notes, and snippets.

@sachitsac
Last active January 13, 2016 05:03
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 sachitsac/8c91bf5fda8017098fe0 to your computer and use it in GitHub Desktop.
Save sachitsac/8c91bf5fda8017098fe0 to your computer and use it in GitHub Desktop.
Json Sample
{
kpireferences: {
prefixes: {
http: //api.clearsight.co/ontology/Wolverine: "O0",
http: //apidev.clearsight.co/data/tellmeharrysachit: "D0"
},
access: [
],
data: {
O0: KPIReference: [
{
@id: "D0:KPIReference_58608568c6bdf00fcc",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:27:44",
O0: RecordLastUpdatedDate: "2016-01-06 01:27:44",
O0: KPIReferenceName: "Beverage wee 1",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "T",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_58614568c6c072c590",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:28:24",
O0: RecordLastUpdatedDate: "2016-01-06 01:28:24",
O0: KPIReferenceName: "Food Wee 2",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "sasasa",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_2597655af55839a54c",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: KPIEstablishmentHasKPIReferenceInverse: [
"D0:KPIEstablishment_2597755af558910b7e"
],
O0: RecordLastUpdatedDate: "2016-01-06 01:28:45",
O0: KPIInstanceHasKPIReferenceInverse: [
"D0:KPIInstance_34107561349e73c795",
"D0:KPIInstance_3353955f0d89ac3590",
"D0:KPIInstance_34199561f9f2c0f5ac",
"D0:KPIInstance_3356955f0dd4f010fb",
"D0:KPIInstance_579985677e034c9ad4",
"D0:KPIInstance_3360155f660f13bda5",
"D0:KPIInstance_2597855af5592b4cec",
"D0:KPIInstance_3362355fa02fea9790",
"D0:KPIInstance_35610563bdd5b60817",
"D0:KPIInstance_3354755f0da494f374",
"D0:KPIInstance_3355555f0dab03b9db"
],
O0: KPIReferenceName: "Test 1",
O0: KPIReferenceValueType: "Comment",
O0: KPIReferenceDescription: "Test 1",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_58598568c6b71a729e",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:25:55",
O0: RecordLastUpdatedDate: "2016-01-06 01:25:55",
O0: KPIReferenceName: "Test 1",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "D",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_58610568c6beeedc9a",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:28:00",
O0: RecordLastUpdatedDate: "2016-01-06 01:28:00",
O0: KPIReferenceName: "Food asasa",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "sasa",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_580625678ec71df3e1",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2015-12-22 06:30:55",
O0: KPIEstablishmentHasKPIReferenceInverse: [
"D0:KPIEstablishment_580635678ec78f0098"
],
O0: RecordLastUpdatedDate: "2015-12-22 06:30:55",
O0: KPIInstanceHasKPIReferenceInverse: [
"D0:KPIInstance_580905678ecd5b18c4",
"D0:KPIInstance_580645678ec89b472e"
],
O0: KPIReferenceName: "Food",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "Food",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_581045679dea5d41fa",
@a: [
"O0:DailyKPI",
"O0:KPIReference"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2015-12-22 23:44:19",
O0: KPIEstablishmentHasKPIReferenceInverse: [
"D0:KPIEstablishment_581055679df2a0c467"
],
O0: RecordLastUpdatedDate: "2015-12-22 23:44:19",
O0: KPIInstanceHasKPIReferenceInverse: [
"D0:KPIInstance_581135679df439d8cd"
],
O0: KPIReferenceName: "Beverage ",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "Beverage",
O0: KPIReferenceMandatory: "1"
}
],
O0: RegisterKPI: [
{
@id: "D0:KPIReference_58606568c6bc88ca25",
@a: [
"O0:KPIReference",
"O0:RegisterKPI"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:27:22",
O0: RecordLastUpdatedDate: "2016-01-06 01:27:22",
O0: KPIReferenceName: "Food Wee 1",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "Food",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_58600568c6b83df280",
@a: [
"O0:KPIReference",
"O0:RegisterKPI"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:26:13",
O0: RecordLastUpdatedDate: "2016-01-06 01:26:13",
O0: KPIReferenceName: "Food Wee",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "W",
O0: KPIReferenceMandatory: "1"
},
{
@id: "D0:KPIReference_58602568c6b9d90ba0",
@a: [
"O0:KPIReference",
"O0:RegisterKPI"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: RecordCreatedDate: "2016-01-06 01:26:39",
O0: RecordLastUpdatedDate: "2016-01-06 01:26:39",
O0: KPIReferenceName: "Beverage wee",
O0: KPIReferenceValueType: "Dollar",
O0: KPIReferenceDescription: "ewew",
O0: KPIReferenceMandatory: "1"
}
]
},
count: "12"
}
}
{
endofdays: {
prefixes: {
http: //api.clearsight.co/ontology/Wolverine: "O0",
http: //apidev.clearsight.co/data/tellmeharrysachit: "D0"
},
access: [
],
data: {
O0: EndOfDay: [
{
@id: "D0:EndOfDay_3354855f0daaa43f7e",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-09-08",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: EndOfDayFinalisedByManager: [
"D0:User_2560655ad84849b4d9"
],
O0: EndOfDayLocked: "1",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3352555f0d8776052d"
],
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_3355455f0daab3db8a",
"D0:EODRegister_3355255f0daab313ed",
"D0:EODRegister_3355055f0daab2b9a4"
],
O0: KPIInstanceHasEndOfDayInverse: [
"D0:KPIInstance_3355555f0dab03b9db"
]
},
{
@id: "D0:EndOfDay_337985601f3f4c527f",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-09-23",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-09-23 00:41:35",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3375055ff5731cfbeb"
],
O0: EndOfDayTotalSales: "350",
O0: EndOfDayTotalRead: "300",
O0: EndOfDayTotalVariance: "50",
O0: EndOfDayTotalCashSales: "350",
O0: EndOfDayTotalCashRead: "300",
O0: EndOfDayTotalCashVariance: "50",
O0: EndOfDayTotalCardSales: "0",
O0: EndOfDayTotalCardRead: "0",
O0: EndOfDayTotalCardVariance: "0",
O0: EndOfDayTotalMobileSales: "0",
O0: EndOfDayTotalMobileRead: "0",
O0: EndOfDayTotalMobileVariance: "0",
O0: EndOfDayTotalPhysicalCash: "350",
O0: EndOfDayTotalPhysicalCheques: "0",
O0: RecordLastUpdatedDate: "2015-09-23 00:41:35",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_338045601f3f5ca23a",
"D0:EODRegister_338025601f3f5bbbbf",
"D0:EODRegister_338005601f3f5b9721"
]
},
{
@id: "D0:EndOfDay_338075601f8b948053",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-09-22",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-09-23 01:01:56",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3375055ff5731cfbeb"
],
O0: EndOfDayTotalSales: "100",
O0: EndOfDayTotalRead: "0",
O0: EndOfDayTotalVariance: "100",
O0: EndOfDayTotalCashSales: "100",
O0: EndOfDayTotalCashRead: "0",
O0: EndOfDayTotalCashVariance: "100",
O0: EndOfDayTotalCardSales: "0",
O0: EndOfDayTotalCardRead: "0",
O0: EndOfDayTotalCardVariance: "0",
O0: EndOfDayTotalMobileSales: "0",
O0: EndOfDayTotalMobileRead: "0",
O0: EndOfDayTotalMobileVariance: "0",
O0: EndOfDayTotalPhysicalCash: "100",
O0: EndOfDayTotalPhysicalCheques: "0",
O0: RecordLastUpdatedDate: "2015-09-23 01:01:56",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_338135601f8ba4e96f",
"D0:EODRegister_338095601f8b9e37f4",
"D0:EODRegister_338125601f8ba4e740"
]
},
{
@id: "D0:EndOfDay_3388756034e2c5af06",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-07-27",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-09-24 129:18:48",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3386156034c7977dba"
],
O0: RecordLastUpdatedDate: "2015-09-24 129:18:48",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_3388956034e2cec4b5",
"D0:EODRegister_3389156034e2d7e375",
"D0:EODRegister_3389356034e2d81436"
]
},
{
@id: "D0:EndOfDay_3423356242ccd895e9",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-10-19",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-10-18 23:41:48",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3423256242ccd18183"
],
O0: RecordLastUpdatedDate: "2015-10-18 23:41:48",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_3423556242cce6b16a",
"D0:EODRegister_3423756242cce991f5",
"D0:EODRegister_3423956242cce9bc13"
]
},
{
@id: "D0:EndOfDay_58313568227fb6c681",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-12-29",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-12-29 06:35:22",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_58312568227fabf92d"
],
O0: RecordLastUpdatedDate: "2015-12-29 06:35:22",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_58318568227fc69f7a",
"D0:EODRegister_58319568227fc6a2f0",
"D0:EODRegister_58315568227fc3b81c"
]
},
{
@id: "D0:EndOfDay_3352655f0d8782e3d3",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-09-10",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: EndOfDayFinalisedByManager: [
"D0:User_2560655ad84849b4d9"
],
O0: EndOfDayLocked: "1",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3352555f0d8776052d"
],
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_3353055f0d8792487d",
"D0:EODRegister_3353255f0d879334c3",
"D0:EODRegister_3352855f0d8791a131"
],
O0: KPIInstanceHasEndOfDayInverse: [
"D0:KPIInstance_3353955f0d89ac3590"
]
},
{
@id: "D0:EndOfDay_3389556034e42c039c",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-04-01",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-09-24 129:19:10",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_3389456034e42224bf"
],
O0: RecordLastUpdatedDate: "2015-09-24 129:19:10",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_3389756034e435461b",
"D0:EODRegister_3389956034e43b699b",
"D0:EODRegister_3390156034e43c5bd9"
]
},
{
@id: "D0:EndOfDay_34004560de57ae3769",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-10-02",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-10-02 02:07:14",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_339775609ed2362481"
],
O0: RecordLastUpdatedDate: "2015-10-02 02:07:14",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_34006560de57baa19c",
"D0:EODRegister_34008560de57bc80cd",
"D0:EODRegister_34010560de57bd4ab5"
]
},
{
@id: "D0:EndOfDay_340265611dd492882a",
@a: [
"O0:EndOfDay"
],
@dataset: "http://apidev.clearsight.co/dataset/tellmeharrysachit/2561155ad8484b7158/",
O0: EndOfDayDate: "2015-10-03",
O0: EndOfDayHasEstablishment: [
"D0:Establishment_2561455ad858c90d88"
],
O0: RecordCreatedDate: "2015-10-05 02:21:24",
O0: EndOfDayLocked: "0",
O0: EndOfDayHasEndOfWeek: [
"D0:EndOfWeek_339775609ed2362481"
],
O0: EndOfDayTotalSales: "100",
O0: EndOfDayTotalRead: "0",
O0: EndOfDayTotalVariance: "100",
O0: EndOfDayTotalCashSales: "100",
O0: EndOfDayTotalCashRead: "0",
O0: EndOfDayTotalCashVariance: "100",
O0: EndOfDayTotalCardSales: "0",
O0: EndOfDayTotalCardRead: "0",
O0: EndOfDayTotalCardVariance: "0",
O0: EndOfDayTotalMobileSales: "0",
O0: EndOfDayTotalMobileRead: "0",
O0: EndOfDayTotalMobileVariance: "0",
O0: EndOfDayTotalPhysicalCash: "100",
O0: EndOfDayTotalPhysicalCheques: "0",
O0: RecordLastUpdatedDate: "2015-10-05 02:21:24",
O0: EODRegisterHasEndOfDayInverse: [
"D0:EODRegister_340305611dd4a1f381",
"D0:EODRegister_340325611dd4a2d31e",
"D0:EODRegister_340285611dd49c5eaa"
]
}
]
},
count: "67"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment