Adobe Captivate · Schema

Badge

A badge awarded to learners for achievements

AuthoringEducationeLearningLMSSCORMTrainingxAPI

Properties

Name Type Description
id string Unique badge identifier
type string
attributes object
View JSON Schema on GitHub

JSON Schema

prime-api-badge-schema.json Raw ↑
{
  "$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-badge-schema.json",
  "title": "Badge",
  "description": "A badge awarded to learners for achievements",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique badge identifier"
    },
    "type": {
      "type": "string",
      "const": "badge"
    },
    "attributes": {
      "type": "object",
      "properties": {
        "imageUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL of the badge image"
        },
        "name": {
          "type": "string",
          "description": "Badge name"
        },
        "state": {
          "type": "string",
          "description": "Badge state",
          "enum": [
            "Active",
            "Retired"
          ]
        }
      }
    }
  }
}