{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classquill-com/json-schema/classquill-com-classroom-create-schema.json",
  "title": "ClassroomCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classquill-com-curriculum-api-openapi.yml#/components/schemas/ClassroomCreate",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "subject_id": {
      "type": "string",
      "title": "Subject Id"
    },
    "period_price_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Period Price Cents"
    },
    "join_fee_cents": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Join Fee Cents"
    },
    "billing_interval": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "weekly",
            "fortnightly",
            "monthly"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Interval"
    },
    "billing_anchor_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing Anchor Date"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "name",
    "subject_id"
  ]
}