An open API service indexing awesome lists of open source software.

https://github.com/hydro-dev/schemastery-jsonschema

convert schemastery to json-schema
https://github.com/hydro-dev/schemastery-jsonschema

Last synced: 5 months ago
JSON representation

convert schemastery to json-schema

Awesome Lists containing this project

README

          

# Schemastery-JSONSchema

This library converts schemastery definition to JSONSchema.

usage:

```ts
import convert from 'schemastery-jsonschema';
import Schema from 'schemastery';

const schema = Schema.object({
foo: Schema.string(),
});
console.log(convert(schema));
```