Skip to content

Commit 83034cd

Browse files
committed
Fix handicap (hcp) validation range to 0-15
- Update both main schema and editor schema files - Change hcp minimum from -10 to 0, maximum from 54 to 15 - Ensures consistent validation: handicap must be between 0 and 15 - Both RangeAnalysisScriptedSetup and PerformanceCenterApproachScriptedSetup now have correct range
1 parent 2526da4 commit 83034cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

editor/src/schema/app-scripting.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@
357357
},
358358
"hcp": {
359359
"type": "integer",
360-
"minimum": -10,
361-
"maximum": 54,
360+
"minimum": 0,
361+
"maximum": 15,
362362
"description": "Player handicap used for baselines."
363363
},
364364
"gender": {

schema/1.0.0/app-scripting.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@
357357
},
358358
"hcp": {
359359
"type": "integer",
360-
"minimum": -10,
361-
"maximum": 54,
360+
"minimum": 0,
361+
"maximum": 15,
362362
"description": "Player handicap used for baselines."
363363
},
364364
"gender": {

0 commit comments

Comments
 (0)