{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateSupabaseCredentialDTO",
  "title": "CreateSupabaseCredentialDTO",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "supabase"
      ],
      "description": "This is for supabase storage."
    },
    "fallbackIndex": {
      "type": "number",
      "minimum": 1,
      "description": "This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order."
    },
    "bucketPlan": {
      "$ref": "#/components/schemas/SupabaseBucketPlan"
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    }
  },
  "required": [
    "provider"
  ]
}