-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from dancgray/schema-file
Add schema file
- Loading branch information
Showing
1 changed file
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"type":"object", | ||
"$schema": "http://json-schema.org/draft-04/schema", | ||
"id": "http://jsonschema.net", | ||
"required":false, | ||
"properties":{ | ||
"pluginLocations": { | ||
"type":"object", | ||
"required":true, | ||
"properties":{ | ||
"config": { | ||
"type":"object", | ||
"properties":{ | ||
"_spoor": { | ||
"type":"object", | ||
"required":false, | ||
"properties":{ | ||
"_isEnabled": { | ||
"type":"boolean", | ||
"required":true, | ||
"title":"Enabled" | ||
}, | ||
"_tracking": { | ||
"type":"object", | ||
"required":false, | ||
"title": "Tracking", | ||
"properties":{ | ||
"_requireAssessmentPassed": { | ||
"type":"boolean", | ||
"required":false, | ||
"title":"Assessment pass required" | ||
}, | ||
"_requireCourseCompleted": { | ||
"type":"boolean", | ||
"required":false, | ||
"title":"Course completion required" | ||
}, | ||
"_shouldSubmitScore": { | ||
"type":"boolean", | ||
"required":false, | ||
"title":"Submit score" | ||
} | ||
} | ||
}, | ||
"_reporting": { | ||
"type":"object", | ||
"required":false, | ||
"title": "Reporting", | ||
"properties":{ | ||
"_comment": { | ||
"type":"string", | ||
"required":false, | ||
"title": "Comment" | ||
}, | ||
"_onTrackingCriteriaMet": { | ||
"type":"string", | ||
"required":false, | ||
"title":"Tracking success status", | ||
"enum": ["completed", "passed", "failed", "incomplete"] | ||
}, | ||
"_onAssessmentFailure": { | ||
"type":"string", | ||
"required":false, | ||
"title":"Assessment failure status", | ||
"enum": ["completed", "passed", "failed", "incomplete"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"course": { | ||
"type":"object" | ||
}, | ||
"contentobject": { | ||
"type":"object" | ||
}, | ||
"article": { | ||
"type":"object" | ||
}, | ||
"block": { | ||
"type":"object" | ||
}, | ||
"component": { | ||
"type":"object" | ||
} | ||
} | ||
} | ||
} | ||
} |