You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

milestone.json 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "title": "Milestone",
  3. "description": "Milestone associated to a repository within a forge.",
  4. "type": "array",
  5. "items": {
  6. "type": "object",
  7. "additionalProperties": false,
  8. "properties": {
  9. "title": {
  10. "description": "Short description.",
  11. "type": "string"
  12. },
  13. "description": {
  14. "description": "Long, multiline, description.",
  15. "type": "string"
  16. },
  17. "deadline": {
  18. "description": "Deadline after which the milestone is overdue.",
  19. "type": "string",
  20. "format": "date-time"
  21. },
  22. "created": {
  23. "description": "Creation time.",
  24. "type": "string",
  25. "format": "date-time"
  26. },
  27. "updated": {
  28. "description": "Last update time.",
  29. "type": "string",
  30. "format": "date-time"
  31. },
  32. "closed": {
  33. "description": "The last time 'state' changed to 'closed'.",
  34. "anyOf": [
  35. {
  36. "type": "string",
  37. "format": "date-time"
  38. },
  39. {
  40. "type": "null"
  41. }
  42. ]
  43. },
  44. "state": {
  45. "description": "A 'closed' issue will not see any activity in the future, otherwise it is 'open'.",
  46. "enum": [
  47. "closed",
  48. "open"
  49. ]
  50. }
  51. },
  52. "required": [
  53. "title",
  54. "description",
  55. "deadline",
  56. "created",
  57. "updated",
  58. "closed",
  59. "state"
  60. ]
  61. },
  62. "$schema": "http://json-schema.org/draft-04/schema#",
  63. "$id": "http://example.com/milestone.json",
  64. "$$target": "milestone.json"
  65. }