organization-release.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "OrganizationRelease": {
  3. "type": "object",
  4. "required": [
  5. "authors",
  6. "commitCount",
  7. "data",
  8. "dateCreated",
  9. "dateReleased",
  10. "deployCount",
  11. "firstEvent",
  12. "lastCommit",
  13. "lastDeploy",
  14. "lastEvent",
  15. "newGroups",
  16. "owner",
  17. "projects",
  18. "ref",
  19. "shortVersion",
  20. "version",
  21. "url"
  22. ],
  23. "properties": {
  24. "id": {
  25. "type": "integer"
  26. },
  27. "authors": {
  28. "type": "array",
  29. "items": {
  30. "type": "object"
  31. }
  32. },
  33. "commitCount": {
  34. "type": "integer",
  35. "format": "int64"
  36. },
  37. "data": {
  38. "type": "object"
  39. },
  40. "dateCreated": {
  41. "type": "string",
  42. "format": "date-time"
  43. },
  44. "dateReleased": {
  45. "type": "string",
  46. "format": "date-time",
  47. "nullable": true
  48. },
  49. "deployCount": {
  50. "type": "integer",
  51. "format": "int64"
  52. },
  53. "firstEvent": {
  54. "type": "string",
  55. "format": "date-time",
  56. "nullable": true
  57. },
  58. "lastCommit": {
  59. "type": "object",
  60. "nullable": true
  61. },
  62. "lastDeploy": {
  63. "type": "object",
  64. "nullable": true,
  65. "oneOf": [
  66. {
  67. "$ref": "deploy.json#/Deploy"
  68. },
  69. {
  70. "$ref": "../null.json#/NullValue"
  71. }
  72. ]
  73. },
  74. "lastEvent": {
  75. "type": "string",
  76. "format": "date-time",
  77. "nullable": true
  78. },
  79. "newGroups": {
  80. "type": "integer",
  81. "format": "int64"
  82. },
  83. "owner": {
  84. "type": "object",
  85. "nullable": true
  86. },
  87. "projects": {
  88. "type": "array",
  89. "items": {
  90. "type": "object",
  91. "properties": {
  92. "name": {
  93. "type": "string"
  94. },
  95. "slug": {
  96. "type": "string"
  97. }
  98. }
  99. }
  100. },
  101. "ref": {
  102. "type": "string",
  103. "nullable": true
  104. },
  105. "shortVersion": {
  106. "type": "string"
  107. },
  108. "version": {
  109. "type": "string"
  110. },
  111. "url": {
  112. "type": "string",
  113. "nullable": true
  114. }
  115. }
  116. }
  117. }