-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JSON schema: improve non-storage parts, specify examples (#1437)
## Problem While reviewing #1263 I read the whole schema and saw room for improvement. Small things ## Solution - disallow additional properties - more specific type than string - put examples to their dedicated property ## Testing Minimal, just making sure the schema itself is valid, by ```console $ agama profile validate rust/agama-lib/share/examples/profile_gnome.json The profile is valid ```
- Loading branch information
Showing
3 changed files
with
91 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters