---
title: createTLSchema
status: published
category: tlschema
group: Function
author: api
date: 06/23/2023
order: 14
---<Small>Public Function</Small>

Create a TLSchema with custom shapes. Custom shapes cannot override default shapes.


##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`{ shapes }`

</ParametersTableName>
<ParametersTableDescription>

```ts
{
  shapes: Record<string, SchemaShapeInfo>
}
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
TLSchema
```

##### References

[SchemaShapeInfo](/gen/tlschema/SchemaShapeInfo-type), [TLSchema](/gen/tlschema/TLSchema-type)

