{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classquill-com/json-schema/classquill-com-parent-create-schema.json",
  "title": "ParentCreate",
  "description": "POST /v1/parents → mint a parent account and link to an EXISTING org student. scope\n`accounts:write`. `student_id` must already be an accepted student of the org (else 404).\n\n`email` is optional (omit → no-email placeholder account, invite later); `send_invite`\n(default true) gates the set-password email when a real email is present.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classquill-com-students-parents-api-openapi.yml#/components/schemas/ParentCreate",
  "properties": {
    "full_name": {
      "type": "string",
      "title": "Full Name"
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "send_invite": {
      "type": "boolean",
      "title": "Send Invite",
      "default": true
    },
    "phone_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Phone Number"
    },
    "phone_country_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Phone Country Code"
    },
    "student_id": {
      "type": "string",
      "title": "Student Id"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "full_name",
    "student_id"
  ]
}