{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-captivate/refs/heads/main/json-schema/prime-api-learning-object-instance-list-response-schema.json", "title": "LearningObjectInstanceListResponse", "description": "Paginated list of learning object instances", "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "description": "An instance of a learning object representing a specific offering with its own timeline and enrollment settings", "properties": { "id": { "type": "string", "description": "Unique identifier for the instance" }, "type": { "type": "string", "const": "learningObjectInstance" }, "attributes": { "type": "object", "properties": { "completionDeadline": { "type": "string", "format": "date-time", "description": "Deadline by which the learner must complete the course" }, "enrollmentDeadline": { "type": "string", "format": "date-time", "description": "Deadline for enrolling in this instance" }, "isDefault": { "type": "boolean", "description": "Whether this is the default instance" }, "seatLimit": { "type": "integer", "description": "Maximum number of learners who can enroll" }, "state": { "type": "string", "description": "Current state of the instance", "enum": [ "Active", "Retired" ] } } } } } }, "links": { "type": "object", "description": "Pagination links following JSON:API conventions", "properties": { "self": { "type": "string", "format": "uri", "description": "URL for the current page" }, "next": { "type": "string", "format": "uri", "description": "URL for the next page" }, "prev": { "type": "string", "format": "uri", "description": "URL for the previous page" } } } } }