bug-schema.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "bug",
  3. "type": "object",
  4. "properties": {
  5. "bug-creation-date": {
  6. "required": true,
  7. "type": "string",
  8. "description": "The ISO 8601 date at which the bug was created."
  9. },
  10. "bug-comments": {
  11. "items": {
  12. "type": "object"
  13. },
  14. "type": "array",
  15. "description": "Comments on the bug. Each item should fit the comment schema."
  16. },
  17. "bug-id": {
  18. "required": true,
  19. "type": "string",
  20. "description": "Unique identifier for this bug. Should be a whirlpool hash of the title concat the time at which it was created."
  21. },
  22. "bug-description": {
  23. "required": false,
  24. "type": "string",
  25. "description": "An optional description of the bug."
  26. },
  27. "bug-open": {
  28. "required": true,
  29. "type": "boolean",
  30. "description": "Whether or not the bug is open"
  31. },
  32. "bug-reporter": {
  33. "required": false,
  34. "type": "object",
  35. "description": "The person who reported the bug. Object should fit the person schema."
  36. },
  37. "bug-title": {
  38. "required": true,
  39. "type": "string",
  40. "description": "The title of the bug."
  41. }
  42. }
  43. }