diff --git a/docs/index.html b/docs/index.html index 53d97a442..398896cea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -956,10 +956,18 @@
Supporting Documents
Mill Test Report Certificate
+
+ Mill Test Report example +
Sample Mill Test Report
+

The Mill Test Report - certifies steel type and quality, listing chemical and mechanical + certifies metal type and quality, listing chemical and mechanical properties.

diff --git a/docs/openapi/components/schemas/common/MillTestReport.yml b/docs/openapi/components/schemas/common/MillTestReport.yml index 6e2756321..9eaa36d68 100644 --- a/docs/openapi/components/schemas/common/MillTestReport.yml +++ b/docs/openapi/components/schemas/common/MillTestReport.yml @@ -58,30 +58,27 @@ example: |- "type": [ "Organization" ], - "name": "Brekke, Kertzmann and Yost", - "description": "Distributed mobile protocol", + "id": "did:key:z6MkkDM7AG9KSX8naVHuD4oyx16FX4k2EwJmPrSUfrK5fhEu", + "name": "Melt Global, Inc.", + "phoneNumber": "+1 702-647-9292", "address": { "type": [ "PostalAddress" ], - "streetAddress": "47831 Otis Knoll", - "addressLocality": "Vincentport", - "addressRegion": "Connecticut", - "postalCode": "47493", - "addressCountry": "Benin" - }, - "email": "Priscilla.Dooley@example.com", - "phoneNumber": "555-426-1175", - "faxNumber": "555-147-8251" + "addressLocality": "Hunter Valley", + "addressRegion": "Texas", + "postalCode": "78599", + "addressCountry": "United States" + } }, "product": { "type": [ "SteelProduct" ], - "heatNumber": "5640", - "specification": "ASTM-9476", - "grade": "86829", - "originalCountryOfMeltAndPour": "Albania", + "heatNumber": "225606", + "specification": "ASTM- A615-01a", + "grade": ["60", "420"], + "originalCountryOfMeltAndPour": "US", "inspection": { "type": [ "InspectionReport" @@ -91,105 +88,362 @@ example: |- "type": [ "Observation" ], - "date": "2019-12-11T03:50:55Z", + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Carbon", + "formula": "C" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".40", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Manganese", + "formula": "Mn" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".90", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Phosphorus", + "formula": "P" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".010", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Sulfur", + "formula": "S" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".038", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Silicon", + "formula": "Si" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".17", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Copper", + "formula": "Cu" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".37", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Chromium", + "formula": "Cr" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".17", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Nickel", + "formula": "Ni" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".22", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Molybdenum", + "formula": "Mo" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".069", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Niobium", + "formula": "Nb" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".000", + "unitCode": "P1" + } + }, { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Vanadium", + "formula": "V" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".015", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Tin", + "formula": "Sn" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".011", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Boron", + "formula": "B" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".0000", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Titanium", + "formula": "Ti" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".001", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], "property": { "type": [ "MechanicalProperty" ], - "identifier": "ISO 3738", - "name": "Rockwell Hardness Test (Scale A)", - "description": "The Rockwell hardness test is an empirical indentation hardness test that can provide useful information about metallic materials." + "name": "Yield Strength" }, "measurement": { "type": [ "MeasuredValue" ], - "value": "00.00", - "unitCode": "UNKNOWN" + "value": "467.5", + "unitCode": "MPA" } }, { "type": [ "Observation" ], - "date": "2019-12-11T03:50:55Z", "property": { "type": [ "MechanicalProperty" ], - "identifier": "ISO 180", - "name": "Izod Impact Strength Test", - "description": "ISO 180 defines the method used for pendulums to determine the impact resistance of a specimen when supported in a cantilever configuration. Test results are used to evaluate the resilience of materials, typically plastics." + "name": "Tensile Strength" }, "measurement": { "type": [ "MeasuredValue" ], - "value": "99.236", - "unitCode": "B13" + "value": "712.3", + "unitCode": "MPA" } }, { "type": [ "Observation" ], - "date": "2019-12-11T03:50:55Z", "property": { "type": [ - "ChemicalProperty" + "MechanicalProperty" ], - "name": "Thulium" + "identifier": "", + "name": "Elongation", + "description": "Elongation" }, "measurement": { "type": [ "MeasuredValue" ], - "value": "100.00", + "value": "14", "unitCode": "P1" } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "MechanicalProperty" + ], + "identifier": "", + "name": "Gauge Length" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": "203", + "unitCode": "MMT" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "MechanicalProperty" + ], + "identifier": "", + "name": "Bend Test Diameter" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": "250.51", + "unitCode": "MMT" + } } ] } - }, - "purchase": { - "type": [ - "Purchase" - ], - "customer": { - "type": "Entity", - "name": "Bernita Hodkiewicz", - "entityType": "Person", - "email": "Bernita_Hodkiewicz@example.net", - "phoneNumber": "555-272-1025" - } - }, - "shipment": { - "type": [ - "ParcelDelivery" - ], - "deliveryAddress": { - "type": [ - "PostalAddress" - ], - "organizationName": "West Inc", - "streetAddress": "3818 Noemi Drives", - "addressLocality": "Armstrongside", - "addressRegion": "Nevada", - "postalCode": "33515-6392", - "addressCountry": "Reunion" - }, - "originAddress": { - "type": [ - "PostalAddress" - ], - "organizationName": "Swaniawski, Schneider and Dickinson", - "streetAddress": "02833 Kristin Drive", - "addressLocality": "Port Brandi", - "addressRegion": "Rhode Island", - "postalCode": "45023-4573", - "addressCountry": "Montenegro" - }, - "deliveryMethod": "Ocean transport", - "trackingNumber": "111043819170" } - } + } \ No newline at end of file diff --git a/docs/openapi/components/schemas/common/SteelProduct.yml b/docs/openapi/components/schemas/common/SteelProduct.yml index 46a4fcc4c..f0bd30007 100644 --- a/docs/openapi/components/schemas/common/SteelProduct.yml +++ b/docs/openapi/components/schemas/common/SteelProduct.yml @@ -34,7 +34,9 @@ properties: grade: title: Grade description: The grade of the product - type: string + type: array + items: + type: string $linkedData: term: grade '@id': https://schema.org/Rating @@ -101,7 +103,7 @@ example: |- "type": "SteelProduct", "heatNumber": "4761", "specification": "ASTM-66272", - "grade": "95913", + "grade": ["95913"], "originalCountryOfMeltAndPour": "Oman", "weight": 3200, "weightUnit": "https://service.unece.org/trade/uncefact/vocabulary/rec20/#kilogram", diff --git a/docs/openapi/components/schemas/credentials/MillTestReportCertificate.yml b/docs/openapi/components/schemas/credentials/MillTestReportCertificate.yml index b1cb014b6..f73176826 100644 --- a/docs/openapi/components/schemas/credentials/MillTestReportCertificate.yml +++ b/docs/openapi/components/schemas/credentials/MillTestReportCertificate.yml @@ -47,40 +47,12 @@ example: |- "https://www.w3.org/2018/credentials/v1", "https://w3id.org/traceability/v1" ], - "id": "https://example.com/credential/123", "type": [ "VerifiableCredential", "MillTestReportCertificate" ], "name": "Certified Mill Test Report", "description": "This document includes recommended mill certificate fields.", - "relatedLink": [ - { - "type": [ - "LinkRole" - ], - "target": "https://www.example.com/template/123", - "linkRelationship": "templateLink" - } - ], - "issuanceDate": "2019-12-11T03:50:55Z", - "issuer": { - "id": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", - "type": "Organization", - "name": "Bartell Inc", - "description": "Realigned maximized alliance", - "address": { - "type": "PostalAddress", - "streetAddress": "713 Funk Parkway", - "addressLocality": "Dannyside", - "addressRegion": "Alabama", - "postalCode": "17321", - "addressCountry": "Peru" - }, - "email": "Dion_Stoltenberg@example.org", - "phoneNumber": "555-987-1014", - "faxNumber": "555-377-8843" - }, "credentialSubject": { "type": [ "MillTestReport" @@ -89,30 +61,30 @@ example: |- "type": [ "Organization" ], - "name": "Brekke, Kertzmann and Yost", - "description": "Distributed mobile protocol", + "id": "did:key:z6MkkDM7AG9KSX8naVHuD4oyx16FX4k2EwJmPrSUfrK5fhEu", + "name": "Melt Global, Inc.", + "phoneNumber": "+1 702-647-9292", "address": { "type": [ "PostalAddress" ], - "streetAddress": "47831 Otis Knoll", - "addressLocality": "Vincentport", - "addressRegion": "Connecticut", - "postalCode": "47493", - "addressCountry": "Benin" - }, - "email": "Priscilla.Dooley@example.com", - "phoneNumber": "555-426-1175", - "faxNumber": "555-147-8251" + "addressLocality": "Hunter Valley", + "addressRegion": "Texas", + "postalCode": "78599", + "addressCountry": "United States" + } }, "product": { "type": [ "SteelProduct" ], - "heatNumber": "5640", - "specification": "ASTM-9476", - "grade": "86829", - "originalCountryOfMeltAndPour": "Albania", + "heatNumber": "225606", + "specification": "ASTM- A615-01a", + "grade": [ + "60", + "420" + ], + "originalCountryOfMeltAndPour": "US", "inspection": { "type": [ "InspectionReport" @@ -122,113 +94,389 @@ example: |- "type": [ "Observation" ], - "date": "2019-12-11T03:50:55Z", + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Carbon", + "formula": "C" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".40", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Manganese", + "formula": "Mn" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".90", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Phosphorus", + "formula": "P" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".010", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Sulfur", + "formula": "S" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".038", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Silicon", + "formula": "Si" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".17", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Copper", + "formula": "Cu" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".37", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Chromium", + "formula": "Cr" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".17", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Nickel", + "formula": "Ni" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".22", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Molybdenum", + "formula": "Mo" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".069", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Niobium", + "formula": "Nb" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".000", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Vanadium", + "formula": "V" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".015", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Tin", + "formula": "Sn" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".011", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Boron", + "formula": "B" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".0000", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "ChemicalProperty" + ], + "name": "Titanium", + "formula": "Ti" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": ".001", + "unitCode": "P1" + } + }, + { + "type": [ + "Observation" + ], "property": { "type": [ "MechanicalProperty" ], - "identifier": "ISO 3738", - "name": "Rockwell Hardness Test (Scale A)", - "description": "The Rockwell hardness test is an empirical indentation hardness test that can provide useful information about metallic materials." + "name": "Yield Strength" }, "measurement": { "type": [ "MeasuredValue" ], - "value": "00.00", - "unitCode": "UNKNOWN" + "value": "467.5", + "unitCode": "MPA" } }, { "type": [ "Observation" ], - "date": "2019-12-11T03:50:55Z", "property": { "type": [ "MechanicalProperty" ], - "identifier": "ISO 180", - "name": "Izod Impact Strength Test", - "description": "ISO 180 defines the method used for pendulums to determine the impact resistance of a specimen when supported in a cantilever configuration. Test results are used to evaluate the resilience of materials, typically plastics." + "name": "Tensile Strength" }, "measurement": { "type": [ "MeasuredValue" ], - "value": "99.236", - "unitCode": "B13" + "value": "712.3", + "unitCode": "MPA" } }, { "type": [ "Observation" ], - "date": "2019-12-11T03:50:55Z", "property": { "type": [ - "ChemicalProperty" + "MechanicalProperty" ], - "name": "Thulium" + "identifier": "", + "name": "Elongation", + "description": "Elongation" }, "measurement": { "type": [ "MeasuredValue" ], - "value": "100.00", + "value": "14", "unitCode": "P1" } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "MechanicalProperty" + ], + "identifier": "", + "name": "Gauge Length" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": "203", + "unitCode": "MMT" + } + }, + { + "type": [ + "Observation" + ], + "property": { + "type": [ + "MechanicalProperty" + ], + "identifier": "", + "name": "Bend Test Diameter" + }, + "measurement": { + "type": [ + "MeasuredValue" + ], + "value": "250.51", + "unitCode": "MMT" + } } ] } - }, - "purchase": { - "type": [ - "Purchase" - ], - "customer": { - "type": "Entity", - "name": "Bernita Hodkiewicz", - "entityType": "Person", - "email": "Bernita_Hodkiewicz@example.net", - "phoneNumber": "555-272-1025" - } - }, - "shipment": { + } + }, + "issuer": { + "type": [ + "Organization" + ], + "id": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", + "name": "Melt Global, Inc.", + "phoneNumber": "+1 702-647-9292", + "address": { "type": [ - "ParcelDelivery" + "PostalAddress" ], - "deliveryAddress": { - "type": [ - "PostalAddress" - ], - "organizationName": "West Inc", - "streetAddress": "3818 Noemi Drives", - "addressLocality": "Armstrongside", - "addressRegion": "Nevada", - "postalCode": "33515-6392", - "addressCountry": "Reunion" - }, - "originAddress": { - "type": [ - "PostalAddress" - ], - "organizationName": "Swaniawski, Schneider and Dickinson", - "streetAddress": "02833 Kristin Drive", - "addressLocality": "Port Brandi", - "addressRegion": "Rhode Island", - "postalCode": "45023-4573", - "addressCountry": "Montenegro" - }, - "deliveryMethod": "Ocean transport", - "trackingNumber": "111043819170" + "addressLocality": "Hunter Valley", + "addressRegion": "Texas", + "postalCode": "78599", + "addressCountry": "United States" } }, + "issuanceDate": "2022-06-06T08:10:00+00:00", "proof": { "type": "Ed25519Signature2018", - "created": "2022-05-05T19:24:12Z", + "created": "2022-06-07T08:31:25Z", "verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U", "proofPurpose": "assertionMethod", - "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..W_AThNquXygT0hLkW5aCddmI-qlsD45qXeKyYu6A9iX5q3ugOQT6b45MDT0PCC5Pslnuk4sPsubjECU_ApchBA" + "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..KsOkhTNul2aiUIt74uwlPh6UHoxdx8pvcnRVuofVMDrJNbGwbcMXYY296g8mwcNXzibCgmAf5ixfgiLb2mBaAg" } } \ No newline at end of file diff --git a/docs/samples/mill-test-report-ex.png b/docs/samples/mill-test-report-ex.png new file mode 100644 index 000000000..db1aa4e3f Binary files /dev/null and b/docs/samples/mill-test-report-ex.png differ