{ "$schema": "http://json-schema.org/draft-07/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" }, "createdById": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "createdByType": { "type": "string", "enum": [ "flow", "user", "apiToken" ] }, "lastUpdatedById": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "lastUpdatedByType": { "type": "string", "enum": [ "flow", "user", "apiToken" ] }, "name": { "type": "string", "minLength": 1, "maxLength": 255 }, "description": { "type": "string", "maxLength": 32767 }, "enabled": { "type": "boolean" }, "type": { "type": "string", "enum": [ "aws", "azure", "gcp", "http", "sendgrid", "twilio", "loggly", "jwt", "whatsapp" ] }, "awsConfig": { "type": "object", "properties": { "accessKeyId": { "type": "string", "minLength": 16, "maxLength": 128 }, "region": { "type": "string", "minLength": 1, "maxLength": 128 } }, "additionalProperties": false, "required": [ "accessKeyId", "region" ] }, "azureConfig": { "type": "object", "properties": { "account": { "type": "string", "maxLength": 128 } }, "additionalProperties": false }, "gcpConfig": { "type": "object", "properties": { "keyMetaJson": { "type": "string", "minLength": 1, "maxLength": 8192 } }, "additionalProperties": false, "required": [ "keyMetaJson" ] }, "httpConfig": { "type": "object", "properties": { "uriMatch": { "type": "string", "minLength": 8, "maxLength": 1024 }, "authMethod": { "type": "string", "enum": [ "header", "queryParam", "basicAuth", "clientCertificate" ] }, "publicValue": { "type": "string", "maxLength": 8196 } }, "additionalProperties": false, "required": [ "uriMatch", "authMethod", "publicValue" ] }, "sendgridConfig": { "type": "object", "properties": {}, "additionalProperties": false }, "twilioConfig": { "type": "object", "properties": { "accountSid": { "type": "string", "minLength": 4, "maxLength": 128 }, "apiKeySid": { "type": "string", "minLength": 4, "maxLength": 128 } }, "additionalProperties": false, "required": [ "accountSid", "apiKeySid" ] }, "logglyConfig": { "type": "object", "properties": {}, "additionalProperties": false }, "jwtConfig": { "type": "object", "properties": { "issuer": { "type": "string", "maxLength": 1024 }, "algorithm": { "type": "string", "enum": [ "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512" ] } }, "additionalProperties": false, "required": [ "algorithm" ] }, "whatsappConfig": { "type": "object", "properties": { "fromNumberId": { "type": "string", "minLength": 1, "maxLength": 128 } }, "additionalProperties": false, "required": [ "fromNumberId" ] } }, "additionalProperties": false, "required": [ "name", "type" ] }