-
Notifications
You must be signed in to change notification settings - Fork 47
/
stac-api.gv
110 lines (87 loc) · 2.94 KB
/
stac-api.gv
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
# All have self link to self (self edge)
# All have root link to root
digraph g {
label = <STAC API Links>;
labelloc = "t";
fontsize = "24"
graph [
rankdir = "LR"
];
node [
fontsize = "16"
shape = "ellipse"
];
edge [
];
"/" [
label = "Landing Page\n/|<l9>links[rel=conformance]\l|<l8>links[rel=service-doc]\l|<l7>links[rel=service-desc]\l|<l3>links[rel=data]\l|<l4>links[rel=child]\l|<l5>links[rel=child]\l|<l6>links[rel=search]\l"
shape = "record"
];
"collections" [
label = "<f0> Collections\n/collections|<c1>collections[0].links[rel=self]\l|<c2>collections[1].links[rel=self]\l"
shape = "record"
];
"collectionY" [
label = "<f0> Collection y\n/collections/y|<l0>links[rel=items]\l"
shape = "record"
];
"collectionX" [
label = "<f0> Collection x\n/collections/x|<l0>links[rel=items]\l"
shape = "record"
];
"service-desc" [
label = "OpenAPI Spec\n/api"
shape = "record"
];
"service-doc" [
label = "Service Doc\n/api.html"
shape = "record"
];
"conformance" [
label = "Conformance\n/conformance"
shape = "record"
];
"collectionY-items" [
label = "<f0> Collection y Items\n/collections/y/items|<f1> features[0].links[rel=self]"
shape = "record"
];
"collectionX-items" [
label = "<f0> Collection x Items\n/collections/x/items|<f1> features[0].links[rel=self]"
shape = "record"
];
"collectionY-item1" [
label = "<f0> Item y:1\n/collections/y/items/1|<l0>links[rel=parent]\l|<l1>links[rel=collection]\l"
shape = "record"
];
"collectionX-item1" [
label = "<f0> Item x:1\n/collections/x/items/1|<l0>links[rel=parent]\l|<l1>links[rel=collection]\l"
shape = "record"
];
"item-search" [
label = "<f0> Item Search\n/items|<f1>features[0].links[rel=self]\l|<f2>features[1].links[rel=self]\l"
shape = "record"
];
"/":l3 -> "collections":f0;
"/":l4 -> "collectionX":f0;
"/":l5 -> "collectionY":f0;
"/":l6 -> "item-search":f0;
"/":l7 -> "service-desc";
"/":l8 -> "service-doc";
"/":l9 -> "conformance";
"item-search":f1 -> "collectionX-item1":f0;
"item-search":f2 -> "collectionY-item1":f0;
"collections":c2 -> "collectionY":f0;
"collections":c1 -> "collectionX":f0;
"collectionY":l0 -> "collectionY-items":f0;
"collectionY-items":f1 -> "collectionY-item1":f0;
cxi2 [shape=point,width=0.01,height=0.01];
cxi2 -> "collectionY":f0;
"collectionY-item1":l0 -> cxi2 [dir=none];
"collectionY-item1":l1 -> cxi2 [dir=none];
"collectionX":l0 -> "collectionX-items":f0;
"collectionX-items":f1 -> "collectionX-item1":f0;
cxi1 [shape=point,width=0.01,height=0.01];
cxi1 -> "collectionX":f0;
"collectionX-item1":l0 -> cxi1 [dir=none];
"collectionX-item1":l1 -> cxi1 [dir=none];
}