Canonical · Schema

App

Represents a single application provided by a snap.

CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity

Properties

Name Type Description
snap string The snap providing the app.
name string The name of the app.
desktop-file string The desktop file for the app.
daemon string The daemon type, if the app is a service.
enabled boolean True if the app is an enabled service.
active boolean True if the app is an active service.
common-id string Common ID associated with this app.
activators array
View JSON Schema on GitHub

JSON Schema

canonical-app-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-app-schema.json",
  "title": "App",
  "description": "Represents a single application provided by a snap.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-apps-api-openapi.yml#/components/schemas/App",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "snap": {
      "type": "string",
      "description": "The snap providing the app."
    },
    "name": {
      "type": "string",
      "description": "The name of the app."
    },
    "desktop-file": {
      "type": "string",
      "description": "The desktop file for the app."
    },
    "daemon": {
      "type": "string",
      "description": "The daemon type, if the app is a service.",
      "enum": [
        "forking",
        "notify",
        "oneshot",
        "simple"
      ]
    },
    "enabled": {
      "type": "boolean",
      "description": "True if the app is an enabled service."
    },
    "active": {
      "type": "boolean",
      "description": "True if the app is an active service."
    },
    "common-id": {
      "type": "string",
      "description": "Common ID associated with this app."
    },
    "activators": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Activator"
      }
    }
  },
  "$defs": {
    "Activator": {
      "type": "object",
      "description": "Details about a single service activator. Note that uppercase field names\nexist to maintain backward compatibility with the non-conformant previous\nimplementation, and are thus not documented here.",
      "required": [
        "name",
        "type",
        "active",
        "enabled"
      ],
      "properties": {
        "active": {
          "type": "boolean",
          "description": "Whether the activator is active or not."
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether the activator is enabled or not."
        },
        "name": {
          "type": "string",
          "description": "The name of the activator."
        },
        "type": {
          "type": "string",
          "description": "The type of the activator.",
          "enum": [
            "dbus",
            "socket",
            "timer"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/canonical-app"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.