nl_tokens: @module @lobsangnet / lobsang - formatter - matrix / validate Derives a validator from a schema .
pl_tokens: function validate ( schema ) { const ajv = new Ajv ( ) <mask> { const validator = ajv . compile ( schema ) return Promise . resolve ( validator ) } catch ( error ) { return Promise . reject ( error ) } }