{ "$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" ] }, "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" ] } }, "additionalProperties": false, "required": [ "name", "type" ] }