# Class DocumentSchema (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

    DocumentSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A document schema used to define document structure.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema. |
| `display_name` | `str` Required. Name of the schema given by the user. Must be unique per project. |
| `property_definitions` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.PropertyDefinition]` Document details. |
| `document_is_folder` | `bool` Document Type, true refers the document is a folder, otherwise it is a typical document. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the document schema is last updated. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the document schema is created. |
| `description` | `str` Schema description. |