-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The JSON structure supported by this extension was never explictly documented and only explained by examples. Due to upcoming features and knowing how manipulating (deeply) nested JSON by hand is error-prone it makes sense to perform validation before attempting to import the bookmark files. I defined a JSON schema and additionally published it to a public location. JSON Schema for Bookmarks: https://frederikb.github.io/bookmarksync/schemas/bookmarks.1-0-0.schema.json In the (rare) case that the schema is updated we need to ensure that the new version is published as well. The schema is versioned according to SchemaVer. As a side benefit, users may also reference the schema in their bookmark JSON files, via a $schema entry on the root and gain immediate validation in their editor (if supported). Fixes #29
- Loading branch information
Showing
8 changed files
with
275 additions
and
42 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.