-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema-kinds.riddl
More file actions
35 lines (30 loc) · 1.07 KB
/
schema-kinds.riddl
File metadata and controls
35 lines (30 loc) · 1.07 KB
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
domain SchemaKinds is {
context DataCtx is {
type Customer is { name: String, email: String, age: Number }
type OrderInfo is { orderId: UUID, amount: Number, date: Date }
repository SchemaRepo is {
schema FlatMulti is flat
of customers as type Customer
of orders as type OrderInfo
with { briefly as "Flat schema with multiple data nodes" }
schema TSNoIndex is time-series
of metrics as type Customer
with { briefly as "Time-series schema without indices" }
schema HierNoLinks is hierarchical
of parent as type Customer
of child as type OrderInfo
with { briefly as "Hierarchical schema without links" }
schema StarNoLinks is star
of fact as type Customer
of dim as type OrderInfo
with { briefly as "Star schema without links" }
handler RepoHandler is { ??? }
} with {
explained as "Repository for schema kind validation tests"
}
} with {
explained as "Context for schema kind tests"
}
} with {
explained as "Domain for schema kind tests"
}