summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/har-validator/lib/schemas/entry.json
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/har-validator/lib/schemas/entry.json')
-rw-r--r--deps/npm/node_modules/har-validator/lib/schemas/entry.json51
1 files changed, 51 insertions, 0 deletions
diff --git a/deps/npm/node_modules/har-validator/lib/schemas/entry.json b/deps/npm/node_modules/har-validator/lib/schemas/entry.json
new file mode 100644
index 0000000000..8a9c022bda
--- /dev/null
+++ b/deps/npm/node_modules/har-validator/lib/schemas/entry.json
@@ -0,0 +1,51 @@
+{
+ "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"
+ },
+ "response": {
+ "$ref": "#response"
+ },
+ "cache": {
+ "$ref": "#cache"
+ },
+ "timings": {
+ "$ref": "#timings"
+ },
+ "serverIPAddress": {
+ "type": "string",
+ "oneOf": [
+ { "format": "ipv4" },
+ { "format": "ipv6" }
+ ]
+ },
+ "connection": {
+ "type": "string"
+ },
+ "comment": {
+ "type": "string"
+ }
+ }
+}