diff --git a/openapi/components/schemas/credentials/CommercialInvoiceCredential.yml b/openapi/components/schemas/credentials/CommercialInvoiceCredential.yml index 675a97e5f..77cdc7f19 100644 --- a/openapi/components/schemas/credentials/CommercialInvoiceCredential.yml +++ b/openapi/components/schemas/credentials/CommercialInvoiceCredential.yml @@ -1199,7 +1199,7 @@ example: |- "addressLocality": "Hernádez de Mara", "addressRegion": "Nuevo Leon", "postalCode": "32200", - "addressCountry": "Mexico" + "addressCountry": "MX" } } }, @@ -1237,7 +1237,7 @@ example: |- "addressLocality": "Hernádez de Mara", "addressRegion": "Nuevo Leon", "postalCode": "32200", - "addressCountry": "Mexico" + "addressCountry": "MX" } }, "email": "info@example.net", @@ -1261,7 +1261,7 @@ example: |- "addressLocality": "Detroit", "addressRegion": "Michigan", "postalCode": "48232-5170", - "addressCountry": "USA" + "addressCountry": "US" } } }, @@ -1284,7 +1284,7 @@ example: |- "addressLocality": "Detroit", "addressRegion": "Michigan", "postalCode": "48232-5170", - "addressCountry": "USA" + "addressCountry": "US" } } } diff --git a/openapi/components/schemas/credentials/IntentToImportCredential.yml b/openapi/components/schemas/credentials/IntentToImportCredential.yml index 65ca409a8..2588e8840 100644 --- a/openapi/components/schemas/credentials/IntentToImportCredential.yml +++ b/openapi/components/schemas/credentials/IntentToImportCredential.yml @@ -241,7 +241,7 @@ example: |- "addressLocality": "Detroit", "addressRegion": "Michigan", "postalCode": "48232-5170", - "addressCountry": "USA" + "addressCountry": "US" } } }, diff --git a/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml b/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml index 8d1e4a6fc..b50ec18dd 100644 --- a/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml +++ b/openapi/components/schemas/credentials/MultiModalBillOfLadingCredential.yml @@ -501,7 +501,6 @@ properties: additionalProperties: false required: - type - - name notifyParty: title: Notify Party description: The freight forwarder party for this supply chain consignment. @@ -604,7 +603,6 @@ properties: additionalProperties: false required: - type - - name preCarriageTransportMovement: title: Pre-carriage Transport Movement description: A pre-carriage logistics transport movement for the consignment. @@ -1307,7 +1305,7 @@ example: |- "streetAddress": "Rm. 3501, 35/F Manhatten Place, 23 Wang Tai Road", "addressLocality": "Kowloon Bay", "addressRegion": "Hong Kong", - "addressCountry": "Hong Kong SAR" + "addressCountry": "HK" } } }, diff --git a/openapi/openapi.bundled.json b/openapi/openapi.bundled.json index a21dafb85..7da0e6140 100644 --- a/openapi/openapi.bundled.json +++ b/openapi/openapi.bundled.json @@ -644947,7 +644947,7 @@ "issuer", "credentialSubject" ], - "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"urn:uuid:5e45f155-c949-4005-a7e5-26ni58b6a59a\",\n \"type\": [\n \"VerifiableCredential\",\n \"CommercialInvoiceCredential\"\n ],\n \"issuanceDate\": \"2022-02-23T11:55:00Z\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Maxi Acero Mexicano\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"Avenida Carlos 100\",\n \"addressLocality\": \"Hernádez de Mara\",\n \"addressRegion\": \"Nuevo Leon\",\n \"postalCode\": \"32200\",\n \"addressCountry\": \"Mexico\"\n }\n }\n },\n \"credentialSubject\": {\n \"type\": [\n \"Invoice\"\n ],\n \"portOfEntry\": {\n \"type\": [\n \"Place\"\n ],\n \"unLocode\": \"USLGB\"\n },\n \"invoiceNumber\": \"INV-1000288\",\n \"purchaseOrderNumbers\": [\n \"PO992765413\"\n ],\n \"isProforma\": false,\n \"destinationCountry\": \"MX\",\n \"purchaseDate\": \"2021-02-21\",\n \"seller\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Maxi Acero Mexicano\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"Avenida Carlos 100\",\n \"addressLocality\": \"Hernádez de Mara\",\n \"addressRegion\": \"Nuevo Leon\",\n \"postalCode\": \"32200\",\n \"addressCountry\": \"Mexico\"\n }\n },\n \"email\": \"info@example.net\",\n \"phoneNumber\": \"+1-766-555-6945\"\n },\n \"buyer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:web:generic-motors.example.com\",\n \"name\": \"Generic Motors of America\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"12 Generic Motors Dr\",\n \"addressLocality\": \"Detroit\",\n \"addressRegion\": \"Michigan\",\n \"postalCode\": \"48232-5170\",\n \"addressCountry\": \"USA\"\n }\n }\n },\n \"consignee\": [\n {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:web:generic-motors.example.com\",\n \"name\": \"Generic Motors of America\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"12 Generic Motors Dr\",\n \"addressLocality\": \"Detroit\",\n \"addressRegion\": \"Michigan\",\n \"postalCode\": \"48232-5170\",\n \"addressCountry\": \"USA\"\n }\n }\n }\n ],\n \"itemsShipped\": [\n {\n \"type\": [\n \"TradeLineItem\"\n ],\n \"product\": {\n \"type\": [\n \"Product\"\n ],\n \"manufacturer\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Maxi Acero Mexicano\"\n },\n \"description\": \"UNS S30400 chromium-nickel stainless steel rolls.\",\n \"weight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"lbs\",\n \"value\": \"16500\"\n }\n },\n \"itemCount\": 5,\n \"grossWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"82500\",\n \"unitCode\": \"lbs\"\n },\n \"lineItemTotalPrice\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 5200,\n \"priceCurrency\": \"USD\"\n }\n },\n {\n \"type\": [\n \"TradeLineItem\"\n ],\n \"product\": {\n \"type\": [\n \"Product\"\n ],\n \"manufacturer\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Maxi Acero Mexicano\"\n },\n \"description\": \"Galvalannealed ASTM A-653 zinc-iron alloy-coated steel sheets.\",\n \"weight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"12680\",\n \"unitCode\": \"lbs\"\n }\n },\n \"itemCount\": 20,\n \"grossWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"253600\",\n \"unitCode\": \"lbs\"\n },\n \"lineItemTotalPrice\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 4400,\n \"priceCurrency\": \"USD\"\n }\n }\n ],\n \"totalWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"336100\",\n \"unitCode\": \"lbs\"\n },\n \"totalPaymentDue\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 9600,\n \"priceCurrency\": \"USD\"\n }\n }\n}" + "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"urn:uuid:5e45f155-c949-4005-a7e5-26ni58b6a59a\",\n \"type\": [\n \"VerifiableCredential\",\n \"CommercialInvoiceCredential\"\n ],\n \"issuanceDate\": \"2022-02-23T11:55:00Z\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Maxi Acero Mexicano\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"Avenida Carlos 100\",\n \"addressLocality\": \"Hernádez de Mara\",\n \"addressRegion\": \"Nuevo Leon\",\n \"postalCode\": \"32200\",\n \"addressCountry\": \"MX\"\n }\n }\n },\n \"credentialSubject\": {\n \"type\": [\n \"Invoice\"\n ],\n \"portOfEntry\": {\n \"type\": [\n \"Place\"\n ],\n \"unLocode\": \"USLGB\"\n },\n \"invoiceNumber\": \"INV-1000288\",\n \"purchaseOrderNumbers\": [\n \"PO992765413\"\n ],\n \"isProforma\": false,\n \"destinationCountry\": \"MX\",\n \"purchaseDate\": \"2021-02-21\",\n \"seller\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Maxi Acero Mexicano\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"Avenida Carlos 100\",\n \"addressLocality\": \"Hernádez de Mara\",\n \"addressRegion\": \"Nuevo Leon\",\n \"postalCode\": \"32200\",\n \"addressCountry\": \"MX\"\n }\n },\n \"email\": \"info@example.net\",\n \"phoneNumber\": \"+1-766-555-6945\"\n },\n \"buyer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:web:generic-motors.example.com\",\n \"name\": \"Generic Motors of America\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"12 Generic Motors Dr\",\n \"addressLocality\": \"Detroit\",\n \"addressRegion\": \"Michigan\",\n \"postalCode\": \"48232-5170\",\n \"addressCountry\": \"US\"\n }\n }\n },\n \"consignee\": [\n {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:web:generic-motors.example.com\",\n \"name\": \"Generic Motors of America\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"12 Generic Motors Dr\",\n \"addressLocality\": \"Detroit\",\n \"addressRegion\": \"Michigan\",\n \"postalCode\": \"48232-5170\",\n \"addressCountry\": \"US\"\n }\n }\n }\n ],\n \"itemsShipped\": [\n {\n \"type\": [\n \"TradeLineItem\"\n ],\n \"product\": {\n \"type\": [\n \"Product\"\n ],\n \"manufacturer\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Maxi Acero Mexicano\"\n },\n \"description\": \"UNS S30400 chromium-nickel stainless steel rolls.\",\n \"weight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"lbs\",\n \"value\": \"16500\"\n }\n },\n \"itemCount\": 5,\n \"grossWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"82500\",\n \"unitCode\": \"lbs\"\n },\n \"lineItemTotalPrice\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 5200,\n \"priceCurrency\": \"USD\"\n }\n },\n {\n \"type\": [\n \"TradeLineItem\"\n ],\n \"product\": {\n \"type\": [\n \"Product\"\n ],\n \"manufacturer\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"Maxi Acero Mexicano\"\n },\n \"description\": \"Galvalannealed ASTM A-653 zinc-iron alloy-coated steel sheets.\",\n \"weight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"12680\",\n \"unitCode\": \"lbs\"\n }\n },\n \"itemCount\": 20,\n \"grossWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"253600\",\n \"unitCode\": \"lbs\"\n },\n \"lineItemTotalPrice\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 4400,\n \"priceCurrency\": \"USD\"\n }\n }\n ],\n \"totalWeight\": {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"value\": \"336100\",\n \"unitCode\": \"lbs\"\n },\n \"totalPaymentDue\": {\n \"type\": [\n \"PriceSpecification\"\n ],\n \"price\": 9600,\n \"priceCurrency\": \"USD\"\n }\n }\n}" } } } @@ -782547,7 +782547,7 @@ "issuer", "credentialSubject" ], - "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"urn:uuid:55791fb7-058f-409a-8a32-e6229n159144\",\n \"type\": [\n \"VerifiableCredential\",\n \"IntentToImportCredential\"\n ],\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Generic Motors of America\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"12 Generic Motors Dr\",\n \"addressLocality\": \"Detroit\",\n \"addressRegion\": \"Michigan\",\n \"postalCode\": \"48232-5170\",\n \"addressCountry\": \"USA\"\n }\n }\n },\n \"issuanceDate\": \"2022-03-03T15:20:00Z\",\n \"credentialSubject\": {\n \"type\": [\n \"IntentToImport\"\n ],\n \"importIntent\": \"By issuing this Intent to Import Verifiable Credential and presenting it in a Traceable Presentation to US CBP, the issuing organization initiates a digital procedure for importing goods into the United States.\"\n }\n}" + "example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"urn:uuid:55791fb7-058f-409a-8a32-e6229n159144\",\n \"type\": [\n \"VerifiableCredential\",\n \"IntentToImportCredential\"\n ],\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"name\": \"Generic Motors of America\",\n \"location\": {\n \"type\": [\n \"Place\"\n ],\n \"address\": {\n \"type\": [\n \"PostalAddress\"\n ],\n \"streetAddress\": \"12 Generic Motors Dr\",\n \"addressLocality\": \"Detroit\",\n \"addressRegion\": \"Michigan\",\n \"postalCode\": \"48232-5170\",\n \"addressCountry\": \"US\"\n }\n }\n },\n \"issuanceDate\": \"2022-03-03T15:20:00Z\",\n \"credentialSubject\": {\n \"type\": [\n \"IntentToImport\"\n ],\n \"importIntent\": \"By issuing this Intent to Import Verifiable Credential and presenting it in a Traceable Presentation to US CBP, the issuing organization initiates a digital procedure for importing goods into the United States.\"\n }\n}" } } } @@ -795628,8 +795628,7 @@ }, "additionalProperties": false, "required": [ - "type", - "name" + "type" ] }, "notifyParty": { @@ -795757,8 +795756,7 @@ }, "additionalProperties": false, "required": [ - "type", - "name" + "type" ] } }, @@ -796625,7 +796623,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 \"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 \"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}" + "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\": \"HK\"\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 \"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 \"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}" } } } diff --git a/sections/credentials.html b/sections/credentials.html index 1e17b68ea..456f8c474 100644 --- a/sections/credentials.html +++ b/sections/credentials.html @@ -1491,7 +1491,7 @@

Commercial Invoice Credential

"addressLocality": "Hernádez de Mara", "addressRegion": "Nuevo Leon", "postalCode": "32200", - "addressCountry": "Mexico" + "addressCountry": "MX" } } }, @@ -1529,7 +1529,7 @@

Commercial Invoice Credential

"addressLocality": "Hernádez de Mara", "addressRegion": "Nuevo Leon", "postalCode": "32200", - "addressCountry": "Mexico" + "addressCountry": "MX" } }, "email": "info@example.net", @@ -1553,7 +1553,7 @@

Commercial Invoice Credential

"addressLocality": "Detroit", "addressRegion": "Michigan", "postalCode": "48232-5170", - "addressCountry": "USA" + "addressCountry": "US" } } }, @@ -1576,7 +1576,7 @@

Commercial Invoice Credential

"addressLocality": "Detroit", "addressRegion": "Michigan", "postalCode": "48232-5170", - "addressCountry": "USA" + "addressCountry": "US" } } } @@ -6672,7 +6672,7 @@

Intent To Import Credential

"addressLocality": "Detroit", "addressRegion": "Michigan", "postalCode": "48232-5170", - "addressCountry": "USA" + "addressCountry": "US" } } }, @@ -7402,7 +7402,7 @@

Multi-Modal Bill of Lading Credential

"streetAddress": "Rm. 3501, 35/F Manhatten Place, 23 Wang Tai Road", "addressLocality": "Kowloon Bay", "addressRegion": "Hong Kong", - "addressCountry": "Hong Kong SAR" + "addressCountry": "HK" } } }, diff --git a/testsuite/jest-html-reporters-attach/result.js b/testsuite/jest-html-reporters-attach/result.js index 4476cb572..84af64325 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":1695749733419,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1695749736982,"runtime":3525,"slow":false,"start":1695749733457},"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":20,"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":2645,"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":1695749737729,"runtime":738,"slow":false,"start":1695749736991},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":182,"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":1695749737734,"_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":1695749788392,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1695749792399,"runtime":3960,"slow":false,"start":1695749788439},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":3,"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":2975,"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":1695749793260,"runtime":847,"slow":false,"start":1695749792413},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":244,"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":1695749793266,"_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