Robin AI · Schema

Robin AI Document

A document uploaded to Robin AI's Legal Intelligence Platform for AI-powered contract analysis and structured extraction.

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

Properties

Name Type Description
id string Stable Robin document identifier.
name string Human-readable filename or title.
type stringnull Detected document type (e.g., NDA, MSA, lease).
group stringnull Group ID this document belongs to.
document_status string
processing_status string
created_at string
updated_at string
properties array Typed custom properties assigned to this document.
View JSON Schema on GitHub

JSON Schema

robin-ai-document-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-document-schema.json",
  "title": "Robin AI Document",
  "description": "A document uploaded to Robin AI's Legal Intelligence Platform for AI-powered contract analysis and structured extraction.",
  "type": "object",
  "required": ["id", "name", "document_status", "processing_status", "created_at", "updated_at"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable Robin document identifier.",
      "pattern": "^doc_[A-Za-z0-9]+$",
      "examples": ["doc_11abcd1234efgh6789"]
    },
    "name": { "type": "string", "description": "Human-readable filename or title." },
    "type": { "type": ["string", "null"], "description": "Detected document type (e.g., NDA, MSA, lease)." },
    "group": { "type": ["string", "null"], "description": "Group ID this document belongs to." },
    "document_status": {
      "type": "string",
      "enum": ["active", "inactive", "archived", "deleted"]
    },
    "processing_status": {
      "type": "string",
      "enum": ["pending", "processing", "completed", "failed"]
    },
    "created_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "properties": {
      "type": "array",
      "description": "Typed custom properties assigned to this document.",
      "items": {
        "type": "object",
        "required": ["definition_key", "value"],
        "properties": {
          "definition_key": { "type": "string" },
          "value": {
            "oneOf": [
              { "type": "string" },
              { "type": "number" },
              { "type": "boolean" }
            ]
          }
        }
      }
    }
  }
}