// Example Veritate schema (the .verit IDL).
//
// verit build order.verit # print the 128-bit schema id
// verit build order.verit --lang rust # emit a typed Rust reader/writer
// verit build order.verit --lang python # emit Python dataclasses
// verit build order.verit --lang ts # emit TypeScript classes
// verit build order.verit --lang go # emit a Go package
// verit build order.verit --lang cpp # emit a C++ header
//
// Every language that compiles THIS file gets the same schema id, so their
// wire bytes are byte-identical. Field ids are the evolution contract — add
// fields freely, never reuse an id for a new meaning.
dense struct Point { 1: x f64 2: y f64 }
enum Level { 0: Debug 1: Info 2: Error }
struct Order {
1: id u64
2: item string
3: qty u32
4: tags list<string>
5: origin Point
6: level Level
}
root Order