Robin AI · Schema

Robin AI Template

A reusable extraction Template — an ordered set of typed prompts that Robin runs against each Document in a Table.

LegalLegalTechContract ReviewContract AnalysisContract Lifecycle ManagementCLMDocument ExtractionStructured DataLegal AIArtificial IntelligenceWord Add-InPlaybookRedliningObligation TrackingAnthropicClaude

Properties

Name Type Description
id string
name string
description string
prompts array
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

robin-ai-template-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/robin-ai/main/json-schema/robin-ai-template-schema.json",
  "title": "Robin AI Template",
  "description": "A reusable extraction Template — an ordered set of typed prompts that Robin runs against each Document in a Table.",
  "type": "object",
  "required": ["id", "name", "prompts", "created_at", "updated_at"],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^tpl_[A-Za-z0-9]+$",
      "examples": ["tpl_11abcd1234efgh6789"]
    },
    "name": { "type": "string" },
    "description": { "type": "string" },
    "prompts": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": ["name", "prompt_text", "answer_format"],
        "properties": {
          "name": { "type": "string" },
          "prompt_text": { "type": "string" },
          "answer_format": {
            "type": "string",
            "enum": [
              "text_summary",
              "text_word",
              "number_general",
              "number_currency",
              "number_percentage",
              "date",
              "boolean",
              "list"
            ]
          }
        }
      }
    },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" }
  }
}