{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/helena-bio/json-schema/helena-bio-start-backup-request-schema.json",
  "title": "StartBackupRequest",
  "description": "Request to start a new backup.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/helena-bio-backup-api-openapi.yml#/components/schemas/StartBackupRequest",
  "properties": {
    "level": {
      "$ref": "#/$defs/BackupLevel",
      "description": "Backup level: quick (PostgreSQL + sessions), full (+ literature DB), complete (+ reference DB)",
      "default": "quick"
    }
  },
  "type": "object",
  "$defs": {
    "BackupLevel": {
      "type": "string",
      "enum": [
        "quick",
        "full",
        "complete"
      ],
      "title": "BackupLevel",
      "description": "Backup level enumeration."
    }
  }
}