{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-dedicated-server-backup-ftp-schema.json",
  "title": "dedicated.server.BackupFtp",
  "description": "Backup Ftp assigned to this server",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-dedicated-housing-openapi.yml#/components/schemas/dedicated.server.BackupFtp",
  "type": "object",
  "properties": {
    "ftpBackupName": {
      "type": "string",
      "description": "The backup FTP server name",
      "readOnly": true
    },
    "quota": {
      "allOf": [
        {
          "$ref": "#/$defs/complexType.UnitAndValue_long"
        }
      ],
      "description": "The disk space available in gigabytes",
      "nullable": true,
      "readOnly": true
    },
    "readOnlyDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "If not-null, gives the date since when your account was set in read-only mode because the quota was exceeded",
      "format": "date-time",
      "readOnly": true
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.server.BackupStorageTypeEnum"
        }
      ],
      "description": "The backup FTP type",
      "readOnly": true
    },
    "usage": {
      "allOf": [
        {
          "$ref": "#/$defs/complexType.UnitAndValue_long"
        }
      ],
      "description": "The disk space currently used on your backup FTP in percent",
      "nullable": true,
      "readOnly": true
    }
  },
  "$defs": {
    "complexType.UnitAndValue_long": {
      "type": "object",
      "description": "A numeric value tagged with its unit",
      "properties": {
        "unit": {
          "type": "string"
        },
        "value": {
          "type": "integer"
        }
      }
    },
    "dedicated.server.BackupStorageTypeEnum": {
      "type": "string",
      "description": "Different backup storage type",
      "enum": [
        "included",
        "storage"
      ]
    }
  }
}