Skip to content

Commit

Permalink
Merge pull request #42 from creighton/master
Browse files Browse the repository at this point in the history
changing profile uri from /xapi/adl/profiles/scorm to /xapi/scorm
  • Loading branch information
creighton authored Jun 17, 2016
2 parents 24825bf + 1ce9f3e commit bb3eadf
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 169 deletions.
12 changes: 6 additions & 6 deletions document-schemas/scorm.profile.activity.profile.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "https://w3id.org/xapi/adl/profiles/scorm/attempt-state/scorm.profile.activity.profile.schema.json",
"description": "Profile ID: https://w3id.org/xapi/adl/profiles/scorm/activity-profile. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#scorm-activity-profile",
"id": "https://w3id.org/xapi/scorm/attempt-state/scorm.profile.activity.profile.schema.json",
"description": "Profile ID: https://w3id.org/xapi/scorm/activity-profile. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#scorm-activity-profile",
"type": "object",
"additionalProperties": false,
"properties": {
Expand All @@ -13,21 +13,21 @@
"timestamp": { "type": "string", "format": "date-time" }
}
},
"completion_threshold": {
"completion_threshold": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"launch_data": { "type": "string" },
"max_time_allowed": {
"max_time_allowed": {
"type": "number",
"minimum": 0
},
"scaled_passing_score": {
"scaled_passing_score": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"time_limit_action": { "enum": [ "exit,message", "continue,message", "exit,no message", "continue,no message" ] }
}
}
}
6 changes: 3 additions & 3 deletions document-schemas/scorm.profile.activity.state.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "https://w3id.org/xapi/adl/profiles/scorm/activity-state/scorm.profile.activity.state.schema.json",
"description": "State ID: https://w3id.org/xapi/adl/profiles/scorm/activity-state. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#scorm-activity-state",
"id": "https://w3id.org/xapi/scorm/activity-state/scorm.profile.activity.state.schema.json",
"description": "State ID: https://w3id.org/xapi/scorm/activity-state. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#scorm-activity-state",
"type": "object",
"additionalProperties": false,
"required": ["attempts"],
Expand All @@ -13,4 +13,4 @@
}
}
}
}
}
16 changes: 8 additions & 8 deletions document-schemas/scorm.profile.agent.profile.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "https://w3id.org/xapi/adl/profiles/scorm/attempt-state/scorm.profile.agent.profile.schema.json",
"description": "Profile ID: https://w3id.org/xapi/adl/profiles/scorm/agent-profile. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#agent-profile",
"id": "https://w3id.org/xapi/scorm/attempt-state/scorm.profile.agent.profile.schema.json",
"description": "Profile ID: https://w3id.org/xapi/scorm/agent-profile. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#agent-profile",
"type": "object",
"additionalProperties": false,
"properties": {
Expand All @@ -10,20 +10,20 @@
"type": "object",
"additionalProperties": false,
"properties": {
"audio_level": {
"audio_level": {
"type": "number",
"minimum": 0
},
"language": {
"type": "string",
"pattern": "^[a-z]{2,3}(?:-[A-Z]{2,3}(?:-[a-zA-Z]{4})?)?$"
"language": {
"type": "string",
"pattern": "^[a-z]{2,3}(?:-[A-Z]{2,3}(?:-[a-zA-Z]{4})?)?$"
},
"delivery_speed": {
"delivery_speed": {
"type": "number",
"minimum": 0
},
"audio_captioning": { "enum": [ -1, 0, 1 ] }
}
}
}
}
}
4 changes: 2 additions & 2 deletions document-schemas/scorm.profile.attempt.state.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "https://w3id.org/xapi/adl/profiles/scorm/attempt-state/scorm.profile.attempt.state.schema.json",
"description": "State ID: https://w3id.org/xapi/adl/profiles/scorm/attempt-state. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#scorm-activity-attempt-state",
"id": "https://w3id.org/xapi/scorm/attempt-state/scorm.profile.attempt.state.schema.json",
"description": "State ID: https://w3id.org/xapi/scorm/attempt-state. See: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md#scorm-activity-attempt-state",
"type": "object",
"additionalProperties": false,
"properties": {
Expand Down
Loading

0 comments on commit bb3eadf

Please sign in to comment.