[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: Readonly): import("js-yaml").Schema;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | Readonly<[SchemaOptions](./js-yaml-schema.schemaoptions.md)> | |
Returns:
import("js-yaml").Schema