summaryrefslogtreecommitdiff
path: root/node_modules/har-schema/lib/response.json
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/har-schema/lib/response.json')
-rw-r--r--node_modules/har-schema/lib/response.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/node_modules/har-schema/lib/response.json b/node_modules/har-schema/lib/response.json
new file mode 100644
index 0000000..ec30f80
--- /dev/null
+++ b/node_modules/har-schema/lib/response.json
@@ -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"
+ }
+ }
+}