{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-file-storage-breakdown-dto-success-response-schema.json",
  "title": "FileStorageBreakdownDtoSuccessResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-file-api-openapi.yml#/components/schemas/FileStorageBreakdownDtoSuccessResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Success status"
    },
    "message": {
      "type": "string",
      "description": "Success message"
    },
    "data": {
      "type": "object",
      "properties": {
        "accountUsedKb": {
          "type": "number",
          "description": "Total storage used across all projects owned by you (KiB)"
        },
        "projectUsedKb": {
          "type": "number",
          "description": "Storage used in the current project (KiB)"
        },
        "endUserUsedKb": {
          "type": "number",
          "description": "Storage used by the current end user in this project (KiB)"
        },
        "limitGb": {
          "type": [
            "number",
            "null"
          ],
          "description": "Plan storage limit in GiB. null = unlimited; omitted/0 when no plan limit applies."
        }
      },
      "required": [
        "accountUsedKb",
        "projectUsedKb",
        "endUserUsedKb"
      ]
    }
  },
  "required": [
    "success",
    "message",
    "data"
  ]
}