Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]

### Added

* Add a notes field to trade type ([#1563](https://github.com/finos/FDC3/pull/1563))
* Add a notes filed to order and product types ([#1597](https://github.com/finos/FDC3/pull/1597))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Add a notes field to trade type ([#1563](https://github.com/finos/FDC3/pull/1563))
* Add a notes filed to order and product types ([#1597](https://github.com/finos/FDC3/pull/1597))
* Add a notes field to the Trade Context type ([#1563](https://github.com/finos/FDC3/pull/1563))
* Add a notes filed to the Order and Product Context types ([#1597](https://github.com/finos/FDC3/pull/1597))

### Changed

### Deprecated
Expand Down
8 changes: 7 additions & 1 deletion packages/fdc3-context/schemas/context/order.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@
}
},
"additionalProperties": true
}
},
"notes": {
"type": "string",
"title": "Order Notes",
"description": "Additional notes or comments about the order."
}
},
"required": [
"type",
Expand All @@ -48,6 +53,7 @@
{
"type": "fdc3.order",
"name": "...",
"notes": "...",
"id": {
"myOMS": "12345"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/fdc3-context/schemas/context/product.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
"$ref": "instrument.schema.json",
"title": "Product Instrument",
"description": "A financial instrument that relates to the definition of this product"
},
"notes": {
"type": "string",
"title": "Product Notes",
"description": "Additional notes or comments about the product."
}
},
"required": [
Expand All @@ -41,6 +46,7 @@
"examples": [
{
"type": "fdc3.product",
"notes": "...",
"id": {
"productId": "ABC123"
},
Expand Down
10 changes: 10 additions & 0 deletions website/docs/context/ref/Order.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,22 @@ Optional additional details about the order, which may include a product element

</details>

<details>
<summary><code>notes</code></summary>

**type**: `string`

Additional notes or comments about the order.

</details>

## Examples

```json
{
"type": "fdc3.order",
"name": "...",
"notes": "...",
"id": {
"myOMS": "12345"
},
Expand Down
10 changes: 10 additions & 0 deletions website/docs/context/ref/Product.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,21 @@ A financial instrument that relates to the definition of this product

</details>

<details>
<summary><code>notes</code></summary>

**type**: `string`

Additional notes or comments about the product.

</details>

## Example

```json
{
"type": "fdc3.product",
"notes": "...",
"id": {
"productId": "ABC123"
},
Expand Down
Loading