---
title: "Schema"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/data/schema
markdown: https://docs.nodetool.ai/nodes/nodetool/data/schema.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/data/schema.md
---

# Schema

**Type:** `nodetool.data.Schema`

**Namespace:** `nodetool.data`

## Description

Define a schema for a dataframe.
    schema, dataframe, create

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| columns | `record_type` | The columns to use in the dataframe. | `{"type":"record_type","columns":[]}` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `record_type` |  |

## Related Nodes

Browse other nodes in the [nodetool.data](./) namespace.
