forked from awslabs/open-data-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.yaml
156 lines (156 loc) · 3.77 KB
/
schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
desc: Simple schema for ODAR compliant dataset listings
extensions:
- ext.py
type: map
mapping:
Deprecated:
type: bool
required: False
Name:
type: str
required: True
Description:
type: str
required: True
Documentation:
type: str
required: True
Contact:
type: str
required: True
ManagedBy:
type: str
required: False
UpdateFrequency:
type: str
required: True
Collabs:
type: map
required: False
mapping:
ASDI:
type: map
required: False
mapping:
Tags:
type: seq
required: False
sequence:
- type: str
func: ext_tags
Tags:
type: seq
required: True
sequence:
- type: str
func: ext_tags
License:
type: str
required: True
RegistryEntryAdded:
type: str
required: True
pattern: ^\d{4}-\d{2}-\d{2}$
RegistryEntryLastModified:
type: str
required: True
pattern: ^\d{4}-\d{2}-\d{2}$
Resources:
type: seq
required: True
sequence:
- type: any
required: True
func: ext_valid_bucket_regions
- type: map
mapping:
Description:
type: str
required: True
ARN:
type: str
pattern: ^arn:aws|aws-iso:.+:.*:.*:.+$
Host:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
Region:
type: str
required: True
pattern: ^.{2}-.+-\d$
Type:
type: str
required: True
func: ext_resources
RequesterPays:
type: bool
ControlledAccess:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: False
DataAtWork:
type: map
required: False
mapping:
Tutorials:
type: seq
sequence:
- type: map
mapping:
Title:
type: str
required: True
URL:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: True
AuthorName:
type: str
required: True
AuthorURL:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: False
Services:
type: seq
required: False
sequence:
- type: str
func: ext_services
Tools & Applications:
type: seq
sequence:
- type: map
mapping:
Title:
type: str
required: True
URL:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: True
AuthorName:
type: str
required: True
AuthorURL:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: False
Publications:
type: seq
sequence:
- type: map
mapping:
Title:
type: str
required: True
URL:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: True
AuthorName:
type: str
required: True
AuthorURL:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: False