adlnet / xapi-authored-profiles

Repository of official xAPI Profiles

Home Page:https://adlnet.gov/projects/xapi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid Timestamps

cliffcaseyyet opened this issue · comments

Hello,

While testing a new automated xAPI Profile validator, we noticed that there was a potential conformance issue in a profile in this repo.

Specifically, a timestamp format in adb/adb.jsonld on line 20

"versions": [
 {
  "id": "https://w3id.org/xapi/adb/v1.0",
  "generatedAtTime": "2017-06-30T8:26:00Z",
  "wasRevisionOf": ["https://w3id.org/xapi/adb"]
 }

According to spec, the "generatedAtTime" property should have an iso-8601 format timestamp, which needs a zero-padded hour between 00 and 24.

There was another an issue where the same property did not follow Timestamp syntax in:

dod-isd/dod-isd.jsonld | line 16

We wanted to share in case you were unaware of the issue.

Thanks,
Cliff Casey

Corrected with this commit