4 cache: require('./cache.json'),
5 cacheEntry: require('./cacheEntry.json'),
6 content: require('./content.json'),
7 cookie: require('./cookie.json'),
8 creator: require('./creator.json'),
9 entry: require('./entry.json'),
10 har: require('./har.json'),
11 log: require('./log.json'),
12 page: require('./page.json'),
13 pageTimings: require('./pageTimings.json'),
14 postData: require('./postData.json'),
15 record: require('./record.json'),
16 request: require('./request.json'),
17 response: require('./response.json'),
18 timings: require('./timings.json')
21 // is-my-json-valid does not provide meaningful error messages for external schemas
22 // this is a workaround
23 schemas.cache.properties.beforeRequest = schemas.cacheEntry
24 schemas.cache.properties.afterRequest = schemas.cacheEntry
26 schemas.page.properties.pageTimings = schemas.pageTimings
28 schemas.request.properties.cookies.items = schemas.cookie
29 schemas.request.properties.headers.items = schemas.record
30 schemas.request.properties.queryString.items = schemas.record
31 schemas.request.properties.postData = schemas.postData
33 schemas.response.properties.cookies.items = schemas.cookie
34 schemas.response.properties.headers.items = schemas.record
35 schemas.response.properties.content = schemas.content
37 schemas.entry.properties.request = schemas.request
38 schemas.entry.properties.response = schemas.response
39 schemas.entry.properties.cache = schemas.cache
40 schemas.entry.properties.timings = schemas.timings
42 schemas.log.properties.creator = schemas.creator
43 schemas.log.properties.browser = schemas.creator
44 schemas.log.properties.pages.items = schemas.page
45 schemas.log.properties.entries.items = schemas.entry
47 schemas.har.properties.log = schemas.log
49 module.exports = schemas