{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Instance Organization", "description": "Schema for the body of an Organization owned by an instance", "type": "object", "properties": { "creationDate": { "type": "string", "format": "date-time" }, "lastUpdated": { "type": "string", "format": "date-time" }, "name": { "type": "string", "minLength": 1, "maxLength": 255 }, "id": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "instanceId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "description": { "type": "string", "maxLength": 32767 }, "iconColor": { "type": "string", "maxLength": 64 }, "limits": { "type": "object", "properties": { "apitoken": { "type": "integer", "minimum": 0 }, "application": { "type": "integer", "minimum": 0 }, "applicationcertificate": { "type": "integer", "minimum": 0 }, "applicationcertificateauthority": { "type": "integer", "minimum": 0 }, "applicationkey": { "type": "integer", "minimum": 0 }, "credential": { "type": "integer", "minimum": 0 }, "dashboard": { "type": "integer", "minimum": 0 }, "datatable": { "type": "integer", "minimum": 0 }, "device": { "type": "integer", "minimum": 0 }, "devicerecipe": { "type": "integer", "minimum": 0 }, "experiencedomain": { "type": "integer", "minimum": 0 }, "experienceendpoint": { "type": "integer", "minimum": 0 }, "experiencegroup": { "type": "integer", "minimum": 0 }, "experienceslug": { "type": "integer", "minimum": 0 }, "experienceuser": { "type": "integer", "minimum": 0 }, "experienceversion": { "type": "integer", "minimum": 0 }, "experienceview": { "type": "integer", "minimum": 0 }, "file": { "type": "integer", "minimum": 0 }, "flow": { "type": "integer", "minimum": 0 }, "integration": { "type": "integer", "minimum": 0 }, "notebook": { "type": "integer", "minimum": 0 }, "resourcejob": { "type": "integer", "minimum": 0 }, "webhook": { "type": "integer", "minimum": 0 }, "dataTTL": { "type": "integer", "minimum": 86400 }, "member": { "type": "integer", "minimum": 0 }, "payload": { "type": "integer", "minimum": 0 }, "storage": { "type": "integer", "minimum": 0 }, "notebookMinutesPerRun": { "type": "integer", "minimum": 0 }, "notebookMinutesPerMonth": { "type": "integer", "minimum": 0 }, "notebookInParallel": { "type": "integer", "minimum": 0 }, "experienceFlowSlots": { "type": "integer", "minimum": 0 }, "applicationFlowSlots": { "type": "integer", "minimum": 0 }, "systemInterval": { "type": "integer", "minimum": 5, "maximum": 3600 } }, "additionalProperties": false }, "summary": { "type": "object", "properties": { "apiTokenCount": { "type": "integer" }, "appCount": { "type": "integer" }, "certificateCount": { "type": "integer" }, "certificateAuthorityCount": { "type": "integer" }, "credentialCount": { "type": "integer" }, "dashCount": { "type": "integer" }, "dataTableCount": { "type": "integer" }, "deviceCount": { "type": "integer" }, "deviceRecipeCount": { "type": "integer" }, "eventCount": { "type": "integer" }, "experienceDomainCount": { "type": "integer" }, "experienceEndpointCount": { "type": "integer" }, "experienceGroupCount": { "type": "integer" }, "experienceSlugCount": { "type": "integer" }, "experienceUserCount": { "type": "integer" }, "experienceVersionCount": { "type": "integer" }, "experienceViewCount": { "type": "integer" }, "fileCount": { "type": "integer" }, "flowCount": { "type": "integer" }, "integrationCount": { "type": "integer" }, "keyCount": { "type": "integer" }, "notebookCount": { "type": "integer" }, "resourceJobCount": { "type": "integer" }, "webhookCount": { "type": "integer" }, "memberCount": { "type": "integer" }, "pendingInviteCount": { "type": "integer" }, "payloadCount": { "title": "Payload Stats", "description": "Schema for the result of a payload stats request", "type": "object", "properties": { "dataTable": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "deviceCommand": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "deviceConnect": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "deviceDisconnect": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "deviceState": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "endpoint": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "event": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "flowError": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "integration": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "mqttIn": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "mqttOut": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "notebook": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "timer": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "virtualButton": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "webhook": { "type": "object", "patternProperties": { ".*": { "type": "number" } } }, "resourceJob": { "type": "object", "patternProperties": { ".*": { "type": "number" } } } } }, "storageStats": { "type": "object", "properties": { "count": { "type": "integer" }, "size": { "type": "integer" } } }, "notebookStats": { "type": "object", "properties": { "awaitingCompletion": { "type": "integer" }, "minutesThisPeriod": { "type": "integer" }, "runsThisPeriod": { "type": "integer" } } } } }, "whitelistedEmailDomains": { "type": "array", "items": { "type": "string", "maxLength": 45, "minLength": 3 } }, "auditLogEnabled": { "type": "boolean" }, "disabledAt": { "oneOf": [ { "type": "boolean", "enum": [ false ] }, { "type": "string", "format": "date-time" } ] }, "isReadOnly": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "value": { "type": "string", "minLength": 1, "maxLength": 255 } }, "required": [ "key", "value" ], "additionalProperties": false }, "maxItems": 100 }, "referralId": { "type": "string", "maxLength": 1024 }, "mfaMode": { "type": "string", "enum": [ "notRequired", "adminRequired", "required" ] } }, "additionalProperties": false, "required": [ "name" ] } }, "instanceId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "count": { "type": "integer" }, "totalCount": { "type": "integer" }, "perPage": { "type": "integer" }, "page": { "type": "integer" }, "filter": { "type": "string" }, "filterField": { "type": "string" }, "sortField": { "type": "string" }, "sortDirection": { "type": "string", "enum": [ "asc", "desc", "ASC", "DESC", "" ] } } }