···11+import "@typelex/emitter";
22+33+// Multiple models in same namespace - refs should use # format
44+namespace app.bsky.feed {
55+ model ReplyRef {
66+ @lexFormat("at-uri")
77+ root: string;
88+99+ @lexFormat("at-uri")
1010+ parent: string;
1111+ }
1212+1313+ model Post {
1414+ text: string;
1515+1616+ @doc("Reply information if this post is a reply")
1717+ reply?: ReplyRef; // Same-namespace reference
1818+ }
1919+}
···11+import "@typelex/emitter";
22+33+// Define a simple model that will be referenced
44+namespace com.atproto.repo {
55+ model StrongRef {
66+ @lexFormat("at-uri")
77+ uri: string;
88+99+ @lexFormat("cid")
1010+ cid: string;
1111+ }
1212+}
1313+1414+// Define another model that references StrongRef
1515+namespace app.bsky.feed {
1616+ model Post {
1717+ text: string;
1818+1919+ @doc("Reference to parent post if this is a reply")
2020+ reply?: com.atproto.repo.StrongRef; // Fully qualified reference!
2121+ }
2222+}