import"time"letMaxAge=150#Named:{firstName:stringlastName:string}#Timestamped:{createdAt:time.Format(time.RFC3339)updatedAt:time.Format(time.RFC3339)}// Embed definitions inside the body to compose them with new fields.// & between two closed definitions cannot add new fields; embedding can.#Person:{#Named#Timestampedage:int&>=0&<=MaxAge}[...#Person]