{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eightfold-ai/json-schema/eightfold-ai-course-schema-schema.json",
  "title": "CourseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eightfold-ai-course-api-openapi.yml#/components/schemas/CourseSchema",
  "type": "object",
  "properties": {
    "courseId": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "ID of the course"
    },
    "skills": {
      "type": [
        "array",
        "null"
      ],
      "description": "skills related to course",
      "items": {
        "type": "string"
      }
    },
    "groupId": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "Group id of the course"
    },
    "durationHours": {
      "type": [
        "number",
        "null"
      ],
      "format": "float",
      "description": "Duration hours of course"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "course category"
    },
    "imageUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "image url of course"
    },
    "systemId": {
      "type": [
        "string",
        "null"
      ],
      "description": "System id for the course"
    },
    "courseType": {
      "type": [
        "string",
        "null"
      ],
      "description": "course type"
    },
    "difficulty": {
      "type": [
        "string",
        "null"
      ],
      "description": "Difficulty of course"
    },
    "courseUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "url of the course"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "title of course"
    },
    "ratingCount": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Number of ratings submitted for the course"
    },
    "rating": {
      "type": [
        "number",
        "null"
      ],
      "format": "float",
      "description": "Average rating of the course"
    },
    "lmsCourseId": {
      "type": [
        "string",
        "null"
      ],
      "description": "lms course id"
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "language"
    },
    "efSkills": {
      "type": [
        "array",
        "null"
      ],
      "readOnly": true,
      "description": "Eightfold-detected course skills based on title and description",
      "items": {
        "type": "string"
      }
    },
    "status": {
      "type": [
        "string",
        "null"
      ],
      "description": "status of course"
    },
    "provider": {
      "type": [
        "string",
        "null"
      ],
      "description": "provider of course"
    },
    "publishedDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Publication date of course"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of course"
    }
  }
}