4.1. Extensions
Definitions
- An Extension is defined as an Object of any "extensions" property
Requirements
ID | Requirement |
---|---|
XAPI-00118 | An Extension "key" is an IRI. The LRS rejects with 400 a statement which has an extension key which is not a valid IRI, if an extension object is present. |
XAPI-00119 | An Extension can be null, an empty string, objects with nothing in them. The LRS accepts with 200 if a PUT or 204 if a POST an otherwise valid statement which has any extension value including null, an empty string, or an empty object. |
XAPI-00120 | An Extension's structure is that of "key"/"value" pairs. The LRS rejects with 400 a statement which does not use valid “key”/”value” pairs in the Extension property |