Skip to content

Commit 5e661b4

Browse files
committed
Fix fps field validation in videoRecordingCapture schema
Restore integer type constraint and minimum: 1 validation for the fps field that was accidentally lost during schema refactoring. This prevents invalid FPS values like 0, negative numbers, or fractional values from passing validation.
1 parent 3a77195 commit 5e661b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • schemas/structured-output/xcodebuildmcp.output.capture-result

schemas/structured-output/xcodebuildmcp.output.capture-result/2.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
"properties": {
184184
"type": { "const": "video-recording" },
185185
"state": { "enum": ["started", "stopped"] },
186-
"fps": { "type": "number" },
186+
"fps": { "type": "integer", "minimum": 1 },
187187
"outputFile": { "type": "string" },
188188
"sessionId": { "type": "string" }
189189
},

0 commit comments

Comments
 (0)