[{"data":1,"prerenderedAt":181},["ShallowReactive",2],{"news-\u002Fnews\u002Fexport-documents":3},{"id":4,"title":5,"author":6,"body":7,"date":170,"description":171,"draft":172,"extension":173,"image":24,"imageAlt":6,"imageCredit":6,"meta":174,"navigation":175,"path":176,"seo":177,"seoTitle":6,"stem":178,"tag":179,"__hash__":180},"news\u002Fnews\u002Fexport-documents.md","Your documents, with their fields, in the JSON export",null,{"type":8,"value":9,"toc":161},"minimark",[10,14,18,25,30,80,84,91,95,121,137,141],[11,12,5],"h1",{"id":13},"your-documents-with-their-fields-in-the-json-export",[15,16,17],"p",{},"Worldbuilding 2.0 gave your documents templates and fields: a character's age and portrait, a quest's reward, the variables a case document needs before it can be solved. Until today, the JSON export only knew each document's id and name, so none of that reached your game. Starting today, it does.",[15,19,20],{},[21,22],"img",{"alt":23,"src":24},"A Document 1.1 resource from the JSON export: Mira Voss, a Character, with her age, family, portrait and the gold she tracks","\u002Fimages\u002Fnews\u002Fexport-documents\u002Fcover.png",[26,27,29],"h2",{"id":28},"whats-new","What's new",[31,32,33,46,60,74],"ul",{},[34,35,36,40,41,45],"li",{},[37,38,39],"strong",{},"Template and parent."," Each document says which template it follows, such as ",[42,43,44],"code",{},"\"template\": \"Character\"",", and which document it sits under in your world's tree.",[34,47,48,51,52,55,56,59],{},[37,49,50],{},"Field values, by key."," Every field you include in the game export is listed under its export key, such as ",[42,53,54],{},"age"," or ",[42,57,58],{},"eye_color",". The key never changes when you rename the field, so your game code keeps working.",[34,61,62,65,66,69,70,73],{},[37,63,64],{},"Game variable fields, ready to run."," A Tracks field lists every variable it stands for, in order, such as ",[42,67,68],{},"gold"," and ",[42,71,72],{},"gold_coins",". A Requires field lists its conditions and a Sets field its changes, in the same shape as option conditions and node changes, so your game can check and apply them with the code it already has.",[34,75,76,79],{},[37,77,78],{},"Links between documents."," A Document link or Document list field gives the ids of the documents it points to, so your game can follow them.",[26,81,83],{"id":82},"choose-what-goes-out","Choose what goes out",[15,85,86,87,90],{},"Every field has ",[37,88,89],{},"Include in the game export",". It's on by default for new fields, except rich text. Switch it off for notes that are only for your team, and the export leaves the field out of every document.",[26,92,94],{"id":93},"in-the-export","In the export",[15,96,97,98,101,102,105,106,109,110,115,116,120],{},"Documents are ",[42,99,100],{},"@lorehub\u002Fdocument"," resources, now at version ",[42,103,104],{},"1.1.0",". The export itself stays at ",[42,107,108],{},"2.0.0",", and a document without a template, parent or values looks just as it did before, so a game that reads only names keeps working. The ",[111,112,114],"a",{"href":113},"\u002Fdocumentation\u002Fdialogue-schema-api\u002Fdocument-v1-1","Document v1.1 reference"," shows every field type. Relations between documents stay in ",[111,117,119],{"href":118},"\u002Fdocumentation\u002Fdialogue-schema-api\u002Frelations-v1","relations.json",", with the same document ids.",[15,122,123,124,127,128,131,132,136],{},"You get the new export from the ",[37,125,126],{},"Export"," button, from Game Sync in JSON format, and from the ",[42,129,130],{},"get_export"," tool of the ",[111,133,135],{"href":134},"\u002Fmcp","LoreHub MCP server",".",[26,138,140],{"id":139},"try-it","Try it",[15,142,143,144,150,151,55,156,136],{},"Open a document in ",[111,145,149],{"href":146,"rel":147},"https:\u002F\u002Florehub.app",[148],"nofollow","LoreHub",", fill in a few fields, then export a dialogue and find the document in the file. If something feels off, tell us on ",[111,152,155],{"href":153,"rel":154},"https:\u002F\u002Fdiscord.com\u002Fchannels\u002F663035283419168808\u002F976393281615306772\u002F976393527468634143",[148],"Discord",[111,157,160],{"href":158,"rel":159},"https:\u002F\u002Fwww.reddit.com\u002Fr\u002Florehub",[148],"Reddit",{"title":162,"searchDepth":163,"depth":163,"links":164},"",3,[165,167,168,169],{"id":28,"depth":166,"text":29},2,{"id":82,"depth":166,"text":83},{"id":93,"depth":166,"text":94},{"id":139,"depth":166,"text":140},"2026-12-02","The JSON export now carries each document's template, parent and field values, including the variables a Game variable field tracks, requires or sets.",false,"md",{},true,"\u002Fnews\u002Fexport-documents",{"title":5,"description":171},"news\u002Fexport-documents","Release","8x9N1tnj7CC1u9ryWSX51MKaMx-vdrXSGMrP3FT2AFk",1796213724438]