-- in.cue -- #Schema: { ... } Component: { hostname: string | *"localhost" _#foo: { hello: "world" } } hello: #Schema & Component -- out/eval/stats -- Leaks: 0 Freed: 14 Reused: 9 Allocs: 5 Retain: 0 Unifications: 10 Conjuncts: 18 Disjuncts: 14 -- out/eval -- (struct){ #Schema: (#struct){ } Component: (struct){ hostname: (string){ |(*(string){ "localhost" }, (string){ string }) } _#foo: (#struct){ hello: (string){ "world" } } } hello: (#struct){ hostname: (string){ |(*(string){ "localhost" }, (string){ string }) } _#foo: (#struct){ hello: (string){ "world" } } } } -- out/compile -- --- in.cue { #Schema: { ... } Component: { hostname: (string|*"localhost") _#foo: { hello: "world" } } hello: (〈0;#Schema〉 & 〈0;Component〉) }