{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thought-industries/json-schema/thought-industries-course-response-schema.json",
  "title": "CourseResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thought-industries-courses-api-openapi.yml#/components/schemas/CourseResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/Course"
    }
  },
  "$defs": {
    "Course": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "published",
            "draft",
            "archived"
          ]
        },
        "category_id": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}