diff --git a/CHANGELOG.md b/CHANGELOG.md index 6da619edf..d37c2fa5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,6 +96,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * Updated Methods.ts to support the updated signature for `addContextListener` introduced in FDC3 1.2 ([#462](https://github.com/finos/FDC3/pull/462)) * Clarified the description of the addContextListener functions from the Desktop Agent and Channel APIs in spec and docs. ([#492](https://github.com/finos/FDC3/pull/492)) * Clarified that implementing `fdc3.getInfo()` is required for compliance with the FDC3 standard ([#515](https://github.com/finos/FDC3/pull/515)) +* Corrected syntax errors in valuation schema ([#834](https://github.com/finos/FDC3/pull/834)) ## [npm v1.2.0] - 2021-04-19 diff --git a/src/context/schemas/valuation.schema.json b/src/context/schemas/valuation.schema.json index e34dedfc9..e9a2f57ba 100644 --- a/src/context/schemas/valuation.schema.json +++ b/src/context/schemas/valuation.schema.json @@ -8,7 +8,7 @@ "type": { "const": "fdc3.valuation" }, "value": { "type": "number" }, "price": { "type": "number"}, - "CURRENCY_ISCODE": { "type": "string", "pattern": "^[A-Z]{3}$" }, + "CURRENCY_ISOCODE": { "type": "string", "pattern": "^[A-Z]{3}$" }, "valuationTime": {"type": "string", "format": "date-time" }, "expiryTime": {"type": "string", "format": "date-time" } }, diff --git a/website/static/schemas/2.0/valuation.schema.json b/website/static/schemas/2.0/valuation.schema.json index f2f0e5355..4aa1d7cd9 100644 --- a/website/static/schemas/2.0/valuation.schema.json +++ b/website/static/schemas/2.0/valuation.schema.json @@ -8,7 +8,7 @@ "type": { "const": "fdc3.valuation" }, "value": { "type": "number" }, "price": { "type": "number"}, - "CURRENCY_ISCODE": { "type": "string", "pattern": "^[A-Z]{3}$" }, + "CURRENCY_ISOCODE": { "type": "string", "pattern": "^[A-Z]{3}$" }, "valuationTime": {"type": "string", "format": "date-time" }, "expiryTime": {"type": "string", "format": "date-time" } },