Skip to content

Commit

Permalink
feat: MTR update from industry feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Nis Jespersen committed Sep 12, 2023
1 parent 1c93c45 commit ab9e81c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 16 deletions.
7 changes: 7 additions & 0 deletions docs/openapi/components/schemas/common/PostalAddress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ properties:
$linkedData:
term: postOfficeBoxNumber
'@id': https://schema.org/postOfficeBoxNumber
plantOrSiteName:
title: Plant or Site Name
description: Name of Plant, Site or Unit.
type: string
$linkedData:
term: plantOrSiteName
'@id': https://vocabulary.uncefact.org/buildingName
additionalProperties: false
required:
- type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,37 @@ properties:
description: Test results made by a manufacturer of a metal product.
type: object
properties:
certificateNumber:
title: Certificate Number
description: Mill test report certificate number.
type: string
certification:
title: Certification
description: The type of certification conducted.
type: string
purchaseOrderNumber:
title: Purchase Order Number
description: Purchase order number.
type: string
shipmentDate:
title: Shipment Date
description: Date of shipping.
type: string
format: date
$linkedData:
term: shipmentDate
'@id': https://vocabulary.uncefact.org/DateTimePeriodFunctionCodeList#270
meansOfTransport:
title: Means of Transport
description: A means of transport, expressed as text, for this transport route.
type: string
enum:
- Road
- Rail
- Ocean
$linkedData:
term: meansOfTransport
'@id': https://vocabulary.uncefact.org/transportMeans
customer:
title: Customer
description: Bill to, buyer party.
Expand Down Expand Up @@ -220,6 +251,10 @@ properties:
type: string
enum:
- PostalAddress
plantOrSiteName:
title: Plant or Site Name
description: Name of Plant, Site or Unit.
type: string
streetAddress:
title: Street Address
description: >-
Expand Down Expand Up @@ -317,6 +352,10 @@ properties:
type: string
enum:
- PostalAddress
plantOrSiteName:
title: Plant or Site Name
description: Name of Plant, Site or Unit.
type: string
streetAddress:
title: Street Address
description: >-
Expand Down Expand Up @@ -350,18 +389,6 @@ properties:
additionalProperties: false
additionalProperties: false
additionalProperties: false
certificateNumber:
title: Certificate Number
description: Mill test report certificate number.
type: string
certification:
title: Certification
description: The type of certification conducted.
type: string
purchaseOrderNumber:
title: Purchase Order Number
description: Purchase order number.
type: string
productSpecification:
title: Product Specification
description: Specifications of product.
Expand Down Expand Up @@ -738,7 +765,7 @@ properties:
"@id": https://w3id.org/traceability#sn
nbCb:
title: NbCb
description: Niobium (Columbium) percentage content.
description: Niobium (also known as Columbium) percentage content.
type: number
$linkedData:
term: nbCb
Expand Down Expand Up @@ -1072,6 +1099,10 @@ example: |-
},
"issuanceDate": "2022-06-06T08:10:00+00:00",
"credentialSubject": {
"certificateNumber": "202304215088",
"certification": "EN 10204.3.1",
"purchaseOrderNumber": "PO992765413",
"meansOfTransport": "Road",
"customer": {
"type": [
"Organization"
Expand Down Expand Up @@ -1116,9 +1147,6 @@ example: |-
}
}
},
"certificateNumber": "202304215088",
"certification": "EN 10204.3.1",
"purchaseOrderNumber": "PO992765413",
"productSpecification": {
"type": [
"SteelProduct"
Expand Down

0 comments on commit ab9e81c

Please sign in to comment.