{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compteam-io/json-schema/compteam-io-guardian-kid-registration-create-schema.json",
  "title": "GuardianKidRegistrationCreate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compteam-io-openapi.yml#/components/schemas/GuardianKidRegistrationCreate",
  "properties": {
    "branch_id": {
      "type": "string",
      "format": "uuid",
      "title": "Branch Id"
    },
    "guardian_first_name": {
      "type": "string",
      "title": "Guardian First Name"
    },
    "guardian_last_name": {
      "type": "string",
      "title": "Guardian Last Name"
    },
    "relationship": {
      "type": "string",
      "enum": [
        "parent",
        "legal_guardian"
      ],
      "title": "Relationship"
    },
    "kid_first_name": {
      "type": "string",
      "title": "Kid First Name"
    },
    "kid_last_name": {
      "type": "string",
      "title": "Kid Last Name"
    },
    "kid_date_of_birth": {
      "type": "string",
      "format": "date",
      "title": "Kid Date Of Birth"
    },
    "kid_gender": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "male",
            "female",
            "other"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Kid Gender"
    },
    "kid_smoothcomp_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kid Smoothcomp Id"
    },
    "membership_plan_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Membership Plan Id"
    },
    "address_line1": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line1"
    },
    "address_line2": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line2"
    },
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Postal Code"
    },
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country"
    },
    "account_holder_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Account Holder Name"
    },
    "iban": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Iban"
    },
    "accept_terms": {
      "type": "boolean",
      "title": "Accept Terms",
      "default": false
    },
    "accept_data_processing": {
      "type": "boolean",
      "title": "Accept Data Processing",
      "default": false
    },
    "accept_training_consent": {
      "type": "boolean",
      "title": "Accept Training Consent",
      "default": false
    },
    "terms_version": {
      "type": "integer",
      "title": "Terms Version"
    }
  },
  "type": "object",
  "required": [
    "branch_id",
    "guardian_first_name",
    "guardian_last_name",
    "relationship",
    "kid_first_name",
    "kid_last_name",
    "kid_date_of_birth",
    "terms_version"
  ]
}