diff --git a/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/get.json b/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/get.json new file mode 100644 index 0000000000..d2b4aa44db --- /dev/null +++ b/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/get.json @@ -0,0 +1,152 @@ +{ + "type": "object", + "properties": { + "deal": { + "type": "object", + "properties": { + "hash": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "group": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "percent": { + "type": "string" + }, + "cdate": { + "type": "string" + }, + "mdate": { + "type": "string" + }, + "value": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "status": { + "type": "string" + }, + "activitycount": { + "type": "string" + }, + "nextdealid": { + "type": "string" + }, + "links": { + "type": "object", + "properties": { + "dealActivities": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "contactDeals": { + "type": "string" + }, + "group": { + "type": "string" + }, + "nextTask": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "account": { + "type": "string" + }, + "customerAccount": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "scoreValues": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "tasks": { + "type": "string" + }, + "dealCustomFieldData": { + "type": "string" + } + }, + "required": [ + "dealActivities", + "contact", + "contactDeals", + "group", + "nextTask", + "notes", + "account", + "customerAccount", + "organization", + "owner", + "scoreValues", + "stage", + "tasks", + "dealCustomFieldData" + ] + }, + "id": { + "type": "string" + }, + "isDisabled": { + "type": "boolean" + } + }, + "required": [ + "hash", + "owner", + "contact", + "organization", + "group", + "stage", + "title", + "description", + "percent", + "cdate", + "mdate", + "nextdate", + "nexttaskid", + "value", + "currency", + "winProbability", + "winProbabilityMdate", + "status", + "activitycount", + "nextdealid", + "edate", + "links", + "id", + "isDisabled", + "account", + "customerAccount" + ] + } + }, + "required": [ + "deal" + ] +} diff --git a/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/getAll.json b/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/getAll.json new file mode 100644 index 0000000000..7330a41e42 --- /dev/null +++ b/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/getAll.json @@ -0,0 +1,116 @@ +{ + "type": "object", + "properties": { + "hash": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "group": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "percent": { + "type": "string" + }, + "cdate": { + "type": "string" + }, + "mdate": { + "type": "string" + }, + "value": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "status": { + "type": "string" + }, + "activitycount": { + "type": "string" + }, + "nextdealid": { + "type": "string" + }, + "links": { + "type": "object", + "properties": { + "dealActivities": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "contactDeals": { + "type": "string" + }, + "group": { + "type": "string" + }, + "nextTask": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "account": { + "type": "string" + }, + "customerAccount": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "scoreValues": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "tasks": { + "type": "string" + }, + "dealCustomFieldData": { + "type": "string" + } + }, + "required": [ + "dealActivities", + "contact", + "contactDeals", + "group", + "nextTask", + "notes", + "account", + "customerAccount", + "organization", + "owner", + "scoreValues", + "stage", + "tasks", + "dealCustomFieldData" + ] + }, + "id": { + "type": "string" + }, + "isDisabled": { + "type": "boolean" + } + } +} diff --git a/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/update.json b/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/update.json new file mode 100644 index 0000000000..740d62121b --- /dev/null +++ b/packages/nodes-base/nodes/ActiveCampaign/__schema__/v1.0.0/deal/update.json @@ -0,0 +1,231 @@ +{ + "type": "object", + "properties": { + "dealStages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "group": { + "type": "string" + }, + "title": { + "type": "string" + }, + "color": { + "type": "string" + }, + "order": { + "type": "string" + }, + "width": { + "type": "string" + }, + "dealOrder": { + "type": "string" + }, + "cardRegion1": { + "type": "string" + }, + "cardRegion2": { + "type": "string" + }, + "cardRegion3": { + "type": "string" + }, + "cardRegion4": { + "type": "string" + }, + "cardRegion5": { + "type": "string" + }, + "udate": { + "type": "string" + }, + "links": { + "type": "object", + "properties": { + "group": { + "type": "string" + } + }, + "required": [ + "group" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "group", + "title", + "color", + "order", + "width", + "dealOrder", + "cardRegion1", + "cardRegion2", + "cardRegion3", + "cardRegion4", + "cardRegion5", + "cdate", + "udate", + "links", + "id" + ] + } + }, + "deal": { + "type": "object", + "properties": { + "hash": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "organization": { + "type": "null" + }, + "group": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "percent": { + "type": "string" + }, + "cdate": { + "type": "string" + }, + "mdate": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "activitycount": { + "type": "string" + }, + "nextdealid": { + "type": "string" + }, + "links": { + "type": "object", + "properties": { + "dealActivities": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "contactDeals": { + "type": "string" + }, + "group": { + "type": "string" + }, + "nextTask": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "account": { + "type": "string" + }, + "customerAccount": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "scoreValues": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "tasks": { + "type": "string" + }, + "dealCustomFieldData": { + "type": "string" + } + }, + "required": [ + "dealActivities", + "contact", + "contactDeals", + "group", + "nextTask", + "notes", + "account", + "customerAccount", + "organization", + "owner", + "scoreValues", + "stage", + "tasks", + "dealCustomFieldData" + ] + }, + "id": { + "type": "string" + }, + "isDisabled": { + "type": "boolean" + }, + "account": { + "type": "null" + }, + "customerAccount": { + "type": "null" + } + }, + "required": [ + "hash", + "owner", + "contact", + "organization", + "group", + "stage", + "title", + "description", + "percent", + "cdate", + "mdate", + "nextdate", + "nexttaskid", + "value", + "currency", + "status", + "activitycount", + "nextdealid", + "edate", + "winProbability", + "winProbabilityMdate", + "links", + "fields", + "id", + "isDisabled", + "account", + "customerAccount" + ] + } + } +} diff --git a/packages/nodes-base/nodes/Aws/S3/__schema__/v2.0.0/file/download.json b/packages/nodes-base/nodes/Aws/S3/__schema__/v2.0.0/file/download.json new file mode 100644 index 0000000000..5786814015 --- /dev/null +++ b/packages/nodes-base/nodes/Aws/S3/__schema__/v2.0.0/file/download.json @@ -0,0 +1,20 @@ +{ + "type": "object", + "properties": { + "Key": { + "type": "string" + }, + "LastModified": { + "type": "string" + }, + "ETag": { + "type": "string" + }, + "Size": { + "type": "string" + }, + "StorageClass": { + "type": "string" + } + } +} diff --git a/packages/nodes-base/nodes/ClickUp/__schema__/v1.0.0/timeEntry/getAll.json b/packages/nodes-base/nodes/ClickUp/__schema__/v1.0.0/timeEntry/getAll.json new file mode 100644 index 0000000000..c2c44cc4c1 --- /dev/null +++ b/packages/nodes-base/nodes/ClickUp/__schema__/v1.0.0/timeEntry/getAll.json @@ -0,0 +1,146 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "task": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "color": { + "type": "string" + }, + "type": { + "type": "string" + }, + "orderindex": { + "type": "integer" + } + }, + "required": [ + "status", + "color", + "type", + "orderindex" + ] + } + }, + "required": [ + "id", + "name", + "status", + "custom_type" + ] + }, + "wid": { + "type": "string" + }, + "user": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "color": { + "type": "string" + }, + "initials": { + "type": "string" + } + }, + "required": [ + "id", + "username", + "email", + "color", + "initials", + "profilePicture" + ] + }, + "billable": { + "type": "boolean" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "duration": { + "type": "string" + }, + "description": { + "type": "string" + }, + "source": { + "type": "string" + }, + "at": { + "type": "string" + }, + "is_locked": { + "type": "boolean" + }, + "approval_id": { + "type": "null" + }, + "task_location": { + "type": "object", + "properties": { + "list_id": { + "type": "string" + }, + "folder_id": { + "type": "string" + }, + "space_id": { + "type": "string" + } + }, + "required": [ + "list_id", + "folder_id", + "space_id" + ] + }, + "task_url": { + "type": "string" + } + }, + "required": [ + "id", + "task", + "wid", + "user", + "billable", + "start", + "end", + "duration", + "description", + "tags", + "source", + "at", + "is_locked", + "approval_id", + "task_location", + "task_url" + ] +} diff --git a/packages/nodes-base/nodes/Coda/__schema__/v1.1.0/table/getAllColumns.json b/packages/nodes-base/nodes/Coda/__schema__/v1.1.0/table/getAllColumns.json new file mode 100644 index 0000000000..5ebc6b6ea4 --- /dev/null +++ b/packages/nodes-base/nodes/Coda/__schema__/v1.1.0/table/getAllColumns.json @@ -0,0 +1,42 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "href": { + "type": "string" + }, + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "isArray": { + "type": "boolean" + } + }, + "required": [ + "type", + "isArray" + ] + }, + "display": { + "type": "boolean" + } + }, + "required": [ + "id", + "type", + "name", + "href", + "format" + ] +} diff --git a/packages/nodes-base/nodes/Coda/__schema__/v1.1.0/table/pushButton.json b/packages/nodes-base/nodes/Coda/__schema__/v1.1.0/table/pushButton.json new file mode 100644 index 0000000000..bf62e04793 --- /dev/null +++ b/packages/nodes-base/nodes/Coda/__schema__/v1.1.0/table/pushButton.json @@ -0,0 +1,19 @@ +{ + "type": "object", + "properties": { + "rowId": { + "type": "string" + }, + "columnId": { + "type": "string" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "rowId", + "columnId", + "requestId" + ] +} diff --git a/packages/nodes-base/nodes/ERPNext/__schema__/v1.0.0/document/getAll.json b/packages/nodes-base/nodes/ERPNext/__schema__/v1.0.0/document/getAll.json new file mode 100644 index 0000000000..a309c45115 --- /dev/null +++ b/packages/nodes-base/nodes/ERPNext/__schema__/v1.0.0/document/getAll.json @@ -0,0 +1,8 @@ +{ + "type": "object", + "properties": { + "name": { + "type": "string" + } + } +} diff --git a/packages/nodes-base/nodes/Freshservice/__schema__/v1.0.0/ticket/get.json b/packages/nodes-base/nodes/Freshservice/__schema__/v1.0.0/ticket/get.json new file mode 100644 index 0000000000..b31b93c601 --- /dev/null +++ b/packages/nodes-base/nodes/Freshservice/__schema__/v1.0.0/ticket/get.json @@ -0,0 +1,199 @@ +{ + "type": "object", + "properties": { + "subject": { + "type": "string" + }, + "requester_id": { + "type": "integer" + }, + "due_by": { + "type": "string" + }, + "fr_escalated": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + }, + "spam": { + "type": "boolean" + }, + "reply_cc_emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "cc_emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "is_escalated": { + "type": "boolean" + }, + "fr_due_by": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "priority": { + "type": "integer" + }, + "status": { + "type": "integer" + }, + "source": { + "type": "integer" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "workspace_id": { + "type": "integer" + }, + "requested_for_id": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "description_text": { + "type": "string" + }, + "custom_fields": { + "type": "object", + "properties": { + "major_incident_type": { + "type": "null" + }, + "business_impact": { + "type": "null" + }, + "impacted_locations": { + "type": "null" + }, + "no_of_customers_impacted": { + "type": "null" + }, + "ticket_has_been_triaged": { + "type": "null" + } + } + }, + "tasks_dependency_type": { + "type": "integer" + }, + "sla_policy_id": { + "type": "integer" + }, + "impact": { + "type": "integer" + }, + "urgency": { + "type": "integer" + }, + "applied_business_hours": { + "type": "integer" + }, + "created_within_business_hours": { + "type": "boolean" + }, + "resolution_notes": { + "type": "null" + }, + "resolution_notes_html": { + "type": "null" + }, + "attachments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "attachment_url": { + "type": "string" + }, + "content_type": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "attachment_url", + "content_type", + "created_at", + "id", + "name", + "size", + "updated_at" + ] + } + } + }, + "required": [ + "subject", + "group_id", + "department_id", + "category", + "sub_category", + "item_category", + "requester_id", + "responder_id", + "due_by", + "fr_escalated", + "deleted", + "spam", + "email_config_id", + "fwd_emails", + "reply_cc_emails", + "cc_emails", + "is_escalated", + "fr_due_by", + "id", + "priority", + "status", + "source", + "created_at", + "updated_at", + "workspace_id", + "requested_for_id", + "to_emails", + "type", + "description", + "description_text", + "custom_fields", + "tasks_dependency_type", + "sla_policy_id", + "impact", + "urgency", + "bcc_emails", + "applied_business_hours", + "created_within_business_hours", + "resolution_notes", + "resolution_notes_html", + "attachments" + ] +} diff --git a/packages/nodes-base/nodes/Github/__schema__/v1.0.0/file/get.json b/packages/nodes-base/nodes/Github/__schema__/v1.0.0/file/get.json new file mode 100644 index 0000000000..d74ca04b17 --- /dev/null +++ b/packages/nodes-base/nodes/Github/__schema__/v1.0.0/file/get.json @@ -0,0 +1,8 @@ +{ + "type": "object", + "properties": { + "type": { + "type": "string" + } + } +} diff --git a/packages/nodes-base/nodes/Gong/__schema__/v1.0.0/call/getAll.json b/packages/nodes-base/nodes/Gong/__schema__/v1.0.0/call/getAll.json new file mode 100644 index 0000000000..f041f8948b --- /dev/null +++ b/packages/nodes-base/nodes/Gong/__schema__/v1.0.0/call/getAll.json @@ -0,0 +1,78 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "scheduled": { + "type": "string" + }, + "started": { + "type": "string" + }, + "duration": { + "type": "integer" + }, + "primaryUserId": { + "type": "string" + }, + "direction": { + "type": "string" + }, + "system": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "media": { + "type": "string" + }, + "language": { + "type": "string" + }, + "workspaceId": { + "type": "string" + }, + "customData": { + "type": "null" + }, + "purpose": { + "type": "null" + }, + "meetingUrl": { + "type": "string" + }, + "isPrivate": { + "type": "boolean" + } + }, + "required": [ + "id", + "url", + "title", + "scheduled", + "started", + "duration", + "primaryUserId", + "direction", + "system", + "scope", + "media", + "language", + "workspaceId", + "sdrDisposition", + "clientUniqueId", + "customData", + "purpose", + "meetingUrl", + "isPrivate", + "calendarEventId" + ] +} diff --git a/packages/nodes-base/nodes/Google/Calendar/__schema__/v1.3.0/event/update.json b/packages/nodes-base/nodes/Google/Calendar/__schema__/v1.3.0/event/update.json new file mode 100644 index 0000000000..fe2ac886a2 --- /dev/null +++ b/packages/nodes-base/nodes/Google/Calendar/__schema__/v1.3.0/event/update.json @@ -0,0 +1,99 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "start": { + "type": "object", + "properties": { + "dateTime": { + "type": "string" + }, + "timeZone": { + "type": "string" + } + } + }, + "end": { + "type": "object", + "properties": { + "dateTime": { + "type": "string" + }, + "timeZone": { + "type": "string" + } + } + }, + "creator": { + "type": "object", + "properties": { + "email": { + "type": "string" + } + }, + "required": [ + "email" + ] + }, + "organizer": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "self": { + "type": "boolean" + } + }, + "required": [ + "email" + ] + }, + "created": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "etag": { + "type": "string" + }, + "eventType": { + "type": "string" + }, + "htmlLink": { + "type": "string" + }, + "iCalUID": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "reminders": { + "type": "object", + "properties": { + "useDefault": { + "type": "boolean" + } + }, + "required": [ + "useDefault" + ] + }, + "sequence": { + "type": "integer" + }, + "status": { + "type": "string" + } + } +} diff --git a/packages/nodes-base/nodes/Google/Drive/__schema__/v2.0.0/file/list.json b/packages/nodes-base/nodes/Google/Drive/__schema__/v2.0.0/file/list.json new file mode 100644 index 0000000000..0dcf19619b --- /dev/null +++ b/packages/nodes-base/nodes/Google/Drive/__schema__/v2.0.0/file/list.json @@ -0,0 +1,15 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] +} diff --git a/packages/nodes-base/nodes/Google/Slides/__schema__/v2.0.0/page/get.json b/packages/nodes-base/nodes/Google/Slides/__schema__/v2.0.0/page/get.json new file mode 100644 index 0000000000..4381d853ea --- /dev/null +++ b/packages/nodes-base/nodes/Google/Slides/__schema__/v2.0.0/page/get.json @@ -0,0 +1,514 @@ +{ + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "pageElements": { + "type": "array", + "items": { + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "size": { + "type": "object", + "properties": { + "width": { + "type": "object", + "properties": { + "magnitude": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "magnitude", + "unit" + ] + }, + "height": { + "type": "object", + "properties": { + "magnitude": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "magnitude", + "unit" + ] + } + }, + "required": [ + "width", + "height" + ] + }, + "transform": { + "type": "object", + "properties": { + "scaleX": { + "type": "number" + }, + "scaleY": { + "type": "number" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "scaleX", + "scaleY", + "unit" + ] + }, + "shape": { + "type": "object", + "properties": { + "shapeType": { + "type": "string" + }, + "text": { + "type": "object", + "properties": { + "textElements": { + "type": "array", + "items": { + "type": "object", + "properties": { + "endIndex": { + "type": "integer" + }, + "paragraphMarker": { + "type": "object", + "properties": { + "style": { + "type": "object", + "properties": { + "direction": { + "type": "string" + } + }, + "required": [ + "direction" + ] + } + }, + "required": [ + "style" + ] + }, + "textRun": { + "type": "object", + "properties": { + "content": { + "type": "string" + } + }, + "required": [ + "content", + "style" + ] + } + }, + "required": [ + "endIndex" + ] + } + } + }, + "required": [ + "textElements" + ] + }, + "shapeProperties": { + "type": "object", + "properties": { + "shapeBackgroundFill": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + } + }, + "outline": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + } + }, + "shadow": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + }, + "required": [ + "propertyState" + ] + }, + "autofit": { + "type": "object", + "properties": { + "autofitType": { + "type": "string" + } + }, + "required": [ + "fontScale" + ] + } + }, + "required": [ + "shapeBackgroundFill", + "outline", + "shadow", + "autofit" + ] + }, + "placeholder": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "parentObjectId": { + "type": "string" + } + }, + "required": [ + "type", + "parentObjectId" + ] + } + }, + "required": [ + "shapeType", + "shapeProperties" + ] + } + }, + "required": [ + "objectId", + "size", + "transform" + ] + } + }, + "slideProperties": { + "type": "object", + "properties": { + "layoutObjectId": { + "type": "string" + }, + "masterObjectId": { + "type": "string" + }, + "notesPage": { + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "pageType": { + "type": "string" + }, + "pageElements": { + "type": "array", + "items": { + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "size": { + "type": "object", + "properties": { + "width": { + "type": "object", + "properties": { + "magnitude": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "magnitude", + "unit" + ] + }, + "height": { + "type": "object", + "properties": { + "magnitude": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "magnitude", + "unit" + ] + } + }, + "required": [ + "width", + "height" + ] + }, + "transform": { + "type": "object", + "properties": { + "scaleX": { + "type": "number" + }, + "scaleY": { + "type": "number" + }, + "translateY": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "scaleX", + "scaleY", + "translateX", + "translateY", + "unit" + ] + }, + "shape": { + "type": "object", + "properties": { + "shapeProperties": { + "type": "object", + "properties": { + "outline": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + }, + "required": [ + "propertyState" + ] + }, + "shapeBackgroundFill": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + }, + "required": [ + "propertyState" + ] + }, + "shadow": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + }, + "required": [ + "propertyState" + ] + }, + "autofit": { + "type": "object", + "properties": { + "fontScale": { + "type": "integer" + } + }, + "required": [ + "fontScale" + ] + } + }, + "required": [ + "outline" + ] + }, + "placeholder": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "parentObjectId": { + "type": "string" + }, + "index": { + "type": "integer" + } + }, + "required": [ + "type", + "parentObjectId" + ] + }, + "shapeType": { + "type": "string" + } + }, + "required": [ + "shapeProperties", + "placeholder" + ] + } + }, + "required": [ + "objectId", + "size", + "transform", + "shape" + ] + } + }, + "pageProperties": { + "type": "object", + "properties": { + "pageBackgroundFill": { + "type": "object", + "properties": { + "propertyState": { + "type": "string" + } + }, + "required": [ + "propertyState" + ] + } + }, + "required": [ + "pageBackgroundFill" + ] + }, + "notesProperties": { + "type": "object", + "properties": { + "speakerNotesObjectId": { + "type": "string" + } + }, + "required": [ + "speakerNotesObjectId" + ] + } + }, + "required": [ + "objectId", + "pageType", + "pageElements", + "pageProperties", + "notesProperties" + ] + }, + "isSkipped": { + "type": "boolean" + } + }, + "required": [ + "layoutObjectId", + "masterObjectId", + "notesPage" + ] + }, + "revisionId": { + "type": "string" + }, + "pageProperties": { + "type": "object", + "properties": { + "pageBackgroundFill": { + "type": "object", + "properties": { + "stretchedPictureFill": { + "type": "object", + "properties": { + "contentUrl": { + "type": "string" + }, + "size": { + "type": "object", + "properties": { + "width": { + "type": "object", + "properties": { + "magnitude": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "magnitude", + "unit" + ] + }, + "height": { + "type": "object", + "properties": { + "magnitude": { + "type": "integer" + }, + "unit": { + "type": "string" + } + }, + "required": [ + "magnitude", + "unit" + ] + } + }, + "required": [ + "width", + "height" + ] + } + }, + "required": [ + "contentUrl", + "size" + ] + } + } + } + }, + "required": [ + "pageBackgroundFill" + ] + } + }, + "required": [ + "objectId", + "pageElements", + "slideProperties", + "revisionId", + "pageProperties" + ] +} diff --git a/packages/nodes-base/nodes/Grafana/__schema__/v1.0.0/dashboard/get.json b/packages/nodes-base/nodes/Grafana/__schema__/v1.0.0/dashboard/get.json new file mode 100644 index 0000000000..406ac268ba --- /dev/null +++ b/packages/nodes-base/nodes/Grafana/__schema__/v1.0.0/dashboard/get.json @@ -0,0 +1,918 @@ +{ + "type": "object", + "properties": { + "meta": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "canSave": { + "type": "boolean" + }, + "canEdit": { + "type": "boolean" + }, + "canAdmin": { + "type": "boolean" + }, + "canStar": { + "type": "boolean" + }, + "canDelete": { + "type": "boolean" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string" + }, + "expires": { + "type": "string" + }, + "created": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "version": { + "type": "integer" + }, + "hasAcl": { + "type": "boolean" + }, + "isFolder": { + "type": "boolean" + }, + "folderId": { + "type": "integer" + }, + "folderUid": { + "type": "string" + }, + "folderTitle": { + "type": "string" + }, + "folderUrl": { + "type": "string" + }, + "provisioned": { + "type": "boolean" + }, + "provisionedExternalId": { + "type": "string" + }, + "annotationsPermissions": { + "type": "object", + "properties": { + "dashboard": { + "type": "object", + "properties": { + "canAdd": { + "type": "boolean" + }, + "canEdit": { + "type": "boolean" + }, + "canDelete": { + "type": "boolean" + } + }, + "required": [ + "canAdd", + "canEdit", + "canDelete" + ] + }, + "organization": { + "type": "object", + "properties": { + "canAdd": { + "type": "boolean" + }, + "canEdit": { + "type": "boolean" + }, + "canDelete": { + "type": "boolean" + } + }, + "required": [ + "canAdd", + "canEdit", + "canDelete" + ] + } + }, + "required": [ + "dashboard", + "organization" + ] + } + }, + "required": [ + "type", + "canSave", + "canEdit", + "canAdmin", + "canStar", + "canDelete", + "slug", + "url", + "expires", + "created", + "updated", + "updatedBy", + "createdBy", + "version", + "hasAcl", + "isFolder", + "folderId", + "folderUid", + "folderTitle", + "folderUrl", + "provisioned", + "provisionedExternalId", + "annotationsPermissions" + ] + }, + "dashboard": { + "type": "object", + "properties": { + "annotations": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "builtIn": { + "type": "integer" + }, + "datasource": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "type", + "uid" + ] + }, + "enable": { + "type": "boolean" + }, + "hide": { + "type": "boolean" + }, + "iconColor": { + "type": "string" + }, + "name": { + "type": "string" + }, + "target": { + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "matchAny": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "limit", + "matchAny", + "tags", + "type" + ] + }, + "type": { + "type": "string" + } + }, + "required": [ + "builtIn", + "datasource", + "enable", + "hide", + "iconColor", + "name", + "target", + "type" + ] + } + } + }, + "required": [ + "list" + ] + }, + "editable": { + "type": "boolean" + }, + "fiscalYearStartMonth": { + "type": "integer" + }, + "graphTooltip": { + "type": "integer" + }, + "id": { + "type": "integer" + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "asDropdown": { + "type": "boolean" + }, + "icon": { + "type": "string" + }, + "includeVars": { + "type": "boolean" + }, + "keepTime": { + "type": "boolean" + }, + "targetBlank": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "tooltip": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "asDropdown", + "icon", + "includeVars", + "keepTime", + "tags", + "targetBlank", + "title", + "tooltip", + "type", + "url" + ] + } + }, + "panels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "fieldConfig": { + "type": "object", + "properties": { + "defaults": { + "type": "object", + "properties": { + "color": { + "type": "object", + "properties": { + "mode": { + "type": "string" + }, + "fixedColor": { + "type": "string" + } + }, + "required": [ + "mode" + ] + }, + "custom": { + "type": "object", + "properties": { + "axisCenteredZero": { + "type": "boolean" + }, + "axisColorMode": { + "type": "string" + }, + "axisLabel": { + "type": "string" + }, + "axisPlacement": { + "type": "string" + }, + "barAlignment": { + "type": "integer" + }, + "drawStyle": { + "type": "string" + }, + "fillOpacity": { + "type": "integer" + }, + "gradientMode": { + "type": "string" + }, + "hideFrom": { + "type": "object", + "properties": { + "legend": { + "type": "boolean" + }, + "tooltip": { + "type": "boolean" + }, + "viz": { + "type": "boolean" + } + }, + "required": [ + "legend", + "tooltip", + "viz" + ] + }, + "lineInterpolation": { + "type": "string" + }, + "lineWidth": { + "type": "integer" + }, + "pointSize": { + "type": "integer" + }, + "scaleDistribution": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "showPoints": { + "type": "string" + }, + "spanNulls": { + "type": "boolean" + }, + "stacking": { + "type": "object", + "properties": { + "group": { + "type": "string" + }, + "mode": { + "type": "string" + } + }, + "required": [ + "group", + "mode" + ] + }, + "thresholdsStyle": { + "type": "object", + "properties": { + "mode": { + "type": "string" + } + }, + "required": [ + "mode" + ] + }, + "axisBorderShow": { + "type": "boolean" + }, + "axisGridShow": { + "type": "boolean" + }, + "barWidthFactor": { + "type": "number" + }, + "insertNulls": { + "type": "boolean" + }, + "lineStyle": { + "type": "object", + "properties": { + "fill": { + "type": "string" + } + }, + "required": [ + "fill" + ] + } + }, + "required": [ + "axisCenteredZero", + "axisColorMode", + "axisLabel", + "axisPlacement", + "barAlignment", + "drawStyle", + "fillOpacity", + "gradientMode", + "hideFrom", + "lineInterpolation", + "lineWidth", + "pointSize", + "scaleDistribution", + "showPoints", + "spanNulls", + "stacking", + "thresholdsStyle" + ] + }, + "thresholds": { + "type": "object", + "properties": { + "mode": { + "type": "string" + }, + "steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "color": { + "type": "string" + } + }, + "required": [ + "color" + ] + } + } + }, + "required": [ + "mode", + "steps" + ] + }, + "unit": { + "type": "string" + }, + "min": { + "type": "integer" + } + }, + "required": [ + "color", + "custom", + "mappings", + "thresholds" + ] + }, + "overrides": { + "type": "array", + "items": { + "type": "object", + "properties": { + "matcher": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "options": { + "type": "string" + } + }, + "required": [ + "id", + "options" + ] + }, + "properties": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id", + "value" + ] + } + } + }, + "required": [ + "matcher", + "properties" + ] + } + } + }, + "required": [ + "defaults", + "overrides" + ] + }, + "gridPos": { + "type": "object", + "properties": { + "h": { + "type": "integer" + }, + "w": { + "type": "integer" + }, + "x": { + "type": "integer" + }, + "y": { + "type": "integer" + } + }, + "required": [ + "h", + "w", + "x", + "y" + ] + }, + "id": { + "type": "integer" + }, + "options": { + "type": "object", + "properties": { + "legend": { + "type": "object", + "properties": { + "calcs": { + "type": "array", + "items": { + "type": "string" + } + }, + "displayMode": { + "type": "string" + }, + "placement": { + "type": "string" + }, + "showLegend": { + "type": "boolean" + } + }, + "required": [ + "calcs", + "displayMode", + "placement", + "showLegend" + ] + }, + "tooltip": { + "type": "object", + "properties": { + "mode": { + "type": "string" + }, + "sort": { + "type": "string" + } + }, + "required": [ + "mode", + "sort" + ] + } + }, + "required": [ + "legend", + "tooltip" + ] + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "datasource": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "type", + "uid" + ] + }, + "pluginVersion": { + "type": "string" + }, + "targets": { + "type": "array", + "items": { + "type": "object", + "properties": { + "datasource": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "type", + "uid" + ] + }, + "disableTextWrap": { + "type": "boolean" + }, + "editorMode": { + "type": "string" + }, + "expr": { + "type": "string" + }, + "fullMetaSearch": { + "type": "boolean" + }, + "includeNullMetadata": { + "type": "boolean" + }, + "instant": { + "type": "boolean" + }, + "legendFormat": { + "type": "string" + }, + "range": { + "type": "boolean" + }, + "refId": { + "type": "string" + }, + "useBackend": { + "type": "boolean" + }, + "hide": { + "type": "boolean" + }, + "format": { + "type": "string" + }, + "interval": { + "type": "string" + }, + "intervalFactor": { + "type": "integer" + } + }, + "required": [ + "datasource", + "editorMode", + "refId" + ] + } + }, + "transparent": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "interval": { + "type": "string" + } + }, + "required": [ + "gridPos", + "id", + "title", + "type" + ] + } + }, + "schemaVersion": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "templating": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "type": "object", + "properties": { + "current": { + "type": "object", + "properties": { + "selected": { + "type": "boolean" + } + }, + "required": [ + "selected", + "text", + "value" + ] + }, + "hide": { + "type": "integer" + }, + "includeAll": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "multi": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "selected": { + "type": "boolean" + }, + "text": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "selected", + "text", + "value" + ] + } + }, + "query": { + "type": "string" + }, + "queryValue": { + "type": "string" + }, + "skipUrlSync": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "datasource": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "type", + "uid" + ] + }, + "definition": { + "type": "string" + }, + "refresh": { + "type": "integer" + }, + "regex": { + "type": "string" + }, + "sort": { + "type": "integer" + }, + "description": { + "type": "string" + } + }, + "required": [ + "current", + "hide", + "includeAll", + "multi", + "name", + "options", + "query", + "skipUrlSync", + "type" + ] + } + } + }, + "required": [ + "list" + ] + }, + "time": { + "type": "object", + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + }, + "required": [ + "from", + "to" + ] + }, + "timezone": { + "type": "string" + }, + "title": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "version": { + "type": "integer" + }, + "weekStart": { + "type": "string" + }, + "preload": { + "type": "boolean" + } + }, + "required": [ + "annotations", + "editable", + "fiscalYearStartMonth", + "graphTooltip", + "id", + "links", + "panels", + "schemaVersion", + "tags", + "templating", + "time", + "timepicker", + "timezone", + "title", + "uid", + "version", + "weekStart" + ] + } + }, + "required": [ + "meta", + "dashboard" + ] +} diff --git a/packages/nodes-base/nodes/Harvest/__schema__/v1.0.0/invoice/getAll.json b/packages/nodes-base/nodes/Harvest/__schema__/v1.0.0/invoice/getAll.json new file mode 100644 index 0000000000..cfae979f04 --- /dev/null +++ b/packages/nodes-base/nodes/Harvest/__schema__/v1.0.0/invoice/getAll.json @@ -0,0 +1,168 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "client_key": { + "type": "string" + }, + "number": { + "type": "string" + }, + "purchase_order": { + "type": "string" + }, + "tax2": { + "type": "null" + }, + "tax2_amount": { + "type": "integer" + }, + "discount_amount": { + "type": "integer" + }, + "subject": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "state": { + "type": "string" + }, + "issue_date": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "payment_term": { + "type": "string" + }, + "closed_at": { + "type": "null" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "payment_options": { + "type": "array", + "items": { + "type": "string" + } + }, + "client": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + "estimate": { + "type": "null" + }, + "retainer": { + "type": "null" + }, + "creator": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ] + }, + "line_items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "kind": { + "type": "string" + }, + "description": { + "type": "string" + }, + "taxed": { + "type": "boolean" + }, + "taxed2": { + "type": "boolean" + } + }, + "required": [ + "id", + "kind", + "description", + "quantity", + "unit_price", + "amount", + "taxed", + "taxed2", + "project" + ] + } + } + }, + "required": [ + "id", + "client_key", + "number", + "purchase_order", + "amount", + "due_amount", + "tax", + "tax_amount", + "tax2", + "tax2_amount", + "discount", + "discount_amount", + "subject", + "notes", + "state", + "period_start", + "period_end", + "issue_date", + "due_date", + "payment_term", + "sent_at", + "paid_at", + "closed_at", + "recurring_invoice_id", + "created_at", + "updated_at", + "paid_date", + "currency", + "payment_options", + "client", + "estimate", + "retainer", + "creator", + "line_items" + ] +} diff --git a/packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/upsert.json b/packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/upsert.json new file mode 100644 index 0000000000..5db40462d6 --- /dev/null +++ b/packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/upsert.json @@ -0,0 +1,48 @@ +{ + "type": "object", + "properties": { + "entity_id": { + "type": "string" + }, + "state": { + "type": "string" + }, + "last_changed": { + "type": "string" + }, + "last_reported": { + "type": "string" + }, + "last_updated": { + "type": "string" + }, + "context": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "parent_id": { + "type": "null" + }, + "user_id": { + "type": "string" + } + }, + "required": [ + "id", + "parent_id", + "user_id" + ] + } + }, + "required": [ + "entity_id", + "state", + "attributes", + "last_changed", + "last_reported", + "last_updated", + "context" + ] +} diff --git a/packages/nodes-base/nodes/Hubspot/__schema__/v2.1.0/company/update.json b/packages/nodes-base/nodes/Hubspot/__schema__/v2.1.0/company/update.json new file mode 100644 index 0000000000..2586924e86 --- /dev/null +++ b/packages/nodes-base/nodes/Hubspot/__schema__/v2.1.0/company/update.json @@ -0,0 +1,545 @@ +{ + "type": "object", + "properties": { + "portalId": { + "type": "integer" + }, + "companyId": { + "type": "integer" + }, + "isDeleted": { + "type": "boolean" + }, + "properties": { + "type": "object", + "properties": { + "hs_object_source_id": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "hs_lastmodifieddate": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "requestId": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + } + }, + "required": [ + "name", + "value", + "timestamp", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "hs_pipeline": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "hs_object_id": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "createdate": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "hs_object_source": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "lifecyclestage": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "requestId": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + }, + "hs_object_source_label": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "source": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "updatedByUserId": { + "type": "null" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "sourceId": { + "type": "string" + }, + "source": { + "type": "string" + }, + "useTimestampAsPersistenceTimestamp": { + "type": "boolean" + }, + "requestId": { + "type": "string" + } + }, + "required": [ + "name", + "value", + "timestamp", + "sourceId", + "source", + "sourceVid" + ] + } + } + }, + "required": [ + "value", + "timestamp", + "source", + "sourceId", + "updatedByUserId", + "versions" + ] + } + }, + "required": [ + "hs_object_source_id", + "hs_lastmodifieddate", + "hs_pipeline", + "hs_object_id", + "createdate", + "hs_object_source", + "lifecyclestage", + "hs_object_source_label" + ] + } + } +} diff --git a/packages/nodes-base/nodes/OpenAi/__schema__/v1.1.0/text/complete.json b/packages/nodes-base/nodes/OpenAi/__schema__/v1.1.0/text/complete.json new file mode 100644 index 0000000000..dc3f1367b1 --- /dev/null +++ b/packages/nodes-base/nodes/OpenAi/__schema__/v1.1.0/text/complete.json @@ -0,0 +1,17 @@ +{ + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "text": { + "type": "string" + }, + "logprobs": { + "type": "null" + }, + "finish_reason": { + "type": "string" + } + } +} diff --git a/packages/nodes-base/nodes/QuickBooks/__schema__/v1.0.0/vendor/getAll.json b/packages/nodes-base/nodes/QuickBooks/__schema__/v1.0.0/vendor/getAll.json new file mode 100644 index 0000000000..647cd3250e --- /dev/null +++ b/packages/nodes-base/nodes/QuickBooks/__schema__/v1.0.0/vendor/getAll.json @@ -0,0 +1,168 @@ +{ + "type": "object", + "properties": { + "Vendor1099": { + "type": "boolean" + }, + "CurrencyRef": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "value", + "name" + ] + }, + "domain": { + "type": "string" + }, + "sparse": { + "type": "boolean" + }, + "Id": { + "type": "string" + }, + "SyncToken": { + "type": "string" + }, + "MetaData": { + "type": "object", + "properties": { + "CreateTime": { + "type": "string" + }, + "LastUpdatedTime": { + "type": "string" + } + }, + "required": [ + "CreateTime", + "LastUpdatedTime" + ] + }, + "DisplayName": { + "type": "string" + }, + "PrintOnCheckName": { + "type": "string" + }, + "Active": { + "type": "boolean" + }, + "BillAddr": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "Line1": { + "type": "string" + }, + "City": { + "type": "string" + }, + "CountrySubDivisionCode": { + "type": "string" + }, + "PostalCode": { + "type": "string" + }, + "Lat": { + "type": "string" + }, + "Long": { + "type": "string" + } + }, + "required": [ + "Id" + ] + }, + "AcctNum": { + "type": "string" + }, + "GivenName": { + "type": "string" + }, + "FamilyName": { + "type": "string" + }, + "CompanyName": { + "type": "string" + }, + "PrimaryPhone": { + "type": "object", + "properties": { + "FreeFormNumber": { + "type": "string" + } + }, + "required": [ + "FreeFormNumber" + ] + }, + "PrimaryEmailAddr": { + "type": "object", + "properties": { + "Address": { + "type": "string" + } + }, + "required": [ + "Address" + ] + }, + "WebAddr": { + "type": "object", + "properties": { + "URI": { + "type": "string" + } + }, + "required": [ + "URI" + ] + }, + "Mobile": { + "type": "object", + "properties": { + "FreeFormNumber": { + "type": "string" + } + }, + "required": [ + "FreeFormNumber" + ] + }, + "Fax": { + "type": "object", + "properties": { + "FreeFormNumber": { + "type": "string" + } + }, + "required": [ + "FreeFormNumber" + ] + } + }, + "required": [ + "Balance", + "Vendor1099", + "CurrencyRef", + "domain", + "sparse", + "Id", + "SyncToken", + "MetaData", + "DisplayName", + "PrintOnCheckName", + "Active" + ] +} diff --git a/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/album/search.json b/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/album/search.json new file mode 100644 index 0000000000..f4c3db2258 --- /dev/null +++ b/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/album/search.json @@ -0,0 +1,127 @@ +{ + "type": "object", + "properties": { + "album_type": { + "type": "string" + }, + "total_tracks": { + "type": "integer" + }, + "available_markets": { + "type": "array", + "items": { + "type": "string" + } + }, + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "images": { + "type": "array", + "items": { + "type": "object", + "properties": { + "height": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "type": "integer" + } + }, + "required": [ + "height", + "url", + "width" + ] + } + }, + "name": { + "type": "string" + }, + "release_date": { + "type": "string" + }, + "release_date_precision": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "artists": { + "type": "array", + "items": { + "type": "object", + "properties": { + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "external_urls", + "href", + "id", + "name", + "type", + "uri" + ] + } + } + }, + "required": [ + "album_type", + "total_tracks", + "external_urls", + "href", + "id", + "images", + "name", + "release_date", + "release_date_precision", + "type", + "uri", + "artists" + ] +} diff --git a/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/artist/getTopTracks.json b/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/artist/getTopTracks.json new file mode 100644 index 0000000000..20fc675d35 --- /dev/null +++ b/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/artist/getTopTracks.json @@ -0,0 +1,263 @@ +{ + "type": "object", + "properties": { + "album": { + "type": "object", + "properties": { + "album_type": { + "type": "string" + }, + "artists": { + "type": "array", + "items": { + "type": "object", + "properties": { + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "external_urls", + "href", + "id", + "name", + "type", + "uri" + ] + } + }, + "available_markets": { + "type": "array", + "items": { + "type": "string" + } + }, + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "images": { + "type": "array", + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "required": [ + "url", + "height", + "width" + ] + } + }, + "is_playable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "release_date": { + "type": "string" + }, + "release_date_precision": { + "type": "string" + }, + "total_tracks": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "album_type", + "artists", + "available_markets", + "external_urls", + "href", + "id", + "images", + "is_playable", + "name", + "release_date", + "release_date_precision", + "total_tracks", + "type", + "uri" + ] + }, + "artists": { + "type": "array", + "items": { + "type": "object", + "properties": { + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "external_urls", + "href", + "id", + "name", + "type", + "uri" + ] + } + }, + "available_markets": { + "type": "array", + "items": { + "type": "string" + } + }, + "disc_number": { + "type": "integer" + }, + "duration_ms": { + "type": "integer" + }, + "explicit": { + "type": "boolean" + }, + "external_ids": { + "type": "object", + "properties": { + "isrc": { + "type": "string" + } + }, + "required": [ + "isrc" + ] + }, + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_local": { + "type": "boolean" + }, + "is_playable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "popularity": { + "type": "integer" + }, + "track_number": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "album", + "artists", + "available_markets", + "disc_number", + "duration_ms", + "explicit", + "external_ids", + "external_urls", + "href", + "id", + "is_local", + "is_playable", + "name", + "popularity", + "preview_url", + "track_number", + "type", + "uri" + ] +} diff --git a/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/player/recentlyPlayed.json b/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/player/recentlyPlayed.json new file mode 100644 index 0000000000..c426f08774 --- /dev/null +++ b/packages/nodes-base/nodes/Spotify/__schema__/v1.0.0/player/recentlyPlayed.json @@ -0,0 +1,268 @@ +{ + "type": "object", + "properties": { + "track": { + "type": "object", + "properties": { + "album": { + "type": "object", + "properties": { + "album_type": { + "type": "string" + }, + "artists": { + "type": "array", + "items": { + "type": "object", + "properties": { + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "external_urls", + "href", + "id", + "name", + "type", + "uri" + ] + } + }, + "available_markets": { + "type": "array", + "items": { + "type": "string" + } + }, + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "images": { + "type": "array", + "items": { + "type": "object", + "properties": { + "height": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "type": "integer" + } + }, + "required": [ + "height", + "url", + "width" + ] + } + }, + "name": { + "type": "string" + }, + "release_date": { + "type": "string" + }, + "release_date_precision": { + "type": "string" + }, + "total_tracks": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "album_type", + "artists", + "available_markets", + "external_urls", + "href", + "id", + "images", + "name", + "release_date", + "release_date_precision", + "total_tracks", + "type", + "uri" + ] + }, + "artists": { + "type": "array", + "items": { + "type": "object", + "properties": { + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "external_urls", + "href", + "id", + "name", + "type", + "uri" + ] + } + }, + "available_markets": { + "type": "array", + "items": { + "type": "string" + } + }, + "disc_number": { + "type": "integer" + }, + "duration_ms": { + "type": "integer" + }, + "explicit": { + "type": "boolean" + }, + "external_ids": { + "type": "object", + "properties": { + "isrc": { + "type": "string" + } + }, + "required": [ + "isrc" + ] + }, + "external_urls": { + "type": "object", + "properties": { + "spotify": { + "type": "string" + } + }, + "required": [ + "spotify" + ] + }, + "href": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_local": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "popularity": { + "type": "integer" + }, + "track_number": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "required": [ + "album", + "artists", + "available_markets", + "disc_number", + "duration_ms", + "explicit", + "external_ids", + "external_urls", + "href", + "id", + "is_local", + "name", + "popularity", + "preview_url", + "track_number", + "type", + "uri" + ] + }, + "played_at": { + "type": "string" + } + }, + "required": [ + "track", + "played_at", + "context" + ] +} diff --git a/packages/nodes-base/nodes/Telegram/__schema__/v1.2.0/message/sendLocation.json b/packages/nodes-base/nodes/Telegram/__schema__/v1.2.0/message/sendLocation.json new file mode 100644 index 0000000000..66f27a32ea --- /dev/null +++ b/packages/nodes-base/nodes/Telegram/__schema__/v1.2.0/message/sendLocation.json @@ -0,0 +1,85 @@ +{ + "type": "object", + "properties": { + "ok": { + "type": "boolean" + }, + "result": { + "type": "object", + "properties": { + "message_id": { + "type": "integer" + }, + "from": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "is_bot": { + "type": "boolean" + }, + "first_name": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "id", + "is_bot", + "first_name", + "username" + ] + }, + "chat": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "type": { + "type": "string" + }, + "first_name": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + }, + "date": { + "type": "integer" + }, + "location": { + "type": "object", + "properties": { + "latitude": { + "type": "number" + }, + "longitude": { + "type": "number" + } + }, + "required": [ + "latitude", + "longitude" + ] + } + }, + "required": [ + "message_id", + "chat", + "date", + "location" + ] + } + }, + "required": [ + "ok", + "result" + ] +} diff --git a/packages/nodes-base/nodes/Todoist/__schema__/v2.1.0/task/close.json b/packages/nodes-base/nodes/Todoist/__schema__/v2.1.0/task/close.json new file mode 100644 index 0000000000..1be032ad85 --- /dev/null +++ b/packages/nodes-base/nodes/Todoist/__schema__/v2.1.0/task/close.json @@ -0,0 +1,11 @@ +{ + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": [ + "success" + ] +} diff --git a/packages/nodes-base/nodes/Trello/__schema__/v1.0.0/checklist/create.json b/packages/nodes-base/nodes/Trello/__schema__/v1.0.0/checklist/create.json new file mode 100644 index 0000000000..fc5fad7ca8 --- /dev/null +++ b/packages/nodes-base/nodes/Trello/__schema__/v1.0.0/checklist/create.json @@ -0,0 +1,28 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "idBoard": { + "type": "string" + }, + "idCard": { + "type": "string" + }, + "pos": { + "type": "integer" + } + }, + "required": [ + "id", + "name", + "idBoard", + "idCard", + "pos", + "checkItems" + ] +} diff --git a/packages/nodes-base/nodes/Trello/__schema__/v1.0.0/checklist/createCheckItem.json b/packages/nodes-base/nodes/Trello/__schema__/v1.0.0/checklist/createCheckItem.json new file mode 100644 index 0000000000..1347cdf429 --- /dev/null +++ b/packages/nodes-base/nodes/Trello/__schema__/v1.0.0/checklist/createCheckItem.json @@ -0,0 +1,41 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pos": { + "type": "integer" + }, + "state": { + "type": "string" + }, + "due": { + "type": "null" + }, + "dueReminder": { + "type": "null" + }, + "idMember": { + "type": "null" + }, + "idChecklist": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "nameData", + "pos", + "state", + "due", + "dueReminder", + "idMember", + "idChecklist", + "limits" + ] +} diff --git a/packages/nodes-base/nodes/Wise/__schema__/v1.0.0/account/getBalances.json b/packages/nodes-base/nodes/Wise/__schema__/v1.0.0/account/getBalances.json new file mode 100644 index 0000000000..c1fe5d6933 --- /dev/null +++ b/packages/nodes-base/nodes/Wise/__schema__/v1.0.0/account/getBalances.json @@ -0,0 +1,85 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "profileId": { + "type": "integer" + }, + "recipientId": { + "type": "integer" + }, + "creationTime": { + "type": "string" + }, + "modificationTime": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "eligible": { + "type": "boolean" + }, + "balances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "balanceType": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "amount": { + "type": "object", + "properties": { + "currency": { + "type": "string" + } + }, + "required": [ + "value", + "currency" + ] + }, + "reservedAmount": { + "type": "object", + "properties": { + "currency": { + "type": "string" + } + }, + "required": [ + "value", + "currency" + ] + } + }, + "required": [ + "id", + "balanceType", + "currency", + "amount", + "reservedAmount", + "bankDetails" + ] + } + } + }, + "required": [ + "id", + "profileId", + "recipientId", + "creationTime", + "modificationTime", + "active", + "eligible", + "balances" + ] +} diff --git a/packages/nodes-base/nodes/WooCommerce/__schema__/v1.0.0/customer/get.json b/packages/nodes-base/nodes/WooCommerce/__schema__/v1.0.0/customer/get.json new file mode 100644 index 0000000000..217688c025 --- /dev/null +++ b/packages/nodes-base/nodes/WooCommerce/__schema__/v1.0.0/customer/get.json @@ -0,0 +1,213 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "date_created": { + "type": "string" + }, + "date_created_gmt": { + "type": "string" + }, + "date_modified": { + "type": "string" + }, + "date_modified_gmt": { + "type": "string" + }, + "email": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "username": { + "type": "string" + }, + "billing": { + "type": "object", + "properties": { + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "company": { + "type": "string" + }, + "address_1": { + "type": "string" + }, + "address_2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postcode": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phone": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "company", + "address_1", + "address_2", + "city", + "postcode", + "country", + "state", + "email", + "phone" + ] + }, + "shipping": { + "type": "object", + "properties": { + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "company": { + "type": "string" + }, + "address_1": { + "type": "string" + }, + "address_2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postcode": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": "string" + }, + "phone": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "company", + "address_1", + "address_2", + "city", + "postcode", + "country", + "state", + "phone" + ] + }, + "is_paying_customer": { + "type": "boolean" + }, + "avatar_url": { + "type": "string" + }, + "meta_data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "key": { + "type": "string" + } + }, + "required": [ + "id", + "key", + "value" + ] + } + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "collection": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + } + }, + "required": [ + "self", + "collection" + ] + } + }, + "required": [ + "id", + "date_created", + "date_created_gmt", + "date_modified", + "date_modified_gmt", + "email", + "first_name", + "last_name", + "role", + "username", + "billing", + "shipping", + "is_paying_customer", + "avatar_url", + "meta_data", + "_links" + ] +} diff --git a/packages/nodes-base/nodes/Zendesk/__schema__/v1.0.0/user/getAll.json b/packages/nodes-base/nodes/Zendesk/__schema__/v1.0.0/user/getAll.json new file mode 100644 index 0000000000..a657774fca --- /dev/null +++ b/packages/nodes-base/nodes/Zendesk/__schema__/v1.0.0/user/getAll.json @@ -0,0 +1,110 @@ +{ + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "time_zone": { + "type": "string" + }, + "iana_time_zone": { + "type": "string" + }, + "locale_id": { + "type": "integer" + }, + "locale": { + "type": "string" + }, + "role": { + "type": "string" + }, + "verified": { + "type": "boolean" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "active": { + "type": "boolean" + }, + "shared": { + "type": "boolean" + }, + "shared_agent": { + "type": "boolean" + }, + "two_factor_auth_enabled": { + "type": "null" + }, + "moderator": { + "type": "boolean" + }, + "only_private_comments": { + "type": "boolean" + }, + "restricted_agent": { + "type": "boolean" + }, + "suspended": { + "type": "boolean" + }, + "report_csv": { + "type": "boolean" + } + }, + "required": [ + "id", + "url", + "name", + "email", + "created_at", + "updated_at", + "time_zone", + "iana_time_zone", + "phone", + "shared_phone_number", + "photo", + "locale_id", + "locale", + "organization_id", + "role", + "verified", + "external_id", + "tags", + "alias", + "active", + "shared", + "shared_agent", + "last_login_at", + "two_factor_auth_enabled", + "signature", + "details", + "notes", + "role_type", + "custom_role_id", + "moderator", + "ticket_restriction", + "only_private_comments", + "restricted_agent", + "suspended", + "default_group_id", + "report_csv", + "user_fields" + ] +}