---
title: "Template"
url: "https://devportal.jilson.dev/apis/document-generator-pkce-flow-1/versions/c7bf5731-4982-4310-bcfe-512415c7d543/schemas/Template"
---

> Full API specification: https://devportal.jilson.dev/apis/document-generator-pkce-flow-1/versions/c7bf5731-4982-4310-bcfe-512415c7d543.md

# Template

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Document Generator API
  version: "1.0"
components:
  schemas:
    TemplatePermissions:
      type: object
      properties:
        CanRead:
          type: boolean
          nullable: true
        CanWrite:
          type: boolean
          nullable: true
        CanDelete:
          type: boolean
          nullable: true
        CanShare:
          type: boolean
          nullable: true
      additionalProperties: false
    Template:
      type: object
      properties:
        id:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        RID:
          type: string
          nullable: true
        rootType:
          type: string
          nullable: true
        containerRID:
          type: string
          nullable: true
        creator:
          type: string
          nullable: true
        created:
          type: string
          format: date-time
          nullable: true
        policies:
          $ref: "#/components/schemas/TemplatePermissions"
      additionalProperties: false
```
