nl_tokens: - list of sub schemas : deform - sublist - single subschema object : deform - subschema
pl_tokens: function mapDirective ( path , pathSchema , modelSchema , itemIndex ) { if ( itemIndex !== undefined ) return null ; // we're in a array if ( pathSchema && pathSchema . options && Array . isArray ( pathSchema . <mask> . type ) ) { if ( pathSchema . schema ) return "deform-sublist" if ( pathSchema . caster && ( ! pathSchema . caster . options || ! pathSchema . caster . options . ref ) ) { // !pathSchema.options.ref filters out CustomRef, ugly! /** array of simple types */ //console.log("Simple array type!!!",pathSchema, pathSchema.options.ref, pathSchema.options.type); return "ang-array" } } else if ( pathSchema . schema ) return "deform-subschema" return null ; }