{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateCloudflareCredentialDTO", "title": "CreateCloudflareCredentialDTO", "type": "object", "properties": { "provider": { "type": "string", "enum": [ "cloudflare" ], "description": "Credential provider. Only allowed value is cloudflare" }, "accountId": { "type": "string", "description": "Cloudflare Account Id." }, "apiKey": { "type": "string", "description": "Cloudflare API Key / Token." }, "accountEmail": { "type": "string", "description": "Cloudflare Account Email." }, "fallbackIndex": { "type": "number", "description": "This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.", "minimum": 1 }, "bucketPlan": { "description": "This is the bucket plan that can be provided to store call artifacts in R2", "allOf": [ { "$ref": "#/components/schemas/CloudflareR2BucketPlan" } ] }, "name": { "type": "string", "description": "This is the name of credential. This is just for your reference.", "minLength": 1, "maxLength": 40 } }, "required": [ "provider" ] }