Beta 7 with some repo names changed.
This commit is contained in:
1 parent
0f7b40cca7
commit
963c19493a
3408 files changed
+462217
-15516
No files matched your search
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$id": "afterRequest.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"optional": true,
|
||||
"required": [
|
||||
"lastAccess",
|
||||
"eTag",
|
||||
"hitCount"
|
||||
],
|
||||
"properties": {
|
||||
"expires": {
|
||||
"type": "string",
|
||||
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
|
||||
},
|
||||
"lastAccess": {
|
||||
"type": "string",
|
||||
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
|
||||
},
|
||||
"eTag": {
|
||||
"type": "string"
|
||||
},
|
||||
"hitCount": {
|
||||
"type": "integer"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$id": "beforeRequest.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"optional": true,
|
||||
"required": [
|
||||
"lastAccess",
|
||||
"eTag",
|
||||
"hitCount"
|
||||
],
|
||||
"properties": {
|
||||
"expires": {
|
||||
"type": "string",
|
||||
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
|
||||
},
|
||||
"lastAccess": {
|
||||
"type": "string",
|
||||
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"
|
||||
},
|
||||
"eTag": {
|
||||
"type": "string"
|
||||
},
|
||||
"hitCount": {
|
||||
"type": "integer"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$id": "browser.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"version"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$id": "cache.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"properties": {
|
||||
"beforeRequest": {
|
||||
"oneOf": [
|
||||
{ "type": "null" },
|
||||
{ "$ref": "beforeRequest.json#" }
|
||||
]
|
||||
},
|
||||
"afterRequest": {
|
||||
"oneOf": [
|
||||
{ "type": "null" },
|
||||
{ "$ref": "afterRequest.json#" }
|
||||
]
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$id": "content.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"size",
|
||||
"mimeType"
|
||||
],
|
||||
"properties": {
|
||||
"size": {
|
||||
"type": "integer"
|
||||
},
|
||||
"compression": {
|
||||
"type": "integer"
|
||||
},
|
||||
"mimeType": {
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"encoding": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$id": "cookie.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"domain": {
|
||||
"type": "string"
|
||||
},
|
||||
"expires": {
|
||||
"type": ["string", "null"],
|
||||
"format": "date-time"
|
||||
},
|
||||
"httpOnly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"secure": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$id": "creator.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"version"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"$id": "entry.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"optional": true,
|
||||
"required": [
|
||||
"startedDateTime",
|
||||
"time",
|
||||
"request",
|
||||
"response",
|
||||
"cache",
|
||||
"timings"
|
||||
],
|
||||
"properties": {
|
||||
"pageref": {
|
||||
"type": "string"
|
||||
},
|
||||
"startedDateTime": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
|
||||
},
|
||||
"time": {
|
||||
"type": "number",
|
||||
"min": 0
|
||||
},
|
||||
"request": {
|
||||
"$ref": "request.json#"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "response.json#"
|
||||
},
|
||||
"cache": {
|
||||
"$ref": "cache.json#"
|
||||
},
|
||||
"timings": {
|
||||
"$ref": "timings.json#"
|
||||
},
|
||||
"serverIPAddress": {
|
||||
"type": "string",
|
||||
"oneOf": [
|
||||
{ "format": "ipv4" },
|
||||
{ "format": "ipv6" }
|
||||
]
|
||||
},
|
||||
"connection": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$id": "har.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"log"
|
||||
],
|
||||
"properties": {
|
||||
"log": {
|
||||
"$ref": "log.json#"
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$id": "header.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = {
|
||||
afterRequest: require('./afterRequest.json'),
|
||||
beforeRequest: require('./beforeRequest.json'),
|
||||
browser: require('./browser.json'),
|
||||
cache: require('./cache.json'),
|
||||
content: require('./content.json'),
|
||||
cookie: require('./cookie.json'),
|
||||
creator: require('./creator.json'),
|
||||
entry: require('./entry.json'),
|
||||
har: require('./har.json'),
|
||||
header: require('./header.json'),
|
||||
log: require('./log.json'),
|
||||
page: require('./page.json'),
|
||||
pageTimings: require('./pageTimings.json'),
|
||||
postData: require('./postData.json'),
|
||||
query: require('./query.json'),
|
||||
request: require('./request.json'),
|
||||
response: require('./response.json'),
|
||||
timings: require('./timings.json')
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$id": "log.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"version",
|
||||
"creator",
|
||||
"entries"
|
||||
],
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "string"
|
||||
},
|
||||
"creator": {
|
||||
"$ref": "creator.json#"
|
||||
},
|
||||
"browser": {
|
||||
"$ref": "browser.json#"
|
||||
},
|
||||
"pages": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "page.json#"
|
||||
}
|
||||
},
|
||||
"entries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "entry.json#"
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$id": "page.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"optional": true,
|
||||
"required": [
|
||||
"startedDateTime",
|
||||
"id",
|
||||
"title",
|
||||
"pageTimings"
|
||||
],
|
||||
"properties": {
|
||||
"startedDateTime": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"unique": true
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"pageTimings": {
|
||||
"$ref": "pageTimings.json#"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$id": "pageTimings.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"onContentLoad": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"onLoad": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"$id": "postData.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"optional": true,
|
||||
"required": [
|
||||
"mimeType"
|
||||
],
|
||||
"properties": {
|
||||
"mimeType": {
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"type": "array",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"fileName": {
|
||||
"type": "string"
|
||||
},
|
||||
"contentType": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$id": "query.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"value"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"$id": "request.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"method",
|
||||
"url",
|
||||
"httpVersion",
|
||||
"cookies",
|
||||
"headers",
|
||||
"queryString",
|
||||
"headersSize",
|
||||
"bodySize"
|
||||
],
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"httpVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"cookies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "cookie.json#"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "header.json#"
|
||||
}
|
||||
},
|
||||
"queryString": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "query.json#"
|
||||
}
|
||||
},
|
||||
"postData": {
|
||||
"$ref": "postData.json#"
|
||||
},
|
||||
"headersSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"bodySize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$id": "response.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"status",
|
||||
"statusText",
|
||||
"httpVersion",
|
||||
"cookies",
|
||||
"headers",
|
||||
"content",
|
||||
"redirectURL",
|
||||
"headersSize",
|
||||
"bodySize"
|
||||
],
|
||||
"properties": {
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"statusText": {
|
||||
"type": "string"
|
||||
},
|
||||
"httpVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"cookies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "cookie.json#"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "header.json#"
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"$ref": "content.json#"
|
||||
},
|
||||
"redirectURL": {
|
||||
"type": "string"
|
||||
},
|
||||
"headersSize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"bodySize": {
|
||||
"type": "integer"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$id": "timings.json#",
|
||||
"$schema": "http://json-schema.org/draft-06/schema#",
|
||||
"required": [
|
||||
"send",
|
||||
"wait",
|
||||
"receive"
|
||||
],
|
||||
"properties": {
|
||||
"dns": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"connect": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"blocked": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"send": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"wait": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"receive": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"ssl": {
|
||||
"type": "number",
|
||||
"min": -1
|
||||
},
|
||||
"comment": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"name": "har-schema",
|
||||
"description": "JSON Schema for HTTP Archive (HAR)",
|
||||
"author": "Ahmad Nassri <ahmad@ahmadnassri.com> (https://www.ahmadnassri.com/)",
|
||||
"contributors": [
|
||||
"Evgeny Poberezkin <e.poberezkin@me.com>"
|
||||
],
|
||||
"homepage": "https://github.com/ahmadnassri/har-schema",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ahmadnassri/har-schema.git"
|
||||
},
|
||||
"license": "ISC",
|
||||
"main": "lib/index.js",
|
||||
"keywords": [
|
||||
"har",
|
||||
"http",
|
||||
"archive",
|
||||
"JSON",
|
||||
"schema",
|
||||
"JSON-schema"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/ahmadnassri/har-schema/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tap test --reporter spec",
|
||||
"pretest": "snazzy && echint",
|
||||
"coverage": "tap test --reporter silent --coverage",
|
||||
"codeclimate": "tap --coverage-report=text-lcov | codeclimate-test-reporter",
|
||||
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"ajv": "^5.0.0",
|
||||
"codeclimate-test-reporter": "^0.4.0",
|
||||
"cz-conventional-changelog": "^1.2.0",
|
||||
"echint": "^2.1.0",
|
||||
"semantic-release": "^6.3.2",
|
||||
"snazzy": "^5.0.0",
|
||||
"tap": "^8.0.1"
|
||||
}
|
||||
|
||||
,"_resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz"
|
||||
,"_integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
|
||||
,"_from": "har-schema@^2.0.0"
|
||||
}
|
||||
Reference in new issue
Block a user