react / wstein / node_modules / jest-cli / node_modules / jsdom / node_modules / request / node_modules / har-validator / src / schemas / index.js
81151 views'use strict'12var schemas = {3cache: require('./cache.json'),4cacheEntry: require('./cacheEntry.json'),5content: require('./content.json'),6cookie: require('./cookie.json'),7creator: require('./creator.json'),8entry: require('./entry.json'),9har: require('./har.json'),10log: require('./log.json'),11page: require('./page.json'),12pageTimings: require('./pageTimings.json'),13postData: require('./postData.json'),14record: require('./record.json'),15request: require('./request.json'),16response: require('./response.json'),17timings: require('./timings.json')18}1920// is-my-json-valid does not provide meaningful error messages for external schemas21// this is a workaround22schemas.cache.properties.beforeRequest = schemas.cacheEntry23schemas.cache.properties.afterRequest = schemas.cacheEntry2425schemas.page.properties.pageTimings = schemas.pageTimings2627schemas.request.properties.cookies.items = schemas.cookie28schemas.request.properties.headers.items = schemas.record29schemas.request.properties.queryString.items = schemas.record30schemas.request.properties.postData = schemas.postData3132schemas.response.properties.cookies.items = schemas.cookie33schemas.response.properties.headers.items = schemas.record34schemas.response.properties.content = schemas.content3536schemas.entry.properties.request = schemas.request37schemas.entry.properties.response = schemas.response38schemas.entry.properties.cache = schemas.cache39schemas.entry.properties.timings = schemas.timings4041schemas.log.properties.creator = schemas.creator42schemas.log.properties.browser = schemas.creator43schemas.log.properties.pages.items = schemas.page44schemas.log.properties.entries.items = schemas.entry4546schemas.har.properties.log = schemas.log4748module.exports = schemas495051