AmelieSchreiber commited on
Commit
bfbd703
·
verified ·
1 Parent(s): aa87aed

Upload schema/uniprot_fot_record.schema.json with huggingface_hub

Browse files
schema/uniprot_fot_record.schema.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "ToricGT UniProt FoT Graphified Record",
4
+ "type": "object",
5
+ "required": [
6
+ "record_id",
7
+ "dataset",
8
+ "source_file",
9
+ "source_row_index",
10
+ "entry_id",
11
+ "task_family",
12
+ "text",
13
+ "graph_json",
14
+ "forest_json",
15
+ "metadata_json",
16
+ "content_hash",
17
+ "group_hash",
18
+ "split",
19
+ "split_cluster",
20
+ "quality_flags_json"
21
+ ],
22
+ "properties": {
23
+ "record_id": {"type": "string"},
24
+ "dataset": {"type": "string"},
25
+ "source_file": {"type": "string"},
26
+ "source_row_index": {"type": "integer", "minimum": 0},
27
+ "entry_id": {"type": "string"},
28
+ "task_family": {"type": "string"},
29
+ "sequence": {"type": "string"},
30
+ "annotation_text": {"type": "string"},
31
+ "text": {"type": "string"},
32
+ "graph_json": {"type": "string"},
33
+ "forest_json": {"type": "string"},
34
+ "metadata_json": {"type": "string"},
35
+ "content_hash": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
36
+ "group_hash": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
37
+ "split": {"enum": ["train", "validation", "test"]},
38
+ "split_cluster": {"type": "string"},
39
+ "quality_flags_json": {"type": "string"}
40
+ },
41
+ "additionalProperties": false
42
+ }