Skip to content

Commit

Permalink
deploy: 82ae0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhraisha committed Aug 1, 2023
1 parent 3bef006 commit 15f2640
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 14 deletions.
22 changes: 19 additions & 3 deletions openapi/components/schemas/common/MonthlyAdvanceManifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,14 @@ properties:
title: deliveryLocation
description: name of the delivery location
sumOfScheduledDeliveries:
type: string
type: array
title: Sum of Scheduled Deliveries
description: sum of volumes delivered to the delivery location in one month
description: sum of volumes delivered to the delivery location in one month
items:
$ref: ./QuantitativeValue.yml
$linkedData:
term: sumOfScheduledDeliveries
'@id': https://schema.org/QuantitativeValue
numberOfBatches:
type: string
title: Number of Batches
Expand All @@ -74,7 +79,18 @@ example: |-
{
"portCode": "3901",
"deliveryLocation": "Chicago",
"sumOfScheduledDelivires": "2000",
"sumOfScheduledDeliveries": [
{
"type": ["QuantitativeValue"],
"unitCode": "m3",
"value": "18170.90"
},
{
"type": ["QuantitativeValue"],
"unitCode": "bbl",
"value": "114294.96"
}
],
"numberOfBatches": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,22 @@ example: |-
{
"portCode": "3901",
"deliveryLocation": "Chicago",
"sumOfScheduledDelivires": "2000",
"sumOfScheduledDeliveries": [
{
"type": [
"QuantitativeValue"
],
"unitCode": "m3",
"value": "18170.90"
},
{
"type": [
"QuantitativeValue"
],
"unitCode": "bbl",
"value": "114294.96"
}
],
"numberOfBatches": "1"
}
]
Expand Down
126 changes: 119 additions & 7 deletions openapi/openapi.bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -243317,9 +243317,65 @@
"description": "name of the delivery location"
},
"sumOfScheduledDeliveries": {
"type": "string",
"type": "array",
"title": "Sum of Scheduled Deliveries",
"description": "sum of volumes delivered to the delivery location in one month"
"description": "sum of volumes delivered to the delivery location in one month",
"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": "sumOfScheduledDeliveries",
"@id": "https://schema.org/QuantitativeValue"
}
},
"numberOfBatches": {
"type": "string",
Expand All @@ -243335,7 +243391,7 @@
"required": [
"type"
],
"example": "{\n \"type\": [\n \"MonthlyAdvanceManifest\"\n ],\n \"date\": \"2019-12-11T03:50:55Z\",\n \"scheduledDeliveries\": [\n {\n \"portCode\": \"3901\",\n \"deliveryLocation\": \"Chicago\",\n \"sumOfScheduledDelivires\": \"2000\",\n \"numberOfBatches\": \"1\"\n }\n ]\n}"
"example": "{\n \"type\": [\n \"MonthlyAdvanceManifest\"\n ],\n \"date\": \"2019-12-11T03:50:55Z\",\n \"scheduledDeliveries\": [\n {\n \"portCode\": \"3901\",\n \"deliveryLocation\": \"Chicago\",\n \"sumOfScheduledDeliveries\": [\n {\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"m3\",\n \"value\": \"18170.90\"\n },\n {\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"bbl\",\n \"value\": \"114294.96\"\n }\n ],\n \"numberOfBatches\": \"1\"\n }\n ]\n}"
}
}
}
Expand Down Expand Up @@ -769893,9 +769949,65 @@
"description": "name of the delivery location"
},
"sumOfScheduledDeliveries": {
"type": "string",
"type": "array",
"title": "Sum of Scheduled Deliveries",
"description": "sum of volumes delivered to the delivery location in one month"
"description": "sum of volumes delivered to the delivery location in one month",
"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": "sumOfScheduledDeliveries",
"@id": "https://schema.org/QuantitativeValue"
}
},
"numberOfBatches": {
"type": "string",
Expand All @@ -769911,7 +770023,7 @@
"required": [
"type"
],
"example": "{\n \"type\": [\n \"MonthlyAdvanceManifest\"\n ],\n \"date\": \"2019-12-11T03:50:55Z\",\n \"scheduledDeliveries\": [\n {\n \"portCode\": \"3901\",\n \"deliveryLocation\": \"Chicago\",\n \"sumOfScheduledDelivires\": \"2000\",\n \"numberOfBatches\": \"1\"\n }\n ]\n}"
"example": "{\n \"type\": [\n \"MonthlyAdvanceManifest\"\n ],\n \"date\": \"2019-12-11T03:50:55Z\",\n \"scheduledDeliveries\": [\n {\n \"portCode\": \"3901\",\n \"deliveryLocation\": \"Chicago\",\n \"sumOfScheduledDeliveries\": [\n {\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"m3\",\n \"value\": \"18170.90\"\n },\n {\n \"type\": [\"QuantitativeValue\"],\n \"unitCode\": \"bbl\",\n \"value\": \"114294.96\"\n }\n ],\n \"numberOfBatches\": \"1\"\n }\n ]\n}"
},
"proof": {
"title": "proof",
Expand Down Expand Up @@ -770011,7 +770123,7 @@
"issuer",
"credentialSubject"
],
"example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"http://example.org/credentials/\",\n \"type\": [\n \"VerifiableCredential\",\n \"MonthlyAdvanceManifestCredential\"\n ],\n \"issuanceDate\": \"2021-02-04T20:29:37+00:00\",\n \"issuer\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"credentialSubject\": {\n \"type\": [\n \"MonthlyAdvanceManifest\"\n ],\n \"date\": \"2019-12-11T03:50:55Z\",\n \"scheduledDeliveries\": [\n {\n \"portCode\": \"3901\",\n \"deliveryLocation\": \"Chicago\",\n \"sumOfScheduledDelivires\": \"2000\",\n \"numberOfBatches\": \"1\"\n }\n ]\n }\n}"
"example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"id\": \"http://example.org/credentials/\",\n \"type\": [\n \"VerifiableCredential\",\n \"MonthlyAdvanceManifestCredential\"\n ],\n \"issuanceDate\": \"2021-02-04T20:29:37+00:00\",\n \"issuer\": \"did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U\",\n \"credentialSubject\": {\n \"type\": [\n \"MonthlyAdvanceManifest\"\n ],\n \"date\": \"2019-12-11T03:50:55Z\",\n \"scheduledDeliveries\": [\n {\n \"portCode\": \"3901\",\n \"deliveryLocation\": \"Chicago\",\n \"sumOfScheduledDeliveries\": [\n {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"m3\",\n \"value\": \"18170.90\"\n },\n {\n \"type\": [\n \"QuantitativeValue\"\n ],\n \"unitCode\": \"bbl\",\n \"value\": \"114294.96\"\n }\n ],\n \"numberOfBatches\": \"1\"\n }\n ]\n }\n}"
}
}
}
Expand Down
17 changes: 16 additions & 1 deletion sections/credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -7344,7 +7344,22 @@ <h2>Monthly Advance Manifest Credential</h2>
{
"portCode": "3901",
"deliveryLocation": "Chicago",
"sumOfScheduledDelivires": "2000",
"sumOfScheduledDeliveries": [
{
"type": [
"QuantitativeValue"
],
"unitCode": "m3",
"value": "18170.90"
},
{
"type": [
"QuantitativeValue"
],
"unitCode": "bbl",
"value": "114294.96"
}
],
"numberOfBatches": "1"
}
]
Expand Down
13 changes: 12 additions & 1 deletion sections/vocab.html
Original file line number Diff line number Diff line change
Expand Up @@ -8723,7 +8723,18 @@ <h2>Monthly Advance Manifest</h2>
{
"portCode": "3901",
"deliveryLocation": "Chicago",
"sumOfScheduledDelivires": "2000",
"sumOfScheduledDeliveries": [
{
"type": ["QuantitativeValue"],
"unitCode": "m3",
"value": "18170.90"
},
{
"type": ["QuantitativeValue"],
"unitCode": "bbl",
"value": "114294.96"
}
],
"numberOfBatches": "1"
}
]
Expand Down
Loading

0 comments on commit 15f2640

Please sign in to comment.