Skip to content

Commit

Permalink
Merge pull request #1258 from finos/revert-timerange-changes-in-2.0
Browse files Browse the repository at this point in the history
Revert timerange changes in 2.0
  • Loading branch information
kriswest authored Jul 12, 2024
2 parents 5279be3 + af43d45 commit aaa2a80
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/static/schemas/2.0/timerange.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"properties": {
"type": { "const": "fdc3.timeRange" },
"type": { "const": "fdc3.timerange" },
"startTime": { "type": "string", "format": "date-time" },
"endTime": {"type": "string", "format": "date-time" }
},
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-2.0/context/ref/Chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ https://fdc3.finos.org/schemas/2.0/chart.schema.json

## Details

:::warning

The `fdc3.timeRange` context type is inconsistently used in FDC3 2.0, occasionally appearing as `fdc3.timerange`. This has been corrected in FDC3 2.1 to always use the camel case form `fdc3.timeRange`.

:::

| Property | Type | Required | Example Value |
|------------------|-----------------|----------|----------------------|
| `type` | string | Yes | `'fdc3.chart'` |
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-2.0/context/ref/TimeRange.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Notes:

`fdc3.timeRange`

:::warning

The `fdc3.timeRange` context type is inconsistently used in FDC3 2.0, occasionally appearing as `fdc3.timerange`. This has been corrected in FDC3 2.1 to always use the camel-case form `fdc3.timeRange`.

:::

## Schema

https://fdc3.finos.org/schemas/2.0/timerange.schema.json
Expand Down

0 comments on commit aaa2a80

Please sign in to comment.