From 369646dc918c78d19ad9ecede71c88e3b344c3ab Mon Sep 17 00:00:00 2001 From: slisaasquatch Date: Thu, 5 Mar 2020 11:37:55 -0800 Subject: [PATCH 01/37] Add saasquatch/json-schema-inferrer --- implementations.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/implementations.md b/implementations.md index 716a4887..966381d0 100644 --- a/implementations.md +++ b/implementations.md @@ -165,6 +165,8 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e #### From data +- Java + - [saasquatch/json-schema-inferrer](https://github.com/saasquatch/json-schema-inferrer) _draft-07, -06, -04_ (Apache 2.0) - Java library for inferring JSON Schemas from one or multiple JSON samples. - Scala - [Schema Guru](https://github.com/snowplow/schema-guru) (Apache 2.0) - CLI util, Spark Job and Web UI for deriving JSON Schemas out of corpus of JSON instances; see issue [178](https://github.com/snowplow/schema-guru/issues/178) for progress towards draft-06+ support - Online (web tool) From fd256487cde3ee2d8a6f6eb21e9f8e1b1534b98d Mon Sep 17 00:00:00 2001 From: Carsten Wickner <11309681+CarstenWickner@users.noreply.github.com> Date: Sun, 15 Mar 2020 23:26:27 +0100 Subject: [PATCH 02/37] chore: mention draft 2019-09 support of generator --- implementations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index 716a4887..ee3cc582 100644 --- a/implementations.md +++ b/implementations.md @@ -159,7 +159,7 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - Python - [Pydantic](https://pydantic-docs.helpmanual.io/) (MIT) - generates schemas from Python models based on Python 3.6+ type hints. - Java - - [jsonschema-generator](https://github.com/victools/jsonschema-generator) (Apache 2.0) - generates schemas from Java types *supports Draft 7* + - [jsonschema-generator](https://github.com/victools/jsonschema-generator) (Apache 2.0) - generates schemas from Java types *supports Draft 7 and Draft 2019-09* - Scala - [scala-jsonschema](https://github.com/andyglow/scala-jsonschema) (Apache 2.0) - generates schemad out of Scala case classes From fba0fa1561d36ca91c5b9f49089819e48a17c941 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 19 Mar 2020 14:23:05 +0000 Subject: [PATCH 03/37] implementations: spectral --- implementations.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index 716a4887..f3930409 100644 --- a/implementations.md +++ b/implementations.md @@ -297,4 +297,5 @@ Schema Repositories Schema Linter ------------- -- [json-schema-linter](https://www.json-schema-linter.com/) - Lint/validate/parse json-schema itself and find out out typo, missing properties, missing required keys etc. Supports draft 4, 6, and 7. +- [json-schema-linter](https://www.json-schema-linter.com/) - Lint/validate/parse json-schema itself, and find typos, missing properties, missing required keys, etc. Supports draft 4, 6, and 7. +- [Stoplight Spectral](https://stoplight.io/open-source/spectral) - A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v2/v3 and JSON Schema. Supports draft 4, 6, and 7. From 2d3e1452e9299c118b4147b331e173c84fe6e2dc Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 19 Mar 2020 14:54:55 +0000 Subject: [PATCH 04/37] sorted editors by draft --- implementations.md | 13 ++----------- obsolete-implementations.md | 7 ------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/implementations.md b/implementations.md index 716a4887..3fde11d8 100644 --- a/implementations.md +++ b/implementations.md @@ -271,22 +271,13 @@ _None currently support draft-06 or later._ #### Editors -_TODO: Sort by draft support._ - - [Altova XMLSpy 2019r3](https://www.altova.com/xmlspy-xml-editor#json_schema) - *Graphical JSON Schema editor for draft-06 and draft-7, as well as validation of JSON files based on JSON Schema* -- [Liquid XML Studio 2016](https://www.liquid-technologies.com/json-schema-editor) - *Graphical JSON schema editor for draft 4, context sensitive intellisense for JSON documents.* -- [Visual Studio 2013](https://www.visualstudio.com/) - *Auto-completion and tooltips based on JSON schema draft 3 and draft 4* - [JSONBuddy](https://www.json-buddy.com/) - *Text and grid-style JSON editor and validator with context sensitive entry-helpers and sample data generation based on JSON schema. Support for draft 4, draft 6 and draft 7.* -- [ReSharper 2016.1](https://www.jetbrains.com/resharper/) - *code completion, inspections and quick fixes for JSON schema in Visual Studio 2010 - 2015, including support for JSON Path and regular expressions for schema editing* +- [JSONEditor Online](https://jsoneditoronline.org/) - *View, edit, format, and validate JSON online* Support draft-4, draft-6, and draft-7. +- [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* - [Visual Studio Code](https://code.visualstudio.com/) - *Schema driven code completion, hovers and validation for editing JSON files (including schemas)* -- [JSONEditor Online](https://jsoneditoronline.org/) - *View, edit, format, and validate JSON online* -- [JSON Schema Editor](https://json-schema-editor.tangramjs.com) - *An intuitive editor for JSON schema online* -- [JSON Editor](https://json-editor.tangramjs.com) - *An online, schema-aware editor for JSON document* - [Eclipse IDE](https://www.eclipse.org/downloads/eclipse-packages) - *Rich JSON edition supporting schema for instantaneous validation and error reporting, completion, documentation.* - [WebStorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), and other [JetBrains IDEs](https://www.jetbrains.com/products.html?fromMenu#type=ide) - *Code completion, documentation, and validation for JSON and YAML files using JSON Schema* -- [JsonDraft](https://jsondraft.com/) - *Tree view JSON and JSON Schema editor online. Create and Save reusable components, Share JSON.* -- [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* - Schema Repositories ------------------- diff --git a/obsolete-implementations.md b/obsolete-implementations.md index fcb22a07..8c968caf 100644 --- a/obsolete-implementations.md +++ b/obsolete-implementations.md @@ -195,17 +195,10 @@ Various levels of support for UI generation primarily from the validation vocabu Editors ------- -_TODO: Sort by draft support._ - - [Liquid XML Studio 2016](https://www.liquid-technologies.com/json-schema-editor) - *Graphical JSON schema editor for draft 4, context sensitive intellisense for JSON documents.* - [Visual Studio 2013](http://www.visualstudio.com/) - *Auto-completion and tooltips based on JSON schema draft 3 and draft 4* -- [JSONBuddy](http://www.json-buddy.com/) - *Grid-style JSON editor and context sensitive entry-helpers based on JSON schema* -- [ReSharper 2016.1](https://www.jetbrains.com/resharper/) - *code completion, inspections and quick fixes for JSON schema in Visual Studio 2010 - 2015, including support for JSON Path and regular expressions for schema editing* -- [Visual Studio Code](https://code.visualstudio.com/) - *Schema driven code completion, hovers and validation for editing JSON files (including schemas)* -- [JSONEditor Online](http://jsoneditoronline.org) - *View, edit, format, and validate JSON online* - [JSON Schema Editor](https://json-schema-editor.tangramjs.com) - *An intuitive editor for JSON schema online* - [JSON Editor](https://json-editor.tangramjs.com) - *An online, schema-aware editor for JSON document* -- [Eclipse IDE](https://www.eclipse.org/downloads/eclipse-packages) - *Rich JSON edition supporting schema for instantaneous validation and error reporting, completion, documentation.* Compatibility ------------- From 0eecc9c6e682fcd7cda3f1968458e789f6b295c5 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 19 Mar 2020 15:00:08 +0000 Subject: [PATCH 05/37] added stoplight studio --- implementations.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index 3fde11d8..e8a8e9fd 100644 --- a/implementations.md +++ b/implementations.md @@ -272,9 +272,10 @@ _None currently support draft-06 or later._ #### Editors - [Altova XMLSpy 2019r3](https://www.altova.com/xmlspy-xml-editor#json_schema) - *Graphical JSON Schema editor for draft-06 and draft-7, as well as validation of JSON files based on JSON Schema* -- [JSONBuddy](https://www.json-buddy.com/) - *Text and grid-style JSON editor and validator with context sensitive entry-helpers and sample data generation based on JSON schema. Support for draft 4, draft 6 and draft 7.* +- [JSONBuddy](https://www.json-buddy.com/) - *Text and grid-style JSON editor and validator with context sensitive entry-helpers and sample data generation based on JSON schema. Support for draft-4, draft-6 and draft-7.* - [JSONEditor Online](https://jsoneditoronline.org/) - *View, edit, format, and validate JSON online* Support draft-4, draft-6, and draft-7. - [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* +- [Stoplight Studio](https://stoplight.io/) - *JSON Schema IDE (text-based and GUI) with support for JSON/YAML linting, which can also be based on JSON Schema rules via Spectral. Support for draft-4, draft-6 and draft-7.* - [Visual Studio Code](https://code.visualstudio.com/) - *Schema driven code completion, hovers and validation for editing JSON files (including schemas)* - [Eclipse IDE](https://www.eclipse.org/downloads/eclipse-packages) - *Rich JSON edition supporting schema for instantaneous validation and error reporting, completion, documentation.* - [WebStorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), and other [JetBrains IDEs](https://www.jetbrains.com/products.html?fromMenu#type=ide) - *Code completion, documentation, and validation for JSON and YAML files using JSON Schema* From 2d2bdeeb40d8ab8b3cb685f4eccd6cff219320bb Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 19 Mar 2020 15:13:44 +0000 Subject: [PATCH 06/37] oops added resharper back --- implementations.md | 2 +- obsolete-implementations.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index e8a8e9fd..a7c18937 100644 --- a/implementations.md +++ b/implementations.md @@ -277,8 +277,8 @@ _None currently support draft-06 or later._ - [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* - [Stoplight Studio](https://stoplight.io/) - *JSON Schema IDE (text-based and GUI) with support for JSON/YAML linting, which can also be based on JSON Schema rules via Spectral. Support for draft-4, draft-6 and draft-7.* - [Visual Studio Code](https://code.visualstudio.com/) - *Schema driven code completion, hovers and validation for editing JSON files (including schemas)* -- [Eclipse IDE](https://www.eclipse.org/downloads/eclipse-packages) - *Rich JSON edition supporting schema for instantaneous validation and error reporting, completion, documentation.* - [WebStorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), and other [JetBrains IDEs](https://www.jetbrains.com/products.html?fromMenu#type=ide) - *Code completion, documentation, and validation for JSON and YAML files using JSON Schema* +- [Eclipse IDE](https://www.eclipse.org/downloads/eclipse-packages) - *Rich JSON edition supporting schema for instantaneous validation and error reporting, completion, documentation.* Schema Repositories ------------------- diff --git a/obsolete-implementations.md b/obsolete-implementations.md index 8c968caf..b06aaf1c 100644 --- a/obsolete-implementations.md +++ b/obsolete-implementations.md @@ -196,6 +196,7 @@ Editors ------- - [Liquid XML Studio 2016](https://www.liquid-technologies.com/json-schema-editor) - *Graphical JSON schema editor for draft 4, context sensitive intellisense for JSON documents.* +- [ReSharper 2016.1](https://www.jetbrains.com/resharper/) - *code completion, inspections and quick fixes for JSON schema in Visual Studio 2010 - 2015, including support for JSON Path and regular expressions for schema editing. Support for draft-4* - [Visual Studio 2013](http://www.visualstudio.com/) - *Auto-completion and tooltips based on JSON schema draft 3 and draft 4* - [JSON Schema Editor](https://json-schema-editor.tangramjs.com) - *An intuitive editor for JSON schema online* - [JSON Editor](https://json-editor.tangramjs.com) - *An online, schema-aware editor for JSON document* From 47dd5e570ee7da0e1fd1d037801db14f7617f97f Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 19 Mar 2020 15:17:48 +0000 Subject: [PATCH 07/37] webstorm storming ahead --- implementations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index a7c18937..9f6edc96 100644 --- a/implementations.md +++ b/implementations.md @@ -277,7 +277,7 @@ _None currently support draft-06 or later._ - [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* - [Stoplight Studio](https://stoplight.io/) - *JSON Schema IDE (text-based and GUI) with support for JSON/YAML linting, which can also be based on JSON Schema rules via Spectral. Support for draft-4, draft-6 and draft-7.* - [Visual Studio Code](https://code.visualstudio.com/) - *Schema driven code completion, hovers and validation for editing JSON files (including schemas)* -- [WebStorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), and other [JetBrains IDEs](https://www.jetbrains.com/products.html?fromMenu#type=ide) - *Code completion, documentation, and validation for JSON and YAML files using JSON Schema* +- [WebStorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), and other [JetBrains IDEs](https://www.jetbrains.com/products.html?fromMenu#type=ide) - *Code completion, documentation, and validation for JSON and YAML files using JSON Schema. Support for draft-4, draft-6, and draft-7.* - [Eclipse IDE](https://www.eclipse.org/downloads/eclipse-packages) - *Rich JSON edition supporting schema for instantaneous validation and error reporting, completion, documentation.* Schema Repositories From e8fc0925a2e2f94c9cbf09f010cbe1d23207648c Mon Sep 17 00:00:00 2001 From: Andreas Eberhart <61732435+aeberhart@users.noreply.github.com> Date: Tue, 24 Mar 2020 16:43:51 +0100 Subject: [PATCH 08/37] Add Dashjoin JSON Schema Form to Web UI generation --- implementations.md | 1 + 1 file changed, 1 insertion(+) diff --git a/implementations.md b/implementations.md index a5aeb010..ce574c30 100644 --- a/implementations.md +++ b/implementations.md @@ -213,6 +213,7 @@ Various levels of support for UI generation primarily from the validation vocabu - [Angular Schema Form](https://github.com/json-schema-form/angular-schema-form) (MIT) - [Angular2 Schema Form](https://github.com/makinacorpus/angular2-schema-form) *unrelated to Angular Schema Form* (MIT) - [Angular6-json-schema-form](https://github.com/hamzahamidi/Angular6-json-schema-form) (MIT) + - [Dashjoin JSON Schema Form](https://github.com/dashjoin/json-schema-form) (Apache 2) - [JSON Editor](https://github.com/json-editor/json-editor) (MIT) - [JSON Form (joshfire)](https://github.com/joshfire/jsonform) (joshfire) (MIT) - [Json Forms (brutusin)](https://github.com/brutusin/json-forms) (brutusin) (MIT) From baf1dac7e41e0675cf2cb0e4b35112f3a4868a53 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Wed, 8 Apr 2020 12:39:17 +0100 Subject: [PATCH 09/37] Fix bug in applicator meta-schema. https://github.com/json-schema-org/json-schema-spec/pull/883 --- _includes/draft/2019-09 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/draft/2019-09 b/_includes/draft/2019-09 index b47f567e..cc296f05 160000 --- a/_includes/draft/2019-09 +++ b/_includes/draft/2019-09 @@ -1 +1 @@ -Subproject commit b47f567e1ef87ae16b69aeb8c3084729a22c9bce +Subproject commit cc296f05b8938a9ffb5ffce7f7a50c2805b2647f From 274913a99145b19fced1d1f6b94c73699feeeb8e Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Wed, 15 Apr 2020 17:25:26 +0200 Subject: [PATCH 10/37] Add `jsonschema-rs` to Rust implementations --- _data/validator-libraries-modern.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index e119286d..35580b44 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -166,6 +166,14 @@ date-draft: draft: [7, 6, 4] license: MIT +- name: Rust + implementations: + - name: jsonschema-rs + url: https://github.com/Stranger6667/jsonschema-rs + notes: Fast due to compiling schema into a validation tree + date-draft: + draft: [7, 6] + license: MIT - name: Objective-C implementations: - name: DSJSONSchemaValidation From dabf6b144a45110d13aee035f1571093f2771a96 Mon Sep 17 00:00:00 2001 From: Jason Desrosiers Date: Thu, 16 Apr 2020 21:18:49 -0700 Subject: [PATCH 11/37] Add Hyperjump JSV to implementations --- _data/validator-libraries-modern.yml | 11 +++++++++++ implementations.md | 3 +++ 2 files changed, 14 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index e119286d..172fa76d 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -117,6 +117,12 @@ date-draft: draft: [6, 4] license: MIT + - name: Hyperjump JSV + url: https://github.com/jdesrosiers/json-schema + notes: "Built for Node.js and browsers. Includes support for custom vocabularies." + date-draft: [2019-09] + draft: [7, 6, 4] + license: MIT - name: vue-vuelidate-jsonschema url: https://github.com/mokkabonna/vue-vuelidate-jsonschema date-draft: @@ -184,6 +190,11 @@ license: MIT - name: Web (Online) implementations: + - name: Hyperjump JSV + url: https://json-schema.hyperjump.io + date-draft: [2019-09] + draft: [7, 6, 4] + notes: Supports multiple schemas and multiple instances - name: JSON Schema Validator url: https://www.jsonschemavalidator.net/ date-draft: diff --git a/implementations.md b/implementations.md index ce574c30..cceecd49 100644 --- a/implementations.md +++ b/implementations.md @@ -239,6 +239,9 @@ the utility, and decided on a case-by-case basis. - JavaScript - [json-schema-ref-parser](https://github.com/BigstickCarpet/json-schema-ref-parser) (MIT) Tools for dereferencing non-cyclic schemas, bundling referenced schemas into a single file, and other `$ref` processing. - [@cloudflare/json-schema-walker](https://github.com/cloudflare/json-schema-tools/tree/master/workspaces/json-schema-walker) ([JSON Schema Tools](https://github.com/cloudflare/json-schema-tools)), _draft-07, -06, -04, and Cloudflare's Doca extensions_ Walks schemas and runs pre- and post-walk callbacks. Can modify schemas in place. (BSD-3-Clause) + - [@hyperjump/json-schema-core](https://github.com/jdesrosiers/json-schema-core) + (MIT) Tools for working with schemas that handle identifiers and + references. Build vocabularies and other JSON Schema based tools. #### Schema to Schema From efe15158c97fbc930934d122125a7e5a3aaac8b9 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Tue, 21 Apr 2020 15:41:10 +0100 Subject: [PATCH 12/37] online tools are not obsolete --- obsolete-implementations.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/obsolete-implementations.md b/obsolete-implementations.md index b06aaf1c..2950d504 100644 --- a/obsolete-implementations.md +++ b/obsolete-implementations.md @@ -60,13 +60,6 @@ Validators - -### Online - -- [JSON Schema Lint](http://jsonschemalint.com/) - validate against your own schemas -- [SchemaStore.org](http://schemastore.org/validator/) - validate against common JSON Schemas -- [quicktype.io](https://app.quicktype.io/#l=schema) - infer JSON Schema from samples, and generate TypeScript, C++, go, Java, C#, Swift, etc. types from JSON Schema - ### Command Line @@ -129,7 +122,7 @@ Hyper-Schema {% endfor %} -Schema generators +Schema Generators ----------------- - Python @@ -151,7 +144,7 @@ Generators from schemas - JavaScript - [json-schema-generator](https://github.com/json-schema-faker) (MIT) - JSON-Schema + fake data generators -Data parsing and code generation +Data Parsing and Code Generation -------------------------------- - Delphi @@ -168,9 +161,9 @@ Data parsing and code generation - Swift - [Bric-à-brac](https://github.com/glimpseio/BricBrac) (MIT) - generates idiomatic swift structs and parser/serializer from JSON schemas - Golang - - [gojsonschema](https://github.com/andy-zhangtao/gojsonschema)(Apache 2.0) - golang package for generating golang struct *supports Draft 4*. [Demo](http://json.golang.chinazt.cc) + - [gojsonschema](https://github.com/andy-zhangtao/gojsonschema)(Apache 2.0) - golang package for generating golang struct *support for Draft 4*. [Demo](http://json.golang.chinazt.cc) -UI generation +UI Generation ------------- _TODO: Sort by draft support._ From 68f2321c2901db8a0138fbefe5d27e35ee06d756 Mon Sep 17 00:00:00 2001 From: Henrik Mohr Date: Thu, 23 Apr 2020 14:28:53 +0200 Subject: [PATCH 13/37] Add generator luposlip/json-schema Clojure library that infers JSON Schemas based on (Clojure) data, and validates data based on them as well. --- implementations.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/implementations.md b/implementations.md index 8b9b502b..f52a41d3 100644 --- a/implementations.md +++ b/implementations.md @@ -167,6 +167,8 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - Scala - [Schema Guru](https://github.com/snowplow/schema-guru) (Apache 2.0) - CLI util, Spark Job and Web UI for deriving JSON Schemas out of corpus of JSON instances; see issue [178](https://github.com/snowplow/schema-guru/issues/178) for progress towards draft-06+ support +- Clojure + - [luposlip/json-schema](https://github.com/luposlip/json-schema) (Apache 2.0) - infer JSON Schema from Clojure data - Online (web tool) - [jsonschema.net](https://www.jsonschema.net/) - generates schemas from example data - [quicktype.io](https://app.quicktype.io/#l=schema) - infer JSON Schema from samples, and generate TypeScript, C++, go, Java, C#, Swift, etc. types from JSON Schema From cfe270e66cccdef8f46f9c2bac2ac7483525453b Mon Sep 17 00:00:00 2001 From: Jeremy Danyow Date: Thu, 7 May 2020 21:58:03 -0700 Subject: [PATCH 14/37] @cfworker/json-schema A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, and 2019-09. Cloudflare workers do not have APIs required by Ajv schema compilation (eval or new Function(code)). Validators that don't use code generation are not up to date with the current spec so I built yet another validator... @cfworker/json-schema is currently the fastest among validators which do not use code generation (eval/new function): https://github.com/ebdrup/json-schema-benchmark#performance Pretty comparable to jsck and z-schema which do use code generation. --- _data/validator-libraries-modern.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 172fa76d..6211eb44 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -128,6 +128,12 @@ date-draft: draft: [6] license: MIT + - name: @cfworker/json-schema + url: https://github.com/cfworker/cfworker/blob/master/packages/json-schema/README.md + notes: "Built for Cloudflare workers, browsers, and Node.js" + date-draft: [2019-09] + draft: [7, 6, 4] + license: MIT - name: Perl implementations: - name: JSON::Validator From 089c026be758e2358050dde1a577442595306203 Mon Sep 17 00:00:00 2001 From: Jeremy Danyow Date: Thu, 7 May 2020 22:08:40 -0700 Subject: [PATCH 15/37] add quotes --- _data/validator-libraries-modern.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 6211eb44..23ca57c5 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -128,7 +128,7 @@ date-draft: draft: [6] license: MIT - - name: @cfworker/json-schema + - name: '@cfworker/json-schema' url: https://github.com/cfworker/cfworker/blob/master/packages/json-schema/README.md notes: "Built for Cloudflare workers, browsers, and Node.js" date-draft: [2019-09] From 6c0cd88c055764614662c429e8d096959b948a82 Mon Sep 17 00:00:00 2001 From: Jeremy Danyow Date: Thu, 7 May 2020 22:11:42 -0700 Subject: [PATCH 16/37] double quotes --- _data/validator-libraries-modern.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 23ca57c5..dabbb891 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -128,7 +128,7 @@ date-draft: draft: [6] license: MIT - - name: '@cfworker/json-schema' + - name: "@cfworker/json-schema" url: https://github.com/cfworker/cfworker/blob/master/packages/json-schema/README.md notes: "Built for Cloudflare workers, browsers, and Node.js" date-draft: [2019-09] From 3e390c4f2863f9294f4c0d4ce52d11c48aa0b485 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Thu, 21 May 2020 14:55:28 -0700 Subject: [PATCH 17/37] add link to Perl implementation JSON::Schema::Draft201909 --- _data/validator-libraries-modern.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 172fa76d..14f06c70 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -136,6 +136,11 @@ date-draft: draft: [7, 6, 4] license: "The Artistic License 2.0 (GPL Compatible)" + - name: JSON::Schema::Draft201909 + url: https://github.com/karenetheridge/JSON-Schema-Draft201909 + notes: + date-draft: [2019-09] + license: "GNU General Public License, Version 1 + The Artistic License 1.0" - name: PHP implementations: - name: Opis Json Schema From 52babefda0ed7c243a647753f971e6bc12aedabe Mon Sep 17 00:00:00 2001 From: Shawn Silverman Date: Thu, 28 May 2020 02:17:54 -0700 Subject: [PATCH 18/37] Add Snow validator to Java section --- _data/validator-libraries-modern.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index dabbb891..48ae29af 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -95,6 +95,12 @@ date-draft: draft: [7, 6, 4] license: Apache License 2.0 + - name: Snow + url: https://github.com/ssilverman/snowy-json + notes: Uses Maven for the project, and Gson and Guava under the hood. + date-draft: [2019-09] + draft: [7, 6] + license: GNU Affero General Public License v3.0 - name: Kotlin implementations: - name: Medeia-validator From 58e00c02713a6b1a5c469a6189a99b94b594e742 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Thu, 28 May 2020 22:38:57 +0100 Subject: [PATCH 19/37] Bop. Given 2019-09 support, lets put it at the top --- _data/validator-libraries-modern.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 48ae29af..a7b2c2b6 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -77,6 +77,12 @@ notes: includes custom validator support, rich error returns - name: Java implementations: + - name: Snow + url: https://github.com/ssilverman/snowy-json + notes: Uses Maven for the project, and Gson and Guava under the hood. + date-draft: [2019-09] + draft: [7, 6] + license: GNU Affero General Public License v3.0 - name: everit-org/json-schema url: https://github.com/everit-org/json-schema notes: @@ -95,12 +101,6 @@ date-draft: draft: [7, 6, 4] license: Apache License 2.0 - - name: Snow - url: https://github.com/ssilverman/snowy-json - notes: Uses Maven for the project, and Gson and Guava under the hood. - date-draft: [2019-09] - draft: [7, 6] - license: GNU Affero General Public License v3.0 - name: Kotlin implementations: - name: Medeia-validator From 594392001377724e1059eb0cbb54e2bcd4a69ce6 Mon Sep 17 00:00:00 2001 From: Okie Othsam Date: Sun, 31 May 2020 12:11:39 +0200 Subject: [PATCH 20/37] add yacg to implementations.md --- implementations.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/implementations.md b/implementations.md index 8b9b502b..6066af88 100644 --- a/implementations.md +++ b/implementations.md @@ -199,6 +199,8 @@ are the only keywords that changed. - [quicktype.io](https://app.quicktype.io/#l=schema) - infer JSON Schema from samples, and generate TypeScript, C++, go, Java, C#, Swift, etc. types from JSON Schema - PHP - [php-code-builder](https://github.com/swaggest/php-code-builder)(MIT) - generates PHP mapping structures defined by JSON schema using [swaggest/json-schema](https://github.com/swaggest/php-json-schema) *supports Draft 7* +- Python + - [yacg](https://github.com/OkieOth/yacg) (MIT) - parse JSON Schema and OpenApi files to build a meta model from them. This meta model can be used in Mako templates to generate source code, other schemas or plantUml. - Rust - [schemafy](https://github.com/Marwes/schemafy/) - generates Rust types and serialization code from a JSON schema. *supports Draft 4* From c41232833df4ccf796ff7bce9a1356b0850377e9 Mon Sep 17 00:00:00 2001 From: Andreas Eberhart <61732435+aeberhart@users.noreply.github.com> Date: Fri, 5 Jun 2020 18:23:07 +0200 Subject: [PATCH 21/37] Add Editors section under Schema generators --- implementations.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/implementations.md b/implementations.md index 8b9b502b..24f1ec82 100644 --- a/implementations.md +++ b/implementations.md @@ -171,6 +171,9 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - [jsonschema.net](https://www.jsonschema.net/) - generates schemas from example data - [quicktype.io](https://app.quicktype.io/#l=schema) - infer JSON Schema from samples, and generate TypeScript, C++, go, Java, C#, Swift, etc. types from JSON Schema +#### Editors + +- [dashjoin.github.io](https://dashjoin.github.io/#/schema) - allows creating basic JSON schema interactively, good tool for learning & education, does not support advanced JSON schema constructs Generators from schemas ----------------------- From dbe6cd6d694d230bbaf958d40ae836e002907bec Mon Sep 17 00:00:00 2001 From: Tristan Penman Date: Wed, 10 Jun 2020 14:51:44 +1000 Subject: [PATCH 22/37] Add valijson validator to C++ section --- _data/validator-libraries-modern.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 29e41a7e..1cad3e6c 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -31,6 +31,12 @@ date-draft: draft: [7] license: MIT + - name: Valijson + url: https://github.com/tristanpenman/valijson + notes: header-only library, works with many JSON parser implementations + date-draft: + draft: [7] + license: BSD-2-Clause - name: Clojure implementations: - name: jinx From 4068d39667b761cf7269ead68fcc9e2937a8a439 Mon Sep 17 00:00:00 2001 From: AlieksandraK Date: Wed, 10 Jun 2020 15:48:17 +0200 Subject: [PATCH 23/37] Update implementations.md It appeared that qri-io/jsonschema doesn't do code to schema generation (qri-io/jsonschema#32). Replaced it with this one https://github.com/alecthomas/jsonschema in the list of Golang code to schema generation implementations --- implementations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index 8b9b502b..d936ea00 100644 --- a/implementations.md +++ b/implementations.md @@ -151,7 +151,7 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - [Json.NET](https://www.newtonsoft.com/jsonschema) (AGPL-3.0) - generates schemas from .NET types - [NJsonSchema](https://github.com/RSuter/NJsonSchema/) - (Ms-PL) - generates schemas from .NET types, see issue [574](https://github.com/RSuter/NJsonSchema/issues/574) for draft-06+ support progress - Golang - - [qri-io/jsonschema](https://github.com/qri-io/jsonschema)(MIT) - idiomatic go implementation with custom validator support, coding to and from json, rich error returns *supports Draft 7* + - [alecthomas/jsonschema](https://github.com/alecthomas/jsonschema)(MIT) - generates JSON Schemas from Go types through reflection - PHP - [Liform](https://github.com/Limenius/liform) (MIT) - generates schemas from Symfony forms - TypeScript From 5f22a78e3e4f8c7904fbe3f937e420c23166b95f Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 11 Jun 2020 19:38:55 +0200 Subject: [PATCH 24/37] Update supported drafts for `jsonschema-rs` --- _data/validator-libraries-modern.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 22b06431..ba3afed1 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -201,7 +201,7 @@ url: https://github.com/Stranger6667/jsonschema-rs notes: Fast due to compiling schema into a validation tree date-draft: - draft: [7, 6] + draft: [7, 6, 4] license: MIT - name: Objective-C implementations: From 61306bfbf86799f899cb95b33cc3f58f63007118 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 11 Jun 2020 19:39:04 +0200 Subject: [PATCH 25/37] Add `jsonschema-rs` to the Python implementations --- _data/validator-libraries-modern.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index ba3afed1..de34e707 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -187,6 +187,12 @@ date-draft: draft: [7, 6, 4] license: BSD-3-Clause + - name: jsonschema-rs + url: https://github.com/Stranger6667/jsonschema-rs/python + notes: Python bindings to Rust's jsonschema crate + date-draft: + draft: [7, 6, 4] + license: MIT - name: Ruby implementations: - name: JSONSchemer From 8352ba10ec243db9295e2fd9a99c9e1fcbaf936b Mon Sep 17 00:00:00 2001 From: Andreas Eberhart <61732435+aeberhart@users.noreply.github.com> Date: Thu, 11 Jun 2020 21:21:07 +0200 Subject: [PATCH 26/37] moved Dashjoin JSON Schema Editor to correct sec. --- implementations.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/implementations.md b/implementations.md index 24f1ec82..d73211c3 100644 --- a/implementations.md +++ b/implementations.md @@ -171,10 +171,6 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - [jsonschema.net](https://www.jsonschema.net/) - generates schemas from example data - [quicktype.io](https://app.quicktype.io/#l=schema) - infer JSON Schema from samples, and generate TypeScript, C++, go, Java, C#, Swift, etc. types from JSON Schema -#### Editors - -- [dashjoin.github.io](https://dashjoin.github.io/#/schema) - allows creating basic JSON schema interactively, good tool for learning & education, does not support advanced JSON schema constructs - Generators from schemas ----------------------- @@ -279,6 +275,7 @@ _None currently support draft-06 or later._ #### Editors - [Altova XMLSpy 2019r3](https://www.altova.com/xmlspy-xml-editor#json_schema) - *Graphical JSON Schema editor for draft-06 and draft-7, as well as validation of JSON files based on JSON Schema* +- [Dashjoin JSON Schema editor](https://dashjoin.github.io/#/schema) - allows creating basic JSON schema interactively, good tool for learning & education, does not support advanced JSON schema constructs - [JSONBuddy](https://www.json-buddy.com/) - *Text and grid-style JSON editor and validator with context sensitive entry-helpers and sample data generation based on JSON schema. Support for draft-4, draft-6 and draft-7.* - [JSONEditor Online](https://jsoneditoronline.org/) - *View, edit, format, and validate JSON online* Support draft-4, draft-6, and draft-7. - [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* From 8fb1b9acfc67a2b4f065ab82cbb60bbbac1659a9 Mon Sep 17 00:00:00 2001 From: AlieksandraK Date: Thu, 11 Jun 2020 22:11:30 +0200 Subject: [PATCH 27/37] Update implementations.md Removed implementation reference --- implementations.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/implementations.md b/implementations.md index d936ea00..b9f1d969 100644 --- a/implementations.md +++ b/implementations.md @@ -150,8 +150,6 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - .NET - [Json.NET](https://www.newtonsoft.com/jsonschema) (AGPL-3.0) - generates schemas from .NET types - [NJsonSchema](https://github.com/RSuter/NJsonSchema/) - (Ms-PL) - generates schemas from .NET types, see issue [574](https://github.com/RSuter/NJsonSchema/issues/574) for draft-06+ support progress -- Golang - - [alecthomas/jsonschema](https://github.com/alecthomas/jsonschema)(MIT) - generates JSON Schemas from Go types through reflection - PHP - [Liform](https://github.com/Limenius/liform) (MIT) - generates schemas from Symfony forms - TypeScript From adfee0a687ad1632a686b5c64db6b9dea572cdbe Mon Sep 17 00:00:00 2001 From: Matt Novenstern Date: Tue, 16 Jun 2020 19:28:51 -0400 Subject: [PATCH 28/37] Add common lisp json-schema to implementations list --- _data/validator-libraries-modern.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 22b06431..3e14b9e7 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -49,6 +49,13 @@ date-draft: draft: [7] license: Apache License, Version 2.0 +- name: Common Lisp + implementations: + - name: json-schema + url: https://github.com/fisxoj/json-schema + date-draft: + draft: [4, 6, 7, 2019-09] + license: LGPL - name: Elixir implementations: - name: Elixir JSON Schema validator From 381db90b7dd73b57aa3329ec484e6ee393898ab7 Mon Sep 17 00:00:00 2001 From: Matt Novenstern Date: Tue, 16 Jun 2020 19:33:07 -0400 Subject: [PATCH 29/37] Learned what the date-draft key does! --- _data/validator-libraries-modern.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 3e14b9e7..78abc87f 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -53,8 +53,8 @@ implementations: - name: json-schema url: https://github.com/fisxoj/json-schema - date-draft: - draft: [4, 6, 7, 2019-09] + date-draft: [2019-09] + draft: [4, 6, 7] license: LGPL - name: Elixir implementations: From dece259aaaab7511539435c8755fd66c08e299a2 Mon Sep 17 00:00:00 2001 From: Andreas Eberhart <61732435+aeberhart@users.noreply.github.com> Date: Sat, 20 Jun 2020 00:01:08 +0200 Subject: [PATCH 30/37] Added draft support information --- implementations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/implementations.md b/implementations.md index d73211c3..df36b163 100644 --- a/implementations.md +++ b/implementations.md @@ -212,7 +212,7 @@ Various levels of support for UI generation primarily from the validation vocabu - [Angular Schema Form](https://github.com/json-schema-form/angular-schema-form) (MIT) - [Angular2 Schema Form](https://github.com/makinacorpus/angular2-schema-form) *unrelated to Angular Schema Form* (MIT) - [Angular6-json-schema-form](https://github.com/hamzahamidi/Angular6-json-schema-form) (MIT) - - [Dashjoin JSON Schema Form](https://github.com/dashjoin/json-schema-form) (Apache 2) + - [Dashjoin JSON Schema Form](https://github.com/dashjoin/json-schema-form) (Apache 2) *draft-06 (minus oneOf, anyOf, allOf, not)* - [JSON Editor](https://github.com/json-editor/json-editor) (MIT) - [JSON Form (joshfire)](https://github.com/joshfire/jsonform) (joshfire) (MIT) - [Json Forms (brutusin)](https://github.com/brutusin/json-forms) (brutusin) (MIT) @@ -275,7 +275,7 @@ _None currently support draft-06 or later._ #### Editors - [Altova XMLSpy 2019r3](https://www.altova.com/xmlspy-xml-editor#json_schema) - *Graphical JSON Schema editor for draft-06 and draft-7, as well as validation of JSON files based on JSON Schema* -- [Dashjoin JSON Schema editor](https://dashjoin.github.io/#/schema) - allows creating basic JSON schema interactively, good tool for learning & education, does not support advanced JSON schema constructs +- [Dashjoin JSON Schema editor](https://dashjoin.github.io/#/schema) - *Graphical online JSON Schema editor for draft-06 (minus oneOf, anyOf, allOf, not). The generated schema can be tested immediately via a form that is driven by it.* - [JSONBuddy](https://www.json-buddy.com/) - *Text and grid-style JSON editor and validator with context sensitive entry-helpers and sample data generation based on JSON schema. Support for draft-4, draft-6 and draft-7.* - [JSONEditor Online](https://jsoneditoronline.org/) - *View, edit, format, and validate JSON online* Support draft-4, draft-6, and draft-7. - [Oxygen JSON Editor](https://www.oxygenxml.com/xml_editor/json.html) - *JSON editor with a variety of editing features and helper views. Support for validation and editing JSON Schema draft-4, draft-6, and draft-7. Validation and editing of JSON files based on JSON Schema.* From 83b639ca13e9be3609858fd2098eff062b945e67 Mon Sep 17 00:00:00 2001 From: rusty kay <2297143+feep@users.noreply.github.com> Date: Fri, 26 Jun 2020 09:05:17 -0700 Subject: [PATCH 31/37] Add `2019-09` to qri-io --- _data/validator-libraries-modern.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index 1e3e9341..f7013603 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -84,7 +84,7 @@ license: BSD-3-Clause - name: qri-io/jsonschema url: https://github.com/qri-io/jsonschema - date-draft: + date-draft: [2019-09] draft: [7] license: MIT notes: includes custom validator support, rich error returns From f6d3052609ad2453e153a3e392ac212b32be29fe Mon Sep 17 00:00:00 2001 From: Shawn Silverman Date: Sat, 27 Jun 2020 20:43:53 -0700 Subject: [PATCH 32/37] Update Snow validator notes --- _data/validator-libraries-modern.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index f7013603..fcbd9021 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -92,7 +92,7 @@ implementations: - name: Snow url: https://github.com/ssilverman/snowy-json - notes: Uses Maven for the project, and Gson and Guava under the hood. + notes: Uses Maven for the project and Gson under the hood. date-draft: [2019-09] draft: [7, 6] license: GNU Affero General Public License v3.0 From 3871e030918e6ce9db934c60a5769b0d4e68b5c0 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Tue, 21 Jul 2020 21:49:07 +0100 Subject: [PATCH 33/37] Add carbon ads --- .gitignore | 1 + _config.yml | 2 +- _layouts/default.html | 23 ++++++++++++++ assets/main.scss | 72 +++++++++++++++++++++++++++++++++++++++++++ index.md | 2 +- 5 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 _layouts/default.html diff --git a/.gitignore b/.gitignore index 582ed7b5..6fe13fcd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .sass-cache/ _site/ node_modules/ +.vscode/ diff --git a/_config.yml b/_config.yml index d5aeeab0..3a16502f 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ title: JSON Schema description: The home of JSON Schema baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site -#twitter_username: jekyllrb +twitter_username: jsonschema github_username: json-schema-org google_analytics: UA-99695987-1 diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 00000000..751e0dcc --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,23 @@ + + + + {%- include head.html -%} + + + + {%- include header.html -%} + +
+ {% if page.url != "/" %} + + {% endif %} +
+ {{ content }} +
+
+ + {%- include footer.html -%} + + + + diff --git a/assets/main.scss b/assets/main.scss index 045e2314..397c5d80 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -48,3 +48,75 @@ code { // minima.scss overrides $spacing-unit: 10px !default; $content-width: 960px !default; + +// Carbon ads + +#carbonads { + max-width: 300px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif; + display: flex; + position: fixed; + right: 30px; + top: 90px; + font-size: 12px; + line-height: 1.45; + box-shadow: 0 0 17px rgba(0,0,0,.2); +} + +@media (max-width: 1199.98px) { + #carbonads { + display: block; + position: relative; + right: unset; + top: unset; + margin: auto; + margin-bottom: 30px; + overflow: hidden; + max-width: 728px; + font-size: 24px; + box-sizing: content-box; + } +} + +#carbonads > span { + position: relative; + display: block; + padding: 10px; + border-radius: 4px; + background-color: #fff; + box-shadow: 0 1px 3px hsla(0, 0%, 0%, .05); +} + +#carbonads .carbon-wrap { + display: flex; +} + +#carbonads .carbon-img { + margin-right: 10px; + line-height: 1; +} + +#carbonads .carbon-text { + margin-bottom: 12px; + color: #637381; + text-decoration: none; +} + +#carbonads .carbon-poweredby { + position: absolute; + bottom: 10px; + left: 152px; + color: #c5cdd0; + text-decoration: none; + text-transform: uppercase; + letter-spacing: .5px; + font-weight: 500; + font-size: 8px; + line-height: 1; +} + +@media only screen and (min-width: 320px) and (max-width: 759px) { + .carbon-text { + font-size: 14px; + } +} diff --git a/index.md b/index.md index a67a09bb..5fe4b646 100644 --- a/index.md +++ b/index.md @@ -1,5 +1,5 @@ --- -layout: page +layout: default title: JSON Schema permalink: / --- From 9726922abab08aefc7a6f28181837be9ea591050 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Thu, 23 Jul 2020 17:18:38 +0100 Subject: [PATCH 34/37] Modify ad style --- assets/main.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 397c5d80..e2534d8e 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -60,7 +60,9 @@ $content-width: 960px !default; top: 90px; font-size: 12px; line-height: 1.45; - box-shadow: 0 0 17px rgba(0,0,0,.2); + background-color: #f9f9f9; + border: 1px dashed; + border-color: #cacaca; } @media (max-width: 1199.98px) { @@ -83,8 +85,6 @@ $content-width: 960px !default; display: block; padding: 10px; border-radius: 4px; - background-color: #fff; - box-shadow: 0 1px 3px hsla(0, 0%, 0%, .05); } #carbonads .carbon-wrap { @@ -111,10 +111,14 @@ $content-width: 960px !default; text-transform: uppercase; letter-spacing: .5px; font-weight: 500; - font-size: 8px; + font-size: 10px; line-height: 1; } +#carbonads .carbon-poweredby:hover { + color: #637381; +} + @media only screen and (min-width: 320px) and (max-width: 759px) { .carbon-text { font-size: 14px; From 4c4721ac93f3e7d42efb4a23e325b67557e6fd9e Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Sat, 25 Jul 2020 15:32:18 +0100 Subject: [PATCH 35/37] modified advert positition and media query --- assets/main.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index e2534d8e..39e9a030 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -56,7 +56,7 @@ $content-width: 960px !default; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif; display: flex; position: fixed; - right: 30px; + right: 10px; top: 90px; font-size: 12px; line-height: 1.45; @@ -65,7 +65,7 @@ $content-width: 960px !default; border-color: #cacaca; } -@media (max-width: 1199.98px) { +@media (max-width: 1420px) { #carbonads { display: block; position: relative; From 725dfb191b9fe90e02b06b1e92a8b69378bf1fe2 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Sun, 2 Aug 2020 16:59:27 +1200 Subject: [PATCH 36/37] Update validator-libraries-modern.yml --- _data/validator-libraries-modern.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/validator-libraries-modern.yml b/_data/validator-libraries-modern.yml index fcbd9021..a6a5f306 100644 --- a/_data/validator-libraries-modern.yml +++ b/_data/validator-libraries-modern.yml @@ -3,7 +3,7 @@ implementations: - name: Json.NET Schema url: https://www.newtonsoft.com/jsonschema - date-draft: + date-draft: [2019-09] draft: [7, 6, 4, 3] license: "AGPL-3.0-only" - name: Manatee.Json @@ -241,7 +241,7 @@ notes: Supports multiple schemas and multiple instances - name: JSON Schema Validator url: https://www.jsonschemavalidator.net/ - date-draft: + date-draft: [2019-09] draft: [7, 6, 4, 3] - name: JSON Schema Lint url: http://jsonschemalint.com/ From 9af5abe7bb2983289cba96b6e8f3a5e4642cb391 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Sat, 15 Aug 2020 15:46:53 +0100 Subject: [PATCH 37/37] Fixes meta-schema issues for draft `2019-09` as per https://github.com/json-schema-org/json-schema-spec/pull/968 --- _includes/draft/2019-09 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/draft/2019-09 b/_includes/draft/2019-09 index cc296f05..03fe369b 160000 --- a/_includes/draft/2019-09 +++ b/_includes/draft/2019-09 @@ -1 +1 @@ -Subproject commit cc296f05b8938a9ffb5ffce7f7a50c2805b2647f +Subproject commit 03fe369b6192bcd6052e96bac8a5b0cfd15d5c07