You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when Ditto generates the JSON Skeleton for a Thing when a WoT "ThingModel" is referenced in the "definition" field on creation, non-optional properties with:
{
"type": "string",
"format": "date-time"
}
Are generated as:
"propertyName": ""
-> which is the "neutral element" for Strings.
We should however generate the "neutral element" for dates, which IMO would be EPOCH:
"propertyName": "1970-01-01T00:00:00Z"
The text was updated successfully, but these errors were encountered:
Currently, when Ditto generates the JSON Skeleton for a Thing when a WoT "ThingModel" is referenced in the
"definition"
field on creation, non-optional properties with:Are generated as:
-> which is the "neutral element" for Strings.
We should however generate the "neutral element" for dates, which IMO would be EPOCH:
The text was updated successfully, but these errors were encountered: