inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.JsonSchema.Builder 0.2.2

## Static Class inputEx.JsonSchema.Builder

inputEx.JsonSchema

### Properties

#### defaultOptions `- Object`

options to be applied to inputParams unless already specified

#### referenceResolver `- Object`

#### schemaIdentifierMap `- Object`

key is reference, value is schema

#### schemaToParamMap `- Object`

specify how other schema properties are mapped to inputParam properties

### Methods

#### defaultReferenceResolver

`defaultReferenceResolver(reference)`
return a schema based on the reference value default is to look up in map
Parameters:

`reference`

#### formFromInstance

`formFromInstance(instanceObject)`
Create an inputEx Json form definition from a json schema instance object Respect the "Self-Defined Schema Convention"
Parameters:

`instanceObject`

#### schemaToInputEx

`schemaToInputEx(p,propertyName)`
Convert a JSON schema to inputEx JSON
Parameters:

`p <JSONSchema>`

`propertyName`

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:31 GMT using neyricjslibs-template.