[Home](./index.md) > [@apextoaster/js-yaml-schema](./js-yaml-schema.md) > [createSchema](./js-yaml-schema.createschema.md)
## createSchema() function
Safe schema with additional library types added.
Signature:
```typescript
export declare function createSchema(options: SchemaOptions): Schema;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | [SchemaOptions](./js-yaml-schema.schemaoptions.md) | |
Returns:
Schema