Adobe Captivate · Schema
UserBadgeListResponse
Paginated list of user badges
AuthoringEducationeLearningLMSSCORMTrainingxAPI
Properties
| Name | Type | Description |
|---|---|---|
| data | array | |
| links | object | Pagination links following JSON:API conventions |
JSON Schema
{
"$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-user-badge-list-response-schema.json",
"title": "UserBadgeListResponse",
"description": "Paginated list of user badges",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string",
"const": "userBadge"
},
"attributes": {
"type": "object",
"properties": {
"assertionUrl": {
"type": "string",
"format": "uri",
"description": "Open Badge assertion URL"
},
"dateAchieved": {
"type": "string",
"format": "date-time",
"description": "When the badge was earned"
}
}
},
"relationships": {
"type": "object",
"properties": {
"badge": {
"type": "object",
"description": "A JSON:API relationship object",
"properties": {
"data": {
"oneOf": [
{
"type": "object",
"description": "JSON:API resource identifier",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"type": {
"type": "string",
"description": "Resource type name"
}
}
},
{
"type": "array",
"items": {
"type": "object",
"description": "JSON:API resource identifier",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"type": {
"type": "string",
"description": "Resource type name"
}
}
}
}
]
},
"links": {
"type": "object",
"properties": {
"related": {
"type": "string",
"format": "uri",
"description": "URL to fetch the related resource"
}
}
}
}
},
"learningObject": {
"type": "object",
"description": "A JSON:API relationship object",
"properties": {
"data": {
"oneOf": [
{
"type": "object",
"description": "JSON:API resource identifier",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"type": {
"type": "string",
"description": "Resource type name"
}
}
},
{
"type": "array",
"items": {
"type": "object",
"description": "JSON:API resource identifier",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"type": {
"type": "string",
"description": "Resource type name"
}
}
}
}
]
},
"links": {
"type": "object",
"properties": {
"related": {
"type": "string",
"format": "uri",
"description": "URL to fetch the related resource"
}
}
}
}
}
}
}
}
}
},
"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"
}
}
}
}
}