amd/tv4-via-typenames.js
function tv4_validateSchema(schema) {
        var is_draft_schema = (schema.id === exports.DRAFT_SCHEMA_ID);
        var draft_schema = (is_draft_schema) ? schema : tv4.getSchema(exports.DRAFT_SCHEMA_ID);
        var report = tv4.validateMultiple(schema, draft_schema);
        return report;
    }
function tv4_validateSchema(schema) {
        var is_draft_schema = (schema.id === exports.DRAFT_SCHEMA_ID);
        var draft_schema = (is_draft_schema) ? schema : tv4.getSchema(exports.DRAFT_SCHEMA_ID);
        var report = tv4.validateMultiple(schema, draft_schema);
        return report;
    }
function tv4_validateSchema ( schema ) { var is_draft_schema = ( schema . id === exports . DRAFT_SCHEMA_ID ) ; var draft_schema = ( is_draft_schema ) ? schema : tv4 . getSchema ( exports . DRAFT_SCHEMA_ID ) ; var report = tv4 . validateMultiple ( schema , draft_schema ) ; return report ; }
Validate the given schema.
Validate the given schema .