From d2ca9ab8a3b1337466bfdb736ac57dabdc0dd91f Mon Sep 17 00:00:00 2001 From: Nis Jespersen Date: Mon, 18 Sep 2023 11:35:35 +0200 Subject: [PATCH] feat: mtr remove shipto --- .../credentials/MillTestReportCredential.yml | 117 +----------------- 1 file changed, 1 insertion(+), 116 deletions(-) diff --git a/docs/openapi/components/schemas/credentials/MillTestReportCredential.yml b/docs/openapi/components/schemas/credentials/MillTestReportCredential.yml index da9610e69..fa8ed4ea0 100644 --- a/docs/openapi/components/schemas/credentials/MillTestReportCredential.yml +++ b/docs/openapi/components/schemas/credentials/MillTestReportCredential.yml @@ -295,100 +295,6 @@ properties: - type - name - location - shipTo: - title: Ship To - description: The shipment's ship to party. - type: object - properties: - type: - type: array - readOnly: true - const: - - Organization - default: - - Organization - items: - type: string - enum: - - Organization - id: - title: Identifier - description: Ship to party's identifier, typically a Decentralized Identifier (DID). - type: string - format: uri - name: - title: Name - description: Ship to organization's name. Conditionally mandatory if the ship to party is included. - type: string - location: - title: Location - description: Ship to location. - type: object - properties: - type: - type: array - readOnly: true - const: - - Place - default: - - Place - items: - type: string - enum: - - Place - address: - title: Postal Address - description: Ship to postal address. - type: object - properties: - type: - type: array - readOnly: true - const: - - PostalAddress - default: - - PostalAddress - items: - type: string - enum: - - PostalAddress - plantOrSiteName: - title: Plant or Site Name - description: Name of Plant, Site or Unit. - type: string - 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. - Conditionally mandatory if the ship to party is included. - type: string - addressLocality: - title: City - description: >- - Text specifying the name of the locality; for example, a city. - Conditionally mandatory if the ship to party is included. - type: string - addressRegion: - title: State - description: >- - Text specifying a province or state in abbreviated format; for example, - NJ. - type: string - postalCode: - title: Postal Code - description: Text specifying the postal code for an address. - type: string - addressCountry: - title: Country - description: >- - The two-letter ISO 3166-1 alpha-2 country code. - Conditionally mandatory if the ship to party is included. - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false productSpecification: title: Product Specification description: Specifications of product. @@ -1117,6 +1023,7 @@ example: |- "type": [ "PostalAddress" ], + "plantOrSiteName": "Rise Warehouse West", "streetAddress": "4423 Reeves Street", "addressLocality": "Baileys Harbor", "addressRegion": "California", @@ -1125,28 +1032,6 @@ example: |- } } }, - "shipTo": { - "type": [ - "Organization" - ], - "id": "did:web:rise-higher-construction.example.com", - "name": "Rise Higher Construction, Ltd.", - "location": { - "type": [ - "Place" - ], - "address": { - "type": [ - "PostalAddress" - ], - "streetAddress": "1988 Industry Ave.", - "addressLocality": "Norfolk", - "addressRegion": "California", - "postalCode": "95670", - "addressCountry": "US" - } - } - }, "productSpecification": { "type": [ "SteelProduct"