solarwinds-itsm-api-definitions 0.1.3 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/Redocly/development.html +126 -0
  3. data/Redocly/index.html +126 -0
  4. data/Redocly/redoc/favicon.ico +0 -0
  5. data/Redocly/redoc/schema/resolved_schema.json +1 -0
  6. data/lib/definitions/common/components.json +270 -58
  7. data/lib/definitions/common/examples/catalog_item.json +70 -0
  8. data/lib/definitions/common/examples/change.json +127 -0
  9. data/lib/definitions/common/examples/change_catalog.json +92 -0
  10. data/lib/definitions/common/examples/configuration_item.json +108 -0
  11. data/lib/definitions/common/examples/hardware.json +125 -0
  12. data/lib/definitions/common/examples/incident.json +134 -109
  13. data/lib/definitions/common/examples/problem.json +126 -102
  14. data/lib/definitions/common/examples/release.json +150 -0
  15. data/lib/definitions/common/examples/service_request.json +28 -0
  16. data/lib/definitions/common/examples/solution.json +49 -0
  17. data/lib/definitions/common/examples/user.json +100 -70
  18. data/lib/definitions/common/schemas/analytics/audit.json +28 -0
  19. data/lib/definitions/common/schemas/analytics/risk.json +28 -0
  20. data/lib/definitions/common/schemas/inventory/hardware.json +104 -0
  21. data/lib/definitions/common/schemas/inventory/mobile.json +73 -0
  22. data/lib/definitions/common/schemas/inventory/other_asset.json +74 -0
  23. data/lib/definitions/common/schemas/inventory/printer.json +41 -0
  24. data/lib/definitions/common/schemas/inventory/software.json +28 -0
  25. data/lib/definitions/common/schemas/inventory/warranty.json +40 -0
  26. data/lib/definitions/common/schemas/procurement/contract.json +67 -0
  27. data/lib/definitions/common/schemas/procurement/item.json +51 -0
  28. data/lib/definitions/common/schemas/procurement/purchase.json +57 -0
  29. data/lib/definitions/common/schemas/procurement/purchase_order.json +85 -0
  30. data/lib/definitions/common/schemas/procurement/vendor.json +67 -0
  31. data/lib/definitions/common/schemas/service_desk/catalog_item.json +71 -0
  32. data/lib/definitions/common/schemas/service_desk/change.json +88 -0
  33. data/lib/definitions/common/schemas/service_desk/change_catalog.json +77 -0
  34. data/lib/definitions/common/schemas/service_desk/comment.json +52 -0
  35. data/lib/definitions/common/schemas/service_desk/configuration_item.json +117 -0
  36. data/lib/definitions/common/schemas/service_desk/incident.json +99 -0
  37. data/lib/definitions/common/schemas/service_desk/problem.json +81 -0
  38. data/lib/definitions/common/schemas/service_desk/release.json +86 -0
  39. data/lib/definitions/common/schemas/service_desk/service_request.json +31 -0
  40. data/lib/definitions/common/schemas/service_desk/solution.json +61 -0
  41. data/lib/definitions/common/schemas/service_desk/time_track.json +37 -0
  42. data/lib/definitions/common/schemas/setup/category.json +54 -0
  43. data/lib/definitions/common/schemas/setup/department.json +48 -0
  44. data/lib/definitions/common/schemas/setup/group.json +65 -0
  45. data/lib/definitions/common/schemas/setup/role.json +51 -0
  46. data/lib/definitions/common/schemas/setup/site.json +64 -0
  47. data/lib/definitions/common/schemas/setup/user.json +67 -0
  48. data/lib/definitions/common/schemas/tasks/task.json +52 -0
  49. data/lib/definitions/openapi.json +100 -8
  50. data/lib/definitions/paths/attachments/attachments.json +12 -0
  51. data/lib/definitions/paths/audits/audits.json +35 -0
  52. data/lib/definitions/paths/audits/audits_by_id.json +37 -0
  53. data/lib/definitions/paths/catalog_items/catalog_item_by_id.json +83 -0
  54. data/lib/definitions/paths/catalog_items/catalog_items.json +69 -0
  55. data/lib/definitions/paths/categories/categories.json +62 -0
  56. data/lib/definitions/paths/categories/category_by_id.json +70 -0
  57. data/lib/definitions/paths/change_catalogs/change_catalog_by_id.json +83 -0
  58. data/lib/definitions/paths/change_catalogs/change_catalogs.json +69 -0
  59. data/lib/definitions/paths/changes/change_by_id.json +83 -0
  60. data/lib/definitions/paths/changes/changes.json +69 -0
  61. data/lib/definitions/paths/comments/comment_by_id.json +65 -0
  62. data/lib/definitions/paths/comments/comments.json +31 -0
  63. data/lib/definitions/paths/configuration_items/append_dependent_assets.json +24 -0
  64. data/lib/definitions/paths/configuration_items/configuration_item_by_id.json +83 -0
  65. data/lib/definitions/paths/configuration_items/configuration_items.json +69 -0
  66. data/lib/definitions/paths/configuration_items/delete_asset_link.json +24 -0
  67. data/lib/definitions/paths/contracts/contract_by_id.json +74 -0
  68. data/lib/definitions/paths/contracts/contracts.json +62 -0
  69. data/lib/definitions/paths/contracts/item_by_id.json +75 -0
  70. data/lib/definitions/paths/contracts/items.json +30 -0
  71. data/lib/definitions/paths/departments/department_by_id.json +70 -0
  72. data/lib/definitions/paths/departments/departments.json +62 -0
  73. data/lib/definitions/paths/groups/group_by_id.json +70 -0
  74. data/lib/definitions/paths/groups/groups.json +62 -0
  75. data/lib/definitions/paths/hardwares/hardware_by_id.json +83 -0
  76. data/lib/definitions/paths/hardwares/hardwares.json +69 -0
  77. data/lib/definitions/paths/hardwares/warranties.json +64 -0
  78. data/lib/definitions/paths/hardwares/warranty_by_id.json +75 -0
  79. data/lib/definitions/paths/incidents/incident_by_id.json +7 -7
  80. data/lib/definitions/paths/incidents/incidents.json +10 -10
  81. data/lib/definitions/paths/memberships/membership_by_id.json +20 -0
  82. data/lib/definitions/paths/memberships/memberships.json +29 -0
  83. data/lib/definitions/paths/mobiles/mobile_by_id.json +74 -0
  84. data/lib/definitions/paths/mobiles/mobiles.json +62 -0
  85. data/lib/definitions/paths/other_assets/other_asset_by_id.json +74 -0
  86. data/lib/definitions/paths/other_assets/other_assets.json +62 -0
  87. data/lib/definitions/paths/printers/printer_by_id.json +53 -0
  88. data/lib/definitions/paths/printers/printers.json +36 -0
  89. data/lib/definitions/paths/problems/problem_by_id.json +7 -8
  90. data/lib/definitions/paths/problems/problems.json +10 -10
  91. data/lib/definitions/paths/purchase_orders/purchase_order_by_id.json +74 -0
  92. data/lib/definitions/paths/purchase_orders/purchase_orders.json +62 -0
  93. data/lib/definitions/paths/purchases/purchase_by_id.json +65 -0
  94. data/lib/definitions/paths/purchases/purchases.json +31 -0
  95. data/lib/definitions/paths/releases/release_by_id.json +83 -0
  96. data/lib/definitions/paths/releases/releases.json +69 -0
  97. data/lib/definitions/paths/risks/risks.json +34 -0
  98. data/lib/definitions/paths/roles/role_by_id.json +70 -0
  99. data/lib/definitions/paths/roles/roles.json +62 -0
  100. data/lib/definitions/paths/service_requests/request_by_id.json +37 -0
  101. data/lib/definitions/paths/sites/site_by_id.json +74 -0
  102. data/lib/definitions/paths/sites/sites.json +62 -0
  103. data/lib/definitions/paths/softwares/software_by_id.json +24 -0
  104. data/lib/definitions/paths/softwares/softwares.json +36 -0
  105. data/lib/definitions/paths/solutions/solution_by_id.json +83 -0
  106. data/lib/definitions/paths/solutions/solutions.json +69 -0
  107. data/lib/definitions/paths/tasks/task_by_id.json +65 -0
  108. data/lib/definitions/paths/tasks/tasks.json +31 -0
  109. data/lib/definitions/paths/time_tracks/time_track_by_id.json +65 -0
  110. data/lib/definitions/paths/time_tracks/time_tracks.json +66 -0
  111. data/lib/definitions/paths/users/user_by_id.json +8 -9
  112. data/lib/definitions/paths/users/users.json +11 -11
  113. data/lib/definitions/paths/vendors/vendor_by_id.json +74 -0
  114. data/lib/definitions/paths/vendors/vendors.json +62 -0
  115. data/lib/solarwinds/itsm/api/definitions.rb +52 -3
  116. metadata +104 -6
  117. data/lib/definitions/common/schemas/incident.json +0 -70
  118. data/lib/definitions/common/schemas/problem.json +0 -67
  119. data/lib/definitions/common/schemas/user.json +0 -54
  120. data/lib/resolved_schema/resolved_schema.json +0 -1
@@ -0,0 +1,61 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "solution": {
10
+ "type": "object",
11
+ "required": ["name"],
12
+ "properties": { "$ref": "solution.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "solution": {
21
+ "type": "object",
22
+ "properties": { "$ref": "solution.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "Solution Name" },
29
+ "site_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
30
+ "department_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
31
+ "description": { "type": "string", "example": "description" },
32
+ "state": { "type": "string", "example": "Approved" },
33
+ "category": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
34
+ "subcategory": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
35
+ "add_to_tag_list": { "type": "string", "example": "tag1, tag2" },
36
+ "remove_from_tag_list": { "type": "string", "example": "tag3" },
37
+ "tag_list": { "type": "string", "example": "tag1, tag2" },
38
+ "custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" },
39
+ "custom_fields_values_attributes": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values_attributes" },
40
+ "incident_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }
41
+ },
42
+ "response": {
43
+ "type": "object",
44
+ "xml": { "name": "/", "wrapped": true },
45
+ "properties": {
46
+ "solution": {
47
+ "type": "object",
48
+ "properties": {
49
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
50
+ "name": { "type": "string", "example": "Solution Name" },
51
+ "description": { "type": "string", "example": "description" },
52
+ "creator": { "$ref": "../../components.json#/components/response/schemas/creator" },
53
+ "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" },
54
+ "origin": { "type": "string", "example": "api" }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "type": "object",
6
+ "xml": { "name": "/" },
7
+ "properties": {
8
+ "time_track": {
9
+ "type": "object",
10
+ "properties": {
11
+ "name": { "type": "string", "example": "Time Track Name" },
12
+ "minutes_parsed": { "type": "string", "example": "2h" }
13
+ }
14
+ }
15
+ }
16
+ },
17
+ "response": {
18
+ "type": "object",
19
+ "xml": { "name": "/", "wrapped": true },
20
+ "properties": {
21
+ "time_track": {
22
+ "type": "object",
23
+ "properties": {
24
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
25
+ "name": { "type": "string", "example": "Time Track Name" },
26
+ "minutes": { "type": "string", "example": "120" },
27
+ "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" },
28
+ "updated_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" },
29
+ "creator": { "$ref": "../../components.json#/components/response/schemas/user_details" },
30
+ "parent": { "$ref": "../../components.json#/components/response/schemas/parent_object" }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "category": {
10
+ "type": "object",
11
+ "required": ["name"],
12
+ "properties": { "$ref": "category.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "category": {
21
+ "type": "object",
22
+ "properties": { "$ref": "category.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "Equipment" },
29
+ "parent": {
30
+ "$ref": "../../components.json#/components/request/schemas/association_by_name",
31
+ "example": { "name": "Facilities" }
32
+ },
33
+ "default_assignee_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
34
+ "default_tags": { "type": "string", "example": "equipment" }
35
+ },
36
+ "response": {
37
+ "type": "object",
38
+ "xml": { "name": "/", "wrapped": true },
39
+ "properties": {
40
+ "category": {
41
+ "type": "object",
42
+ "properties": {
43
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
44
+ "name": { "type": "string", "example": "Equipment" },
45
+ "parent_id": { "$ref": "../../components.json#/components/response/schemas/id" },
46
+ "default_tags": { "type": "string", "example": "equipment" },
47
+ "default_assignee_id": { "$ref": "../../components.json#/components/response/schemas/id" }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "department": {
10
+ "type": "object",
11
+ "required": ["name"],
12
+ "properties": { "$ref": "department.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "department": {
21
+ "type": "object",
22
+ "properties": { "$ref": "department.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "Support" },
29
+ "description": { "type": "string", "example": "Support Department" }
30
+ },
31
+ "response": {
32
+ "type": "object",
33
+ "xml": { "name": "/", "wrapped": true },
34
+ "properties": {
35
+ "department": {
36
+ "type": "object",
37
+ "required": ["name"],
38
+ "properties": {
39
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
40
+ "name": { "type": "string", "example": "Support" },
41
+ "description": { "type": "string", "example": "Support Department" }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "group": {
10
+ "type": "object",
11
+ "required": ["name"],
12
+ "properties": { "$ref": "group.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "group": {
21
+ "type": "object",
22
+ "properties": { "$ref": "group.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "Group Name" },
29
+ "description": { "type": "string", "example": "Group Description" },
30
+ "superviser_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
31
+ "custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" },
32
+ "custom_fields_values_attributes": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values_attributes" }
33
+ },
34
+ "response": {
35
+ "type": "object",
36
+ "xml": { "name": "/", "wrapped": true },
37
+ "properties": {
38
+ "group": {
39
+ "type": "object",
40
+ "required": ["name"],
41
+ "properties": {
42
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
43
+ "name": { "type": "string", "example": "Group Name" },
44
+ "description": { "type": "string", "example": "Group Description" },
45
+ "is_user": { "type": "boolean", "example": false },
46
+ "reports_to": { "$ref": "../../components.json#/components/response/schemas/group_details" },
47
+ "avatar": { "$ref": "../../components.json#/components/response/schemas/avatar" },
48
+ "send_notifications": { "type": "boolean", "example": true },
49
+ "memberships": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "object",
53
+ "properties": {
54
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
55
+ "user": { "type": "string", "example": "John Doe" }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "role": {
10
+ "type": "object",
11
+ "required": ["name"],
12
+ "properties": { "$ref": "role.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "role": {
21
+ "type": "object",
22
+ "properties": { "$ref": "role.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "Support Agent" },
29
+ "description": { "type": "string", "example": "Support Agent role" },
30
+ "portal": { "type": "boolean", "example": true }
31
+ },
32
+ "response": {
33
+ "type": "object",
34
+ "xml": { "name": "/", "wrapped": true },
35
+ "properties": {
36
+ "role": {
37
+ "type": "object",
38
+ "required": ["name"],
39
+ "properties": {
40
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
41
+ "name": { "type": "string", "example": "Support Agent" },
42
+ "description": { "type": "string", "example": "Support Agent role" },
43
+ "portal": { "type": "boolean", "example": true },
44
+ "show_my_tasks": { "type": "boolean", "example": false }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "site": {
10
+ "type": "object",
11
+ "required": ["name", "location"],
12
+ "properties": { "$ref": "site.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "site": {
21
+ "type": "object",
22
+ "properties": { "$ref": "site.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "Austin TX, USA" },
29
+ "location": { "type": "string", "example": "AUS" },
30
+ "description": { "type": "string", "example": "Description Austin TX, USA" },
31
+ "time_zone": { "type": "string", "example": "Texas" },
32
+ "language": { "type": "string", "minLength": 2, "maxLength": 2, "example": "en" },
33
+ "manager_id": {
34
+ "$ref": "../../components.json#/components/common/schemas/association_by_id",
35
+ "description": "user only, not group"
36
+ },
37
+ "default_assignee_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
38
+ "business_record": {
39
+ "type": "object",
40
+ "properties": { "id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } }
41
+ }
42
+ },
43
+ "response": {
44
+ "type": "object",
45
+ "xml": { "name": "/", "wrapped": true },
46
+ "properties": {
47
+ "site": {
48
+ "type": "object",
49
+ "required": ["name"],
50
+ "properties": {
51
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
52
+ "name": { "type": "string", "example": "Austin TX, USA" },
53
+ "location": { "type": "string", "example": "AUS" },
54
+ "description": { "type": "string", "example": "Description Austin TX, USA" },
55
+ "time_zone": { "type": "string", "example": "Texas" },
56
+ "language": { "type": "string", "minLength": 2, "maxLength": 2, "example": "en" },
57
+ "business_record": { "type": "string", "example": "1" }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "components": {
3
+ "schemas": {
4
+ "request": {
5
+ "post": {
6
+ "type": "object",
7
+ "xml": { "name": "/" },
8
+ "properties": {
9
+ "user": {
10
+ "type": "object",
11
+ "required": ["name", "email"],
12
+ "properties": { "$ref": "user.json#/components/schemas/request_properties" }
13
+ }
14
+ }
15
+ },
16
+ "put": {
17
+ "type": "object",
18
+ "xml": { "name": "/" },
19
+ "properties": {
20
+ "user": {
21
+ "type": "object",
22
+ "properties": { "$ref": "user.json#/components/schemas/request_properties" }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "request_properties": {
28
+ "name": { "type": "string", "example": "John Doe" },
29
+ "title": { "type": "string", "example": "Support Agent" },
30
+ "email": { "type": "string", "format": "email", "example": "john.doe@email.com" },
31
+ "disabled": { "type": "boolean", "example": false },
32
+ "phone": { "type": "string", "example": "+10000000" },
33
+ "mobile_phone": { "type": "string", "example": "+10000000" },
34
+ "role": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
35
+ "site": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
36
+ "department": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
37
+ "reports_to": { "$ref": "../../components.json#/components/request/schemas/reports_to" },
38
+ "custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" }
39
+ },
40
+ "response": {
41
+ "type": "object",
42
+ "xml": { "name": "/", "wrapped": true },
43
+ "properties": {
44
+ "user": {
45
+ "type": "object",
46
+ "properties": {
47
+ "id": { "$ref": "../../components.json#/components/response/schemas/id" },
48
+ "name": { "type": "string", "example": "John Doe" },
49
+ "title": { "type": "string", "example": "Support Agent" },
50
+ "email": { "type": "string", "format": "email", "example": "john.doe@email.com" },
51
+ "phone": { "type": "string", "example": "+10000000" },
52
+ "mobile_phone": { "type": "string", "example": "+10000000" },
53
+ "role": { "$ref": "../../components.json#/components/response/schemas/role" },
54
+ "site": { "$ref": "../../components.json#/components/response/schemas/site_response" },
55
+ "department": { "$ref": "../../components.json#/components/response/schemas/department_response" },
56
+ "custom_fields_values": { "$ref": "../../components.json#/components/response/schemas/custom_fields_values" },
57
+ "avatar": { "$ref": "../../components.json#/components/response/schemas/avatar" },
58
+ "reports_to": { "$ref": "../../components.json#/components/response/schemas/group_details" },
59
+ "group_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" },
60
+ "created_at": { "type": "string", "example": "2020-01-01T00:00:00.000+00:00" }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }