Merge pull request #122 from bitol-io/jgperrin-patch-default-date-format

Update README.md
This commit is contained in:
Peter Flook
2025-03-14 11:00:22 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ This document tracks the history and evolution of the **Open Data Contract Stand
# v3.0.2
* Added field `physicalName` for the properties in JSON schema.
* Explicitly specifies `YYYY-MM-DDTHH:mm:ss.SSSZ` for default date format.
# v3.0.1 - 2024-12-22 - APPROVED

View File

@@ -270,7 +270,7 @@ Additional metadata options to more accurately define the data type.
| array | maxItems | Maximum Items | No | Maximum number of items. |
| array | minItems | Minimum Items | No | Minimum number of items. |
| array | uniqueItems | Unique Items | No | If set to true, all items in the array are unique. |
| date | format | Format | No | Format of the date. Follows the format as prescribed by [JDK DateTimeFormatter](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html). For example, format 'yyyy-MM-dd'. |
| date | format | Format | No | Format of the date. Follows the format as prescribed by [JDK DateTimeFormatter](https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html). Default value is using ISO 8601: 'YYYY-MM-DDTHH:mm:ss.SSSZ'. For example, format 'yyyy-MM-dd'. |
| date | exclusiveMaximum | Exclusive Maximum | No | If set to true, all values are strictly less than the maximum value (values < maximum). Otherwise, less than or equal to the maximum value (values <= maximum). |
| date | exclusiveMinimum | Exclusive Minimum | No | If set to true, all values are strictly greater than the minimum value (values > minimum). Otherwise, greater than or equal to the minimum value (values >= minimum). |
| date | maximum | Maximum | No | All date values are less than or equal to this value (values <= maximum). |