Home

cuesonnet @main - refs - log -
-
https://git.jolheiser.com/cuesonnet.git
CUE + Jsonnet
cuesonnet / testdata / schema.cue
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
// Basic schema
firstName: string
lastName: string
age:       int

// Refine as needed
#Title:    =~"^[A-Z]" | error("must start with an uppercase letter")
firstName: #Title
lastName:  #Title
age:       >=0