The activityStartDate and activityEndDate use the DateTime type.
According to the spec, the DateTime (primitive type) uses the syntax YYYY-MM-DDThh:mm:ss.
However, in the examples "activityStartDate": "2010-01-01T00:00:00Z" has the offset included.
Which one should be followed? Is the offset optional?
The
activityStartDateandactivityEndDateuse theDateTimetype.According to the spec, the
DateTime(primitive type) uses the syntaxYYYY-MM-DDThh:mm:ss.However, in the examples
"activityStartDate": "2010-01-01T00:00:00Z"has the offset included.Which one should be followed? Is the offset optional?