-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSON schema for fields added to Parquet
- Loading branch information
1 parent
e60e160
commit 09493c4
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"$id" : "https://sage-bionetworks.github.io/BridgeDownstream/schemas/BridgeDownstream.json", | ||
"$schema" : "http://json-schema.org/draft-07/schema#", | ||
"type" : "object", | ||
"title" : "BridgeDownstream", | ||
"description" : "The fields added to the Parquet data by Bridge Downstream.", | ||
"properties" : { | ||
"id" : { | ||
"type" : "integer", | ||
"description" : "The foreign key of the parent dataset." | ||
}, | ||
"index" : { | ||
"type" : "integer", | ||
"description" : "The position of this element in the original JSON array." | ||
}, | ||
"recordid" : { | ||
"type" : "string", | ||
"description" : "The Bridge record identifier." | ||
}, | ||
"assessmentid" : { | ||
"type" : "string", | ||
"description" : "The Bridge assessment identifier." | ||
}, | ||
"year" : { | ||
"type" : "integer", | ||
"description" : "The year component of the Bridge field `UploadedOn`." | ||
}, | ||
"month" : { | ||
"type" : "integer", | ||
"description" : "The month component of the Bridge field `UploadedOn`." | ||
}, | ||
"day" : { | ||
"type" : "integer", | ||
"description" : "The day component of the Bridge field `UploadedOn`." | ||
} | ||
}, | ||
"required" : [ | ||
"recordid", | ||
"assessmentid", | ||
"year", | ||
"month", | ||
"day" | ||
] | ||
} |