Metadata-Version: 2.4
Name: vd-dlt-notion-schema
Version: 0.1.1
Summary: Notion connector schema, defaults, and documentation for vd-dlt
Project-URL: Homepage, https://github.com/accelerate-data/vd-dlt-connectors
Project-URL: Repository, https://github.com/accelerate-data/vd-dlt-connectors
Author-email: VibeData <info@vibedata.dev>
License-Expression: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Database
Requires-Python: >=3.9
Requires-Dist: pyyaml>=6.0
Description-Content-Type: text/markdown

# vd-dlt-notion-schema

Schema, defaults, and documentation for the Notion connector in vd-dlt pipelines.

## Installation

```bash
# Install via vd-dlt extras (recommended)
pip install vd-dlt[notion-schema]

# Or install directly
pip install vd-dlt-notion-schema
```

## Contents

- **defaults.yml** - Resource templates and default sync configuration (30+ Notion API endpoints)
- **schema.json** - JSON Schema for validating Notion credentials
- **manifest.yml** - Connector metadata (name, version, status)
- **docs/** - Connector documentation

## Usage

```python
from vd_dlt_notion_schema import get_defaults, get_schema, get_manifest

# Get connector defaults
defaults = get_defaults()
print(defaults["default_sync"])  # write_disposition, sync_mode, etc.
print(len(defaults["resources"]))  # 30+ resource templates

# Get credentials schema
schema = get_schema()
print(schema["definitions"]["credentials"]["required"])  # ["access_token"]

# Get connector metadata
manifest = get_manifest()
print(manifest["name"])  # "notion"
print(manifest["version"])  # "1.0.0"
```
