-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incorporated support to ignore industry/repository specific fields
- Loading branch information
1 parent
8ebb171
commit b68b60f
Showing
7 changed files
with
135 additions
and
3 deletions.
There are no files selected for viewing
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
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,2 @@ | ||
ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0 | ||
ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0 |
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,55 @@ | ||
{ | ||
"@context": [ | ||
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld", | ||
{ | ||
"example": "https://ns.example.com/epcis/", | ||
"repository-x": "https://repository-x.example.com/" | ||
}, | ||
{ | ||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#" | ||
} | ||
], | ||
"id": "https://id.example.org/document1", | ||
"type": "EPCISDocument", | ||
"schemaVersion": "2.0", | ||
"creationDate": "2005-07-11T11:30:47.0Z", | ||
"repository-x:ignoreFields": ["repository-x:hash", "example:captureID"], | ||
"epcisBody": { | ||
"eventList": [ | ||
{ | ||
"type": "ObjectEvent", | ||
"eventTime": "2019-10-21T14:45:00Z", | ||
"recordTime": "2023-06-02T07:03:16.073Z", | ||
"eventTimeZoneOffset": "+01:00", | ||
"eventID": "ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0", | ||
"epcList": [ | ||
"https://id.gs1.org/00/040123451111111127" | ||
], | ||
"action": "OBSERVE", | ||
"bizStep": "inspecting", | ||
"disposition": "in_progress", | ||
"readPoint": { | ||
"id": "https://id.gs1.org/414/4012345000245/254/1" | ||
}, | ||
"repository-x:hash": "ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0", | ||
"example:captureID": "cc90bbe4-7f3a-4abd-b150-d4371c72a64f" | ||
}, | ||
{ | ||
"type": "ObjectEvent", | ||
"eventTime": "2019-10-21T14:45:00Z", | ||
"recordTime": "2023-06-02T07:03:16.073Z", | ||
"eventTimeZoneOffset": "+01:00", | ||
"eventID": "ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0", | ||
"epcList": [ | ||
"https://id.gs1.org/00/040123451111111127" | ||
], | ||
"action": "OBSERVE", | ||
"bizStep": "inspecting", | ||
"disposition": "in_progress", | ||
"readPoint": { | ||
"id": "https://id.gs1.org/414/4012345000245/254/1" | ||
} | ||
} | ||
] | ||
} | ||
} |
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,2 @@ | ||
eventType=ObjectEventeventTime=2019-10-21T14:45:00.000ZeventTimeZoneOffset=+01:00epcListepc=https://id.gs1.org/00/040123451111111127action=OBSERVEbizStep=https://ref.gs1.org/cbv/BizStep-inspectingdisposition=https://ref.gs1.org/cbv/Disp-in_progressreadPointid=https://id.gs1.org/414/4012345000245/254/1 | ||
eventType=ObjectEventeventTime=2019-10-21T14:45:00.000ZeventTimeZoneOffset=+01:00epcListepc=https://id.gs1.org/00/040123451111111127action=OBSERVEbizStep=https://ref.gs1.org/cbv/BizStep-inspectingdisposition=https://ref.gs1.org/cbv/Disp-in_progressreadPointid=https://id.gs1.org/414/4012345000245/254/1 |
2 changes: 2 additions & 0 deletions
2
tests/examples/epcisQueryDocHavingEventWithIgnoreFields.hashes
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,2 @@ | ||
ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0 | ||
ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0 |
57 changes: 57 additions & 0 deletions
57
tests/examples/epcisQueryDocHavingEventWithIgnoreFields.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,57 @@ | ||
{ | ||
"@context": [ | ||
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld", | ||
{ | ||
"example": "https://ns.example.com/epcis/", | ||
"repository-x": "https://repository-x.example.com/" | ||
} | ||
], | ||
"type": "EPCISQueryDocument", | ||
"schemaVersion": "2.0", | ||
"creationDate": "2005-07-11T11:30:47.0Z", | ||
"epcisBody": { | ||
"queryResults": { | ||
"subscriptionID": "32d2aec1-a6d2-46d9-900a-24124288cce1", | ||
"queryName": "SimpleEventQuery", | ||
"repository-x:ignoreFields": ["repository-x:hash", "example:captureID"], | ||
"resultsBody": { | ||
"eventList": [ | ||
{ | ||
"type": "ObjectEvent", | ||
"eventTime": "2019-10-21T14:45:00Z", | ||
"recordTime": "2023-06-02T07:03:16.073Z", | ||
"eventTimeZoneOffset": "+01:00", | ||
"eventID": "ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0", | ||
"epcList": [ | ||
"https://id.gs1.org/00/040123451111111127" | ||
], | ||
"action": "OBSERVE", | ||
"bizStep": "inspecting", | ||
"disposition": "in_progress", | ||
"readPoint": { | ||
"id": "https://id.gs1.org/414/4012345000245/254/1" | ||
}, | ||
"repository-x:hash": "ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0", | ||
"example:captureID": "cc90bbe4-7f3a-4abd-b150-d4371c72a64f" | ||
}, | ||
{ | ||
"type": "ObjectEvent", | ||
"eventTime": "2019-10-21T14:45:00Z", | ||
"recordTime": "2023-06-02T07:03:16.073Z", | ||
"eventTimeZoneOffset": "+01:00", | ||
"eventID": "ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0", | ||
"epcList": [ | ||
"https://id.gs1.org/00/040123451111111127" | ||
], | ||
"action": "OBSERVE", | ||
"bizStep": "inspecting", | ||
"disposition": "in_progress", | ||
"readPoint": { | ||
"id": "https://id.gs1.org/414/4012345000245/254/1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
tests/examples/epcisQueryDocHavingEventWithIgnoreFields.prehashes
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,2 @@ | ||
eventType=ObjectEventeventTime=2019-10-21T14:45:00.000ZeventTimeZoneOffset=+01:00epcListepc=https://id.gs1.org/00/040123451111111127action=OBSERVEbizStep=https://ref.gs1.org/cbv/BizStep-inspectingdisposition=https://ref.gs1.org/cbv/Disp-in_progressreadPointid=https://id.gs1.org/414/4012345000245/254/1 | ||
eventType=ObjectEventeventTime=2019-10-21T14:45:00.000ZeventTimeZoneOffset=+01:00epcListepc=https://id.gs1.org/00/040123451111111127action=OBSERVEbizStep=https://ref.gs1.org/cbv/BizStep-inspectingdisposition=https://ref.gs1.org/cbv/Disp-in_progressreadPointid=https://id.gs1.org/414/4012345000245/254/1 |