Adobe Captivate · JSON Structure

Prime Api Badge List Response Structure

Paginated list of badges

Type: object Properties: 2
AuthoringEducationeLearningLMSSCORMTrainingxAPI

BadgeListResponse is a JSON Structure definition published by Adobe Captivate, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

data links

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-captivate/refs/heads/main/json-structure/prime-api-badge-list-response-structure.json",
  "name": "BadgeListResponse",
  "description": "Paginated list of badges",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "A badge awarded to learners for achievements",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique badge identifier"
          },
          "type": {
            "type": "string",
            "const": "badge"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "imageUrl": {
                "type": "uri",
                "description": "URL of the badge image"
              },
              "name": {
                "type": "string",
                "description": "Badge name"
              },
              "state": {
                "type": "string",
                "description": "Badge state",
                "enum": [
                  "Active",
                  "Retired"
                ]
              }
            }
          }
        }
      }
    },
    "links": {
      "type": "object",
      "description": "Pagination links following JSON:API conventions",
      "properties": {
        "self": {
          "type": "uri",
          "description": "URL for the current page"
        },
        "next": {
          "type": "uri",
          "description": "URL for the next page"
        },
        "prev": {
          "type": "uri",
          "description": "URL for the previous page"
        }
      }
    }
  }
}