Skip to content

Commit 6c1bf20

Browse files
style: adjust example schema
1 parent f78c0c1 commit 6c1bf20

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

graphgen/templates/extraction/schemas/legal_contract.json

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,43 @@
44
"description": "A legal contract for leasing property.",
55
"properties": {
66
"leased_space": {
7-
"type": "array",
8-
"items": {"type": "string"},
7+
"type": "string",
98
"description": "Description of the space that is being leased."
109
},
1110
"lessee": {
12-
"type": "array",
13-
"items": {"type": "string"},
11+
"type": "string",
1412
"description": "The lessee's name (and possibly address)."
1513
},
1614
"lessor": {
17-
"type": "array",
18-
"items": {"type": "string"},
15+
"type": "string",
1916
"description": "The lessor's name (and possibly address)."
2017
},
2118
"signing_date": {
22-
"type": "array",
23-
"items": {"type": "string"},
19+
"type": "string",
2420
"description": "The date the contract was signed."
2521
},
2622
"start_date": {
27-
"type": "array",
28-
"items": {"type": "string"},
23+
"type": "string",
2924
"description": "The start date of the lease."
3025
},
3126
"end_date": {
32-
"type": "array",
33-
"items": {"type": "string"},
27+
"type": "string",
3428
"description": "The end date of the lease."
3529
},
3630
"term_of_payment": {
37-
"type": "array",
38-
"items": {"type": "string"},
31+
"type": "string",
3932
"description": "Description of the payment terms."
4033
},
4134
"designated_use": {
42-
"type": "array",
43-
"items": {"type": "string"},
35+
"type": "string",
4436
"description": "Designated use of the property being leased."
4537
},
4638
"extension_period": {
47-
"type": "array",
48-
"items": {"type": "string"},
39+
"type": "string",
4940
"description": "Description of the extension options for the lease."
5041
},
5142
"expiration_date_of_lease": {
52-
"type": "array",
53-
"items": {"type": "string"},
43+
"type": "string",
5444
"description": "The expiration date of the lease."
5545
}
5646
},

graphgen/templates/extraction/schemas/protein.json

Whitespace-only changes.

0 commit comments

Comments
 (0)