From 8348b1b9f16d519536dc5e935088aa60e64cd79a Mon Sep 17 00:00:00 2001 From: Arnaud Giffard Date: Wed, 30 Nov 2022 16:40:15 +0100 Subject: [PATCH 1/2] Add field type for datetime Identity | Date type for standard claim birthdate https://github.com/fabmob/CMS/issues/8 --- conceptual_model/field-types.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conceptual_model/field-types.md b/conceptual_model/field-types.md index 253aa2e..af3fe3b 100644 --- a/conceptual_model/field-types.md +++ b/conceptual_model/field-types.md @@ -41,6 +41,13 @@ | source | string | no | any | certificationDate | string | no | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) +### Datetime field + +| Name | Type | Required | Format +| ------------------|----------|----------|--------------------------------- +| value | string | yes | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) +| source | string | no | any +| certificationDate | string | no | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ### Email field From 0e6e29491af95eaab65fbbdc963362542a4155bc Mon Sep 17 00:00:00 2001 From: Arnaud Giffard Date: Wed, 30 Nov 2022 16:45:00 +0100 Subject: [PATCH 2/2] specify date fields format --- conceptual_model/field-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conceptual_model/field-types.md b/conceptual_model/field-types.md index af3fe3b..6739fae 100644 --- a/conceptual_model/field-types.md +++ b/conceptual_model/field-types.md @@ -37,7 +37,7 @@ | Name | Type | Required | Format | ------------------|----------|----------|--------------------------------- -| value | string | yes | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) +| value | string | yes | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ▶️ YYYY-MM-DD | source | string | no | any | certificationDate | string | no | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -45,7 +45,7 @@ | Name | Type | Required | Format | ------------------|----------|----------|--------------------------------- -| value | string | yes | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) +| value | string | yes | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ▶️ YYYY-MM-DDThh:mm:ss | source | string | no | any | certificationDate | string | no | [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)