group.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "definitions": {
  3. "active": {
  4. "type": "boolean"
  5. },
  6. "displayName": {
  7. "type": "string"
  8. },
  9. "schemas": {
  10. "type": "array",
  11. "items": {
  12. "type": "string"
  13. }
  14. },
  15. "members": {
  16. "type": "array",
  17. "items": {
  18. "type": "object",
  19. "required": ["value","display"],
  20. "properties": {
  21. "value": {
  22. "type": "string"
  23. },
  24. "display": {
  25. "type": "string"
  26. }
  27. }
  28. }
  29. },
  30. "meta": {
  31. "type": "object",
  32. "properties": {
  33. "resourceType": {
  34. "type": "string"
  35. }
  36. }
  37. }
  38. },
  39. "Group": {
  40. "type": "object",
  41. "required": [
  42. "schemas",
  43. "id",
  44. "displayName",
  45. "members",
  46. "meta"
  47. ],
  48. "properties": {
  49. "schemas": {
  50. "$ref": "#/definitions/schemas"
  51. },
  52. "id": {
  53. "type": "string"
  54. },
  55. "displayName": {
  56. "$ref": "#/definitions/displayName"
  57. },
  58. "members": {
  59. "$ref": "#/definitions/members"
  60. },
  61. "meta": {
  62. "$ref": "#/definitions/meta"
  63. }
  64. }
  65. }
  66. }