Skip to content

Commit 13c081f

Browse files
DarhkVoydbenjagm
andauthored
[tools]: Fix tools bowtie outlink and badges integration (#1009)
* remove manually handling bowtie * fix failing ci * fix outlink cancel while bowtie report fetching * Update tooling-data.yaml to remove extra bowtie identifiers --------- Co-authored-by: Benjamin Granados <[email protected]>
1 parent b320e27 commit 13c081f

File tree

6 files changed

+163
-210
lines changed

6 files changed

+163
-210
lines changed

data/tooling-data.schema.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -236,18 +236,6 @@
236236
},
237237
"additionalProperties": false
238238
},
239-
"bowtie": {
240-
"description": "Information related to compliance testing by Bowtie - https://bowtie.report - Presence of this property implies the tool is being tested in Bowtie",
241-
"type": "object",
242-
"properties": {
243-
"identifier": {
244-
"description": "The identifier used for the tool in Bowtie, including the language.",
245-
"examples": ["dotnet-jsonschema-net", "js-ajv"]
246-
}
247-
},
248-
"required": ["identifier"],
249-
"additionalProperties": false
250-
},
251239
"toolingListingNotes": {
252240
"description": "Notes about the tooling which will appear in the tooling listing on the website.",
253241
"type": "string"

data/tooling-data.yaml

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
supportedDialects:
1414
draft: ['6', '7', '2019-09', '2020-12']
1515
lastUpdated: '2022-08-31'
16-
bowtie:
17-
identifier: 'dotnet-jsonschema-net'
1816

1917
- name: Json.NET Schema
2018
description: 'Json.NET Schema is a powerful, complete and easy to use JSON Schema framework for .NET'
@@ -44,8 +42,6 @@
4442
supportedDialects:
4543
draft: ['6', '7', '2019-09', '2020-12']
4644
lastUpdated: '2023-02-14'
47-
bowtie:
48-
identifier: 'dotnet-corvus-jsonschema'
4945

5046
- name: LateApexEarlySpeed.Json.Schema
5147
description: 'Simple and high performance json schema implementation for .Net and related json validation in .Net'
@@ -103,8 +99,6 @@
10399
supportedDialects:
104100
draft: ['7']
105101
lastUpdated: '2022-08-31'
106-
bowtie:
107-
identifier: 'cpp-valijson'
108102

109103
- name: jsoncons
110104
description: 'A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON'
@@ -149,8 +143,6 @@
149143
supportedDialects:
150144
draft: ['4', '6', '7']
151145
lastUpdated: '2022-08-31'
152-
bowtie:
153-
identifier: 'clojure-json-schema'
154146

155147
- name: JSON Essentials for COM/ActiveX
156148
description: 'JSON Essentials™ for COM/ActiveX is a language independent JSON toolkit for rapid implementation of the most common JSON use cases on the Windows platform'
@@ -241,8 +233,6 @@
241233
draft: ['4', '6', '7', '2019-09', '2020-12']
242234
toolingListingNotes: 'Includes custom keywords, output formats'
243235
lastUpdated: '2022-08-31'
244-
bowtie:
245-
identifier: 'go-jsonschema'
246236

247237
- name: jsonschema
248238
description: 'A powerful Go JSON Schema validator library aligned with the JSON Schema Draft 2020-12.'
@@ -287,8 +277,6 @@
287277
supportedDialects:
288278
draft: ['4', '6', '7']
289279
lastUpdated: '2022-08-31'
290-
bowtie:
291-
identifier: 'go-gojsonschema'
292280

293281
- name: Vert.x Json Schema
294282
description: 'Vert.x Json Schema'
@@ -320,8 +308,6 @@
320308
supportedDialects:
321309
draft: ['3', '4', '6', '7', '2019-09', '2020-12']
322310
lastUpdated: '2022-08-31'
323-
bowtie:
324-
identifier: 'java-jsonschemafriend'
325311

326312
- name: networknet/json-schema-validator
327313
description: 'A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12'
@@ -414,8 +400,6 @@
414400
supportedDialects:
415401
draft: ['7', '2019-09', '2020-12']
416402
lastUpdated: '2024-08-14'
417-
bowtie:
418-
identifier: 'java-json-schema'
419403

420404
- name: Zuunr JSON
421405
description: 'Immutable JSON structure to enable Java applications to utilize JSON Schemas INSIDE Java applications - avoiding extra serialization and deserialization.'
@@ -450,7 +434,8 @@
450434

451435
- name: '@hyperjump/json-schema'
452436
description: 'JSON Schema Validation, Annotation, and Bundling. Supports Draft 04, 06, 07, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1'
453-
toolingTypes: ['validator', 'annotations', 'bundler', 'util-general-processing']
437+
toolingTypes:
438+
['validator', 'annotations', 'bundler', 'util-general-processing']
454439
languages: ['JavaScript']
455440
maintainers:
456441
- name: 'Jason Desrosiers'
@@ -462,8 +447,6 @@
462447
draft: ['4', '6', '7', '2019-09', '2020-12']
463448
toolingListingNotes: 'Built for Node.js and browsers. Includes support for custom vocabularies.'
464449
lastUpdated: '2024-09-04'
465-
bowtie:
466-
identifier: 'js-hyperjump'
467450

468451
- name: '@exodus/schemasafe'
469452
description: 'A reasonably safe JSON Schema validator with draft-04/06/07/2019-09/2020-12 support.'
@@ -483,8 +466,6 @@
483466
[Supports OpenAPI `discriminator`](https://github.com/ExodusMovement/schemasafe/blob/master/doc/Discriminator-support.md).
484467
Default behavior is hardened with additional schema coherence validation.'
485468
lastUpdated: '2023-08-29'
486-
bowtie:
487-
identifier: 'js-schemasafe'
488469

489470
- name: ajv
490471
description: 'The fastest JSON schema Validator.'
@@ -505,8 +486,6 @@
505486
docs: https://ajv.js.org/strict-mode.html
506487
instructions: 'set option `strict: false`'
507488
lastUpdated: '2022-08-31'
508-
bowtie:
509-
identifier: 'js-ajv'
510489

511490
- name: '@cfworker/json-schema'
512491
description: 'A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.'
@@ -523,8 +502,6 @@
523502
draft: ['7', '4', '2019-09', '2020-12']
524503
toolingListingNotes: 'Built for Cloudflare workers, browsers, and Node.js'
525504
lastUpdated: '2023-02-28'
526-
bowtie:
527-
identifier: 'js-json-schema'
528505

529506
- name: JSON Schema Library
530507
description: 'Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation'
@@ -635,8 +612,6 @@
635612
Kotlin Muliplatform implementation of JSON schema to validate the JsonElement from kotlinx.serialization-json.
636613
The library is 'work in progress' and new features/drafts will be added in the future.
637614
lastUpdated: '2023-08-01'
638-
bowtie:
639-
identifier: 'kotlin-kmp-json-schema-validator'
640615

641616
- name: JSON::Schema::Modern
642617
description: 'Validate data against a schema using a JSON Schema'
@@ -715,8 +690,6 @@
715690
docs: https://opis.io/json-schema/2.x/php-loader.html#parser-options
716691
instructions: 'set several options to their "vanilla" values'
717692
lastUpdated: '2022-08-31'
718-
bowtie:
719-
identifier: 'php-opis-json-schema'
720693

721694
- name: Swaggest Json Schema
722695
description: 'High definition PHP structures with JSON-schema based validation'
@@ -746,8 +719,6 @@
746719
supportedDialects:
747720
draft: ['2019-09', '2020-12']
748721
lastUpdated: '2022-08-31'
749-
bowtie:
750-
identifier: 'python-jschon'
751722

752723
- name: jsonschema
753724
description: 'An implementation of the JSON Schema specification for Python'
@@ -763,8 +734,6 @@
763734
supportedDialects:
764735
draft: ['3', '4', '6', '7', '2019-09', '2020-12']
765736
lastUpdated: '2022-11-09'
766-
bowtie:
767-
identifier: 'python-jsonschema'
768737

769738
- name: fastjsonschema
770739
description: 'Fast JSON schema validator for Python'
@@ -781,8 +750,6 @@
781750
draft: ['4', '6', '7']
782751
toolingListingNotes: 'Great performance thanks to code generation.'
783752
lastUpdated: '2022-08-31'
784-
bowtie:
785-
identifier: 'python-fastjsonschema'
786753

787754
- name: jsonschema-rs (Python)
788755
description: 'JSON Schema validation library'
@@ -815,8 +782,6 @@
815782
draft: ['4', '6', '7', '2019-09', '2020-12']
816783
toolingListingNotes: 'Fast due to compiling schema into a validation tree; 2019-09 and 2020-12 are partially supported'
817784
lastUpdated: '2022-08-31'
818-
bowtie:
819-
identifier: 'rust-jsonschema'
820785

821786
- name: JSONSchemer
822787
description: 'JSON Schema validator. Supports drafts 4, 6, 7, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1.'
@@ -831,8 +796,6 @@
831796
supportedDialects:
832797
draft: ['4', '6', '7', '2019-09', '2020-12']
833798
lastUpdated: '2023-08-20'
834-
bowtie:
835-
identifier: 'ruby-json_schemer'
836799

837800
- name: JSI
838801
description: 'JSI: JSON Schema Instantiation in Ruby'
@@ -862,8 +825,6 @@
862825
supportedDialects:
863826
draft: ['4', '6', '7', '2019-09', '2020-12']
864827
lastUpdated: '2023-02-22'
865-
bowtie:
866-
identifier: 'rust-boon'
867828

868829
- name: Reactive Core Circe JSON Validator
869830
description: 'This is a Scala implementation of a JSON Schema validator based upon the great io.circe Library.'
@@ -879,8 +840,6 @@
879840
draft: ['2019-09', '2020-12']
880841
toolingListingNotes: 'Based on Circe-Library -Early state and API may not be stable. Not yet produciton ready.'
881842
lastUpdated: '2022-08-31'
882-
bowtie:
883-
identifier: 'scala-rc-circe-json-validator'
884843

885844
- name: DSJSONSchemaValidation
886845
description: 'JSON Schema draft 4, 6 and 7 parsing and validation library written in Objective-C.'
@@ -946,8 +905,6 @@
946905
landscape:
947906
logo: 'json-everything.svg'
948907
lastUpdated: '2022-08-31'
949-
bowtie:
950-
identifier: 'dotnet-jsonschema-net'
951908

952909
- name: jschon.dev
953910
description: 'JSON Schema web validator built on jschon.'
@@ -1510,8 +1467,6 @@
15101467
supportedDialects:
15111468
draft: ['4', '6', '7', '2019-09', '2020-12']
15121469
lastUpdated: '2024-10-15'
1513-
bowtie:
1514-
identifier: 'cpp-blaze'
15151470

15161471
- name: cypress-ajv-schema-validator
15171472
description: 'Cypress plugin that validates API responses against Plain JSON schemas, and whole Swagger and OpenAPI documents using the Ajv JSON Schema validator. It provides a user-friendly view of validated data, highlighting each validation error and the exact reason for the mismatch. Seamless integration, fast and lightweight.'
@@ -2438,7 +2393,7 @@
24382393
platform: 'github'
24392394
- name: 'Jordi Boggiano'
24402395
username: 'Seldaek'
2441-
platform: 'github'
2396+
platform: 'github'
24422397
- name: 'Danny van der Sluijs'
24432398
username: 'DannyvdSluijs'
24442399
platform: 'github'
@@ -2449,6 +2404,6 @@
24492404
draft: ['3', '4']
24502405
landscape:
24512406
logo: 'justinrainbow-json-schema.png'
2452-
bowtie:
2453-
identifier: 'php-justinrainbow-json-schema'
24542407
lastUpdated: '2024-10-01'
2408+
2409+

pages/tools/JSONSchemaTool.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ export interface JSONSchemaTool {
2121
source: string;
2222
}[];
2323
};
24-
bowtie?: {
25-
identifier: string;
26-
};
24+
bowtie?: BowtieData;
2725
toolingListingNotes?: string;
2826
compliance?: {
2927
config?: {
@@ -45,7 +43,7 @@ export interface Person {
4543
platform?: 'github' | 'gitlab' | 'bitbucket' | string;
4644
}
4745

48-
export interface BowtieEntry {
46+
export interface BowtieData {
4947
id: string;
5048
dialects: Array<string>;
5149
badges_urls: {
@@ -57,5 +55,5 @@ export interface BowtieEntry {
5755
}
5856

5957
export interface BowtieReport {
60-
[source: string]: BowtieEntry;
58+
[source: string]: BowtieData;
6159
}

0 commit comments

Comments
 (0)