{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classquill-com/json-schema/classquill-com-adjustment-create-schema.json",
  "title": "AdjustmentCreate",
  "description": "POST /v1/adjustments → org_payroll_adjustments. A negative `amount_cents`\nis a deduction. `tutor_id` must be an accepted member of the key's org.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classquill-com-operations-api-openapi.yml#/components/schemas/AdjustmentCreate",
  "properties": {
    "tutor_id": {
      "type": "string",
      "title": "Tutor Id"
    },
    "period_start": {
      "type": "string",
      "title": "Period Start",
      "description": "ISO date, e.g. 2026-06-01"
    },
    "period_end": {
      "type": "string",
      "title": "Period End",
      "description": "ISO date; must be >= period_start"
    },
    "amount_cents": {
      "type": "integer",
      "title": "Amount Cents",
      "description": "Cents. Negative = deduction."
    },
    "note": {
      "type": "string",
      "minLength": 1,
      "title": "Note",
      "description": "Non-empty reason, e.g. 'Training bonus'."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "tutor_id",
    "period_start",
    "period_end",
    "amount_cents",
    "note"
  ]
}