Blame view

node_modules/har-schema/lib/entry.json 974 Bytes
f7563de62   Palak Handa   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  {
    "id": "entry.json#",
    "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"
      }
    }
  }