{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compteam-io/json-schema/compteam-io-branch-update-schema.json",
  "title": "BranchUpdate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compteam-io-openapi.yml#/components/schemas/BranchUpdate",
  "properties": {
    "coach_user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Coach User Id"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "secondary_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Secondary Name"
    },
    "address_line1": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line1"
    },
    "address_line2": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address Line2"
    },
    "postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Postal Code"
    },
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country"
    },
    "join_requirements": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Join Requirements"
    },
    "included_perks": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Included Perks"
    },
    "recruitment_headline": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recruitment Headline"
    },
    "background_choice": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "collage_1",
            "collage_2",
            "collage_3",
            "collage_4",
            "collage_5",
            "collage_6",
            "collage_7"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Background Choice"
    },
    "terms_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Terms Text"
    },
    "clearing_mode": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "easy",
            "full_bank"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Clearing Mode"
    },
    "creditor_identifier": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Creditor Identifier"
    },
    "sepa_iban": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sepa Iban"
    },
    "sepa_bic": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sepa Bic"
    },
    "sepa_collection_day": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 28.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Sepa Collection Day"
    },
    "instagram_handle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Instagram Handle"
    },
    "smoothcomp_club_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Smoothcomp Club Id"
    },
    "default_language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Default Language"
    },
    "club_billing_terminology_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Club Billing Terminology Enabled"
    },
    "email_manual_invoices_to_athletes": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email Manual Invoices To Athletes"
    },
    "require_self_subscription_approval": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Require Self Subscription Approval"
    },
    "allow_registration_without_membership": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Registration Without Membership"
    },
    "require_member_photo": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Require Member Photo"
    },
    "require_signup_fee_clearance_before_activation": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Require Signup Fee Clearance Before Activation"
    },
    "signup_fee_payment_instructions": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "type": "null"
        }
      ],
      "title": "Signup Fee Payment Instructions"
    },
    "allow_managed_adult_pending_activation": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Managed Adult Pending Activation"
    },
    "require_membership_signature": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Require Membership Signature"
    },
    "auto_checkin_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Auto Checkin Enabled"
    },
    "face_recognition_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Face Recognition Enabled"
    },
    "face_auto_attendance_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Face Auto Attendance Enabled"
    },
    "allow_kiosk_walk_ins": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Kiosk Walk Ins"
    },
    "allow_athlete_gear_orders": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Athlete Gear Orders"
    },
    "require_gear_payment_clearance_before_confirmation": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Require Gear Payment Clearance Before Confirmation"
    },
    "allow_coach_gear_payment_actions": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Coach Gear Payment Actions"
    },
    "allow_athlete_paid_training": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Athlete Paid Training"
    },
    "allow_athlete_competitions": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Athlete Competitions"
    },
    "allow_athlete_travel": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Athlete Travel"
    },
    "allow_athlete_my_bills": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Allow Athlete My Bills"
    },
    "migration_mode": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Migration Mode"
    },
    "migration_membership_start_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Migration Membership Start Date"
    },
    "trial_period_days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 30.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Trial Period Days"
    },
    "membership_cancellation_notice_months": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 12.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Membership Cancellation Notice Months"
    },
    "tax_rate_pct": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMaximum": 100.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Rate Pct"
    }
  },
  "type": "object"
}