Skip to content

Commit e6a0cbe

Browse files
Merge pull request #37 from cedardevs/36-parseRecordWithId
Add a new schema to tie a parsed record together with an id
2 parents 5cbebb6 + e3530cb commit e6a0cbe

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"type": "record",
3+
"namespace": "org.cedar.schemas.avro.psi",
4+
"name": "ParsedRecordWithId",
5+
"doc": "A wrapper to tie a ParsedRecord together with an ID",
6+
"fields": [
7+
{
8+
"name": "id",
9+
"type": "string",
10+
"doc": "The id string to be associated with the record"
11+
},
12+
{
13+
"name": "record",
14+
"type": "ParsedRecord",
15+
"doc": "The ParsedRecord object to be associated with the id"
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)