| Copyright | (c) Gareth Tan 2017 | 
|---|---|
| License | MIT | 
| Safe Haskell | Safe | 
| Language | Haskell2010 | 
JSONSchema.Draft4.SchemaGenerationConfig
Description
A single JSON document can be interpreted multiple ways and with differing degrees of strictness when it is converted into a JSON Schema. These options allow the way in which a JSON document is converted into a schema to be customized.
Documentation
data SchemaGenerationConfig Source #
Allows options to be specified for turning an individual JSON document into a JSON schema.
Constructors
| SchemaGenerationConfig | |
| Fields 
 | |
defaultSchemaGenerationConfig :: SchemaGenerationConfig Source #
A configuration that can be used as a sane set of defaults when
   converting a JSON Schema into an object. It is used by default
   in jsonToSchema and
   jsonsToSchema.