Skip to content

JSON Schema Fix for Datetime Field

Pre-release
Pre-release

Choose a tag to compare

@jnterry jnterry released this 27 Feb 13:51
· 17 commits to master since this release
  • Ensure that type field of generated JSON schema is always a valid value according to the JSON Schema spec

Datetime fields previously had the type "datetime" which is not valid, hence parsing a model's JSON representation through a conformant JSON object validator based on the schema resulted in errors. Datetime fields are now considered to be "strings" in the JSON schema with no further restrictions.