[Home](./index.md) > [3d-tiles-validator](./3d-tiles-validator.md) > [ValidationOptions](./3d-tiles-validator.validationoptions.md) ## ValidationOptions class > This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment. > A class describing the options for a validator within a `ValidationContext` Note: Some aspects of this class are preliminary. The exact options and their representation in this class may still change. **Signature:** ```typescript export declare class ValidationOptions ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)()](./3d-tiles-validator.validationoptions._constructor_.md) | |

**_(BETA)_** Default constructor.

The default options will be:

- validateContentData = true, causing content data to be validated - includeContentTypes = undefined, causing ALL known content types to be included in the validation. - excludeContentTypes = undefined, causing NO known content types to be excluded the validation.

| ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [excludeContentTypes](./3d-tiles-validator.validationoptions.excludecontenttypes.md) | | string\[\] \| undefined |

**_(BETA)_** The content types that should be excluded.

See includeContentTypes for details.

If this is undefined, then NO known content type will be excluded.

| | [includeContentTypes](./3d-tiles-validator.validationoptions.includecontenttypes.md) | | string\[\] \| undefined |

**_(BETA)_** The content types that should be included.

This is an array containing any of the following content type descriptors:

- CONTENT_TYPE_TILESET (for external tilesets)

- CONTENT_TYPE_GLB (for binary glTF only)

- CONTENT_TYPE_GLTF (for JSON-based glTF)

- CONTENT_TYPE_B3DM

- CONTENT_TYPE_I3DM

- CONTENT_TYPE_CMPT

- CONTENT_TYPE_PNTS

- CONTENT_TYPE_3TZ (Experimental support)

- CONTENT_TYPE_GEOM (Not validated yet)

- CONTENT_TYPE_VCTR (Not validated yet)

- CONTENT_TYPE_GEOJSON (Not validated yet)

If this is undefined, then ALL known content types will be included. Note that this may mean that encountering certain content types will cause a validation warning when the content type validation is not implemented.

| | [validateContentData](./3d-tiles-validator.validationoptions.validatecontentdata.md) | | boolean | **_(BETA)_** The flag that incicates whether content data should be validated at all. When this is false, then all content data validations will be skipped. | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [fromJson(json)](./3d-tiles-validator.validationoptions.fromjson.md) | static | **_(BETA)_** Creates a new ValidationOptions object where each property is initialized from the given JSON object. |