DBT Capital · Schema

EnrichedDocumentWithSummary

CompanyFinanceLoansSwedenBusiness

Properties

Name Type Description
archived boolean
createdAt string
createdBy object
downloadUrl stringnull
id string
path string
sourceProvider string The type of document manager used to store the document. One per source provider.
sourceProviderId string
title string
updatedAt string
relations array
tagSuggestions array
tags array
organizationSuggestion object
summary object
View JSON Schema on GitHub

JSON Schema

dbt-se-enriched-document-with-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dbt-se/json-schema/dbt-se-enriched-document-with-summary-schema.json",
  "title": "EnrichedDocumentWithSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dbt-se-documents-api-openapi.yml#/components/schemas/EnrichedDocumentWithSummary",
  "allOf": [
    {
      "$ref": "#/$defs/EnrichedDocument"
    },
    {
      "type": "object",
      "properties": {
        "summary": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "enum": [
                    "pending"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "status",
                "createdAt",
                "updatedAt"
              ]
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "enum": [
                    "started"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "status",
                "createdAt",
                "updatedAt"
              ]
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "enum": [
                    "failed"
                  ]
                },
                "error": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "status",
                "error",
                "createdAt",
                "updatedAt"
              ]
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "enum": [
                    "completed"
                  ]
                },
                "summary": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "status",
                "summary",
                "createdAt",
                "updatedAt"
              ]
            },
            {
              "type": "null"
            }
          ],
          "deprecated": true
        }
      },
      "required": [
        "summary"
      ]
    }
  ],
  "$defs": {
    "DBTStaffMember": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "familyName": {
          "type": [
            "string",
            "null"
          ]
        },
        "givenName": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": "string"
        },
        "linkedInUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "organizationalUnitPath": {
          "type": "string"
        },
        "phoneNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "photoUrl": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "small": {
              "type": "string"
            },
            "medium": {
              "type": "string"
            },
            "large": {
              "type": "string"
            }
          },
          "required": [
            "small",
            "medium",
            "large"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "suspended",
            "deleted"
          ]
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "displayName",
        "email",
        "familyName",
        "givenName",
        "id",
        "linkedInUrl",
        "organizationalUnitPath",
        "phoneNumber",
        "photoUrl",
        "status",
        "updatedAt"
      ]
    },
    "Document": {
      "type": "object",
      "properties": {
        "archived": {
          "type": "boolean"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "createdBy": {
          "$ref": "#/$defs/DocumentCreatedBy"
        },
        "downloadUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "sourceProvider": {
          "type": "string",
          "enum": [
            "google-drive",
            "sie",
            "files",
            "db-service"
          ],
          "description": "The type of document manager used to store the document. One per source provider.",
          "title": "DocumentManagerType"
        },
        "sourceProviderId": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "archived",
        "createdAt",
        "createdBy",
        "downloadUrl",
        "id",
        "path",
        "sourceProvider",
        "sourceProviderId",
        "title",
        "updatedAt"
      ]
    },
    "DocumentCreatedBy": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "system"
              ]
            }
          },
          "required": [
            "type"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "national-identification-number"
              ]
            },
            "value": {
              "type": "object",
              "properties": {
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "physicalPersonId": {
                  "type": "string",
                  "format": "uuid"
                },
                "maskedNationalIdentificationNumber": {
                  "type": "string"
                },
                "nationalIdentificationNumber": {
                  "type": "string"
                }
              },
              "required": [
                "displayName",
                "physicalPersonId",
                "maskedNationalIdentificationNumber",
                "nationalIdentificationNumber"
              ]
            }
          },
          "required": [
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "dbt-staff-member"
              ]
            },
            "value": {
              "allOf": [
                {
                  "$ref": "#/$defs/DBTStaffMember"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ]
            }
          },
          "required": [
            "type",
            "value"
          ]
        }
      ]
    },
    "DocumentRelation": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "accuracy": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "documentId": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "type": {
              "type": "string",
              "enum": [
                "organisation"
              ]
            },
            "value": {
              "type": "object",
              "properties": {
                "displayName": {
                  "type": "string"
                },
                "orgId": {
                  "type": "string"
                },
                "orgName": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "displayName",
                "orgId",
                "orgName"
              ]
            }
          },
          "required": [
            "accuracy",
            "createdAt",
            "documentId",
            "id",
            "updatedAt",
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "accuracy": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "documentId": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "type": {
              "type": "string",
              "enum": [
                "national-identification-number"
              ]
            },
            "value": {
              "type": "object",
              "properties": {
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "physicalPersonId": {
                  "type": "string",
                  "format": "uuid"
                },
                "maskedNationalIdentificationNumber": {
                  "type": "string"
                },
                "nationalIdentificationNumber": {
                  "type": "string"
                }
              },
              "required": [
                "displayName",
                "physicalPersonId",
                "maskedNationalIdentificationNumber",
                "nationalIdentificationNumber"
              ]
            }
          },
          "required": [
            "accuracy",
            "createdAt",
            "documentId",
            "id",
            "updatedAt",
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "accuracy": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "documentId": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "type": {
              "type": "string",
              "enum": [
                "other"
              ]
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "accuracy",
            "createdAt",
            "documentId",
            "id",
            "updatedAt",
            "type",
            "value"
          ]
        },
        {
          "type": "object",
          "properties": {
            "accuracy": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "documentId": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "type": {
              "type": "string",
              "enum": [
                "case"
              ]
            },
            "value": {
              "type": "integer"
            }
          },
          "required": [
            "accuracy",
            "createdAt",
            "documentId",
            "id",
            "updatedAt",
            "type",
            "value"
          ]
        }
      ]
    },
    "DocumentTag": {
      "type": "object",
      "properties": {
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "documentId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "tag": {
          "$ref": "#/$defs/DocumentTagType"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "createdAt",
        "documentId",
        "id",
        "tag",
        "updatedAt"
      ]
    },
    "DocumentTagSuggestion": {
      "type": "object",
      "properties": {
        "confidence": {
          "$ref": "#/$defs/DocumentTagSuggestionConfidence"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "documentId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "tag": {
          "$ref": "#/$defs/DocumentTagType"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "confidence",
        "createdAt",
        "documentId",
        "id",
        "tag",
        "updatedAt"
      ]
    },
    "DocumentTagSuggestionConfidence": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    },
    "DocumentTagType": {
      "type": "string",
      "enum": [
        "STRUCTURE",
        "COVENANT-DOCUMENTATION",
        "LOAN-AGREEMENT",
        "OTHER",
        "FALLBACK-FINANCIALS",
        "ANALYSIS-MODEL",
        "UC",
        "ANNUAL-REPORT",
        "PITCH-DECK",
        "CAP-TABLE",
        "BUDGET",
        "BUDGET-EXTRACTION-ATTEMPTED",
        "GENERATED-EXPERIMENTAL-ANALYSIS-MODEL",
        "GENERATED-ANALYSIS-MODEL",
        "CORPORATE-SHEET",
        "CREDIT-COMMITTEE-MINUTES",
        "BOARD-MINUTES"
      ]
    },
    "EnrichedDocument": {
      "allOf": [
        {
          "$ref": "#/$defs/Document"
        },
        {
          "type": "object",
          "properties": {
            "relations": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/DocumentRelation"
              }
            },
            "tagSuggestions": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/DocumentTagSuggestion"
              }
            },
            "tags": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/DocumentTag"
              }
            },
            "organizationSuggestion": {
              "$ref": "#/$defs/OrganizationSuggestion"
            }
          },
          "required": [
            "relations",
            "tagSuggestions",
            "tags",
            "organizationSuggestion"
          ]
        }
      ]
    },
    "OrganizationSuggestion": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "orgId": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "confidence": {
          "type": "string",
          "enum": [
            "high",
            "medium"
          ]
        }
      },
      "required": [
        "orgId",
        "displayName",
        "confidence"
      ]
    }
  }
}

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/dbt-se-enriched-document-with-summary"
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.