fix(data-format): ajv warnings#1732
Conversation
Greptile SummaryThis PR adds explicit
Confidence Score: 5/5Safe to merge — the change adds missing type annotations to a JSON schema without altering any validation logic or accepted values. Both additions simply co-locate "type": "string" next to existing "pattern" keywords. Every other pattern in the schema already had this annotation; the change brings the two conditional branches in line with the rest of the file. Validation behavior is unchanged for valid inputs; the only effect is that AJV strict-mode no longer emits warnings on initialisation. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(data-format): ajv warnings" | Re-trigger Greptile |
This fixes AJV's warnings when initializing the library:
AJV warns that regex patterns only apply to strings, so they should be explicitly specified in the schema, as we already do for other patterns.