OKF Index · Schema

Document

KnowledgeArtificial IntelligenceDatasetsSearchOpen Knowledge

Properties

Name Type Description
id string The 64-character ID returned by the API.
version_id string Immutable version ID, present in private history.
current boolean Whether this retained version is current.
published boolean Whether this retained version is the one explicitly published.
base_id string The 64-character ID returned by the API.
filename string Original filename.
title string Filename without extension.
format string md, txt, pdf, docx or doc after conversion.
managed stringnull dataset for generated metadata; edit through save_base_dataset. Null for ordinary files.
sha256 string SHA-256 of stored UTF-8 text. Converted source hash is source_sha256.
bytes integer Stored UTF-8 text size in bytes.
status string ready or pending.
created_at string Upload date, ISO 8601.
api string JSON with Markdown.
source_url stringnull Present on document reads: source URL preserved with this version, or null for manual uploads. Also included in the exported OKF concept.
source_sha256 string SHA-256 of the original converted file.
pages integer PDF physical page count. Zero for continuous DOC and DOCX text.
review object PDF: completed automated review. DOC/DOCX: not_applicable, null model and zero pages reviewed.
markdown_url string Markdown download.
original_url string Original file download.
conversion_url string Owner-only saved manifest, source metadata and processing result. Present for converted versions in private history.
okf_url string OKF concept URL.
View JSON Schema on GitHub

JSON Schema

okfindex-com-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/okfindex-com/json-schema/okfindex-com-document-schema.json",
  "title": "Document",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/okfindex-com-openapi.yml#/components/schemas/Document",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The 64-character ID returned by the API."
    },
    "version_id": {
      "type": "string",
      "description": "Immutable version ID, present in private history."
    },
    "current": {
      "type": "boolean",
      "description": "Whether this retained version is current."
    },
    "published": {
      "type": "boolean",
      "description": "Whether this retained version is the one explicitly published."
    },
    "base_id": {
      "type": "string",
      "description": "The 64-character ID returned by the API."
    },
    "filename": {
      "type": "string",
      "description": "Original filename."
    },
    "title": {
      "type": "string",
      "description": "Filename without extension."
    },
    "format": {
      "type": "string",
      "description": "md, txt, pdf, docx or doc after conversion."
    },
    "managed": {
      "type": [
        "string",
        "null"
      ],
      "description": "dataset for generated metadata; edit through save_base_dataset. Null for ordinary files."
    },
    "sha256": {
      "type": "string",
      "description": "SHA-256 of stored UTF-8 text. Converted source hash is source_sha256."
    },
    "bytes": {
      "type": "integer",
      "description": "Stored UTF-8 text size in bytes."
    },
    "status": {
      "type": "string",
      "description": "ready or pending."
    },
    "created_at": {
      "type": "string",
      "description": "Upload date, ISO 8601."
    },
    "api": {
      "type": "string",
      "description": "JSON with Markdown."
    },
    "source_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Present on document reads: source URL preserved with this version, or null for manual uploads. Also included in the exported OKF concept."
    },
    "source_sha256": {
      "type": "string",
      "description": "SHA-256 of the original converted file."
    },
    "pages": {
      "type": "integer",
      "description": "PDF physical page count. Zero for continuous DOC and DOCX text."
    },
    "review": {
      "type": "object",
      "description": "PDF: completed automated review. DOC/DOCX: not_applicable, null model and zero pages reviewed."
    },
    "markdown_url": {
      "type": "string",
      "description": "Markdown download."
    },
    "original_url": {
      "type": "string",
      "description": "Original file download."
    },
    "conversion_url": {
      "type": "string",
      "description": "Owner-only saved manifest, source metadata and processing result. Present for converted versions in private history."
    },
    "okf_url": {
      "type": "string",
      "description": "OKF concept URL."
    }
  },
  "required": [
    "id",
    "base_id",
    "filename",
    "title",
    "format",
    "managed",
    "sha256",
    "bytes",
    "status",
    "created_at",
    "api",
    "markdown_url",
    "original_url",
    "okf_url"
  ]
}

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/okfindex-com-document"
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.