---
title: "Document"
description: "Explore our comprehensive document schema, properties, and language-specific cookbooks to enhance your development. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/reference/types/document"
---

# <a id="top"></a>Document

An Object

##### Table of Contents

- [Overview](#top "Overview")
- [Properties](#properties "Properties")
- [Schema](#schema "Schema")

> **Note:** Drop in one of our language drivers to accelerate your development.  
> Here are links to some of our popular [Cookbooks](/documentation/gitana/4.0/developers/cookbooks/overview.md) to help you get started!
> 
> - [C#](/documentation/gitana/4.0/developers/cookbooks/csharp.md)
> - [Go](/documentation/gitana/4.0/developers/cookbooks/go.md)
> - [Java](/documentation/gitana/4.0/developers/cookbooks/java.md)
> - [JavaScript](/documentation/gitana/4.0/developers/cookbooks/javascript2.md)
> - [PHP](/documentation/gitana/4.0/developers/cookbooks/php.md)
> - [Python](/documentation/gitana/4.0/developers/cookbooks/python.md)
> - [Ruby](/documentation/gitana/4.0/developers/cookbooks/ruby.md)

## <a id="properties"></a>Properties

The following properties are available:

| Property | Type | Default | Read-Only | Description |
| --- | --- | --- | --- | --- |
| \_doc | string |  | No | The primary ID |
| \_system | object |  | No | Metadata maintained by the system |

## <a id="schema"></a>Schema

```json

{
  "type": "object",
  "description": "Document",
  "properties": {
    "_doc": {
      "type": "string",
      "description": "The primary ID"
    },
    "_system": {
      "type": "object",
      "description": "Metadata maintained by the system",
      "properties": {
        "modified_on": {
          "type": "timestamp"
        },
        "modified_by": {
          "type": "string"
        },
        "modified_by_principal_id": {
          "type": "string"
        },
        "modified_by_principal_domain_id": {
          "type": "string"
        },
        "created_on": {
          "type": "timestamp"
        },
        "created_by": {
          "type": "string"
        },
        "created_by_principal_id": {
          "type": "string"
        },
        "created_by_principal_domain_id": {
          "type": "string"
        }
      }
    }
  },
  "id": "document"
}
```
