{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/inboxacademy-io/json-schema/inboxacademy-io-enrollment-create-request-schema.json",
  "title": "EnrollmentCreateRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/inboxacademy-io-openapi.json#/components/schemas/EnrollmentCreateRequest",
  "properties": {
    "email": {
      "title": "Email",
      "type": "string"
    },
    "course_slug": {
      "minLength": 1,
      "title": "Course Slug",
      "type": "string"
    },
    "subscribe_to_newsletter": {
      "default": false,
      "description": "Whether the learner should be subscribed to the newsletter.",
      "title": "Subscribe To Newsletter",
      "type": "boolean"
    },
    "verified": {
      "default": true,
      "description": "Whether the enrollment is created already verified. A verified enrollment starts active and its first content is scheduled straight away, with no verification email. Set to false to have the learner confirm their address first: the enrollment then starts unverified and becomes active once they follow the emailed link. In a course whose enrollments are gated, false instead sends the course's enrollment email and the enrollment waits at the enrollment gate until it is unlocked.",
      "title": "Verified",
      "type": "boolean"
    }
  },
  "required": [
    "email",
    "course_slug"
  ],
  "type": "object"
}