{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe-captivate/json-schema/adobe-captivate-gamification-points-response-schema.json",
  "title": "GamificationPointsResponse",
  "description": "User gamification points response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-captivate-gamification-api-openapi.yml#/components/schemas/GamificationPointsResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/GamificationPoints"
    }
  },
  "$defs": {
    "GamificationPoints": {
      "type": "object",
      "description": "Gamification points for a user",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier"
        },
        "type": {
          "type": "string",
          "const": "gamification"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "learnerPoints": {
              "type": "integer",
              "description": "Points earned through learning activities"
            },
            "managerPoints": {
              "type": "integer",
              "description": "Points earned as a manager"
            },
            "overallPoints": {
              "type": "integer",
              "description": "Total points across all categories"
            }
          }
        }
      }
    }
  }
}