juliangauss1986 commited on
Commit
ec634b0
·
verified ·
1 Parent(s): cb3a7e8

Add NOMOS GEO-QA public-core schema v0.3.1

Browse files
schema/nomos-geo-qa-public-core-v0.3.1.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://noblejackal.com/schemas/nomos-geo-qa-public-core-v0.3.1.json",
4
+ "title": "NOMOS GEO-QA Public Core Record 0.3.1",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "required": [
8
+ "schema_uri",
9
+ "registry",
10
+ "registry_version",
11
+ "record_id",
12
+ "record_version",
13
+ "language",
14
+ "record_status",
15
+ "human_approval",
16
+ "canonical_url",
17
+ "canonical_question",
18
+ "answers",
19
+ "human_actions",
20
+ "audit_questions",
21
+ "limitations",
22
+ "source_ids",
23
+ "related_records"
24
+ ],
25
+ "properties": {
26
+ "schema_uri": {
27
+ "const": "urn:noblejackal:nomos-geo-qa:public-core:0.3.1"
28
+ },
29
+ "registry": {
30
+ "const": "NOMOS GEO-QA — Canonical Question Registry"
31
+ },
32
+ "registry_version": {
33
+ "const": "0.3.1"
34
+ },
35
+ "record_id": {
36
+ "type": "string",
37
+ "pattern": "^NGQ-[0-9]{3}$"
38
+ },
39
+ "record_version": {
40
+ "const": "0.3.1"
41
+ },
42
+ "language": {
43
+ "enum": [
44
+ "en",
45
+ "tr",
46
+ "de",
47
+ "es",
48
+ "ru",
49
+ "ar"
50
+ ]
51
+ },
52
+ "record_status": {
53
+ "const": "FOUNDER_EDITION_RELEASED"
54
+ },
55
+ "human_approval": {
56
+ "const": "RECORDED_FOR_PUBLICATION"
57
+ },
58
+ "canonical_url": {
59
+ "type": "string",
60
+ "format": "uri"
61
+ },
62
+ "canonical_question": {
63
+ "type": "string",
64
+ "minLength": 1
65
+ },
66
+ "answers": {
67
+ "type": "object"
68
+ },
69
+ "human_actions": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "audit_questions": {
76
+ "type": "array",
77
+ "items": {
78
+ "type": "string"
79
+ }
80
+ },
81
+ "limitations": {
82
+ "type": "array",
83
+ "minItems": 1,
84
+ "items": {
85
+ "type": "string"
86
+ }
87
+ },
88
+ "source_ids": {
89
+ "type": "array",
90
+ "items": {
91
+ "type": "string",
92
+ "pattern": "^S[0-9]{2}$"
93
+ }
94
+ },
95
+ "related_records": {
96
+ "type": "array",
97
+ "items": {
98
+ "type": "string",
99
+ "pattern": "^NGQ-[0-9]{3}$"
100
+ }
101
+ }
102
+ }
103
+ }