Skip to content

Commit 058d3fe

Browse files
committed
feat: add diverse ZONF and JSON example files and update schema type hints
1 parent 053f111 commit 058d3fe

28 files changed

Lines changed: 530 additions & 2 deletions

zon-format/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ wheels/
2121
.pytest_cache/
2222
.coverage
2323
htmlcov/
24-
/examples/
24+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "ZON Format",
3+
"version": "1.1.0",
4+
"active": true,
5+
"score": 98.5,
6+
"description": null
7+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
active:T
2+
description:null
3+
name:ZON Format
4+
score:98.5
5+
version:1.1.0
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
"apple",
3+
"banana",
4+
"cherry",
5+
"date",
6+
"elderberry"
7+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[apple,banana,cherry,date,elderberry]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"id": 1,
4+
"name": "Alice",
5+
"role": "Admin"
6+
},
7+
{
8+
"id": 2,
9+
"name": "Bob",
10+
"role": "User"
11+
},
12+
{
13+
"id": 3,
14+
"name": "Charlie",
15+
"role": "Guest"
16+
}
17+
]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@3:id,name,role
2+
1,Alice,Admin
3+
2,Bob,User
4+
3,Charlie,Guest
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"id": 101,
4+
"name": "John Doe",
5+
"department": "Engineering",
6+
"salary": 85000,
7+
"active": true
8+
},
9+
{
10+
"id": 102,
11+
"name": "Jane Smith",
12+
"department": "Marketing",
13+
"salary": 72000,
14+
"active": true
15+
},
16+
{
17+
"id": 103,
18+
"name": "Sam Brown",
19+
"department": "Engineering",
20+
"salary": 90000,
21+
"active": false
22+
},
23+
{
24+
"id": 104,
25+
"name": "Emily Davis",
26+
"department": "HR",
27+
"salary": 65000,
28+
"active": true
29+
}
30+
]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@4:active,department,id,name,salary
2+
T,Engineering,101,John Doe,85000
3+
T,Marketing,102,Jane Smith,72000
4+
F,Engineering,103,Sam Brown,90000
5+
T,HR,104,Emily Davis,65000
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"metadata": {
3+
"generated": "2025-01-01T12:00:00Z",
4+
"source": "System A"
5+
},
6+
"items": [
7+
{
8+
"id": 1,
9+
"value": 100
10+
},
11+
{
12+
"id": 2,
13+
"value": 200
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)