json-editor
raml-spec
json-editor | raml-spec | |
---|---|---|
8 | 2 | |
4,236 | 3,862 | |
1.3% | - | |
9.3 | 10.0 | |
6 days ago | about 2 years ago | |
JavaScript | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-editor
- JSON-editor: generate forms and edit JSON documents using JSON schema
-
What are the real cons of using jenkins?
Combined with the fact that the parameter UI is highly dynamic through plugins(like how the extended choice parameters plugin supports defining complex input forms using json-editor means you can use Jenkins as an interface to run any kind of job that requires almost any type of input.
-
Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
I use JSON schema to generate JSON-editing forms via json-editor: https://github.com/json-editor/json-editor
Then I can use the same schema in the backend to validate the data, both sent in via the form and directly with the application/json content-type. It's a pretty smooth flow, and reduces a lot of redundancy.
-
[TASK] 50$ - App to fill JSON
I have found stuff similar to this, for example json-editor.
-
Repeating form builder
JSON Editor takes a JSON Schema and uses it to generate an HTML form.
-
FormKit — Vue 3 Forms, Supercharged
Some project followed that way like json-editor
-
Suggestions on web interface for inserting values into a YAML document
json-editor is a really easy way to build complex forms. The resulting schema is returned as json which you can just convert to yaml. I use this in Jenkins for complex parameters.
-
Looking for UI for building yaml by schema
https://github.com/json-editor/json-editor was used in the backbone.js version of swagger-ui to generate input forms from json-schema.
raml-spec
-
Sharing data types on a multi-language project
Taking this concept further one could model in RAML [0] to define both the types (flat or nested) and api definitions. It's based on YAML 1.2 with enough maturity to provide capabilities such as union types, extensions, includes, user-defined facets, etc.
The AMF project [1] can be used to parse and transform to/from RAML, OpenAPI, GraphQL, and json schema. Code generation to languages of choice can be bolted on from there.
I'm using this approach to define canonical data models. Subsequent code generation scaffolds internal application integration apis, master data management (MDM) entities, and SQL/OLAP artifacts for ETL / BI purposes.
This approach keeps overall end-to-end data architecture consistent, in sync, and versioned under source control. Additionally, flat types as required by relational systems are re-used and composed into nested complex types more appropriate for apis. Metadata is layered on as needed to refine the models for system-specific needs, for example to add user-facing field groups, descriptions, and formats for BI datasets, sensitivity levels and other data security controls, business rule definitions for MDM, etc.
[0] https://github.com/raml-org/raml-spec/blob/master/versions/r...
-
Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees
> Do you use JSON Schema?
At one point I did, but then discovered RAML[0] and it subsumed the value of what JSON Schema provides as well as being easier to work with than OpenAPI[1]. Also, generating JSON Schema from RAML definitions has proven to be a fairly straightforward process.
The usual caveats apply... Your mileage may vary, my experiences do not speak for any others, my opinion does not detract from the value of JSON Schema, etc.
0 - https://github.com/raml-org/raml-spec/blob/master/versions/r...
1 - https://swagger.io/specification/
What are some alternatives?
formkit - Vue Forms ⚡️ Supercharged
alterschema - Convert between JSON Schema specification versions.
adif-json-protobuf - Protocol buffer and JSON schema based on the amateur radio data interchange format (ADIF)
schema-dts - JSON-LD TypeScript types for Schema.org vocabulary
Atom - :atom: The hackable text editor
laminar - OpenApi backed REST APIs. Automatic validation of request / response based on the api schema.
json-schema - JSON Schema Validation, Annotation, and Bundling. Supports Draft 04, 06, 07, 2019-09, 2020-12, OpenAPI 3.0, and OpenAPI 3.1
alt-schema - Flat JSON Schema specification and basic utility methods
OpenMetadata - Open Standard for Metadata. A Single place to Discover, Collaborate and Get your data right.
library-recommendations - Evaluating Open Source libraries for particular purposes