TOON Schema
Define types · Validate instances · Enforce constraints
重置示例
✓ All checks passed — instance matches schema
Schema Definition
TOON-like format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# TOON Schema — GitHub Repo type: object required: name: string stars: number fork: boolean url: type: string pattern: "^https://" description: type: string languages: type: array items: type: string config: type: object properties: port: type: number min: 1 max: 65535 debug: type: boolean
Instance (TOON Data)
.toon
1
2
3
4
5
6
7
8
9
10
# GitHub repo name: toon-tool url: https://github.com/zning1994-agent/toon-tool stars: 42 fork: true languages: JavaScript, TypeScript, Python config: port: 3000 debug: true