Trooth · Schema

Trooth problem catalog, version 1

The registry. Canonical JSON Schema: https://trooth.co/schemas/problem-catalog.v1.schema.json; embedded here with its $defs as ProblemCatalog_* components.

TrustInfrastructureCybersecurityArtificial IntelligenceData

Properties

Name Type Description
format object Names this shape.
media_type object The media type of every problem document.
next_actions array Every next_action value.
problems array One entry per code.
how_to_read string How to read this catalog.
View JSON Schema on GitHub

JSON Schema

trooth-co-problem-catalog-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trooth-co/json-schema/trooth-co-problem-catalog-schema.json",
  "title": "Trooth problem catalog, version 1",
  "description": "The registry. Canonical JSON Schema: https://trooth.co/schemas/problem-catalog.v1.schema.json; embedded here with its $defs as ProblemCatalog_* components.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trooth-co-openapi.json#/components/schemas/ProblemCatalog",
  "type": "object",
  "required": [
    "format",
    "media_type",
    "next_actions",
    "problems",
    "how_to_read"
  ],
  "additionalProperties": false,
  "properties": {
    "format": {
      "const": "trooth.problem-catalog.v1",
      "description": "Names this shape."
    },
    "media_type": {
      "const": "application/problem+json",
      "description": "The media type of every problem document."
    },
    "next_actions": {
      "type": "array",
      "description": "Every next_action value.",
      "items": {
        "enum": [
          "retry_later",
          "fix_request",
          "start_over",
          "resync",
          "use_current_record",
          "none",
          "authenticate",
          "ask_owner",
          "prove_domain",
          "contact_support"
        ],
        "description": "A next action."
      }
    },
    "problems": {
      "type": "array",
      "description": "One entry per code.",
      "items": {
        "type": "object",
        "description": "A code.",
        "required": [
          "code",
          "type",
          "status",
          "title",
          "retryable",
          "next_action",
          "fix",
          "terminal"
        ],
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string",
            "description": "The code; switch on this."
          },
          "type": {
            "type": "string",
            "description": "The RFC 9457 type URI."
          },
          "status": {
            "type": "integer",
            "description": "HTTP status.",
            "minimum": 100
          },
          "title": {
            "type": "string",
            "description": "The fixed title."
          },
          "retryable": {
            "type": "boolean",
            "description": "True when the same request may succeed after retry_after."
          },
          "next_action": {
            "enum": [
              "retry_later",
              "fix_request",
              "start_over",
              "resync",
              "use_current_record",
              "none",
              "authenticate",
              "ask_owner",
              "prove_domain",
              "contact_support"
            ],
            "description": "What to do next."
          },
          "fix": {
            "type": "string",
            "description": "One sentence on how to repair the request; the same sentence the error carries."
          },
          "terminal": {
            "type": "boolean",
            "description": "True when repeating the same request cannot change the answer; exactly not retryable."
          }
        }
      }
    },
    "how_to_read": {
      "type": "string",
      "description": "How to read this catalog."
    }
  }
}

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/trooth-co-problem-catalog"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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