diff --git a/contexts/traceability-v1.jsonld b/contexts/traceability-v1.jsonld index 901af3dce..9ac79ddbd 100644 --- a/contexts/traceability-v1.jsonld +++ b/contexts/traceability-v1.jsonld @@ -1175,10 +1175,10 @@ "@id": "https://w3id.org/traceability#Commodity" }, "consignee": { - "@id": "https://schema.org/Organization" + "@id": "https://vocabulary.uncefact.org/consigneeParty" }, "consignor": { - "@id": "https://schema.org/Organization" + "@id": "https://vocabulary.uncefact.org/consignorParty" }, "deliveryDate": { "@id": "https://schema.org/arrivalTime" @@ -1187,28 +1187,28 @@ "@id": "https://schema.org/departureTime" }, "injectionVolume": { - "@id": "https://schema.org/Quantity" + "@id": "https://w3id.org/traceability#QuantitativeValue" }, "place": { - "@id": "https://schema.org/Place" + "@id": "https://schema.org/toLocation" }, "portOfArrival": { - "@id": "https://schema.org/identifier" + "@id": "https://w3id.org/traceability#Place" }, "portOfDestination": { - "@id": "https://schema.org/identifier" + "@id": "https://w3id.org/traceability#Place" }, "portOfEntry": { - "@id": "https://schema.org/identifier" + "@id": "https://w3id.org/traceability#Place" }, "scheduledDate": { "@id": "https://schema.org/departureTime" }, "scheduledVolume": { - "@id": "https://schema.org/Quantity" + "@id": "https://w3id.org/traceability#QuantitativeValue" }, "transporter": { - "@id": "https://schema.org/Organization" + "@id": "https://schema.org/agent" } }, "@id": "https://w3id.org/traceability#DeliverySchedule" diff --git a/credentials-with-issuer-dependent-terms.json b/credentials-with-issuer-dependent-terms.json index bf41e214c..ede70f45c 100644 --- a/credentials-with-issuer-dependent-terms.json +++ b/credentials-with-issuer-dependent-terms.json @@ -205,7 +205,7 @@ }, { "type": "DeliveryScheduleCredential", - "count": 6 + "count": 8 }, { "type": "DeMinimisShipmentCredential", diff --git a/openapi/components/schemas/common/DeliverySchedule.yml b/openapi/components/schemas/common/DeliverySchedule.yml index 1bf78010e..e84e2e781 100644 --- a/openapi/components/schemas/common/DeliverySchedule.yml +++ b/openapi/components/schemas/common/DeliverySchedule.yml @@ -22,7 +22,7 @@ properties: $ref: ./Organization.yml $linkedData: term: transporter - '@id': https://schema.org/Organization + '@id': https://schema.org/agent batchNumber: title: Batch Number description: A tracking number for commodities @@ -43,35 +43,37 @@ properties: $ref: ./Place.yml $linkedData: term: place - '@id': https://schema.org/Place + '@id': https://schema.org/fromLocation deliveryDestination: title: Delivery Destination description: The address to which the commodity is being shipped $ref: ./Place.yml $linkedData: term: place - '@id': https://schema.org/Place + '@id': https://schema.org/toLocation consignor: title: Consignor description: The organization that plans and organizes the transportation event $ref: ./Organization.yml $linkedData: term: consignor - '@id': https://schema.org/Organization + '@id': https://vocabulary.uncefact.org/consignorParty consignee: title: Consignee description: The organization that receives the transported commodities $ref: ./Organization.yml $linkedData: term: consignee - '@id': https://schema.org/Organization + '@id': https://vocabulary.uncefact.org/consigneeParty scheduledVolume: title: Scheduled Volume description: the planned volume of the commodities to be delivered - $ref: ./QuantitativeValue.yml + type: array + items: + $ref: ./QuantitativeValue.yml $linkedData: term: scheduledVolume - '@id': https://schema.org/Quantity + '@id': https://w3id.org/traceability#QuantitativeValue scheduledDate: title: Scheduled Date description: The planned date of natural gas delivery @@ -82,10 +84,12 @@ properties: injectionVolume: title: Injection Volume description: Volume of the shipped commodities at the begining of the transportation event - $ref: ./QuantitativeValue.yml + type: array + items: + $ref: ./QuantitativeValue.yml $linkedData: term: injectionVolume - '@id': https://schema.org/Quantity + '@id': https://w3id.org/traceability#QuantitativeValue injectionDate: title: Injection Date description: The planned time for crude oil injection starts @@ -101,26 +105,26 @@ properties: term: deliveryDate '@id': https://schema.org/arrivalTime portOfEntry: - title: Port of Entry Code - description: The code of the port where the commodity crosses the border. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf - type: string + title: Port of Entry + description: The port where the commodity crosses the border. + $ref: ./Place.yml $linkedData: term: portOfEntry - '@id': https://schema.org/identifier + '@id': https://w3id.org/traceability#Place portOfDestination: - title: Port of Destination Code - description: The code of the port of destination to which the product[s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf - type: string + title: Port of Destination + description: The port of destination to which the product[s) were transferred. + $ref: ./Place.yml $linkedData: term: portOfDestination - '@id': https://schema.org/identifier + '@id': https://w3id.org/traceability#Place portOfArrival: - title: Port of Arrival Code - description: The code of the port of arrival to which the product(s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf - type: string + title: Port of Arrival + description: The port of arrival to which the product(s) were transferred. + $ref: ./Place.yml $linkedData: term: portOfArrival - '@id': https://schema.org/identifier + '@id': https://w3id.org/traceability#Place countryOfDestination: title: Country of Destination description: Country to which the product(s) were transferred. @@ -128,6 +132,10 @@ properties: $linkedData: term: addressCountry '@id': https://schema.org/addressCountry + nominationMonth: + title: Nomination Month + description: the month which pipeline and terminal nominations is for + type: string additionalProperties: false required: - type @@ -206,17 +214,59 @@ example: |- ], "name":"Example" }, - "injectionVolume":{ + "scheduledVolume":[ + { + "type":[ + "QuantitativeValue" + ], + "value":"900000", + "unitCode":"m3" + }, + { + "type":[ + "QuantitativeValue" + ], + "value":"5660820", + "unitCode":"bbl" + } + ], + "scheduledDate":"2022-05-01 10:13:00 PM", + "injectionVolume":[ + { + "type":[ + "QuantitativeValue" + ], + "value":"900000", + "unitCode":"m3" + }, + { + "type":[ + "QuantitativeValue" + ], + "value":"5660820", + "unitCode":"bbl" + } + ], + "injectionDate":"2022-05-01 10:13:00 PM", + "deliveryDate":"2022-05-01 10:13:00 PM", + "portOfEntry":{ + "type":[ + "Place" + ], + "usPortCode":"3501" + }, + "portOfDestination":{ "type":[ - "QuantitativeValue" + "Place" ], - "value":"8806", - "unitCode":"M3" + "usPortCode":"3901" }, - "injectionDate":"2022-05-01 10:13:00 PM", - "deliveryDate":"2022-05-01 10:13:00 PM", - "portOfEntry": "3501", - "portOfDestination": "3901", - "portOfArrival": "4105", - "countryOfDestination":"CA" + "portOfArrival":{ + "type":[ + "Place" + ], + "usPortCode":"4105" + }, + "countryOfDestination":"USA", + "nominationMonth":"Jan-23" } diff --git a/openapi/components/schemas/credentials/DeliveryScheduleCredential.yml b/openapi/components/schemas/credentials/DeliveryScheduleCredential.yml index 53968495c..307296f60 100644 --- a/openapi/components/schemas/credentials/DeliveryScheduleCredential.yml +++ b/openapi/components/schemas/credentials/DeliveryScheduleCredential.yml @@ -165,25 +165,67 @@ example: |- ], "name": "Example" }, - "injectionVolume": { + "scheduledVolume": [ + { + "type": [ + "QuantitativeValue" + ], + "value": "900000", + "unitCode": "m3" + }, + { + "type": [ + "QuantitativeValue" + ], + "value": "5660820", + "unitCode": "bbl" + } + ], + "scheduledDate": "2022-05-01 10:13:00 PM", + "injectionVolume": [ + { + "type": [ + "QuantitativeValue" + ], + "value": "900000", + "unitCode": "m3" + }, + { + "type": [ + "QuantitativeValue" + ], + "value": "5660820", + "unitCode": "bbl" + } + ], + "injectionDate": "2022-05-01 10:13:00 PM", + "deliveryDate": "2022-05-01 10:13:00 PM", + "portOfEntry": { "type": [ - "QuantitativeValue" + "Place" ], - "value": "8806", - "unitCode": "M3" + "usPortCode": "3501" }, - "injectionDate": "2022-05-01 10:13:00 PM", - "deliveryDate": "2022-05-01 10:13:00 PM", - "portOfEntry": "3501", - "portOfDestination": "3901", - "portOfArrival": "4105", - "countryOfDestination": "CA" + "portOfDestination": { + "type": [ + "Place" + ], + "usPortCode": "3901" + }, + "portOfArrival": { + "type": [ + "Place" + ], + "usPortCode": "4105" + }, + "countryOfDestination": "USA", + "nominationMonth": "Jan-23" }, "proof": { "type": "Ed25519Signature2018", - "created": "2023-05-17T17:49:14Z", + "created": "2023-07-11T17:54:05Z", "verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", "proofPurpose": "assertionMethod", - "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..ahpPSo78oBMgozfyFNulHM5YVF2FVA9scuoExBCMh705GSwhzn2cVioPvnSB78nzjNlsAiAHkC_VVPByRq4YBw" + "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..c1DnuMZ1TzuHs5Zj3udVqbuBuF46NTwbunoE03mttye1WatsumM6CUYAtF6T22q_i7sZGQ3F5A3vLUgGScyPCQ" } } \ No newline at end of file diff --git a/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml b/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml index 836349f92..b8da00d34 100644 --- a/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml +++ b/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml @@ -1378,9 +1378,9 @@ example: |- }, "proof": { "type": "Ed25519Signature2018", - "created": "2023-06-27T17:43:43Z", + "created": "2023-07-11T17:54:45Z", "verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", "proofPurpose": "assertionMethod", - "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..jhBtT0OADuTU9Njm6fnS4wWhoeX7ojJOEnACfOnHeRpe9dsLhpGmPF7BPlZnnAuX7dURROxjgmToVXKArwdfDA" + "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..FlFqbJ0EkOTn4HJ-oxz8bzuA4xko75RNl6WEkACyIzr4vtaRJ1uG7xSa1jf0u9JsN66QCzsHgAFnoIwQqKhhDg" } } \ No newline at end of file diff --git a/openapi/openapi.bundled.json b/openapi/openapi.bundled.json index d2b688e30..623689579 100644 --- a/openapi/openapi.bundled.json +++ b/openapi/openapi.bundled.json @@ -101645,7 +101645,7 @@ "description": "The organization that carries out the transportation event", "$linkedData": { "term": "transporter", - "@id": "https://schema.org/Organization" + "@id": "https://schema.org/agent" }, "type": "object", "properties": { @@ -102408,7 +102408,7 @@ "description": "The address from which the commodity is being shipped", "$linkedData": { "term": "place", - "@id": "https://schema.org/Place" + "@id": "https://schema.org/fromLocation" }, "type": "object", "properties": { @@ -102652,7 +102652,7 @@ "description": "The address to which the commodity is being shipped", "$linkedData": { "term": "place", - "@id": "https://schema.org/Place" + "@id": "https://schema.org/toLocation" }, "type": "object", "properties": { @@ -102896,7 +102896,7 @@ "description": "The organization that plans and organizes the transportation event", "$linkedData": { "term": "consignor", - "@id": "https://schema.org/Organization" + "@id": "https://vocabulary.uncefact.org/consignorParty" }, "type": "object", "properties": { @@ -103588,7 +103588,7 @@ "description": "The organization that receives the transported commodities", "$linkedData": { "term": "consignee", - "@id": "https://schema.org/Organization" + "@id": "https://vocabulary.uncefact.org/consigneeParty" }, "type": "object", "properties": { @@ -104278,9 +104278,158 @@ "scheduledVolume": { "title": "Scheduled Volume", "description": "the planned volume of the commodities to be delivered", + "type": "array", + "items": { + "$linkedData": { + "term": "QuantitativeValue", + "@id": "https://schema.org/QuantitativeValue" + }, + "title": "Quantitative Value", + "description": "A point value or interval for product characteristics and other purposes", + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "QuantitativeValue" + ], + "default": [ + "QuantitativeValue" + ], + "items": { + "type": "string", + "enum": [ + "QuantitativeValue" + ] + } + }, + "unitCode": { + "title": "Unit Code", + "description": "Unit of measurement.", + "type": "string", + "$linkedData": { + "term": "unitCode", + "@id": "https://schema.org/unitCode" + } + }, + "value": { + "title": "Value", + "description": "Value or amount.", + "type": "string", + "$linkedData": { + "term": "value", + "@id": "https://schema.org/value" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "unitCode", + "value" + ], + "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" + }, "$linkedData": { "term": "scheduledVolume", - "@id": "https://schema.org/Quantity" + "@id": "https://w3id.org/traceability#QuantitativeValue" + } + }, + "scheduledDate": { + "title": "Scheduled Date", + "description": "The planned date of natural gas delivery", + "type": "string", + "$linkedData": { + "term": "scheduledDate", + "@id": "https://schema.org/departureTime" + } + }, + "injectionVolume": { + "title": "Injection Volume", + "description": "Volume of the shipped commodities at the begining of the transportation event", + "type": "array", + "items": { + "$linkedData": { + "term": "QuantitativeValue", + "@id": "https://schema.org/QuantitativeValue" + }, + "title": "Quantitative Value", + "description": "A point value or interval for product characteristics and other purposes", + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "QuantitativeValue" + ], + "default": [ + "QuantitativeValue" + ], + "items": { + "type": "string", + "enum": [ + "QuantitativeValue" + ] + } + }, + "unitCode": { + "title": "Unit Code", + "description": "Unit of measurement.", + "type": "string", + "$linkedData": { + "term": "unitCode", + "@id": "https://schema.org/unitCode" + } + }, + "value": { + "title": "Value", + "description": "Value or amount.", + "type": "string", + "$linkedData": { + "term": "value", + "@id": "https://schema.org/value" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "unitCode", + "value" + ], + "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" + }, + "$linkedData": { + "term": "injectionVolume", + "@id": "https://w3id.org/traceability#QuantitativeValue" + } + }, + "injectionDate": { + "title": "Injection Date", + "description": "The planned time for crude oil injection starts", + "type": "string", + "$linkedData": { + "term": "injectionDate", + "@id": "https://schema.org/departureTime" + } + }, + "deliveryDate": { + "title": "Delivery Date", + "description": "The planned time for crude oil delivery starts", + "type": "string", + "$linkedData": { + "term": "deliveryDate", + "@id": "https://schema.org/arrivalTime" + } + }, + "portOfEntry": { + "title": "Port of Entry", + "description": "The port where the commodity crosses the border.", + "$linkedData": { + "term": "portOfEntry", + "@id": "https://w3id.org/traceability#Place" }, "type": "object", "properties": { @@ -104288,60 +104437,243 @@ "type": "array", "readOnly": true, "const": [ - "QuantitativeValue" + "Place" ], "default": [ - "QuantitativeValue" + "Place" ], "items": { "type": "string", "enum": [ - "QuantitativeValue" + "Place" ] } }, - "unitCode": { - "title": "Unit Code", - "description": "Unit of measurement.", + "globalLocationNumber": { + "title": "Global Location Number (GLN)", + "description": "A Global Location Number (GLN) is the GS1 Identification Key used to identify physical locations or parties. The key comprises a GS1 Company Prefix, Location Reference and Check Digit. For more information, see http://www.gs1.org/gln.", "type": "string", + "minLength": 13, + "maxLength": 13, "$linkedData": { - "term": "unitCode", - "@id": "https://schema.org/unitCode" + "term": "globalLocationNumber", + "@id": "https://schema.org/globalLocationNumber" } }, - "value": { - "title": "Value", - "description": "Value or amount.", + "geo": { + "title": "Geographic Coordinates", + "description": "Links to information about geocoordinates for a place.", + "$linkedData": { + "term": "geo", + "@id": "https://schema.org/GeoCoordinates" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "GeoCoordinates" + ], + "default": [ + "GeoCoordinates" + ], + "items": { + "type": "string", + "enum": [ + "GeoCoordinates" + ] + } + }, + "latitude": { + "title": "Latitude", + "description": "Angular distance North or South from the earth's equator measured through 90 degrees.", + "type": "string", + "$linkedData": { + "term": "latitude", + "@id": "https://schema.org/latitude" + } + }, + "longitude": { + "title": "Longitude", + "description": "The arc or portion of the earth's equator intersected between the meridian of a given place and the prime meridian and expressed in degrees.", + "type": "string", + "$linkedData": { + "term": "longitude", + "@id": "https://schema.org/longitude" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "latitude", + "longitude" + ], + "example": "{\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"-80.5898\",\n \"longitude\": \"-13.4603\"\n}" + }, + "address": { + "title": "Postal Address", + "description": "The postal address for an organization or place.", + "$linkedData": { + "term": "address", + "@id": "https://schema.org/PostalAddress" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "PostalAddress" + ], + "default": [ + "PostalAddress" + ], + "items": { + "type": "string", + "enum": [ + "PostalAddress" + ] + } + }, + "name": { + "title": "Name", + "description": "The name of the entity in text.", + "type": "string", + "$linkedData": { + "term": "name", + "@id": "https://schema.org/name" + } + }, + "streetAddress": { + "title": "Street Address", + "description": "The street address expressed as free form text. The street address is printed on paper as the first lines below the name. For example, the name of the street and the number in the street or the name of a building.", + "type": "string", + "$linkedData": { + "term": "streetAddress", + "@id": "https://schema.org/streetAddress" + } + }, + "addressLocality": { + "title": "Address Locality", + "description": "Text specifying the name of the locality; for example, a city.", + "type": "string", + "$linkedData": { + "term": "addressLocality", + "@id": "https://schema.org/addressLocality" + } + }, + "addressRegion": { + "title": "Address Region", + "description": "Text specifying a province or state in abbreviated format; for example, NJ.", + "type": "string", + "$linkedData": { + "term": "addressRegion", + "@id": "https://schema.org/addressRegion" + } + }, + "addressCountry": { + "title": "Address Country", + "description": "The two-letter ISO 3166-1 alpha-2 country code.", + "type": "string", + "$linkedData": { + "term": "addressCountry", + "@id": "https://schema.org/addressCountry" + } + }, + "crossStreet": { + "title": "Cross Street", + "description": "A street intersecting a main street (usually at right angles) and continuing on both sides of it.", + "type": "string", + "$linkedData": { + "term": "crossStreet", + "@id": "https://gs1.org/voc/crossStreet" + } + }, + "countyCode": { + "title": "County Code", + "description": "A code that identifies a county. A county is a territorial division in some countries, forming the chief unit of local administration. In the US, a county is a political and administrative division of a state.", + "type": "string", + "$linkedData": { + "term": "countyCode", + "@id": "https://gs1.org/voc/countyCode" + } + }, + "postalCode": { + "title": "Postal Code", + "description": "Text specifying the postal code for an address.", + "type": "string", + "$linkedData": { + "term": "postalCode", + "@id": "https://schema.org/postalCode" + } + }, + "postOfficeBoxNumber": { + "title": "Post Office Box Number", + "description": "The number that identifies a PO box. A PO box is a box in a post office or other postal service location assigned to an organization where postal items may be kept.", + "type": "string", + "$linkedData": { + "term": "postOfficeBoxNumber", + "@id": "https://schema.org/postOfficeBoxNumber" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"PostalAddress\"],\n \"name\": \"Lebsack Inc\",\n \"streetAddress\": \"758 Huel Neck\",\n \"addressLocality\": \"Hagenesstad\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"38421-3292\",\n \"addressCountry\": \"Tonga\"\n}" + }, + "unLocode": { + "title": "UN Locode", + "description": "LOCODE", "type": "string", "$linkedData": { - "term": "value", - "@id": "https://schema.org/value" + "term": "unLocode", + "@id": "https://vocabulary.uncefact.org/Location" + } + }, + "iataAirportCode": { + "title": "IATA Airport Code", + "description": "IATA airport code (3 letter)", + "type": "string", + "$linkedData": { + "term": "iataAirportCode", + "@id": "https://onerecord.iata.org/cargo/Location#code" + } + }, + "locationName": { + "title": "Location Name", + "description": "Physical Location Name (if available).", + "type": "string", + "$linkedData": { + "term": "locationName", + "@id": "https://schema.org/name" + } + }, + "usPortCode": { + "title": "US CBP Port Code", + "description": "CBP Automated Manifest Interface Requirements, Appendix E - Schedule D – U.S. CBP Port Codes. 4 character port code (https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20(1).pdf).", + "type": "string", + "$linkedData": { + "term": "usPortCode", + "@id": "https://w3id.org/traceability#usPortCode" } } }, "additionalProperties": false, "required": [ - "type", - "unitCode", - "value" + "type" ], - "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" - }, - "scheduledDate": { - "title": "Scheduled Date", - "description": "The planned date of natural gas delivery", - "type": "string", - "$linkedData": { - "term": "scheduledDate", - "@id": "https://schema.org/departureTime" - } + "example": "{\n \"type\": [\"Place\"],\n \"globalLocationNumber\": \"0577976000005\",\n \"geo\": {\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"55.67594\",\n \"longitude\": \"12.56553\"\n },\n \"address\": {\n \"type\": [\"PostalAddress\"],\n \"name\": \"Ratke - Bergstrom\",\n \"streetAddress\": \"Thomsen Gade 28\",\n \"addressLocality\": \"Copenhagen\",\n \"addressRegion\": \"Greater Copenhagen Metropolitan Area\",\n \"postalCode\": \"1278\",\n \"addressCountry\": \"Denmark\"\n },\n \"unLocode\": \"DKCPH\",\n \"iataAirportCode\": \"CPH\",\n \"locationName\": \"Scandinavian Office\"\n}" }, - "injectionVolume": { - "title": "Injection Volume", - "description": "Volume of the shipped commodities at the begining of the transportation event", + "portOfDestination": { + "title": "Port of Destination", + "description": "The port of destination to which the product[s) were transferred.", "$linkedData": { - "term": "injectionVolume", - "@id": "https://schema.org/Quantity" + "term": "portOfDestination", + "@id": "https://w3id.org/traceability#Place" }, "type": "object", "properties": { @@ -104349,89 +104681,480 @@ "type": "array", "readOnly": true, "const": [ - "QuantitativeValue" + "Place" ], "default": [ - "QuantitativeValue" + "Place" ], "items": { "type": "string", "enum": [ - "QuantitativeValue" + "Place" ] } }, - "unitCode": { - "title": "Unit Code", - "description": "Unit of measurement.", + "globalLocationNumber": { + "title": "Global Location Number (GLN)", + "description": "A Global Location Number (GLN) is the GS1 Identification Key used to identify physical locations or parties. The key comprises a GS1 Company Prefix, Location Reference and Check Digit. For more information, see http://www.gs1.org/gln.", "type": "string", + "minLength": 13, + "maxLength": 13, "$linkedData": { - "term": "unitCode", - "@id": "https://schema.org/unitCode" + "term": "globalLocationNumber", + "@id": "https://schema.org/globalLocationNumber" } }, - "value": { - "title": "Value", - "description": "Value or amount.", + "geo": { + "title": "Geographic Coordinates", + "description": "Links to information about geocoordinates for a place.", + "$linkedData": { + "term": "geo", + "@id": "https://schema.org/GeoCoordinates" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "GeoCoordinates" + ], + "default": [ + "GeoCoordinates" + ], + "items": { + "type": "string", + "enum": [ + "GeoCoordinates" + ] + } + }, + "latitude": { + "title": "Latitude", + "description": "Angular distance North or South from the earth's equator measured through 90 degrees.", + "type": "string", + "$linkedData": { + "term": "latitude", + "@id": "https://schema.org/latitude" + } + }, + "longitude": { + "title": "Longitude", + "description": "The arc or portion of the earth's equator intersected between the meridian of a given place and the prime meridian and expressed in degrees.", + "type": "string", + "$linkedData": { + "term": "longitude", + "@id": "https://schema.org/longitude" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "latitude", + "longitude" + ], + "example": "{\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"-80.5898\",\n \"longitude\": \"-13.4603\"\n}" + }, + "address": { + "title": "Postal Address", + "description": "The postal address for an organization or place.", + "$linkedData": { + "term": "address", + "@id": "https://schema.org/PostalAddress" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "PostalAddress" + ], + "default": [ + "PostalAddress" + ], + "items": { + "type": "string", + "enum": [ + "PostalAddress" + ] + } + }, + "name": { + "title": "Name", + "description": "The name of the entity in text.", + "type": "string", + "$linkedData": { + "term": "name", + "@id": "https://schema.org/name" + } + }, + "streetAddress": { + "title": "Street Address", + "description": "The street address expressed as free form text. The street address is printed on paper as the first lines below the name. For example, the name of the street and the number in the street or the name of a building.", + "type": "string", + "$linkedData": { + "term": "streetAddress", + "@id": "https://schema.org/streetAddress" + } + }, + "addressLocality": { + "title": "Address Locality", + "description": "Text specifying the name of the locality; for example, a city.", + "type": "string", + "$linkedData": { + "term": "addressLocality", + "@id": "https://schema.org/addressLocality" + } + }, + "addressRegion": { + "title": "Address Region", + "description": "Text specifying a province or state in abbreviated format; for example, NJ.", + "type": "string", + "$linkedData": { + "term": "addressRegion", + "@id": "https://schema.org/addressRegion" + } + }, + "addressCountry": { + "title": "Address Country", + "description": "The two-letter ISO 3166-1 alpha-2 country code.", + "type": "string", + "$linkedData": { + "term": "addressCountry", + "@id": "https://schema.org/addressCountry" + } + }, + "crossStreet": { + "title": "Cross Street", + "description": "A street intersecting a main street (usually at right angles) and continuing on both sides of it.", + "type": "string", + "$linkedData": { + "term": "crossStreet", + "@id": "https://gs1.org/voc/crossStreet" + } + }, + "countyCode": { + "title": "County Code", + "description": "A code that identifies a county. A county is a territorial division in some countries, forming the chief unit of local administration. In the US, a county is a political and administrative division of a state.", + "type": "string", + "$linkedData": { + "term": "countyCode", + "@id": "https://gs1.org/voc/countyCode" + } + }, + "postalCode": { + "title": "Postal Code", + "description": "Text specifying the postal code for an address.", + "type": "string", + "$linkedData": { + "term": "postalCode", + "@id": "https://schema.org/postalCode" + } + }, + "postOfficeBoxNumber": { + "title": "Post Office Box Number", + "description": "The number that identifies a PO box. A PO box is a box in a post office or other postal service location assigned to an organization where postal items may be kept.", + "type": "string", + "$linkedData": { + "term": "postOfficeBoxNumber", + "@id": "https://schema.org/postOfficeBoxNumber" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"PostalAddress\"],\n \"name\": \"Lebsack Inc\",\n \"streetAddress\": \"758 Huel Neck\",\n \"addressLocality\": \"Hagenesstad\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"38421-3292\",\n \"addressCountry\": \"Tonga\"\n}" + }, + "unLocode": { + "title": "UN Locode", + "description": "LOCODE", "type": "string", "$linkedData": { - "term": "value", - "@id": "https://schema.org/value" + "term": "unLocode", + "@id": "https://vocabulary.uncefact.org/Location" + } + }, + "iataAirportCode": { + "title": "IATA Airport Code", + "description": "IATA airport code (3 letter)", + "type": "string", + "$linkedData": { + "term": "iataAirportCode", + "@id": "https://onerecord.iata.org/cargo/Location#code" + } + }, + "locationName": { + "title": "Location Name", + "description": "Physical Location Name (if available).", + "type": "string", + "$linkedData": { + "term": "locationName", + "@id": "https://schema.org/name" + } + }, + "usPortCode": { + "title": "US CBP Port Code", + "description": "CBP Automated Manifest Interface Requirements, Appendix E - Schedule D – U.S. CBP Port Codes. 4 character port code (https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20(1).pdf).", + "type": "string", + "$linkedData": { + "term": "usPortCode", + "@id": "https://w3id.org/traceability#usPortCode" } } }, "additionalProperties": false, "required": [ - "type", - "unitCode", - "value" + "type" ], - "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" - }, - "injectionDate": { - "title": "Injection Date", - "description": "The planned time for crude oil injection starts", - "type": "string", - "$linkedData": { - "term": "injectionDate", - "@id": "https://schema.org/departureTime" - } - }, - "deliveryDate": { - "title": "Delivery Date", - "description": "The planned time for crude oil delivery starts", - "type": "string", - "$linkedData": { - "term": "deliveryDate", - "@id": "https://schema.org/arrivalTime" - } - }, - "portOfEntry": { - "title": "Port of Entry Code", - "description": "The code of the port where the commodity crosses the border. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf", - "type": "string", - "$linkedData": { - "term": "portOfEntry", - "@id": "https://schema.org/identifier" - } - }, - "portOfDestination": { - "title": "Port of Destination Code", - "description": "The code of the port of destination to which the product[s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf", - "type": "string", - "$linkedData": { - "term": "portOfDestination", - "@id": "https://schema.org/identifier" - } + "example": "{\n \"type\": [\"Place\"],\n \"globalLocationNumber\": \"0577976000005\",\n \"geo\": {\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"55.67594\",\n \"longitude\": \"12.56553\"\n },\n \"address\": {\n \"type\": [\"PostalAddress\"],\n \"name\": \"Ratke - Bergstrom\",\n \"streetAddress\": \"Thomsen Gade 28\",\n \"addressLocality\": \"Copenhagen\",\n \"addressRegion\": \"Greater Copenhagen Metropolitan Area\",\n \"postalCode\": \"1278\",\n \"addressCountry\": \"Denmark\"\n },\n \"unLocode\": \"DKCPH\",\n \"iataAirportCode\": \"CPH\",\n \"locationName\": \"Scandinavian Office\"\n}" }, "portOfArrival": { - "title": "Port of Arrival Code", - "description": "The code of the port of arrival to which the product(s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf", - "type": "string", + "title": "Port of Arrival", + "description": "The port of arrival to which the product(s) were transferred.", "$linkedData": { "term": "portOfArrival", - "@id": "https://schema.org/identifier" - } + "@id": "https://w3id.org/traceability#Place" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "Place" + ], + "default": [ + "Place" + ], + "items": { + "type": "string", + "enum": [ + "Place" + ] + } + }, + "globalLocationNumber": { + "title": "Global Location Number (GLN)", + "description": "A Global Location Number (GLN) is the GS1 Identification Key used to identify physical locations or parties. The key comprises a GS1 Company Prefix, Location Reference and Check Digit. For more information, see http://www.gs1.org/gln.", + "type": "string", + "minLength": 13, + "maxLength": 13, + "$linkedData": { + "term": "globalLocationNumber", + "@id": "https://schema.org/globalLocationNumber" + } + }, + "geo": { + "title": "Geographic Coordinates", + "description": "Links to information about geocoordinates for a place.", + "$linkedData": { + "term": "geo", + "@id": "https://schema.org/GeoCoordinates" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "GeoCoordinates" + ], + "default": [ + "GeoCoordinates" + ], + "items": { + "type": "string", + "enum": [ + "GeoCoordinates" + ] + } + }, + "latitude": { + "title": "Latitude", + "description": "Angular distance North or South from the earth's equator measured through 90 degrees.", + "type": "string", + "$linkedData": { + "term": "latitude", + "@id": "https://schema.org/latitude" + } + }, + "longitude": { + "title": "Longitude", + "description": "The arc or portion of the earth's equator intersected between the meridian of a given place and the prime meridian and expressed in degrees.", + "type": "string", + "$linkedData": { + "term": "longitude", + "@id": "https://schema.org/longitude" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "latitude", + "longitude" + ], + "example": "{\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"-80.5898\",\n \"longitude\": \"-13.4603\"\n}" + }, + "address": { + "title": "Postal Address", + "description": "The postal address for an organization or place.", + "$linkedData": { + "term": "address", + "@id": "https://schema.org/PostalAddress" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "PostalAddress" + ], + "default": [ + "PostalAddress" + ], + "items": { + "type": "string", + "enum": [ + "PostalAddress" + ] + } + }, + "name": { + "title": "Name", + "description": "The name of the entity in text.", + "type": "string", + "$linkedData": { + "term": "name", + "@id": "https://schema.org/name" + } + }, + "streetAddress": { + "title": "Street Address", + "description": "The street address expressed as free form text. The street address is printed on paper as the first lines below the name. For example, the name of the street and the number in the street or the name of a building.", + "type": "string", + "$linkedData": { + "term": "streetAddress", + "@id": "https://schema.org/streetAddress" + } + }, + "addressLocality": { + "title": "Address Locality", + "description": "Text specifying the name of the locality; for example, a city.", + "type": "string", + "$linkedData": { + "term": "addressLocality", + "@id": "https://schema.org/addressLocality" + } + }, + "addressRegion": { + "title": "Address Region", + "description": "Text specifying a province or state in abbreviated format; for example, NJ.", + "type": "string", + "$linkedData": { + "term": "addressRegion", + "@id": "https://schema.org/addressRegion" + } + }, + "addressCountry": { + "title": "Address Country", + "description": "The two-letter ISO 3166-1 alpha-2 country code.", + "type": "string", + "$linkedData": { + "term": "addressCountry", + "@id": "https://schema.org/addressCountry" + } + }, + "crossStreet": { + "title": "Cross Street", + "description": "A street intersecting a main street (usually at right angles) and continuing on both sides of it.", + "type": "string", + "$linkedData": { + "term": "crossStreet", + "@id": "https://gs1.org/voc/crossStreet" + } + }, + "countyCode": { + "title": "County Code", + "description": "A code that identifies a county. A county is a territorial division in some countries, forming the chief unit of local administration. In the US, a county is a political and administrative division of a state.", + "type": "string", + "$linkedData": { + "term": "countyCode", + "@id": "https://gs1.org/voc/countyCode" + } + }, + "postalCode": { + "title": "Postal Code", + "description": "Text specifying the postal code for an address.", + "type": "string", + "$linkedData": { + "term": "postalCode", + "@id": "https://schema.org/postalCode" + } + }, + "postOfficeBoxNumber": { + "title": "Post Office Box Number", + "description": "The number that identifies a PO box. A PO box is a box in a post office or other postal service location assigned to an organization where postal items may be kept.", + "type": "string", + "$linkedData": { + "term": "postOfficeBoxNumber", + "@id": "https://schema.org/postOfficeBoxNumber" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"PostalAddress\"],\n \"name\": \"Lebsack Inc\",\n \"streetAddress\": \"758 Huel Neck\",\n \"addressLocality\": \"Hagenesstad\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"38421-3292\",\n \"addressCountry\": \"Tonga\"\n}" + }, + "unLocode": { + "title": "UN Locode", + "description": "LOCODE", + "type": "string", + "$linkedData": { + "term": "unLocode", + "@id": "https://vocabulary.uncefact.org/Location" + } + }, + "iataAirportCode": { + "title": "IATA Airport Code", + "description": "IATA airport code (3 letter)", + "type": "string", + "$linkedData": { + "term": "iataAirportCode", + "@id": "https://onerecord.iata.org/cargo/Location#code" + } + }, + "locationName": { + "title": "Location Name", + "description": "Physical Location Name (if available).", + "type": "string", + "$linkedData": { + "term": "locationName", + "@id": "https://schema.org/name" + } + }, + "usPortCode": { + "title": "US CBP Port Code", + "description": "CBP Automated Manifest Interface Requirements, Appendix E - Schedule D – U.S. CBP Port Codes. 4 character port code (https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20(1).pdf).", + "type": "string", + "$linkedData": { + "term": "usPortCode", + "@id": "https://w3id.org/traceability#usPortCode" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"Place\"],\n \"globalLocationNumber\": \"0577976000005\",\n \"geo\": {\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"55.67594\",\n \"longitude\": \"12.56553\"\n },\n \"address\": {\n \"type\": [\"PostalAddress\"],\n \"name\": \"Ratke - Bergstrom\",\n \"streetAddress\": \"Thomsen Gade 28\",\n \"addressLocality\": \"Copenhagen\",\n \"addressRegion\": \"Greater Copenhagen Metropolitan Area\",\n \"postalCode\": \"1278\",\n \"addressCountry\": \"Denmark\"\n },\n \"unLocode\": \"DKCPH\",\n \"iataAirportCode\": \"CPH\",\n \"locationName\": \"Scandinavian Office\"\n}" }, "countryOfDestination": { "title": "Country of Destination", @@ -104441,13 +105164,18 @@ "term": "addressCountry", "@id": "https://schema.org/addressCountry" } + }, + "nominationMonth": { + "title": "Nomination Month", + "description": "the month which pipeline and terminal nominations is for", + "type": "string" } }, "additionalProperties": false, "required": [ "type" ], - "example": "{\n \"type\":[\n \"DeliverySchedule\"\n ],\n \"transporter\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example Org\"\n },\n \"batchNumber\":\"111-1111-11\",\n \"commodity\":{\n \"type\":[\n \"Commodity\"\n ],\n \"commodityCode\":\"2714.10.00.00\",\n \"commodityCodeType\":\"HTS\"\n },\n \"receiptLocation\":{\n \"type\":[\n \"Place\"\n ],\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"52.6735\",\n \"longitude\":\"-111.3075\"\n },\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"streetAddress\":\"\",\n \"addressLocality\":\"Hardisty\",\n \"addressRegion\":\"AB\",\n \"postalCode\":\"\",\n \"addressCountry\":\"CA\"\n }\n },\n \"deliveryDestination\":{\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"41.8781\",\n \"longitude\":\"-87.6298\"\n },\n \"type\":[\n \"Place\"\n ],\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"postalCode\":\"\",\n \"addressRegion\":\"IL\",\n \"streetAddress\":\"\",\n \"addressCountry\":\"US\",\n \"addressLocality\":\"Chicago\"\n }\n },\n \"consignor\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"consignee\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"injectionVolume\":{\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"8806\",\n \"unitCode\":\"M3\"\n },\n \"injectionDate\":\"2022-05-01 10:13:00 PM\",\n \"deliveryDate\":\"2022-05-01 10:13:00 PM\",\n \"portOfEntry\": \"3501\",\n \"portOfDestination\": \"3901\",\n \"portOfArrival\": \"4105\",\n \"countryOfDestination\":\"CA\"\n}" + "example": "{\n \"type\":[\n \"DeliverySchedule\"\n ],\n \"transporter\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example Org\"\n },\n \"batchNumber\":\"111-1111-11\",\n \"commodity\":{\n \"type\":[\n \"Commodity\"\n ],\n \"commodityCode\":\"2714.10.00.00\",\n \"commodityCodeType\":\"HTS\"\n },\n \"receiptLocation\":{\n \"type\":[\n \"Place\"\n ],\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"52.6735\",\n \"longitude\":\"-111.3075\"\n },\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"streetAddress\":\"\",\n \"addressLocality\":\"Hardisty\",\n \"addressRegion\":\"AB\",\n \"postalCode\":\"\",\n \"addressCountry\":\"CA\"\n }\n },\n \"deliveryDestination\":{\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"41.8781\",\n \"longitude\":\"-87.6298\"\n },\n \"type\":[\n \"Place\"\n ],\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"postalCode\":\"\",\n \"addressRegion\":\"IL\",\n \"streetAddress\":\"\",\n \"addressCountry\":\"US\",\n \"addressLocality\":\"Chicago\"\n }\n },\n \"consignor\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"consignee\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"scheduledVolume\":[\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"900000\",\n \"unitCode\":\"m3\"\n },\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"5660820\",\n \"unitCode\":\"bbl\"\n }\n ],\n \"scheduledDate\":\"2022-05-01 10:13:00 PM\",\n \"injectionVolume\":[\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"900000\",\n \"unitCode\":\"m3\"\n },\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"5660820\",\n \"unitCode\":\"bbl\"\n }\n ],\n \"injectionDate\":\"2022-05-01 10:13:00 PM\",\n \"deliveryDate\":\"2022-05-01 10:13:00 PM\",\n \"portOfEntry\":{\n \"type\":[\n \"Place\"\n ],\n \"usPortCode\":\"3501\"\n },\n \"portOfDestination\":{\n \"type\":[\n \"Place\"\n ],\n \"usPortCode\":\"3901\"\n },\n \"portOfArrival\":{\n \"type\":[\n \"Place\"\n ],\n \"usPortCode\":\"4105\"\n },\n \"countryOfDestination\":\"USA\",\n \"nominationMonth\":\"Jan-23\"\n}" } } } @@ -644217,7 +644945,7 @@ "description": "The organization that carries out the transportation event", "$linkedData": { "term": "transporter", - "@id": "https://schema.org/Organization" + "@id": "https://schema.org/agent" }, "type": "object", "properties": { @@ -644980,7 +645708,7 @@ "description": "The address from which the commodity is being shipped", "$linkedData": { "term": "place", - "@id": "https://schema.org/Place" + "@id": "https://schema.org/fromLocation" }, "type": "object", "properties": { @@ -645224,7 +645952,7 @@ "description": "The address to which the commodity is being shipped", "$linkedData": { "term": "place", - "@id": "https://schema.org/Place" + "@id": "https://schema.org/toLocation" }, "type": "object", "properties": { @@ -645468,7 +646196,7 @@ "description": "The organization that plans and organizes the transportation event", "$linkedData": { "term": "consignor", - "@id": "https://schema.org/Organization" + "@id": "https://vocabulary.uncefact.org/consignorParty" }, "type": "object", "properties": { @@ -646160,7 +646888,7 @@ "description": "The organization that receives the transported commodities", "$linkedData": { "term": "consignee", - "@id": "https://schema.org/Organization" + "@id": "https://vocabulary.uncefact.org/consigneeParty" }, "type": "object", "properties": { @@ -646850,9 +647578,158 @@ "scheduledVolume": { "title": "Scheduled Volume", "description": "the planned volume of the commodities to be delivered", + "type": "array", + "items": { + "$linkedData": { + "term": "QuantitativeValue", + "@id": "https://schema.org/QuantitativeValue" + }, + "title": "Quantitative Value", + "description": "A point value or interval for product characteristics and other purposes", + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "QuantitativeValue" + ], + "default": [ + "QuantitativeValue" + ], + "items": { + "type": "string", + "enum": [ + "QuantitativeValue" + ] + } + }, + "unitCode": { + "title": "Unit Code", + "description": "Unit of measurement.", + "type": "string", + "$linkedData": { + "term": "unitCode", + "@id": "https://schema.org/unitCode" + } + }, + "value": { + "title": "Value", + "description": "Value or amount.", + "type": "string", + "$linkedData": { + "term": "value", + "@id": "https://schema.org/value" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "unitCode", + "value" + ], + "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" + }, "$linkedData": { "term": "scheduledVolume", - "@id": "https://schema.org/Quantity" + "@id": "https://w3id.org/traceability#QuantitativeValue" + } + }, + "scheduledDate": { + "title": "Scheduled Date", + "description": "The planned date of natural gas delivery", + "type": "string", + "$linkedData": { + "term": "scheduledDate", + "@id": "https://schema.org/departureTime" + } + }, + "injectionVolume": { + "title": "Injection Volume", + "description": "Volume of the shipped commodities at the begining of the transportation event", + "type": "array", + "items": { + "$linkedData": { + "term": "QuantitativeValue", + "@id": "https://schema.org/QuantitativeValue" + }, + "title": "Quantitative Value", + "description": "A point value or interval for product characteristics and other purposes", + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "QuantitativeValue" + ], + "default": [ + "QuantitativeValue" + ], + "items": { + "type": "string", + "enum": [ + "QuantitativeValue" + ] + } + }, + "unitCode": { + "title": "Unit Code", + "description": "Unit of measurement.", + "type": "string", + "$linkedData": { + "term": "unitCode", + "@id": "https://schema.org/unitCode" + } + }, + "value": { + "title": "Value", + "description": "Value or amount.", + "type": "string", + "$linkedData": { + "term": "value", + "@id": "https://schema.org/value" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "unitCode", + "value" + ], + "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" + }, + "$linkedData": { + "term": "injectionVolume", + "@id": "https://w3id.org/traceability#QuantitativeValue" + } + }, + "injectionDate": { + "title": "Injection Date", + "description": "The planned time for crude oil injection starts", + "type": "string", + "$linkedData": { + "term": "injectionDate", + "@id": "https://schema.org/departureTime" + } + }, + "deliveryDate": { + "title": "Delivery Date", + "description": "The planned time for crude oil delivery starts", + "type": "string", + "$linkedData": { + "term": "deliveryDate", + "@id": "https://schema.org/arrivalTime" + } + }, + "portOfEntry": { + "title": "Port of Entry", + "description": "The port where the commodity crosses the border.", + "$linkedData": { + "term": "portOfEntry", + "@id": "https://w3id.org/traceability#Place" }, "type": "object", "properties": { @@ -646860,60 +647737,243 @@ "type": "array", "readOnly": true, "const": [ - "QuantitativeValue" + "Place" ], "default": [ - "QuantitativeValue" + "Place" ], "items": { "type": "string", "enum": [ - "QuantitativeValue" + "Place" ] } }, - "unitCode": { - "title": "Unit Code", - "description": "Unit of measurement.", + "globalLocationNumber": { + "title": "Global Location Number (GLN)", + "description": "A Global Location Number (GLN) is the GS1 Identification Key used to identify physical locations or parties. The key comprises a GS1 Company Prefix, Location Reference and Check Digit. For more information, see http://www.gs1.org/gln.", "type": "string", + "minLength": 13, + "maxLength": 13, "$linkedData": { - "term": "unitCode", - "@id": "https://schema.org/unitCode" + "term": "globalLocationNumber", + "@id": "https://schema.org/globalLocationNumber" } }, - "value": { - "title": "Value", - "description": "Value or amount.", + "geo": { + "title": "Geographic Coordinates", + "description": "Links to information about geocoordinates for a place.", + "$linkedData": { + "term": "geo", + "@id": "https://schema.org/GeoCoordinates" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "GeoCoordinates" + ], + "default": [ + "GeoCoordinates" + ], + "items": { + "type": "string", + "enum": [ + "GeoCoordinates" + ] + } + }, + "latitude": { + "title": "Latitude", + "description": "Angular distance North or South from the earth's equator measured through 90 degrees.", + "type": "string", + "$linkedData": { + "term": "latitude", + "@id": "https://schema.org/latitude" + } + }, + "longitude": { + "title": "Longitude", + "description": "The arc or portion of the earth's equator intersected between the meridian of a given place and the prime meridian and expressed in degrees.", + "type": "string", + "$linkedData": { + "term": "longitude", + "@id": "https://schema.org/longitude" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "latitude", + "longitude" + ], + "example": "{\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"-80.5898\",\n \"longitude\": \"-13.4603\"\n}" + }, + "address": { + "title": "Postal Address", + "description": "The postal address for an organization or place.", + "$linkedData": { + "term": "address", + "@id": "https://schema.org/PostalAddress" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "PostalAddress" + ], + "default": [ + "PostalAddress" + ], + "items": { + "type": "string", + "enum": [ + "PostalAddress" + ] + } + }, + "name": { + "title": "Name", + "description": "The name of the entity in text.", + "type": "string", + "$linkedData": { + "term": "name", + "@id": "https://schema.org/name" + } + }, + "streetAddress": { + "title": "Street Address", + "description": "The street address expressed as free form text. The street address is printed on paper as the first lines below the name. For example, the name of the street and the number in the street or the name of a building.", + "type": "string", + "$linkedData": { + "term": "streetAddress", + "@id": "https://schema.org/streetAddress" + } + }, + "addressLocality": { + "title": "Address Locality", + "description": "Text specifying the name of the locality; for example, a city.", + "type": "string", + "$linkedData": { + "term": "addressLocality", + "@id": "https://schema.org/addressLocality" + } + }, + "addressRegion": { + "title": "Address Region", + "description": "Text specifying a province or state in abbreviated format; for example, NJ.", + "type": "string", + "$linkedData": { + "term": "addressRegion", + "@id": "https://schema.org/addressRegion" + } + }, + "addressCountry": { + "title": "Address Country", + "description": "The two-letter ISO 3166-1 alpha-2 country code.", + "type": "string", + "$linkedData": { + "term": "addressCountry", + "@id": "https://schema.org/addressCountry" + } + }, + "crossStreet": { + "title": "Cross Street", + "description": "A street intersecting a main street (usually at right angles) and continuing on both sides of it.", + "type": "string", + "$linkedData": { + "term": "crossStreet", + "@id": "https://gs1.org/voc/crossStreet" + } + }, + "countyCode": { + "title": "County Code", + "description": "A code that identifies a county. A county is a territorial division in some countries, forming the chief unit of local administration. In the US, a county is a political and administrative division of a state.", + "type": "string", + "$linkedData": { + "term": "countyCode", + "@id": "https://gs1.org/voc/countyCode" + } + }, + "postalCode": { + "title": "Postal Code", + "description": "Text specifying the postal code for an address.", + "type": "string", + "$linkedData": { + "term": "postalCode", + "@id": "https://schema.org/postalCode" + } + }, + "postOfficeBoxNumber": { + "title": "Post Office Box Number", + "description": "The number that identifies a PO box. A PO box is a box in a post office or other postal service location assigned to an organization where postal items may be kept.", + "type": "string", + "$linkedData": { + "term": "postOfficeBoxNumber", + "@id": "https://schema.org/postOfficeBoxNumber" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"PostalAddress\"],\n \"name\": \"Lebsack Inc\",\n \"streetAddress\": \"758 Huel Neck\",\n \"addressLocality\": \"Hagenesstad\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"38421-3292\",\n \"addressCountry\": \"Tonga\"\n}" + }, + "unLocode": { + "title": "UN Locode", + "description": "LOCODE", "type": "string", "$linkedData": { - "term": "value", - "@id": "https://schema.org/value" + "term": "unLocode", + "@id": "https://vocabulary.uncefact.org/Location" + } + }, + "iataAirportCode": { + "title": "IATA Airport Code", + "description": "IATA airport code (3 letter)", + "type": "string", + "$linkedData": { + "term": "iataAirportCode", + "@id": "https://onerecord.iata.org/cargo/Location#code" + } + }, + "locationName": { + "title": "Location Name", + "description": "Physical Location Name (if available).", + "type": "string", + "$linkedData": { + "term": "locationName", + "@id": "https://schema.org/name" + } + }, + "usPortCode": { + "title": "US CBP Port Code", + "description": "CBP Automated Manifest Interface Requirements, Appendix E - Schedule D – U.S. CBP Port Codes. 4 character port code (https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20(1).pdf).", + "type": "string", + "$linkedData": { + "term": "usPortCode", + "@id": "https://w3id.org/traceability#usPortCode" } } }, "additionalProperties": false, "required": [ - "type", - "unitCode", - "value" + "type" ], - "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" - }, - "scheduledDate": { - "title": "Scheduled Date", - "description": "The planned date of natural gas delivery", - "type": "string", - "$linkedData": { - "term": "scheduledDate", - "@id": "https://schema.org/departureTime" - } + "example": "{\n \"type\": [\"Place\"],\n \"globalLocationNumber\": \"0577976000005\",\n \"geo\": {\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"55.67594\",\n \"longitude\": \"12.56553\"\n },\n \"address\": {\n \"type\": [\"PostalAddress\"],\n \"name\": \"Ratke - Bergstrom\",\n \"streetAddress\": \"Thomsen Gade 28\",\n \"addressLocality\": \"Copenhagen\",\n \"addressRegion\": \"Greater Copenhagen Metropolitan Area\",\n \"postalCode\": \"1278\",\n \"addressCountry\": \"Denmark\"\n },\n \"unLocode\": \"DKCPH\",\n \"iataAirportCode\": \"CPH\",\n \"locationName\": \"Scandinavian Office\"\n}" }, - "injectionVolume": { - "title": "Injection Volume", - "description": "Volume of the shipped commodities at the begining of the transportation event", + "portOfDestination": { + "title": "Port of Destination", + "description": "The port of destination to which the product[s) were transferred.", "$linkedData": { - "term": "injectionVolume", - "@id": "https://schema.org/Quantity" + "term": "portOfDestination", + "@id": "https://w3id.org/traceability#Place" }, "type": "object", "properties": { @@ -646921,89 +647981,480 @@ "type": "array", "readOnly": true, "const": [ - "QuantitativeValue" + "Place" ], "default": [ - "QuantitativeValue" + "Place" ], "items": { "type": "string", "enum": [ - "QuantitativeValue" + "Place" ] } }, - "unitCode": { - "title": "Unit Code", - "description": "Unit of measurement.", + "globalLocationNumber": { + "title": "Global Location Number (GLN)", + "description": "A Global Location Number (GLN) is the GS1 Identification Key used to identify physical locations or parties. The key comprises a GS1 Company Prefix, Location Reference and Check Digit. For more information, see http://www.gs1.org/gln.", "type": "string", + "minLength": 13, + "maxLength": 13, "$linkedData": { - "term": "unitCode", - "@id": "https://schema.org/unitCode" + "term": "globalLocationNumber", + "@id": "https://schema.org/globalLocationNumber" } }, - "value": { - "title": "Value", - "description": "Value or amount.", + "geo": { + "title": "Geographic Coordinates", + "description": "Links to information about geocoordinates for a place.", + "$linkedData": { + "term": "geo", + "@id": "https://schema.org/GeoCoordinates" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "GeoCoordinates" + ], + "default": [ + "GeoCoordinates" + ], + "items": { + "type": "string", + "enum": [ + "GeoCoordinates" + ] + } + }, + "latitude": { + "title": "Latitude", + "description": "Angular distance North or South from the earth's equator measured through 90 degrees.", + "type": "string", + "$linkedData": { + "term": "latitude", + "@id": "https://schema.org/latitude" + } + }, + "longitude": { + "title": "Longitude", + "description": "The arc or portion of the earth's equator intersected between the meridian of a given place and the prime meridian and expressed in degrees.", + "type": "string", + "$linkedData": { + "term": "longitude", + "@id": "https://schema.org/longitude" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "latitude", + "longitude" + ], + "example": "{\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"-80.5898\",\n \"longitude\": \"-13.4603\"\n}" + }, + "address": { + "title": "Postal Address", + "description": "The postal address for an organization or place.", + "$linkedData": { + "term": "address", + "@id": "https://schema.org/PostalAddress" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "PostalAddress" + ], + "default": [ + "PostalAddress" + ], + "items": { + "type": "string", + "enum": [ + "PostalAddress" + ] + } + }, + "name": { + "title": "Name", + "description": "The name of the entity in text.", + "type": "string", + "$linkedData": { + "term": "name", + "@id": "https://schema.org/name" + } + }, + "streetAddress": { + "title": "Street Address", + "description": "The street address expressed as free form text. The street address is printed on paper as the first lines below the name. For example, the name of the street and the number in the street or the name of a building.", + "type": "string", + "$linkedData": { + "term": "streetAddress", + "@id": "https://schema.org/streetAddress" + } + }, + "addressLocality": { + "title": "Address Locality", + "description": "Text specifying the name of the locality; for example, a city.", + "type": "string", + "$linkedData": { + "term": "addressLocality", + "@id": "https://schema.org/addressLocality" + } + }, + "addressRegion": { + "title": "Address Region", + "description": "Text specifying a province or state in abbreviated format; for example, NJ.", + "type": "string", + "$linkedData": { + "term": "addressRegion", + "@id": "https://schema.org/addressRegion" + } + }, + "addressCountry": { + "title": "Address Country", + "description": "The two-letter ISO 3166-1 alpha-2 country code.", + "type": "string", + "$linkedData": { + "term": "addressCountry", + "@id": "https://schema.org/addressCountry" + } + }, + "crossStreet": { + "title": "Cross Street", + "description": "A street intersecting a main street (usually at right angles) and continuing on both sides of it.", + "type": "string", + "$linkedData": { + "term": "crossStreet", + "@id": "https://gs1.org/voc/crossStreet" + } + }, + "countyCode": { + "title": "County Code", + "description": "A code that identifies a county. A county is a territorial division in some countries, forming the chief unit of local administration. In the US, a county is a political and administrative division of a state.", + "type": "string", + "$linkedData": { + "term": "countyCode", + "@id": "https://gs1.org/voc/countyCode" + } + }, + "postalCode": { + "title": "Postal Code", + "description": "Text specifying the postal code for an address.", + "type": "string", + "$linkedData": { + "term": "postalCode", + "@id": "https://schema.org/postalCode" + } + }, + "postOfficeBoxNumber": { + "title": "Post Office Box Number", + "description": "The number that identifies a PO box. A PO box is a box in a post office or other postal service location assigned to an organization where postal items may be kept.", + "type": "string", + "$linkedData": { + "term": "postOfficeBoxNumber", + "@id": "https://schema.org/postOfficeBoxNumber" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"PostalAddress\"],\n \"name\": \"Lebsack Inc\",\n \"streetAddress\": \"758 Huel Neck\",\n \"addressLocality\": \"Hagenesstad\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"38421-3292\",\n \"addressCountry\": \"Tonga\"\n}" + }, + "unLocode": { + "title": "UN Locode", + "description": "LOCODE", "type": "string", "$linkedData": { - "term": "value", - "@id": "https://schema.org/value" + "term": "unLocode", + "@id": "https://vocabulary.uncefact.org/Location" + } + }, + "iataAirportCode": { + "title": "IATA Airport Code", + "description": "IATA airport code (3 letter)", + "type": "string", + "$linkedData": { + "term": "iataAirportCode", + "@id": "https://onerecord.iata.org/cargo/Location#code" + } + }, + "locationName": { + "title": "Location Name", + "description": "Physical Location Name (if available).", + "type": "string", + "$linkedData": { + "term": "locationName", + "@id": "https://schema.org/name" + } + }, + "usPortCode": { + "title": "US CBP Port Code", + "description": "CBP Automated Manifest Interface Requirements, Appendix E - Schedule D – U.S. CBP Port Codes. 4 character port code (https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20(1).pdf).", + "type": "string", + "$linkedData": { + "term": "usPortCode", + "@id": "https://w3id.org/traceability#usPortCode" } } }, "additionalProperties": false, "required": [ - "type", - "unitCode", - "value" + "type" ], - "example": "{\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"hg/ha\",\n \"value\": \"4121\"\n}" - }, - "injectionDate": { - "title": "Injection Date", - "description": "The planned time for crude oil injection starts", - "type": "string", - "$linkedData": { - "term": "injectionDate", - "@id": "https://schema.org/departureTime" - } - }, - "deliveryDate": { - "title": "Delivery Date", - "description": "The planned time for crude oil delivery starts", - "type": "string", - "$linkedData": { - "term": "deliveryDate", - "@id": "https://schema.org/arrivalTime" - } - }, - "portOfEntry": { - "title": "Port of Entry Code", - "description": "The code of the port where the commodity crosses the border. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf", - "type": "string", - "$linkedData": { - "term": "portOfEntry", - "@id": "https://schema.org/identifier" - } - }, - "portOfDestination": { - "title": "Port of Destination Code", - "description": "The code of the port of destination to which the product[s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf", - "type": "string", - "$linkedData": { - "term": "portOfDestination", - "@id": "https://schema.org/identifier" - } + "example": "{\n \"type\": [\"Place\"],\n \"globalLocationNumber\": \"0577976000005\",\n \"geo\": {\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"55.67594\",\n \"longitude\": \"12.56553\"\n },\n \"address\": {\n \"type\": [\"PostalAddress\"],\n \"name\": \"Ratke - Bergstrom\",\n \"streetAddress\": \"Thomsen Gade 28\",\n \"addressLocality\": \"Copenhagen\",\n \"addressRegion\": \"Greater Copenhagen Metropolitan Area\",\n \"postalCode\": \"1278\",\n \"addressCountry\": \"Denmark\"\n },\n \"unLocode\": \"DKCPH\",\n \"iataAirportCode\": \"CPH\",\n \"locationName\": \"Scandinavian Office\"\n}" }, "portOfArrival": { - "title": "Port of Arrival Code", - "description": "The code of the port of arrival to which the product(s) were transferred. These codes are outlined in https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20%281%29.pdf", - "type": "string", + "title": "Port of Arrival", + "description": "The port of arrival to which the product(s) were transferred.", "$linkedData": { "term": "portOfArrival", - "@id": "https://schema.org/identifier" - } + "@id": "https://w3id.org/traceability#Place" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "Place" + ], + "default": [ + "Place" + ], + "items": { + "type": "string", + "enum": [ + "Place" + ] + } + }, + "globalLocationNumber": { + "title": "Global Location Number (GLN)", + "description": "A Global Location Number (GLN) is the GS1 Identification Key used to identify physical locations or parties. The key comprises a GS1 Company Prefix, Location Reference and Check Digit. For more information, see http://www.gs1.org/gln.", + "type": "string", + "minLength": 13, + "maxLength": 13, + "$linkedData": { + "term": "globalLocationNumber", + "@id": "https://schema.org/globalLocationNumber" + } + }, + "geo": { + "title": "Geographic Coordinates", + "description": "Links to information about geocoordinates for a place.", + "$linkedData": { + "term": "geo", + "@id": "https://schema.org/GeoCoordinates" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "GeoCoordinates" + ], + "default": [ + "GeoCoordinates" + ], + "items": { + "type": "string", + "enum": [ + "GeoCoordinates" + ] + } + }, + "latitude": { + "title": "Latitude", + "description": "Angular distance North or South from the earth's equator measured through 90 degrees.", + "type": "string", + "$linkedData": { + "term": "latitude", + "@id": "https://schema.org/latitude" + } + }, + "longitude": { + "title": "Longitude", + "description": "The arc or portion of the earth's equator intersected between the meridian of a given place and the prime meridian and expressed in degrees.", + "type": "string", + "$linkedData": { + "term": "longitude", + "@id": "https://schema.org/longitude" + } + } + }, + "additionalProperties": false, + "required": [ + "type", + "latitude", + "longitude" + ], + "example": "{\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"-80.5898\",\n \"longitude\": \"-13.4603\"\n}" + }, + "address": { + "title": "Postal Address", + "description": "The postal address for an organization or place.", + "$linkedData": { + "term": "address", + "@id": "https://schema.org/PostalAddress" + }, + "type": "object", + "properties": { + "type": { + "type": "array", + "readOnly": true, + "const": [ + "PostalAddress" + ], + "default": [ + "PostalAddress" + ], + "items": { + "type": "string", + "enum": [ + "PostalAddress" + ] + } + }, + "name": { + "title": "Name", + "description": "The name of the entity in text.", + "type": "string", + "$linkedData": { + "term": "name", + "@id": "https://schema.org/name" + } + }, + "streetAddress": { + "title": "Street Address", + "description": "The street address expressed as free form text. The street address is printed on paper as the first lines below the name. For example, the name of the street and the number in the street or the name of a building.", + "type": "string", + "$linkedData": { + "term": "streetAddress", + "@id": "https://schema.org/streetAddress" + } + }, + "addressLocality": { + "title": "Address Locality", + "description": "Text specifying the name of the locality; for example, a city.", + "type": "string", + "$linkedData": { + "term": "addressLocality", + "@id": "https://schema.org/addressLocality" + } + }, + "addressRegion": { + "title": "Address Region", + "description": "Text specifying a province or state in abbreviated format; for example, NJ.", + "type": "string", + "$linkedData": { + "term": "addressRegion", + "@id": "https://schema.org/addressRegion" + } + }, + "addressCountry": { + "title": "Address Country", + "description": "The two-letter ISO 3166-1 alpha-2 country code.", + "type": "string", + "$linkedData": { + "term": "addressCountry", + "@id": "https://schema.org/addressCountry" + } + }, + "crossStreet": { + "title": "Cross Street", + "description": "A street intersecting a main street (usually at right angles) and continuing on both sides of it.", + "type": "string", + "$linkedData": { + "term": "crossStreet", + "@id": "https://gs1.org/voc/crossStreet" + } + }, + "countyCode": { + "title": "County Code", + "description": "A code that identifies a county. A county is a territorial division in some countries, forming the chief unit of local administration. In the US, a county is a political and administrative division of a state.", + "type": "string", + "$linkedData": { + "term": "countyCode", + "@id": "https://gs1.org/voc/countyCode" + } + }, + "postalCode": { + "title": "Postal Code", + "description": "Text specifying the postal code for an address.", + "type": "string", + "$linkedData": { + "term": "postalCode", + "@id": "https://schema.org/postalCode" + } + }, + "postOfficeBoxNumber": { + "title": "Post Office Box Number", + "description": "The number that identifies a PO box. A PO box is a box in a post office or other postal service location assigned to an organization where postal items may be kept.", + "type": "string", + "$linkedData": { + "term": "postOfficeBoxNumber", + "@id": "https://schema.org/postOfficeBoxNumber" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"PostalAddress\"],\n \"name\": \"Lebsack Inc\",\n \"streetAddress\": \"758 Huel Neck\",\n \"addressLocality\": \"Hagenesstad\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"38421-3292\",\n \"addressCountry\": \"Tonga\"\n}" + }, + "unLocode": { + "title": "UN Locode", + "description": "LOCODE", + "type": "string", + "$linkedData": { + "term": "unLocode", + "@id": "https://vocabulary.uncefact.org/Location" + } + }, + "iataAirportCode": { + "title": "IATA Airport Code", + "description": "IATA airport code (3 letter)", + "type": "string", + "$linkedData": { + "term": "iataAirportCode", + "@id": "https://onerecord.iata.org/cargo/Location#code" + } + }, + "locationName": { + "title": "Location Name", + "description": "Physical Location Name (if available).", + "type": "string", + "$linkedData": { + "term": "locationName", + "@id": "https://schema.org/name" + } + }, + "usPortCode": { + "title": "US CBP Port Code", + "description": "CBP Automated Manifest Interface Requirements, Appendix E - Schedule D – U.S. CBP Port Codes. 4 character port code (https://www.cbp.gov/sites/default/files/assets/documents/2020-Jan/ACE%20Appendix%20E%20Schedule%20D%20January%202020%20(1).pdf).", + "type": "string", + "$linkedData": { + "term": "usPortCode", + "@id": "https://w3id.org/traceability#usPortCode" + } + } + }, + "additionalProperties": false, + "required": [ + "type" + ], + "example": "{\n \"type\": [\"Place\"],\n \"globalLocationNumber\": \"0577976000005\",\n \"geo\": {\n \"type\": [\"GeoCoordinates\"],\n \"latitude\": \"55.67594\",\n \"longitude\": \"12.56553\"\n },\n \"address\": {\n \"type\": [\"PostalAddress\"],\n \"name\": \"Ratke - Bergstrom\",\n \"streetAddress\": \"Thomsen Gade 28\",\n \"addressLocality\": \"Copenhagen\",\n \"addressRegion\": \"Greater Copenhagen Metropolitan Area\",\n \"postalCode\": \"1278\",\n \"addressCountry\": \"Denmark\"\n },\n \"unLocode\": \"DKCPH\",\n \"iataAirportCode\": \"CPH\",\n \"locationName\": \"Scandinavian Office\"\n}" }, "countryOfDestination": { "title": "Country of Destination", @@ -647013,13 +648464,18 @@ "term": "addressCountry", "@id": "https://schema.org/addressCountry" } + }, + "nominationMonth": { + "title": "Nomination Month", + "description": "the month which pipeline and terminal nominations is for", + "type": "string" } }, "additionalProperties": false, "required": [ "type" ], - "example": "{\n \"type\":[\n \"DeliverySchedule\"\n ],\n \"transporter\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example Org\"\n },\n \"batchNumber\":\"111-1111-11\",\n \"commodity\":{\n \"type\":[\n \"Commodity\"\n ],\n \"commodityCode\":\"2714.10.00.00\",\n \"commodityCodeType\":\"HTS\"\n },\n \"receiptLocation\":{\n \"type\":[\n \"Place\"\n ],\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"52.6735\",\n \"longitude\":\"-111.3075\"\n },\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"streetAddress\":\"\",\n \"addressLocality\":\"Hardisty\",\n \"addressRegion\":\"AB\",\n \"postalCode\":\"\",\n \"addressCountry\":\"CA\"\n }\n },\n \"deliveryDestination\":{\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"41.8781\",\n \"longitude\":\"-87.6298\"\n },\n \"type\":[\n \"Place\"\n ],\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"postalCode\":\"\",\n \"addressRegion\":\"IL\",\n \"streetAddress\":\"\",\n \"addressCountry\":\"US\",\n \"addressLocality\":\"Chicago\"\n }\n },\n \"consignor\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"consignee\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"injectionVolume\":{\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"8806\",\n \"unitCode\":\"M3\"\n },\n \"injectionDate\":\"2022-05-01 10:13:00 PM\",\n \"deliveryDate\":\"2022-05-01 10:13:00 PM\",\n \"portOfEntry\": \"3501\",\n \"portOfDestination\": \"3901\",\n \"portOfArrival\": \"4105\",\n \"countryOfDestination\":\"CA\"\n}" + "example": "{\n \"type\":[\n \"DeliverySchedule\"\n ],\n \"transporter\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example Org\"\n },\n \"batchNumber\":\"111-1111-11\",\n \"commodity\":{\n \"type\":[\n \"Commodity\"\n ],\n \"commodityCode\":\"2714.10.00.00\",\n \"commodityCodeType\":\"HTS\"\n },\n \"receiptLocation\":{\n \"type\":[\n \"Place\"\n ],\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"52.6735\",\n \"longitude\":\"-111.3075\"\n },\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"streetAddress\":\"\",\n \"addressLocality\":\"Hardisty\",\n \"addressRegion\":\"AB\",\n \"postalCode\":\"\",\n \"addressCountry\":\"CA\"\n }\n },\n \"deliveryDestination\":{\n \"geo\":{\n \"type\":[\n \"GeoCoordinates\"\n ],\n \"latitude\":\"41.8781\",\n \"longitude\":\"-87.6298\"\n },\n \"type\":[\n \"Place\"\n ],\n \"address\":{\n \"type\":[\n \"PostalAddress\"\n ],\n \"postalCode\":\"\",\n \"addressRegion\":\"IL\",\n \"streetAddress\":\"\",\n \"addressCountry\":\"US\",\n \"addressLocality\":\"Chicago\"\n }\n },\n \"consignor\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"consignee\":{\n \"type\":[\n \"Organization\"\n ],\n \"name\":\"Example\"\n },\n \"scheduledVolume\":[\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"900000\",\n \"unitCode\":\"m3\"\n },\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"5660820\",\n \"unitCode\":\"bbl\"\n }\n ],\n \"scheduledDate\":\"2022-05-01 10:13:00 PM\",\n \"injectionVolume\":[\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"900000\",\n \"unitCode\":\"m3\"\n },\n {\n \"type\":[\n \"QuantitativeValue\"\n ],\n \"value\":\"5660820\",\n \"unitCode\":\"bbl\"\n }\n ],\n \"injectionDate\":\"2022-05-01 10:13:00 PM\",\n \"deliveryDate\":\"2022-05-01 10:13:00 PM\",\n \"portOfEntry\":{\n \"type\":[\n \"Place\"\n ],\n \"usPortCode\":\"3501\"\n },\n \"portOfDestination\":{\n \"type\":[\n \"Place\"\n ],\n \"usPortCode\":\"3901\"\n },\n \"portOfArrival\":{\n \"type\":[\n \"Place\"\n ],\n \"usPortCode\":\"4105\"\n },\n \"countryOfDestination\":\"USA\",\n \"nominationMonth\":\"Jan-23\"\n}" }, "proof": { "type": "object" @@ -647033,7 +648489,7 @@ "issuer", "credentialSubject" ], - "example": "{\n \"type\": [\n \"VerifiableCredential\",\n \"DeliveryScheduleCredential\"\n ],\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"did:key:z6LSpdSReUHCjYcQb1243aF1vS7sd9ArK585Mm4ktARQxatd\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Everything Garden Stuff\"\n },\n \"issuanceDate\": \"2022-01-13T09:16:46Z\",\n \"credentialSubject\": {\n \"type\": [\n \"DeliverySchedule\"\n ],\n \"transporter\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Example Org\"\n },\n \"batchNumber\": \"111-1111-11\",\n \"commodity\": {\n \"type\": [\n \"Commodity\"\n ],\n \"commodityCode\": \"2714.10.00.00\",\n \"commodityCodeType\": \"HTS\"\n },\n \"receiptLocation\": {\n \"type\": [\n \"Place\"\n ],\n \"geo\": {\n \"type\": [\n \"GeoCoordinates\"\n ],\n \"latitude\": \"52.6735\",\n \"longitude\": \"-111.3075\"\n },\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"\",\n \"addressLocality\": \"Hardisty\",\n \"addressRegion\": \"AB\",\n \"postalCode\": \"\",\n \"addressCountry\": \"CA\"\n }\n },\n \"deliveryDestination\": {\n \"geo\": {\n \"type\": [\n \"GeoCoordinates\"\n ],\n \"latitude\": \"41.8781\",\n \"longitude\": \"-87.6298\"\n },\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"postalCode\": \"\",\n \"addressRegion\": \"IL\",\n \"streetAddress\": \"\",\n \"addressCountry\": \"US\",\n \"addressLocality\": \"Chicago\"\n }\n },\n \"consignor\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Example\"\n },\n \"consignee\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Example\"\n },\n \"injectionVolume\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"8806\",\n \"unitCode\": \"M3\"\n },\n \"injectionDate\": \"2022-05-01 10:13:00 PM\",\n \"deliveryDate\": \"2022-05-01 10:13:00 PM\",\n \"portOfEntry\": \"3501\",\n \"portOfDestination\": \"3901\",\n \"portOfArrival\": \"4105\",\n \"countryOfDestination\": \"CA\"\n },\n \"proof\": {\n \"type\": \"Ed25519Signature2018\",\n \"created\": \"2023-05-17T17:49:14Z\",\n \"verificationMethod\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"proofPurpose\": \"assertionMethod\",\n \"jws\": \"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..ahpPSo78oBMgozfyFNulHM5YVF2FVA9scuoExBCMh705GSwhzn2cVioPvnSB78nzjNlsAiAHkC_VVPByRq4YBw\"\n }\n}" + "example": "{\n \"type\": [\n \"VerifiableCredential\",\n \"DeliveryScheduleCredential\"\n ],\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"did:key:z6LSpdSReUHCjYcQb1243aF1vS7sd9ArK585Mm4ktARQxatd\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Everything Garden Stuff\"\n },\n \"issuanceDate\": \"2022-01-13T09:16:46Z\",\n \"credentialSubject\": {\n \"type\": [\n \"DeliverySchedule\"\n ],\n \"transporter\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Example Org\"\n },\n \"batchNumber\": \"111-1111-11\",\n \"commodity\": {\n \"type\": [\n \"Commodity\"\n ],\n \"commodityCode\": \"2714.10.00.00\",\n \"commodityCodeType\": \"HTS\"\n },\n \"receiptLocation\": {\n \"type\": [\n \"Place\"\n ],\n \"geo\": {\n \"type\": [\n \"GeoCoordinates\"\n ],\n \"latitude\": \"52.6735\",\n \"longitude\": \"-111.3075\"\n },\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"\",\n \"addressLocality\": \"Hardisty\",\n \"addressRegion\": \"AB\",\n \"postalCode\": \"\",\n \"addressCountry\": \"CA\"\n }\n },\n \"deliveryDestination\": {\n \"geo\": {\n \"type\": [\n \"GeoCoordinates\"\n ],\n \"latitude\": \"41.8781\",\n \"longitude\": \"-87.6298\"\n },\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"postalCode\": \"\",\n \"addressRegion\": \"IL\",\n \"streetAddress\": \"\",\n \"addressCountry\": \"US\",\n \"addressLocality\": \"Chicago\"\n }\n },\n \"consignor\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Example\"\n },\n \"consignee\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Example\"\n },\n \"scheduledVolume\": [\n {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"900000\",\n \"unitCode\": \"m3\"\n },\n {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"5660820\",\n \"unitCode\": \"bbl\"\n }\n ],\n \"scheduledDate\": \"2022-05-01 10:13:00 PM\",\n \"injectionVolume\": [\n {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"900000\",\n \"unitCode\": \"m3\"\n },\n {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"5660820\",\n \"unitCode\": \"bbl\"\n }\n ],\n \"injectionDate\": \"2022-05-01 10:13:00 PM\",\n \"deliveryDate\": \"2022-05-01 10:13:00 PM\",\n \"portOfEntry\": {\n \"type\": [\n \"Place\"\n ],\n \"usPortCode\": \"3501\"\n },\n \"portOfDestination\": {\n \"type\": [\n \"Place\"\n ],\n \"usPortCode\": \"3901\"\n },\n \"portOfArrival\": {\n \"type\": [\n \"Place\"\n ],\n \"usPortCode\": \"4105\"\n },\n \"countryOfDestination\": \"USA\",\n \"nominationMonth\": \"Jan-23\"\n },\n \"proof\": {\n \"type\": \"Ed25519Signature2018\",\n \"created\": \"2023-07-11T17:54:05Z\",\n \"verificationMethod\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"proofPurpose\": \"assertionMethod\",\n \"jws\": \"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..c1DnuMZ1TzuHs5Zj3udVqbuBuF46NTwbunoE03mttye1WatsumM6CUYAtF6T22q_i7sZGQ3F5A3vLUgGScyPCQ\"\n }\n}" } } } @@ -771211,7 +772667,7 @@ "issuer", "credentialSubject" ], - "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"did:key:z6MkmbqKc6KncFZUbVJwUppttTkiMAtnVJ5wzC5oVBWci3pc\",\n \"type\": [\n \"VerifiableCredential\",\n \"MultiModalBillOfLadingCredential\"\n ],\n \"issuanceDate\": \"2022-03-04T13:40:00Z\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"MULTI CONTAINER LINE\",\n \"scac\": \"MCLI\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"name\": \"MCL Multi Container Line LTD.\",\n \"streetAddress\": \"Rm. 3501, 35/F Manhatten Place, 23 Wang Tai Road\",\n \"addressLocality\": \"Kowloon Bay\",\n \"addressRegion\": \"Hong Kong\",\n \"addressCountry\": \"Hong Kong SAR\"\n }\n }\n },\n \"credentialSubject\": {\n \"type\": [\n \"MultiModalBillOfLading\"\n ],\n \"billOfLadingNumber\": \"EX600822199A\",\n \"bookingNumber\": [\n \"EX600822199\"\n ],\n \"shipper\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Espresso Italiano Co.\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"Via Vico Ferrovia 5\",\n \"addressLocality\": \"Goro\",\n \"addressRegion\": \"Ferrara\",\n \"postalCode\": \"44020\",\n \"addressCountry\": \"IT\"\n }\n },\n \"email\": \"sales@espresso-italiano.example.com\",\n \"phoneNumber\": \"+39 5555 5252682\"\n },\n \"consignee\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Prosumer Coffee Supplies, Ltd.\",\n \"description\": \"Coffee Machine Imports\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"3934 Spinnaker Lane\",\n \"addressLocality\": \"Joliet\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"60432\",\n \"addressCountry\": \"US\"\n }\n }\n },\n \"notifyParty\": [\n {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Prosumer Coffee Supplies, Ltd.\",\n \"description\": \"Coffee Machine Imports\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"3934 Spinnaker Lane\",\n \"addressLocality\": \"Joliet\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"60432\",\n \"addressCountry\": \"US\"\n }\n }\n }\n ],\n \"mainCarriageTransportMovement\": {\n \"type\": [\n \"Transport\"\n ],\n \"vesselNumber\": \"MS Seven Seas\",\n \"voyageNumber\": \"Atl-W0425\"\n },\n \"portOfLoading\": {\n \"type\": [\n \"Place\"\n ],\n \"unLocode\": \"ITMIL\"\n },\n \"portOfDischarge\": {\n \"type\": [\n \"Place\"\n ],\n \"unLocode\": \"USLGB\"\n },\n \"totalNumberOfPackages\": 2200,\n \"transportEquipmentQuantity\": 2,\n \"utilizedTransportEquipment\": [\n {\n \"type\": [\n \"TransportEquipment\"\n ],\n \"equipmentReference\": \"APZU4812090\",\n \"ISOEquipmentCode\": \"40GP\",\n \"seals\": [\n {\n \"type\": [\n \"Seal\"\n ],\n \"sealNumber\": \"PTW-002290109692\"\n }\n ]\n },\n {\n \"type\": [\n \"TransportEquipment\"\n ],\n \"equipmentReference\": \"APZU5985096\",\n \"ISOEquipmentCode\": \"40GP\",\n \"seals\": [\n {\n \"type\": [\n \"Seal\"\n ],\n \"sealNumber\": \"PTW-002255398220\"\n }\n ]\n }\n ],\n \"particulars\": [\n {\n \"type\": [\n \"ConsignmentItem\"\n ],\n \"marksAndNumbers\": \"Espresso Italiano\",\n \"commodity\": {\n \"type\": [\n \"Commodity\"\n ],\n \"commodityCode\": \"8516.71\",\n \"commodityCodeType\": \"HS\"\n },\n \"packageQuantity\": 2200,\n \"netWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"kg\",\n \"value\": \"14600\"\n },\n \"grossWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"kg\",\n \"value\": \"15960\"\n },\n \"grossVolume\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"856\",\n \"unitCode\": \"cmb\"\n }\n }\n ],\n \"freightAndCharges\": [\n {\n \"type\": [\n \"ServiceCharge\"\n ],\n \"chargeCode\": \"basicFreight\",\n \"paymentTerm\": \"collect\",\n \"chargeText\": \"Negotiated ocean freight\",\n \"rate\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 2250,\n \"priceCurrency\": \"USD\"\n },\n \"calculationBasis\": \"Per container\",\n \"appliedAmount\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 4500,\n \"priceCurrency\": \"USD\"\n }\n }\n ],\n \"declaredValue\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 240000,\n \"priceCurrency\": \"USD\"\n },\n \"shippedOnBoardDate\": \"2022-02-02T09:30:00Z\",\n \"termsAndConditions\": \"https://terms-of-shipment.carrier.example.com\"\n },\n \"proof\": {\n \"type\": \"Ed25519Signature2018\",\n \"created\": \"2023-06-27T17:43:43Z\",\n \"verificationMethod\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"proofPurpose\": \"assertionMethod\",\n \"jws\": \"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..jhBtT0OADuTU9Njm6fnS4wWhoeX7ojJOEnACfOnHeRpe9dsLhpGmPF7BPlZnnAuX7dURROxjgmToVXKArwdfDA\"\n }\n}" + "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"did:key:z6MkmbqKc6KncFZUbVJwUppttTkiMAtnVJ5wzC5oVBWci3pc\",\n \"type\": [\n \"VerifiableCredential\",\n \"MultiModalBillOfLadingCredential\"\n ],\n \"issuanceDate\": \"2022-03-04T13:40:00Z\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"MULTI CONTAINER LINE\",\n \"scac\": \"MCLI\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"name\": \"MCL Multi Container Line LTD.\",\n \"streetAddress\": \"Rm. 3501, 35/F Manhatten Place, 23 Wang Tai Road\",\n \"addressLocality\": \"Kowloon Bay\",\n \"addressRegion\": \"Hong Kong\",\n \"addressCountry\": \"Hong Kong SAR\"\n }\n }\n },\n \"credentialSubject\": {\n \"type\": [\n \"MultiModalBillOfLading\"\n ],\n \"billOfLadingNumber\": \"EX600822199A\",\n \"bookingNumber\": [\n \"EX600822199\"\n ],\n \"shipper\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Espresso Italiano Co.\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"Via Vico Ferrovia 5\",\n \"addressLocality\": \"Goro\",\n \"addressRegion\": \"Ferrara\",\n \"postalCode\": \"44020\",\n \"addressCountry\": \"IT\"\n }\n },\n \"email\": \"sales@espresso-italiano.example.com\",\n \"phoneNumber\": \"+39 5555 5252682\"\n },\n \"consignee\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Prosumer Coffee Supplies, Ltd.\",\n \"description\": \"Coffee Machine Imports\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"3934 Spinnaker Lane\",\n \"addressLocality\": \"Joliet\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"60432\",\n \"addressCountry\": \"US\"\n }\n }\n },\n \"notifyParty\": [\n {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Prosumer Coffee Supplies, Ltd.\",\n \"description\": \"Coffee Machine Imports\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"3934 Spinnaker Lane\",\n \"addressLocality\": \"Joliet\",\n \"addressRegion\": \"Illinois\",\n \"postalCode\": \"60432\",\n \"addressCountry\": \"US\"\n }\n }\n }\n ],\n \"mainCarriageTransportMovement\": {\n \"type\": [\n \"Transport\"\n ],\n \"vesselNumber\": \"MS Seven Seas\",\n \"voyageNumber\": \"Atl-W0425\"\n },\n \"portOfLoading\": {\n \"type\": [\n \"Place\"\n ],\n \"unLocode\": \"ITMIL\"\n },\n \"portOfDischarge\": {\n \"type\": [\n \"Place\"\n ],\n \"unLocode\": \"USLGB\"\n },\n \"totalNumberOfPackages\": 2200,\n \"transportEquipmentQuantity\": 2,\n \"utilizedTransportEquipment\": [\n {\n \"type\": [\n \"TransportEquipment\"\n ],\n \"equipmentReference\": \"APZU4812090\",\n \"ISOEquipmentCode\": \"40GP\",\n \"seals\": [\n {\n \"type\": [\n \"Seal\"\n ],\n \"sealNumber\": \"PTW-002290109692\"\n }\n ]\n },\n {\n \"type\": [\n \"TransportEquipment\"\n ],\n \"equipmentReference\": \"APZU5985096\",\n \"ISOEquipmentCode\": \"40GP\",\n \"seals\": [\n {\n \"type\": [\n \"Seal\"\n ],\n \"sealNumber\": \"PTW-002255398220\"\n }\n ]\n }\n ],\n \"particulars\": [\n {\n \"type\": [\n \"ConsignmentItem\"\n ],\n \"marksAndNumbers\": \"Espresso Italiano\",\n \"commodity\": {\n \"type\": [\n \"Commodity\"\n ],\n \"commodityCode\": \"8516.71\",\n \"commodityCodeType\": \"HS\"\n },\n \"packageQuantity\": 2200,\n \"netWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"kg\",\n \"value\": \"14600\"\n },\n \"grossWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"kg\",\n \"value\": \"15960\"\n },\n \"grossVolume\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"856\",\n \"unitCode\": \"cmb\"\n }\n }\n ],\n \"freightAndCharges\": [\n {\n \"type\": [\n \"ServiceCharge\"\n ],\n \"chargeCode\": \"basicFreight\",\n \"paymentTerm\": \"collect\",\n \"chargeText\": \"Negotiated ocean freight\",\n \"rate\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 2250,\n \"priceCurrency\": \"USD\"\n },\n \"calculationBasis\": \"Per container\",\n \"appliedAmount\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 4500,\n \"priceCurrency\": \"USD\"\n }\n }\n ],\n \"declaredValue\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 240000,\n \"priceCurrency\": \"USD\"\n },\n \"shippedOnBoardDate\": \"2022-02-02T09:30:00Z\",\n \"termsAndConditions\": \"https://terms-of-shipment.carrier.example.com\"\n },\n \"proof\": {\n \"type\": \"Ed25519Signature2018\",\n \"created\": \"2023-07-11T17:54:45Z\",\n \"verificationMethod\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"proofPurpose\": \"assertionMethod\",\n \"jws\": \"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..FlFqbJ0EkOTn4HJ-oxz8bzuA4xko75RNl6WEkACyIzr4vtaRJ1uG7xSa1jf0u9JsN66QCzsHgAFnoIwQqKhhDg\"\n }\n}" } } } diff --git a/sections/credentials.html b/sections/credentials.html index 58960a07d..c98e426dd 100644 --- a/sections/credentials.html +++ b/sections/credentials.html @@ -2611,26 +2611,68 @@

Delivery Schedule Credential

], "name": "Example" }, - "injectionVolume": { + "scheduledVolume": [ + { + "type": [ + "QuantitativeValue" + ], + "value": "900000", + "unitCode": "m3" + }, + { + "type": [ + "QuantitativeValue" + ], + "value": "5660820", + "unitCode": "bbl" + } + ], + "scheduledDate": "2022-05-01 10:13:00 PM", + "injectionVolume": [ + { + "type": [ + "QuantitativeValue" + ], + "value": "900000", + "unitCode": "m3" + }, + { + "type": [ + "QuantitativeValue" + ], + "value": "5660820", + "unitCode": "bbl" + } + ], + "injectionDate": "2022-05-01 10:13:00 PM", + "deliveryDate": "2022-05-01 10:13:00 PM", + "portOfEntry": { "type": [ - "QuantitativeValue" + "Place" ], - "value": "8806", - "unitCode": "M3" + "usPortCode": "3501" }, - "injectionDate": "2022-05-01 10:13:00 PM", - "deliveryDate": "2022-05-01 10:13:00 PM", - "portOfEntry": "3501", - "portOfDestination": "3901", - "portOfArrival": "4105", - "countryOfDestination": "CA" + "portOfDestination": { + "type": [ + "Place" + ], + "usPortCode": "3901" + }, + "portOfArrival": { + "type": [ + "Place" + ], + "usPortCode": "4105" + }, + "countryOfDestination": "USA", + "nominationMonth": "Jan-23" }, "proof": { "type": "Ed25519Signature2018", - "created": "2023-05-17T17:49:14Z", + "created": "2023-06-27T19:26:42Z", "verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", "proofPurpose": "assertionMethod", - "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..ahpPSo78oBMgozfyFNulHM5YVF2FVA9scuoExBCMh705GSwhzn2cVioPvnSB78nzjNlsAiAHkC_VVPByRq4YBw" + "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..JsWj_OUUo3V0hh5qfycXNLwRSXNwRx-8_kkKwWIouMI5BrYCJD2jx5tEVBQMl7x-QlFnPbmpSAP_TiD3x6dWCg" } } diff --git a/sections/vocab.html b/sections/vocab.html index c15b41aca..e0efac355 100644 --- a/sections/vocab.html +++ b/sections/vocab.html @@ -3115,19 +3115,61 @@

Delivery Schedule

], "name":"Example" }, - "injectionVolume":{ + "scheduledVolume":[ + { + "type":[ + "QuantitativeValue" + ], + "value":"900000", + "unitCode":"m3" + }, + { + "type":[ + "QuantitativeValue" + ], + "value":"5660820", + "unitCode":"bbl" + } + ], + "scheduledDate":"2022-05-01 10:13:00 PM", + "injectionVolume":[ + { + "type":[ + "QuantitativeValue" + ], + "value":"900000", + "unitCode":"m3" + }, + { + "type":[ + "QuantitativeValue" + ], + "value":"5660820", + "unitCode":"bbl" + } + ], + "injectionDate":"2022-05-01 10:13:00 PM", + "deliveryDate":"2022-05-01 10:13:00 PM", + "portOfEntry":{ "type":[ - "QuantitativeValue" + "Place" ], - "value":"8806", - "unitCode":"M3" + "usPortCode":"3501" }, - "injectionDate":"2022-05-01 10:13:00 PM", - "deliveryDate":"2022-05-01 10:13:00 PM", - "portOfEntry": "3501", - "portOfDestination": "3901", - "portOfArrival": "4105", - "countryOfDestination":"CA" + "portOfDestination":{ + "type":[ + "Place" + ], + "usPortCode":"3901" + }, + "portOfArrival":{ + "type":[ + "Place" + ], + "usPortCode":"4105" + }, + "countryOfDestination":"USA", + "nominationMonth":"Jan-23" } diff --git a/testsuite/jest-html-reporters-attach/result.js b/testsuite/jest-html-reporters-attach/result.js index a2eb2e19c..cd0966970 100644 --- a/testsuite/jest-html-reporters-attach/result.js +++ b/testsuite/jest-html-reporters-attach/result.js @@ -1 +1 @@ -window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":5,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":5,"startTime":1687887868291,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1687887871322,"runtime":2997,"slow":false,"start":1687887868325},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"schemas is an array","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"schemas is an array"},{"ancestorTitles":[],"duration":1,"failureDetails":[],"failureMessages":[],"fullName":"all schemas have an example","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas have an example"},{"ancestorTitles":[],"duration":15,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid json","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid json"},{"ancestorTitles":[],"duration":2287,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid"}],"failureMessage":null},{"leaks":false,"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1687887871941,"runtime":608,"slow":false,"start":1687887871333},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":164,"failureDetails":[],"failureMessages":[],"fullName":"can validate schema with loader.","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"can validate schema with loader."}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":1,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/jest-html-reporters/index.js",{"maxWorkers":1,"pageTitle":"Traceability Vocabulary Test Suite","publicPath":"../../docs/testsuite","filename":"index.html","expand":true}]],"rootDir":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1687887871945,"_reporterOptions":{"publicPath":"../../docs/testsuite","filename":"index.html","expand":true,"pageTitle":"Traceability Vocabulary Test Suite","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1,"maxWorkers":1},"attachInfos":{}}) \ No newline at end of file +window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":5,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":5,"startTime":1689098150182,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1689098153963,"runtime":3736,"slow":false,"start":1689098150227},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"schemas is an array","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"schemas is an array"},{"ancestorTitles":[],"duration":1,"failureDetails":[],"failureMessages":[],"fullName":"all schemas have an example","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas have an example"},{"ancestorTitles":[],"duration":13,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid json","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid json"},{"ancestorTitles":[],"duration":2797,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid"}],"failureMessage":null},{"leaks":false,"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1689098154772,"runtime":796,"slow":false,"start":1689098153976},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":199,"failureDetails":[],"failureMessages":[],"fullName":"can validate schema with loader.","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"can validate schema with loader."}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":1,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/jest-html-reporters/index.js",{"maxWorkers":1,"pageTitle":"Traceability Vocabulary Test Suite","publicPath":"../../docs/testsuite","filename":"index.html","expand":true}]],"rootDir":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1689098154776,"_reporterOptions":{"publicPath":"../../docs/testsuite","filename":"index.html","expand":true,"pageTitle":"Traceability Vocabulary Test Suite","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1,"maxWorkers":1},"attachInfos":{}}) \ No newline at end of file