ci.json 754 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "type": "object",
  4. "properties": {
  5. "timestamp": {
  6. "description": "the number of seconds since the Unix epoch",
  7. "type": "string",
  8. "minLength": 10,
  9. "maxLength": 10,
  10. "pattern": "[0-9]{10,10}"
  11. },
  12. "agent": {
  13. "description": "a free-form string that identifies the build and test runner",
  14. "type": "string"
  15. },
  16. "status": {
  17. "description": "the final status of a build or test",
  18. "type": "string",
  19. "enum": [
  20. "success",
  21. "failure"
  22. ]
  23. },
  24. "url": {
  25. "type": "string"
  26. },
  27. "v": {
  28. "type": "integer",
  29. "enum": [0]
  30. }
  31. },
  32. "required": [
  33. "timestamp",
  34. "agent"
  35. ]
  36. }