Skip to content

Commit 2803657

Browse files
authored
Add badges from bowtie report run (#50)
1 parent e53fd4b commit 2803657

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/snapshot_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- 'README.md'
79

810
jobs:
911
publish:

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# json-schema-validator
22

33
[![Licence](https://img.shields.io/github/license/OptimumCode/json-schema-validator)](https://opensource.org/license/mit/)
4+
[![Supported-drafts](https://img.shields.io/endpoint?url=https://bowtie-json-schema.github.io/bowtie/badges/kotlin-kmp-json-schema-validator/supported_versions.json)](https://json-schema.org/specification)
45

56
This multiplatform library is an implementation of JSON schema that can validate
67
[JsonElement](https://github.com/Kotlin/kotlinx.serialization/blob/master/formats/json/commonMain/src/kotlinx/serialization/json/JsonElement.kt)
@@ -284,9 +285,18 @@ as a part of the CI to make sure the validation meet the expected behavior.
284285
Not everything is supported right now but the missing functionality might be added in the future.
285286
The test are located [here](test-suites).
286287

288+
287289
**NOTE:** _Python 3.* is required to run test-suites._
288290
_It is used to generate list of remote schemas using [this script](test-suites/schema-test-suite/bin/jsonschema_suite)_
289291

292+
This library is also integrated into [bowtie](https://github.com/bowtie-json-schema/bowtie)
293+
and runs against the official test suite along with other libraries.
294+
You can find the report [here](https://bowtie.report/).
295+
296+
[![draft-07](https://img.shields.io/endpoint?url=https://bowtie-json-schema.github.io/bowtie/badges/kotlin-kmp-json-schema-validator/compliance/Draft_7.json)](https://bowtie.report/#/dialects/draft7?language=kotlin)
297+
[![draft/2019-09](https://img.shields.io/endpoint?url=https://bowtie-json-schema.github.io/bowtie/badges/kotlin-kmp-json-schema-validator/compliance/Draft_2019-09.json)](https://bowtie.report/#/dialects/draft2019-09?language=kotlin)
298+
[![draft/2020-12](https://img.shields.io/endpoint?url=https://bowtie-json-schema.github.io/bowtie/badges/kotlin-kmp-json-schema-validator/compliance/Draft_2020-12.json)](https://bowtie.report/#/dialects/draft2020-12?language=kotlin)
299+
290300
## Benchmarking
291301

292302
There is a benchmark project that compares this library with some other ones:

0 commit comments

Comments
 (0)