# DocumentTaxonomy Class

> * Namespace: `UiPath.DocumentProcessing.Contracts.Taxonomy`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Taxonomy`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

A public class that represents a Taxonomy file, organized in groups and categories, along with a set of languages supported by the document processing infrastructure.

## Members

#### Constructors

* `DocumentTaxonomy()` - Initializes a new instance of the `DocumentTaxonomy` class with no arguments.

#### Methods

* `Serialize()` - Returns a string with the serialized contents of the `DocumentTaxonomy` object.
* `Deserialize`(`string` `SerializedTaxonomy`) - A static method that returns a new instance of the `DocumentTaxonomy` class containing the information serialized in the input string.
* `GetFields`(`string` `DocumentTypeId`) - Returns a list of `UiPath.DocumentProcessing.Contracts.Taxonomy.Fields` objects containing the field definitions associated with the document type identified by using the `DocumentTypeId` argument.

#### Properties

* `DataContractVersion` `string` - The package version with which the `DocumentTaxonomy` object was generated. The default value is `1.0`.
* `DocumentTypes` - A list of defined `DocumentType` objects as found in the Taxonomy file referenced in `DocumentTaxonomy`.
* `Groups` - A list of `DocumentGroup` objects defined in the `DocumentTaxonomy`.
* `SupportedLanguages` - A list of languages supported by the `DocumentTaxonomy`.
