json-schema-tools
                                
                                
                                
                                    json-schema-tools copied to clipboard
                            
                            
                            
                        Packages for working with JSON Schema and JSON Hyper-Schema
The new `@cloudflare/doca` probably doesn't work any better on Windows than the old. * `require` paths in schema.js use forward slashes * when generating form data file upload curl examples,...
Fixed directory path in example usage command block.
Currently the `**/*.json` glob for finding schemas is not changeable. (hard coded). My schema project has the following layout ``` /schemas/ /foo/something-special.schema.json /foo/something-speacial-sample-data-1.json /foo'something-speacial-sample-data-1.json ``` I need to be able...
A simple JSON schema: ```JS { "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "node": { "title": "a node", "type": "object", "properties": { "children": { "type": "array", "items": { "$ref": "#/definitions/node" } } }...
I am trying to run the doca examples using the following commands: ``` lerna -v node -v git clone https://github.com/cloudflare/json-schema-tools.git cd json-schema-tools lerna bootstrap cd workspaces/doca/example-schemas/draft-04 doca init cd documentation...
As filed by @Relequestual as cloudflare/doca#40 > When creating a theme with multiple css files in the styles folder, not all of them are always pick up and included. >...
As filed by @TexKiller as cloudflare/doca#77 > If the project_folder is specified outside of the current directory, such as with `doca init -i ../schemas -o ../documentation`, the json schemas paths...
As filed by @shengu as cloudflare/doca#78 > Better to allow user to set `title` via `doca init` so that the the value is set to config.js.
`@cloudflare/json-schema-transform` currently only understands singular `example` (a Doca-specific keyword), but in draft-06 `examples` was adopted into the standard. Rolling up arrays of examples is more complicated, but some sort of...