---
title: "Document"
url: "https://nov18-dev.movespot.fyi/apis/internal-documenthub-developer-api-0/versions/e30c6169-1eab-485d-8526-f80b29f34b35/schemas/DocumentRaw"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/internal-documenthub-developer-api-0/versions/e30c6169-1eab-485d-8526-f80b29f34b35.md

# Document

a document

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Internal DocumentHub Developer Api
  version: 0.0.1
servers:
  - url: http://documenthub.documenthub.svc.cluster.local:4400/developer/v0
    description: Konnect cluster
components:
  schemas:
    RevisionRaw:
      description: revision of a document
      type: object
      properties:
        id:
          description: the id of the revision
          type: string
          format: uuid
          example: d32d905a-ed33-46a3-a093-d8f536af9a8a
        document_id:
          description: the id of the document
          type: string
          format: uuid
          example: d32d905a-ed33-46a3-a093-d8f536af9a8a
        content:
          description: Markdown document
          type: string
        meta:
          description: the metadata of the document
          type: object
          example:
            title: Hello World
            description: This is a description
            keywords: hello, world
        title:
          description: the title of the document
          type: string
          example: Hello World
      required:
        - id
        - document_id
        - content
        - meta
        - title
      title: Revision
    DocumentRaw:
      description: a document
      type: object
      properties:
        id:
          description: the id of the document
          type: string
          format: uuid
          example: d32d905a-ed33-46a3-a093-d8f536af9a8a
        parent_document_id:
          description: the id of the parent document
          type: string
          format: uuid
          example: dd4e1b98-3629-4dd3-acc0-759a726ffee2
          nullable: true
        slug:
          description: the slug of the document
          type: string
          example: getting-started
        revision:
          $ref: "#/components/schemas/RevisionRaw"
      required:
        - id
        - slug
        - revision
      title: Document
```
