UNPKG

@bidvol/openrtb-schema-validator

Version:
16 lines (13 loc) 242 B
'use strict' class Schema { constructor (root) { this.__root = root } clone () { return new Schema(JSON.parse(JSON.stringify(this.root))) } get root () { return this.__root } } module.exports = Schema