https://git.jolheiser.com/cuesonnet.git
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import "list" #Item: { id: int & >0 label: string } #Schema: { items: [...#Item] tags: [...string] counts: [...int & >=0] limited: list.MinItems(1) & list.MaxItems(5) & [...string] } #Schema