mammoth-io · Schema

BriefPatch

CompanyDataAnalyticsAutomationDashboardsArtificial Intelligence

Properties

Name Type Description
role object
purpose object
tracks object
delivery object
alerts object
page object
answer_style nullstring
words object
facts object
guessed_from object
blocks object
order nullstring
offered_on object
looked object
View JSON Schema on GitHub

JSON Schema

mammoth-io-brief-patch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mammoth-io/json-schema/mammoth-io-brief-patch-schema.json",
  "title": "BriefPatch",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mammoth-io-agents-api-openapi.yml#/components/schemas/BriefPatch",
  "properties": {
    "role": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 200
    },
    "purpose": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 400
    },
    "tracks": {
      "oneOf": [
        {
          "items": {
            "$ref": "#/$defs/Tracked"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 12
    },
    "delivery": {
      "oneOf": [
        {
          "$ref": "#/$defs/Delivery"
        },
        {
          "type": "null"
        }
      ]
    },
    "alerts": {
      "oneOf": [
        {
          "items": {
            "$ref": "#/$defs/Alert"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 12
    },
    "page": {
      "oneOf": [
        {
          "items": {
            "$ref": "#/$defs/PageRule"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 20
    },
    "answer_style": {
      "type": [
        "null",
        "string"
      ],
      "enum": [
        "words",
        "balanced",
        "charts",
        null
      ]
    },
    "words": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 2000
    },
    "facts": {
      "oneOf": [
        {
          "items": {
            "$ref": "#/$defs/Fact"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 40
    },
    "guessed_from": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "blocks": {
      "oneOf": [
        {
          "items": {
            "$ref": "#/$defs/BlockSpec"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 12
    },
    "order": {
      "type": [
        "null",
        "string"
      ],
      "enum": [
        "lift",
        "unusual",
        "arranged",
        null
      ]
    },
    "offered_on": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "looked": {
      "oneOf": [
        {
          "$ref": "#/$defs/Look"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [],
  "$defs": {
    "Alert": {
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 24,
          "default": ""
        },
        "when": {
          "type": "string",
          "maxLength": 300,
          "minLength": 1
        },
        "name": {
          "type": "string",
          "maxLength": 80,
          "default": ""
        },
        "condition": {
          "oneOf": [
            {
              "$ref": "#/$defs/AlertCondition"
            },
            {
              "type": "null"
            }
          ]
        },
        "channels": {
          "items": {
            "type": "string",
            "enum": [
              "email",
              "slack"
            ]
          },
          "type": "array"
        },
        "channel": {
          "type": [
            "null",
            "string"
          ],
          "enum": [
            "email",
            "slack",
            null
          ]
        },
        "paused_until": {
          "type": "string",
          "maxLength": 40,
          "default": ""
        },
        "created_at": {
          "type": "string",
          "maxLength": 40,
          "default": ""
        },
        "created_from": {
          "type": "string",
          "enum": [
            "chat",
            "block",
            "digest",
            "tab",
            "agent"
          ],
          "default": "tab"
        },
        "fires": {
          "items": {
            "$ref": "#/$defs/AlertFire"
          },
          "type": "array",
          "maxItems": 20
        },
        "last_key": {
          "type": "string",
          "maxLength": 80,
          "default": ""
        },
        "last_period": {
          "type": "string",
          "maxLength": 20,
          "default": ""
        },
        "last_sent_at": {
          "type": "string",
          "maxLength": 40,
          "default": ""
        }
      },
      "type": "object",
      "required": [
        "when"
      ],
      "title": "Alert"
    },
    "AlertCondition": {
      "properties": {
        "file_id": {
          "type": "integer"
        },
        "column": {
          "type": "string",
          "maxLength": 200,
          "default": ""
        },
        "fn": {
          "type": "string",
          "enum": [
            "sum",
            "avg",
            "count",
            "min",
            "max"
          ],
          "default": "sum"
        },
        "date_column": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "grain": {
          "type": "string",
          "enum": [
            "day",
            "week",
            "month",
            "quarter",
            "year"
          ],
          "default": "week"
        },
        "filters": {
          "items": {
            "$ref": "#/$defs/AlertFilter"
          },
          "type": "array",
          "maxItems": 3
        },
        "rule": {
          "type": "string",
          "enum": [
            "falls_by",
            "rises_by",
            "above",
            "below",
            "far_below",
            "far_above"
          ],
          "default": "falls_by"
        },
        "amount": {
          "oneOf": [
            {
              "type": "number",
              "default": 10
            },
            {
              "type": "null"
            }
          ],
          "default": 10
        }
      },
      "type": "object",
      "required": [
        "date_column",
        "file_id"
      ],
      "title": "AlertCondition"
    },
    "AlertFilter": {
      "properties": {
        "column": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "value": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        }
      },
      "type": "object",
      "required": [
        "column",
        "value"
      ],
      "title": "AlertFilter"
    },
    "AlertFire": {
      "properties": {
        "at": {
          "type": "string",
          "maxLength": 40
        },
        "period": {
          "type": "string",
          "maxLength": 20
        },
        "value": {
          "type": "number"
        },
        "before": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "text": {
          "type": "string",
          "maxLength": 300
        }
      },
      "type": "object",
      "required": [
        "at",
        "period",
        "text",
        "value"
      ],
      "title": "AlertFire"
    },
    "BlockSpec": {
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 24,
          "default": ""
        },
        "about": {
          "type": "string",
          "maxLength": 300,
          "minLength": 1
        },
        "shape": {
          "type": "string",
          "enum": [
            "words",
            "chart",
            "table",
            "list"
          ],
          "default": "words"
        },
        "only_when": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "maximum": 10,
          "minimum": 1.1
        }
      },
      "type": "object",
      "required": [
        "about"
      ],
      "title": "BlockSpec"
    },
    "Delivery": {
      "properties": {
        "schedule": {
          "type": "string",
          "enum": [
            "off",
            "weekly",
            "weekdays",
            "daily"
          ],
          "default": "off"
        },
        "day": {
          "type": "string",
          "enum": [
            "monday",
            "tuesday",
            "wednesday",
            "thursday",
            "friday",
            "saturday",
            "sunday"
          ],
          "default": "monday"
        },
        "hour": {
          "type": "integer",
          "maximum": 23.0,
          "minimum": 0.0,
          "default": 8
        },
        "channels": {
          "items": {
            "type": "string",
            "enum": [
              "email",
              "slack"
            ]
          },
          "type": "array"
        },
        "timezone": {
          "type": "string",
          "maxLength": 64,
          "default": "UTC"
        }
      },
      "type": "object",
      "required": [],
      "title": "Delivery"
    },
    "Fact": {
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 24,
          "default": ""
        },
        "text": {
          "type": "string",
          "maxLength": 300,
          "minLength": 1
        },
        "source": {
          "type": "string",
          "enum": [
            "setup",
            "chat",
            "edit",
            "questions"
          ],
          "default": "edit"
        },
        "at": {
          "type": "string",
          "maxLength": 40,
          "default": ""
        },
        "guess": {
          "type": "boolean",
          "default": false
        },
        "why": {
          "type": "string",
          "maxLength": 200,
          "default": ""
        },
        "about": {
          "type": "string",
          "maxLength": 300,
          "default": ""
        },
        "snoozed_until": {
          "type": "string",
          "maxLength": 40,
          "default": ""
        },
        "snoozes": {
          "type": "integer",
          "default": 0
        }
      },
      "type": "object",
      "required": [
        "text"
      ],
      "title": "Fact"
    },
    "Look": {
      "properties": {
        "at": {
          "type": "string"
        },
        "data": {
          "type": "string"
        },
        "answers": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 12
        },
        "files": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        }
      },
      "type": "object",
      "required": [
        "at",
        "data"
      ],
      "title": "Look"
    },
    "PageRule": {
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "lead",
            "always",
            "less",
            "hide"
          ]
        },
        "about": {
          "type": "string",
          "maxLength": 120,
          "minLength": 1
        },
        "source": {
          "type": "string",
          "enum": [
            "chat",
            "edit"
          ],
          "default": "edit"
        }
      },
      "type": "object",
      "required": [
        "about",
        "kind"
      ],
      "title": "PageRule"
    },
    "Tracked": {
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 120,
          "minLength": 1
        },
        "detail": {
          "type": "string",
          "maxLength": 400,
          "default": ""
        }
      },
      "type": "object",
      "required": [
        "name"
      ],
      "title": "Tracked"
    }
  }
}

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/mammoth-io-brief-patch"
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. See our Privacy Policy and Terms.

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