{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "id": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "applicationId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "creationDate": { "type": "string", "format": "date-time" }, "lastUpdated": { "type": "string", "format": "date-time" }, "ownerId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "ownerType": { "type": "string", "enum": [ "user", "organization" ] }, "name": { "type": "string", "minLength": 1, "maxLength": 255 }, "description": { "type": "string", "maxLength": 32767 }, "endpointSlug": { "type": "string", "minLength": 4, "maxLength": 63, "pattern": "^[0-9a-z-]*$" }, "expUserTokenCutoff": { "type": "string", "format": "date-time" }, "endpointDefaultCors": { "type": "boolean" }, "globals": { "type": "array", "maxItems": 100, "items": { "type": "object", "properties": { "key": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "json": { "type": "string", "minLength": 1, "maxLength": 32767 }, "cloudOnly": { "type": "boolean", "default": false } }, "additionalProperties": false, "required": [ "key", "json" ] } }, "summary": { "type": "object", "properties": { "apiTokenCount": { "type": "number" }, "keyCount": { "type": "number" }, "deviceCount": { "type": "number" }, "dataTableCount": { "type": "number" }, "deviceRecipeCount": { "type": "number" }, "eventCount": { "type": "number" }, "experienceDomainCount": { "type": "number" }, "experienceEndpointCount": { "type": "number" }, "experienceGroupCount": { "type": "number" }, "experienceUserCount": { "type": "number" }, "experienceViewCount": { "type": "number" }, "flowCount": { "type": "number" }, "integrationCount": { "type": "number" }, "webhookCount": { "type": "number" } } }, "ftueTracking": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "version": { "type": "number" }, "status": { "type": "string", "enum": [ "skipped", "completed" ] } }, "required": [ "name", "version", "status" ], "additionalProperties": false }, "maxItems": 100 }, "archiveConfig": { "type": "object", "properties": { "directory": { "type": "string", "max": 255 }, "mode": { "type": "string", "enum": [ "all", "whitelist", "blacklist" ] }, "deviceIds": { "type": "array", "items": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "maxItems": 1000 }, "deviceTags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "value": { "type": "string", "minLength": 1, "maxLength": 255 } }, "additionalProperties": false }, "maxItems": 100 }, "s3": { "type": "object", "properties": { "bucket": { "type": "string", "max": 255 }, "accessKeyId": { "type": "string", "min": 16, "max": 128 }, "secretAccessKey": { "type": "string", "min": 16, "max": 128 }, "region": { "type": "string", "max": 128 } }, "required": [ "bucket", "accessKeyId", "secretAccessKey", "region" ], "additionalProperties": false }, "gcs": { "type": "object", "properties": { "projectId": { "type": "string", "minLength": 1, "maxLength": 1024 }, "keyJson": { "type": "string", "maxLength": 32767, "minLength": 50 }, "bucket": { "type": "string", "max": 255 } }, "required": [ "projectId", "keyJson", "bucket" ], "additionalProperties": false } }, "additionalProperties": false } } }