Canonical · Schema

IssueTestResultAttachmentRulePostRequest

CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity

Properties

Name Type Description
enabled boolean
families array
artefacts array
artefact_versions array
artefact_stages array
artefact_tracks array
environment_names array
test_plans array
test_case_names array
template_ids array
test_result_statuses array
execution_metadata object
View JSON Schema on GitHub

JSON Schema

canonical-issue-test-result-attachment-rule-post-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-issue-test-result-attachment-rule-post-request-schema.json",
  "title": "IssueTestResultAttachmentRulePostRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-issues-api-openapi.yml#/components/schemas/IssueTestResultAttachmentRulePostRequest",
  "properties": {
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "default": true
    },
    "families": {
      "items": {
        "$ref": "#/$defs/FamilyName"
      },
      "type": "array",
      "title": "Families"
    },
    "artefacts": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Artefacts"
    },
    "artefact_versions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Artefact Versions"
    },
    "artefact_stages": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Artefact Stages"
    },
    "artefact_tracks": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Artefact Tracks"
    },
    "environment_names": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Environment Names"
    },
    "test_plans": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Test Plans"
    },
    "test_case_names": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Test Case Names"
    },
    "template_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Template Ids"
    },
    "test_result_statuses": {
      "items": {
        "$ref": "#/$defs/TestResultStatus"
      },
      "type": "array",
      "title": "Test Result Statuses"
    },
    "execution_metadata": {
      "$ref": "#/$defs/ExecutionMetadata"
    }
  },
  "type": "object",
  "$defs": {
    "ExecutionMetadata": {
      "additionalProperties": {
        "items": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "description": "Execution Metadata Value"
        },
        "type": "array"
      },
      "propertyNames": {
        "maxLength": 200,
        "minLength": 1,
        "description": "Execution Metadata Category"
      },
      "type": "object",
      "title": "Execution Metadata",
      "description": "A mapping of string categories to lists of string values."
    },
    "FamilyName": {
      "type": "string",
      "enum": [
        "snap",
        "deb",
        "charm",
        "image",
        "solution"
      ],
      "title": "FamilyName"
    },
    "TestResultStatus": {
      "type": "string",
      "enum": [
        "PASSED",
        "FAILED",
        "SKIPPED"
      ],
      "title": "TestResultStatus"
    }
  }
}

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-issue-test-result-attachment-rule-post-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.