-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add association events, fix the model to align better with EPCIS, and add rich documentation. closes #39 May go some way to answering #69
- Loading branch information
Showing
8 changed files
with
783 additions
and
5 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions
65
website/schema/traceabilityAggregationEvent.v0.3.0.JSONLDContext.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"@context": { | ||
"parentEPC": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"childEPCs": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"childQuantityList": { | ||
"@context": { | ||
"epcClass": "xsd:string", | ||
"quantity": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"eventID": "xsd:string", | ||
"eventTime": "xsd:string", | ||
"action": "xsd:string", | ||
"disposition": "xsd:string", | ||
"bizStep": "xsd:string", | ||
"bizLocation": "xsd:string", | ||
"sensorElementList": { | ||
"@context": { | ||
"sensorMetadata": { | ||
"@context": { | ||
"device": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"dataProcessingMethod": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"sensorReport": { | ||
"@context": { | ||
"time": "xsd:string", | ||
"value": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"sensorIntegrityProof": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"@version": 1.1 | ||
}, | ||
"@id": "xsd:string" | ||
} |
65 changes: 65 additions & 0 deletions
65
website/schema/traceabilityAssociationEvent.v0.3.0.JSONLDContext.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"@context": { | ||
"parentEPC": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"childEPCs": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"childQuantityList": { | ||
"@context": { | ||
"epcClass": "xsd:string", | ||
"quantity": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"eventID": "xsd:string", | ||
"eventTime": "xsd:string", | ||
"action": "xsd:string", | ||
"disposition": "xsd:string", | ||
"bizStep": "xsd:string", | ||
"bizLocation": "xsd:string", | ||
"sensorElementList": { | ||
"@context": { | ||
"sensorMetadata": { | ||
"@context": { | ||
"device": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"dataProcessingMethod": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"sensorReport": { | ||
"@context": { | ||
"time": "xsd:string", | ||
"value": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"sensorIntegrityProof": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"@version": 1.1 | ||
}, | ||
"@id": "xsd:string" | ||
} |
58 changes: 58 additions & 0 deletions
58
website/schema/traceabilityObjectEvent.v0.3.0.JSONLDContext.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"@context": { | ||
"epcList": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"quantityList": { | ||
"@context": { | ||
"epcClass": "xsd:string", | ||
"quantity": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"eventID": "xsd:string", | ||
"eventTime": "xsd:string", | ||
"action": "xsd:string", | ||
"disposition": "xsd:string", | ||
"bizStep": "xsd:string", | ||
"bizLocation": "xsd:string", | ||
"sensorElementList": { | ||
"@context": { | ||
"sensorMetadata": { | ||
"@context": { | ||
"device": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"dataProcessingMethod": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"sensorReport": { | ||
"@context": { | ||
"time": "xsd:string", | ||
"value": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"sensorIntegrityProof": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"@version": 1.1 | ||
}, | ||
"@id": "xsd:string" | ||
} |
79 changes: 79 additions & 0 deletions
79
website/schema/traceabilityTransactionEvent.v0.3.0.JSONLDContext.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"@context": { | ||
"sourceParty": { | ||
"@context": { | ||
"partyID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"destinationParty": { | ||
"@context": { | ||
"partyID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"epcList": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"quantityList": { | ||
"@context": { | ||
"epcClass": "xsd:string", | ||
"quantity": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"referenceDocument": { | ||
"@context": { | ||
"identifier": "xsd:string", | ||
"documentURL": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"eventID": "xsd:string", | ||
"eventTime": "xsd:string", | ||
"action": "xsd:string", | ||
"disposition": "xsd:string", | ||
"bizStep": "xsd:string", | ||
"bizLocation": "xsd:string", | ||
"sensorElementList": { | ||
"@context": { | ||
"sensorMetadata": { | ||
"@context": { | ||
"device": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"dataProcessingMethod": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"sensorReport": { | ||
"@context": { | ||
"time": "xsd:string", | ||
"value": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"sensorIntegrityProof": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"@version": 1.1 | ||
}, | ||
"@id": "xsd:string" | ||
} |
76 changes: 76 additions & 0 deletions
76
website/schema/traceabilityTransformationEvent.v0.3.0.JSONLDContext.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"@context": { | ||
"outputEPCList": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"inputEPCList": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"inputQuantityList": { | ||
"@context": { | ||
"epcClass": "xsd:string", | ||
"quantity": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"outputQuantityList": { | ||
"@context": { | ||
"epcClass": "xsd:string", | ||
"quantity": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"processType": "xsd:string", | ||
"eventID": "xsd:string", | ||
"eventTime": "xsd:string", | ||
"action": "xsd:string", | ||
"disposition": "xsd:string", | ||
"bizStep": "xsd:string", | ||
"bizLocation": "xsd:string", | ||
"sensorElementList": { | ||
"@context": { | ||
"sensorMetadata": { | ||
"@context": { | ||
"device": { | ||
"@context": { | ||
"itemID": "xsd:string", | ||
"name": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"dataProcessingMethod": "xsd:string" | ||
}, | ||
"@id": "xsd:string" | ||
}, | ||
"sensorReport": { | ||
"@context": { | ||
"time": "xsd:string", | ||
"value": "xsd:decimal", | ||
"uom": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"sensorIntegrityProof": "xsd:string" | ||
}, | ||
"@id": "xsd:string", | ||
"@container": "@list" | ||
}, | ||
"@version": 1.1 | ||
}, | ||
"@id": "xsd:string" | ||
} |