entry.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "$id": "entry.json#",
  3. "$schema": "http://json-schema.org/draft-06/schema#",
  4. "type": "object",
  5. "optional": true,
  6. "required": [
  7. "startedDateTime",
  8. "time",
  9. "request",
  10. "response",
  11. "cache",
  12. "timings"
  13. ],
  14. "properties": {
  15. "pageref": {
  16. "type": "string"
  17. },
  18. "startedDateTime": {
  19. "type": "string",
  20. "format": "date-time",
  21. "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
  22. },
  23. "time": {
  24. "type": "number",
  25. "min": 0
  26. },
  27. "request": {
  28. "$ref": "request.json#"
  29. },
  30. "response": {
  31. "$ref": "response.json#"
  32. },
  33. "cache": {
  34. "$ref": "cache.json#"
  35. },
  36. "timings": {
  37. "$ref": "timings.json#"
  38. },
  39. "serverIPAddress": {
  40. "type": "string",
  41. "oneOf": [
  42. { "format": "ipv4" },
  43. { "format": "ipv6" }
  44. ]
  45. },
  46. "connection": {
  47. "type": "string"
  48. },
  49. "comment": {
  50. "type": "string"
  51. }
  52. }
  53. }