Canonical · Schema
PromptingPrompt
CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique prompt identifier. |
| timestamp | string | Timestamp at which the prompt was created or last modified (RFC3339Nano format). |
| snap | string | The name of the snap whose action triggered the prompt. |
| interface | string | The interface associated with the prompt. |
| constraints | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-prompting-prompt-schema.json",
"title": "PromptingPrompt",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/canonical-experimental-api-openapi.yml#/components/schemas/PromptingPrompt",
"type": "object",
"required": [
"id",
"timestamp",
"snap",
"interface",
"constraints"
],
"properties": {
"id": {
"type": "string",
"description": "Unique prompt identifier."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp at which the prompt was created or last modified (RFC3339Nano format)."
},
"snap": {
"type": "string",
"description": "The name of the snap whose action triggered the prompt."
},
"interface": {
"type": "string",
"description": "The interface associated with the prompt.",
"enum": [
"home",
"camera"
]
},
"constraints": {
"oneOf": [
{
"$ref": "#/$defs/PromptingPromptConstraintsCamera"
},
{
"$ref": "#/$defs/PromptingPromptConstraintsHome"
}
]
}
},
"$defs": {
"PromptingPromptConstraintsCamera": {
"type": "object",
"description": "Represents the constraints associated with a prompt for the camera interface.",
"required": [
"requested-permissions",
"available-permissions"
],
"properties": {
"requested-permissions": {
"type": "array",
"description": "The permissions for which access is requested.",
"items": {
"type": "string",
"enum": [
"access"
]
}
},
"available-permissions": {
"type": "array",
"description": "The complete list of permissions for the camera interface.",
"items": {
"type": "string",
"enum": [
"access"
]
}
}
}
},
"PromptingPromptConstraintsHome": {
"type": "object",
"description": "Represents the constraints associated with a prompt for the home interface.",
"required": [
"path",
"requested-permissions",
"available-permissions"
],
"properties": {
"path": {
"type": "string",
"description": "The path for which access is requested."
},
"requested-permissions": {
"type": "array",
"description": "The permissions for which access is requested.",
"items": {
"type": "string",
"enum": [
"read",
"write",
"execute"
]
}
},
"available-permissions": {
"type": "array",
"description": "The complete list of permissions for the home interface.",
"items": {
"type": "string",
"enum": [
"read",
"write",
"execute"
]
}
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/canonical-prompting-prompt"
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.