# MetadataSchema

#### new Cesium.MetadataSchema(options)
engine/Source/Scene/MetadataSchema.js 28

A schema containing classes and enums.

See the 3D Metadata Specification for 3D Tiles

Name | Type | Description
--- | --- | ---
`options` | object | Object with the following properties:
Name | Type | Description
--- | --- | ---
`id` | string | optional The ID of the schema
`name` | string | optional The name of the schema.
`description` | string | optional The description of the schema.
`version` | string | optional The application-specific version of the schema.
`classes` | Object.<string, MetadataClass> | optional Classes defined in the schema, where each key is the class ID.
`enums` | Object.<string, MetadataEnum> | optional Enums defined in the schema, where each key is the enum ID.
`extras` | * | optional Extra user-defined properties.
`extensions` | object | optional An object containing extensions.

##### Experimental

This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.

### Members

#### readonly classes : Object.<string, MetadataClass>
engine/Source/Scene/MetadataSchema.js 104

Classes defined in the schema.

#### readonly description : string
engine/Source/Scene/MetadataSchema.js 156

The description of the schema.

#### readonly enums : Object.<string, MetadataEnum>
engine/Source/Scene/MetadataSchema.js 117

Enums defined in the schema.

#### readonly extensions : object
engine/Source/Scene/MetadataSchema.js 195

An object containing extensions.

#### readonly extras : *
engine/Source/Scene/MetadataSchema.js 182

Extra user-defined properties.

#### readonly id : string
engine/Source/Scene/MetadataSchema.js 130

The ID of the schema.

#### readonly name : string
engine/Source/Scene/MetadataSchema.js 143

The name of the schema.

#### readonly version : string
engine/Source/Scene/MetadataSchema.js 169

The application-specific version of the schema.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.