{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fluidrecall-com/json-schema/fluidrecall-com-study-settings-schema.json",
  "title": "StudySettings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fluidrecall-com-settings-api-openapi.yml#/components/schemas/StudySettings",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "newCardsPerDay",
    "timezone",
    "dayBoundaryHour"
  ],
  "properties": {
    "newCardsPerDay": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9999,
      "description": "Account fallback used only when a deck's newCardsPerDay is null. A stored 20 on a new account is the legacy column default, not a coaching choice. Set the deck explicitly."
    },
    "timezone": {
      "type": "string",
      "description": "IANA timezone for the study day. UTC unless changed."
    },
    "dayBoundaryHour": {
      "type": "integer",
      "minimum": 0,
      "maximum": 23,
      "description": "Local hour when the study day starts. 4 means 04:00. Before that hour, the previous study day is still in effect."
    }
  }
}