dialogbrain-com · Schema

DraftCard

Complete draft card with preview, evidence, and guard checks.

CompanyArtificial IntelligenceCustomer ServiceMessagingVoice

Properties

Name Type Description
action_id string
thread_id string
preview object
evidence array
guard object
created_at string
metadata object
View JSON Schema on GitHub

JSON Schema

dialogbrain-com-draft-card-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dialogbrain-com/json-schema/dialogbrain-com-draft-card-schema.json",
  "title": "DraftCard",
  "description": "Complete draft card with preview, evidence, and guard checks.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dialogbrain-com-agent-api-openapi.yml#/components/schemas/DraftCard",
  "properties": {
    "action_id": {
      "type": "string",
      "title": "Action Id"
    },
    "thread_id": {
      "type": "string",
      "title": "Thread Id"
    },
    "preview": {
      "$ref": "#/$defs/DraftPreview"
    },
    "evidence": {
      "items": {
        "$ref": "#/$defs/RAGEvidence"
      },
      "type": "array",
      "title": "Evidence"
    },
    "guard": {
      "$ref": "#/$defs/GuardCheck"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "action_id",
    "thread_id",
    "preview",
    "guard"
  ],
  "$defs": {
    "DraftPreview": {
      "properties": {
        "title": {
          "type": "string",
          "title": "Title"
        },
        "content": {
          "type": "string",
          "title": "Content"
        },
        "recipients": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Recipients"
        },
        "evidence_used": {
          "type": "boolean",
          "title": "Evidence Used",
          "default": false
        },
        "evidence_count": {
          "type": "integer",
          "title": "Evidence Count",
          "default": 0
        }
      },
      "type": "object",
      "required": [
        "title",
        "content",
        "recipients"
      ],
      "title": "DraftPreview",
      "description": "Draft message preview."
    },
    "GuardCheck": {
      "properties": {
        "status": {
          "$ref": "#/$defs/GuardStatus"
        },
        "issues": {
          "items": {
            "$ref": "#/$defs/GuardIssue"
          },
          "type": "array",
          "title": "Issues"
        },
        "analysis": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Analysis"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "title": "Timestamp"
        }
      },
      "type": "object",
      "required": [
        "status"
      ],
      "title": "GuardCheck",
      "description": "Guard check result."
    },
    "GuardIssue": {
      "properties": {
        "type": {
          "type": "string",
          "title": "Type"
        },
        "severity": {
          "type": "string",
          "title": "Severity"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "suggestion": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Suggestion"
        }
      },
      "type": "object",
      "required": [
        "type",
        "severity",
        "description"
      ],
      "title": "GuardIssue",
      "description": "Individual guard issue detected."
    },
    "GuardStatus": {
      "type": "string",
      "enum": [
        "pass",
        "warning",
        "block"
      ],
      "title": "GuardStatus",
      "description": "Guard check status."
    },
    "RAGEvidence": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "source_desc": {
          "type": "string",
          "title": "Source Desc"
        },
        "relevance": {
          "type": "number",
          "title": "Relevance"
        },
        "source_type": {
          "type": "string",
          "title": "Source Type"
        },
        "uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Uri"
        },
        "metadata": {
          "additionalProperties": true,
          "type": "object",
          "title": "Metadata"
        },
        "chunk_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Chunk Id"
        }
      },
      "type": "object",
      "required": [
        "text",
        "source_desc",
        "relevance",
        "source_type"
      ],
      "title": "RAGEvidence",
      "description": "RAG search evidence."
    }
  }
}

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/dialogbrain-com-draft-card"
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.