{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proside-io/json-schema/proside-io-player-preferences-response-schema.json",
  "title": "PlayerPreferencesResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proside-io-openapi.json#/components/schemas/PlayerPreferencesResponse",
  "properties": {
    "preferred_channel": {
      "type": "string",
      "enum": [
        "email",
        "sms"
      ],
      "title": "Preferred Channel"
    },
    "marketing_opt_in": {
      "type": "boolean",
      "title": "Marketing Opt In"
    },
    "email_event_invitations": {
      "type": "boolean",
      "title": "Email Event Invitations"
    },
    "email_tee_times": {
      "type": "boolean",
      "title": "Email Tee Times"
    },
    "email_score_reminders": {
      "type": "boolean",
      "title": "Email Score Reminders"
    },
    "email_handicap_revision": {
      "type": "boolean",
      "title": "Email Handicap Revision"
    },
    "email_membership_requests": {
      "type": "boolean",
      "title": "Email Membership Requests"
    },
    "email_weekly_digest": {
      "type": "boolean",
      "title": "Email Weekly Digest"
    },
    "email_live_scoring": {
      "type": "boolean",
      "title": "Email Live Scoring"
    },
    "email_leaderboard": {
      "type": "boolean",
      "title": "Email Leaderboard"
    },
    "email_event_status": {
      "type": "boolean",
      "title": "Email Event Status"
    },
    "push_master_enabled": {
      "type": "boolean",
      "title": "Push Master Enabled"
    },
    "push_live_scoring": {
      "type": "boolean",
      "title": "Push Live Scoring"
    },
    "push_tee_reminder": {
      "type": "boolean",
      "title": "Push Tee Reminder"
    },
    "push_tee_reminder_minutes": {
      "type": "integer",
      "title": "Push Tee Reminder Minutes"
    },
    "push_leaderboard": {
      "type": "boolean",
      "title": "Push Leaderboard"
    },
    "push_event_status": {
      "type": "boolean",
      "title": "Push Event Status"
    },
    "push_event_invitations": {
      "type": "boolean",
      "title": "Push Event Invitations"
    },
    "push_score_reminders": {
      "type": "boolean",
      "title": "Push Score Reminders"
    },
    "push_handicap_revision": {
      "type": "boolean",
      "title": "Push Handicap Revision"
    },
    "push_membership_requests": {
      "type": "boolean",
      "title": "Push Membership Requests"
    },
    "push_weekly_digest": {
      "type": "boolean",
      "title": "Push Weekly Digest"
    },
    "preferred_holes": {
      "type": "string",
      "title": "Preferred Holes"
    },
    "preferred_units": {
      "type": "string",
      "title": "Preferred Units"
    },
    "preferred_scoring_display": {
      "type": "string",
      "title": "Preferred Scoring Display"
    },
    "preferred_format": {
      "type": "string",
      "title": "Preferred Format"
    },
    "default_link_tee_times": {
      "type": "boolean",
      "title": "Default Link Tee Times",
      "default": false
    },
    "preferred_course_length": {
      "type": "integer",
      "title": "Preferred Course Length"
    },
    "stat_tracking_enabled": {
      "type": "boolean",
      "title": "Stat Tracking Enabled"
    },
    "stat_show_putts": {
      "type": "boolean",
      "title": "Stat Show Putts"
    },
    "stat_show_gir": {
      "type": "boolean",
      "title": "Stat Show Gir"
    },
    "stat_show_fairway": {
      "type": "boolean",
      "title": "Stat Show Fairway"
    },
    "stat_show_up_and_down": {
      "type": "boolean",
      "title": "Stat Show Up And Down"
    },
    "stat_show_sand_save": {
      "type": "boolean",
      "title": "Stat Show Sand Save"
    },
    "stat_show_penalties": {
      "type": "boolean",
      "title": "Stat Show Penalties"
    },
    "shot_tracking_enabled": {
      "type": "boolean",
      "title": "Shot Tracking Enabled"
    },
    "nearby_discoverable": {
      "type": "boolean",
      "title": "Nearby Discoverable"
    }
  },
  "type": "object",
  "required": [
    "preferred_channel",
    "marketing_opt_in",
    "email_event_invitations",
    "email_tee_times",
    "email_score_reminders",
    "email_handicap_revision",
    "email_membership_requests",
    "email_weekly_digest",
    "email_live_scoring",
    "email_leaderboard",
    "email_event_status",
    "push_master_enabled",
    "push_live_scoring",
    "push_tee_reminder",
    "push_tee_reminder_minutes",
    "push_leaderboard",
    "push_event_status",
    "push_event_invitations",
    "push_score_reminders",
    "push_handicap_revision",
    "push_membership_requests",
    "push_weekly_digest",
    "preferred_holes",
    "preferred_units",
    "preferred_scoring_display",
    "preferred_format",
    "preferred_course_length",
    "stat_tracking_enabled",
    "stat_show_putts",
    "stat_show_gir",
    "stat_show_fairway",
    "stat_show_up_and_down",
    "stat_show_sand_save",
    "stat_show_penalties",
    "shot_tracking_enabled",
    "nearby_discoverable"
  ]
}