forked from awslabs/open-data-registry
-
Notifications
You must be signed in to change notification settings - Fork 2
/
schema.yaml
73 lines (73 loc) · 1.58 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
desc: Simple schema for ODAR compliant dataset listings
extensions:
- ext.py
type: map
mapping:
Name:
type: str
required: True
Description:
type: str
required: True
Documentation:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
required: True
Contact:
type: str
required: True
UpdateFrequency:
type: str
required: True
Tags:
type: seq
required: True
sequence:
- type: str
func: ext_tags
License:
type: str
required: True
Resources:
type: seq
required: True
sequence:
- type: map
mapping:
Description:
type: str
required: True
ARN:
type: str
pattern: ^arn:aws:.+:.*:.*:.+$
Host:
type: str
pattern: ^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})(\/.*)*\/?$
Region:
type: str
required: True
pattern: ^.+-.+-.+$
Type:
type: str
required: True
func: ext_resources
DataAtWork:
type: seq
required: False
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