inputEx Documentation Back to homepage

inputEx Documentation > inputEx.JsonSchema 0.2.2

Static Class inputEx.JsonSchema

inputEx Namespace containing utility functions for conversion between inputEx JSON format and JSON Schema based on "Json Schema Proposal Working Draft": http://groups.google.com/group/json-schema/web/json-schema-proposal-working-draft The proposal is still under discussion and the implementation is very minimalist. TODO: - we should provide a lot of json schema examples and instances that should/should not validate - use the $ref (async calls => provide callbacks to methods) - Inheritance Limitations: - ??? Please do not trust inputEx: the getValue may return a value which do NOT validate the schema (provide an example ?) - no tuple typing for arrays - no "Union type definition"

Methods

inputExToSchema

static inputExToSchema(inputExJson)
Convert the inputEx JSON fields to a JSON schema
Parameters:
    inputExJson




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.