{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-schema/public-api-v6-semester-schema.json",
  "title": "Semester",
  "description": "Implementation of the 'Semester' model. Semesters help you quickly classify enrollments.",
  "type": "object",
  "properties": {
    "Id": {
      "type": "integer",
      "format": "int32",
      "description": "This semester\u2019s unique ID.",
      "example": 123456
    },
    "Name": {
      "type": "string",
      "description": "Name of the semester.",
      "example": "Sunset Yoga Studio"
    },
    "Description": {
      "type": "string",
      "description": "The description of the semester.",
      "example": "Example note for Mindbody Public API."
    },
    "StartDate": {
      "type": "string",
      "format": "date-time",
      "description": "Start date of the semester.",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndDate": {
      "type": "string",
      "format": "date-time",
      "description": "End date of the semester.",
      "example": "2026-05-28T14:30:00Z"
    },
    "MultiRegistrationDiscount": {
      "type": "number",
      "format": "double",
      "description": "Discount for multiple registration in the semester.",
      "example": 1.0
    },
    "MultiRegistrationDeadline": {
      "type": "string",
      "format": "date-time",
      "description": "Registration deadline of the semester.",
      "example": "2026-05-28T14:30:00Z"
    },
    "Active": {
      "type": "boolean",
      "description": "When `true`, indicates that the semester is active.",
      "example": true
    }
  }
}