{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/acronis/main/json-schema/acronis-application-schema.json",
  "title": "application",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acronis-applications-api-openapi.yml#/components/schemas/application",
  "type": "object",
  "required": [
    "id",
    "name",
    "type",
    "usages",
    "api_base_url"
  ],
  "properties": {
    "id": {
      "$ref": "#/$defs/uuid"
    },
    "name": {
      "description": "Human-readable name that will be displayed to the users.",
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/applicationType"
    },
    "usages": {
      "description": "Available usages for this application.",
      "type": "array",
      "items": {
        "description": "Usage name.",
        "type": "string"
      }
    },
    "api_base_url": {
      "description": "Base URL for application's HTTP API.",
      "type": "string"
    }
  },
  "$defs": {
    "applicationType": {
      "description": "A type of application.",
      "enum": [
        "backup",
        "files_cloud",
        "monitoring",
        "storage",
        "platform",
        "hci",
        "physical_data_shipping",
        "notary"
      ],
      "type": "string"
    },
    "uuid": {
      "type": "string",
      "pattern": "[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}",
      "minLength": 36,
      "maxLength": 36
    }
  }
}