docs: function tv4_validate(typename, query) {
          var id = getSchemaIDFromTypename(typename);
          var schema = tv4.getSchema(id);
          if (schema == null) {
              var error = { code: 0, message: 'Schema not found', dataPath: '', schemaPath: id };
              return { valid: false, missing: [], errors: [error] };
          }
          var report = tv4.validateMultiple(query, schema);
          return report;
      }