ciferproject / cifer

Repository for CIFER Project code, specs and other documents
Apache License 2.0
3 stars 0 forks source link

Defined Data Types #9

Open boshrin opened 9 years ago

boshrin commented 9 years ago

SCIM defines the following data types, and does not permit new types:

CIFER Core Schema has the following additional types:

boshrin commented 9 years ago
boshrin commented 9 years ago

Based on today's call, proposal is for Date to also be a constrained string (ISO-8601 format). Keith to ask the SCIM list for suggestions on how to handle (eg) dateOfBirth in a hypothetical schema extension.

khazelton commented 9 years ago

SCIM list responses did not mandate a solution. Proposed resolution: CIFER "date" type maps to a SCIM string with value constrained to conform to what ISO-8601 calls "calendar date", e.g. 2015-02-18 or 20150815. Core schema MUST specify with hyphens. Implementations MUST support hyphenated form. The rationale is that this matches the ISO 8601 time format.

Should be ok to constrain SCIM string type for all the odd types we've come up with so far.