-
Notifications
You must be signed in to change notification settings - Fork 308
Define JSON Schema for user agent payload #3378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a JSON Schema definition for the user agent payload sent during driver login and updates the EditorConfig to use a 2-space indent for JSON and JSONC files.
- Added spec/user-agent.jsonc to define the structure and validation rules for the user agent payload.
- Updated .editorconfig to include all JSON and JSONC files with a 2-space indent.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
spec/user-agent.jsonc | New JSON schema defining user agent payload. |
.editorconfig | Updated JSON section to enforce 2-space indents. |
- Created a JSON Schema that defines the user agent JSON payload format.
dbafc5f
to
d095fb0
Compare
- Removed "ext" section, which needs further planning.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3378 +/- ##
==========================================
- Coverage 64.47% 64.47% -0.01%
==========================================
Files 298 298
Lines 65525 65525
==========================================
- Hits 42248 42244 -4
- Misses 23277 23281 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Renamed to identify as v1 of the schema.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this just adds the file for information purposes? 🤷♂️ That's fine I guess.
Description
Defines a JSON schema for V1 of the user agent JSON payload. Full feature spec is here:
https://microsoft.sharepoint-df.com/:w:/t/sqldevx/ERIWTt0zlCxLroNHyaPlKYwBI_LNSff6iy_wXZ8xX6nctQ?e=8yuhBi
I also updated the EditorConfig to use 2 space indent for all JSON files.