validate-segment

Official

Validate segment YAML against TD API.

Authortreasure-data
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Validates segment YAML against the TD CDP API specification, ensuring operators, time units, and behavior aggregations are correct.

Core Features & Use Cases

  • Operator validation (Equal, In, Contain, TimeWithinPast, etc.)
  • Time unit singularization checks
  • Behavior aggregation structure validation

Quick Start

Use tdx sg validate to check all segments or validate a specific file: tdx sg validate path/to/segment.yml.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: validate-segment
Download link: https://github.com/treasure-data/td-skills/archive/main.zip#validate-segment

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository