Canonical · Schema

IssueResponse

CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity

Properties

Name Type Description
id integer
source object
project string
key string
title string
status object
url string
labels object
auto_rerun_enabled boolean
attachment_rules array
View JSON Schema on GitHub

JSON Schema

canonical-issue-response-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-response-schema.json",
  "title": "IssueResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-issues-api-openapi.yml#/components/schemas/IssueResponse",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "source": {
      "$ref": "#/$defs/IssueSource"
    },
    "project": {
      "type": "string",
      "title": "Project"
    },
    "key": {
      "type": "string",
      "title": "Key"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "status": {
      "$ref": "#/$defs/IssueStatus"
    },
    "url": {
      "type": "string",
      "maxLength": 2083,
      "minLength": 1,
      "format": "uri",
      "title": "Url"
    },
    "labels": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Labels"
    },
    "auto_rerun_enabled": {
      "type": "boolean",
      "title": "Auto Rerun Enabled"
    },
    "attachment_rules": {
      "items": {
        "$ref": "#/$defs/MinimalIssueTestResultAttachmentRuleResponse"
      },
      "type": "array",
      "title": "Attachment Rules"
    }
  },
  "type": "object",
  "required": [
    "id",
    "source",
    "project",
    "key",
    "title",
    "status",
    "url",
    "auto_rerun_enabled",
    "attachment_rules"
  ],
  "$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"
    },
    "IssueSource": {
      "type": "string",
      "enum": [
        "jira",
        "github",
        "launchpad"
      ],
      "title": "IssueSource"
    },
    "IssueStatus": {
      "type": "string",
      "enum": [
        "unknown",
        "open",
        "closed"
      ],
      "title": "IssueStatus"
    },
    "MinimalIssueTestResultAttachmentRuleResponse": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "enabled": {
          "type": "boolean",
          "title": "Enabled"
        },
        "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",
      "required": [
        "id",
        "enabled",
        "families",
        "artefacts",
        "artefact_versions",
        "artefact_stages",
        "artefact_tracks",
        "environment_names",
        "test_plans",
        "test_case_names",
        "template_ids",
        "test_result_statuses",
        "execution_metadata"
      ],
      "title": "MinimalIssueTestResultAttachmentRuleResponse"
    },
    "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-response"
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.