Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xAPI Profiles 2.0 / Alignment to xAPI 2.0: timestamp clarifications #279

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion context/profile-context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"generatedAtTime": {
"@id": "prov:generatedAtTime",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
"@type": "https://www.w3.org/TR/xmlschema11-2/#dateTimeStamp"
},
"name": {
"@id": "schemaorg:name"
Expand Down
3 changes: 3 additions & 0 deletions xapi-profiles-about.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ even if there no requirement in a given area.
* [Statement Template](#statementtemplate)
* [StatementRef](#statementref)
* [Subregistration](#subregistration)
* [Timestamp](#timestamp)
* [Verb](#verb)
* [xAPI Profile Processor Library](#library)

Expand Down Expand Up @@ -281,6 +282,8 @@ even if there no requirement in a given area.

<a name="subregistration"></a>**Subregistration**: When multiple Patterns are being followed within a registration, subregistration is an extension specific to this specification to distinguish between them.

<a name="timestamp"></a>**Timestamp**: An instant of time (date and time) that also includes the time zone. This data type adheres to the [XSD 1.1 dateTimeStamp](https://www.w3.org/TR/xmlschema11-2/#dateTimeStamp) type definition. That is, a timestamp is either represented in Universal Coordinated Time (UTC) and uses the UTC timezone identifier 'Z' or includes a time offset from UTC.

<a name="verb"></a>**Verb**: An [Experience API Verb](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#verb). This specification helps Profile Authors provide additional metadata about verbs they control.

<a name="library"></a>**xAPI Profile Processor Library**: A programming library implementing the algorithms described in this specification.
5 changes: 5 additions & 0 deletions xapi-profiles-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,11 @@ order insofar as that can be determined. If Statements are received in the same
are being checked upon receipt, within the batch Statements MUST be ordered first by timestamp,
and if timestamps are the same, by order within the Statement array, with lower indices earlier.


**Note:** As stated in section [Part One: About xAPI Profiles, section 3](./xapi-profiles-about.md#timestamp)
timestamps adheres to the `xsd:dateTimeStamp` data type defined in XSD 1.1 which is either represented in
Universal Coordinated Time (UTC) and uses the UTC timezone identifier 'Z' or includes a time offset from UTC.

<a name="libraries"></a>
## 3.0 Libraries

Expand Down
2 changes: 1 addition & 1 deletion xapi-profiles-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Property | Type | Description | Required
-------- | ---- | ----------- | --------
`id` | IRI | The IRI of the version ID | Required
`wasRevisionOf` | Array | An array, usually of length one, of IRIs of all Profile versions this version was written as a revision of | Optional
`generatedAtTime` | Timestamp | The date this version was created on | Required
`generatedAtTime` | [Timestamp](./xapi-profiles-about.md#timestamp) | The date this version was created on | Required

`wasRevisionOf` MUST be used with all versions that succeed other Profile versions.

Expand Down