[Home](./index.md) > [@apextoaster/js-yaml-schema](./js-yaml-schema.md) > [createIncludeSchema](./js-yaml-schema.createincludeschema.md)
## createIncludeSchema() function
> Warning: This API is now obsolete.
>
> use `createSchema` unless the include type is needed, since it requires a number of callbacks
>
Extended schema with the include type, and auto-configuration of the include schema.
Signature:
```typescript
export declare function createIncludeSchema(options: Readonly): Schema;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | Readonly<[IncludeSchemaOptions](./js-yaml-schema.includeschemaoptions.md)> | |
Returns:
Schema