Canonical · Schema

ArtefactMatchingRuleRequest

Request to create an artefact matching rule (extends base with team_ids)

CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity

Properties

Name Type Description
name string
family object
stage string
track string
branch string
store string
series string
os string
release string
owner string
grant_permissions array
team_ids array
View JSON Schema on GitHub

JSON Schema

canonical-artefact-matching-rule-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-artefact-matching-rule-request-schema.json",
  "title": "ArtefactMatchingRuleRequest",
  "description": "Request to create an artefact matching rule (extends base with team_ids)",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-artefact-matching-rules-api-openapi.yml#/components/schemas/ArtefactMatchingRuleRequest",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "default": ""
    },
    "family": {
      "$ref": "#/$defs/FamilyName"
    },
    "stage": {
      "type": "string",
      "title": "Stage",
      "default": ""
    },
    "track": {
      "type": "string",
      "title": "Track",
      "default": ""
    },
    "branch": {
      "type": "string",
      "title": "Branch",
      "default": ""
    },
    "store": {
      "type": "string",
      "title": "Store",
      "default": ""
    },
    "series": {
      "type": "string",
      "title": "Series",
      "default": ""
    },
    "os": {
      "type": "string",
      "title": "Os",
      "default": ""
    },
    "release": {
      "type": "string",
      "title": "Release",
      "default": ""
    },
    "owner": {
      "type": "string",
      "title": "Owner",
      "default": ""
    },
    "grant_permissions": {
      "items": {
        "$ref": "#/$defs/Permission"
      },
      "type": "array",
      "title": "Grant Permissions"
    },
    "team_ids": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Team Ids"
    }
  },
  "type": "object",
  "required": [
    "family",
    "team_ids"
  ],
  "$defs": {
    "FamilyName": {
      "type": "string",
      "enum": [
        "snap",
        "deb",
        "charm",
        "image",
        "solution"
      ],
      "title": "FamilyName"
    },
    "Permission": {
      "type": "string",
      "enum": [
        "view_user",
        "change_user",
        "view_team",
        "change_team",
        "add_application",
        "change_application",
        "view_application",
        "view_permission",
        "view_issue",
        "change_issue",
        "change_issue_attachment",
        "change_issue_attachment_bulk",
        "change_attachment_rule",
        "change_auto_rerun",
        "view_test",
        "change_test",
        "view_rerun",
        "change_rerun",
        "change_rerun_bulk",
        "view_artefact",
        "change_artefact",
        "view_environment_review",
        "change_environment_review",
        "view_report",
        "view_test_case_reported_issue",
        "change_test_case_reported_issue",
        "view_environment_reported_issue",
        "change_environment_reported_issue",
        "view_notification",
        "change_notification",
        "view_sentry_debug"
      ],
      "title": "Permission"
    }
  }
}

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-artefact-matching-rule-request"
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.