Unclassified // Distribution unlimited
FM 20-3: Build a JSON for the Dataslate: Armies, Tactics and Rules
Operator's field digest: making the data files the Dataslate reads, with a text editor and a steady hand

Updated 2026-11-09
Section I. Mission overview
The Dataslate can read three kinds of data file: armies, tactics, and (one day) rules. Every one of them is a JSON. You can make them with a text editor, a steady hand and a little patience. Nobody needs to be a programmer. I am not one, and I have a title.
This manual teaches you to build your own, from nothing, in the order a sensible person would do it.
The route, start to finish:
- Find out what a JSON is. It takes about one minute (Section II).
- Make a JSON file with Notepad (Section III).
- Build an army and load it into the Dataslate (Section IV).
- Build a pack of tactics and load it (Section V).
- Draft house rules for the day the Dataslate learns to read them (Section VI).
- Hand the typing to an AI, with a prompt that works (Section VII).
- Something went wrong? Section VIII has the fixes.
What you need (all free):
A text editor. Notepad comes with Windows. Any plain text editor will do.
DG Dataslate. Our free game tracker. Open it in any browser. You do not need to sign in.
The sample files. Every example in this manual is a real file you can download and open. They are all made up: the Basement Brigade, a squad of enthusiastic amateurs with wrenches. Right click a link and choose Save link as.
dusty.json is the little example in Section II.
smallest-army.json is the least an army can be and still load.
tiny-army.json is a proper unit with weapons.
basement-brigade-army.json is a finished two unit army with keywords, abilities and a tactic.
basement-brigade-tactics.json is a pack of five tactics.
basement-brigade-house-rules.json is a draft rules pack.
Your own data. DG holds no game rules, no army lists and no points. If you want your real army in there, you type in what your own books or apps say. Section VII shows how to get an AI to do the typing.
Time: about 15 minutes for your first army. That figure is a guess.
Section II. What a JSON is (the short version)
A JSON file is a plain text file, written in a strict and tidy way, so a program can read it. That is the whole definition. It is not a program. It does nothing on its own. It is a labeled box of information. (Say it "jay-son". Nobody will correct you. One person will pretend they were about to.)
What they are used for, broadly. Any time one program needs to hand information to another without caring who wrote either one. Websites and apps pass JSON to each other all day. Programs keep their settings in JSON. Tools export their data as JSON. For us: a list builder exports your army as a JSON, and the Dataslate reads it. The Dataslate also saves and loads whole games as JSON.
The general structure. Everything is a label and a value, like this: "name": "Dusty". The label goes in double quotes, then a colon, then the value. A value is one of six kinds of thing: text, a number, true or false, null (which means nothing, on purpose), a list, or another bundle of labels and values. Bundles sit inside bundles, which is how a whole army fits in one file. Here is a small one, with the six kinds marked:

- Curly braces { } wrap a bundle of labels and values, called an object. A whole file is usually one big object.
- A label and a value. The label is in double quotes. Text values are in double quotes too.
- A number. No quotes. Put quotes on it and it becomes text. "60" and 60 are different things, and it matters.
- true or false. Lower case, no quotes.
- A list lives in square brackets, with commas between the items.
- A bundle inside a bundle. Braces inside braces. This is how everything nests.
- null means nothing is here, on purpose. No quotes.
Section III. How to make a JSON file
A JSON is text, so you make it with a text editor. Windows has one built in, Notepad, and it is all you need. Do not use Word. Word is a helpful program, and helping is the problem (see the warning below).
Step 1. Open Notepad and type
Press the Windows key, type Notepad and press Enter. Type or paste your JSON into the empty page. This is the Section II example. It looks plain. Plain is the point.

Step 2. Save As, and pick All files
Press Ctrl+Shift+S, or use File and then Save as. Look at the Save as type box. It says Text documents. Open it and pick All files. This is the step everyone skips, and it is why Windows quietly turns dusty.json into dusty.json.txt.

Step 3. Name it with .json on the end
Type the file name with .json on the end, such as dusty.json. Choose a folder you can find again. Documents is fine. Press Save.

That is a JSON file. To change it later, right click it, choose Open with, then Notepad.
The other way: save a .txt, then rename it
Already have a .txt file? Rename it. Windows hides the ending of file names by default, so make it show first: in File Explorer open the View menu, then Show, then tick File name extensions. Now right click the file, choose Rename, change .txt to .json and press Enter. Windows warns that the file might become unusable. It will not. Click Yes.

Checking your work. There is no spell checker for JSON. The Dataslate is the checker: if the file is damaged it says so, and Section VIII shows what each message means. Notepad helps a little: the bar at the bottom shows the line and column your cursor is on, which is handy when a message tells you where the problem is.
Section IV. Armies
Now the good stuff, starting with the one you will use most. The Dataslate reads army files in the same shape a list builder exports, so a hand made army is just a very small export. Everything on a unit card comes from the file. DG ships no army data, no rules and no points. If it is not in your file, it is not on the card.
How an army file is put together
An army file is boxes inside boxes. Read the picture from the outside in. The roster is the whole file. Forces is a list, usually with one force in it. Inside the force sit its rules (a glossary that explains weapon keywords), an optional Detachment (where tactics can ride along) and selections, which is where the units live. Each unit has costs (points), categories (keywords), profiles (the stat line and abilities) and selections: the model rows, which say how many models there are, and the weapons they carry.

You do not have to memorize that. You build an army in three passes, and every pass loads.
How to load a file
Open the Dataslate. Each player has a panel with an Import Army button. Press it, pick your file, done. A new file replaces that player's army. Messages appear on a green banner and on the LATEST line under the player boxes. The ⚡ Tactics button is the one Section V uses.

Pass 1. The smallest army that loads
Start with the least that works. Download smallest-army.json and open it in Notepad. It holds one unit named Dusty. One profile typed Unit carries three stats: Toughness (T) 3, Save (SV) 5+ and Wounds (W) 2. One profile typed Ranged Weapons carries a gun. That is the entire file. Load it and you get this.

Notice what did not happen. The Dataslate did not invent a move, a leadership or a points cost. It shows what your file says, and a dash for what it does not. It also guessed one model, because there was no model row. A unit needs a stat line (a profile typed Unit, or one holding T, SV and W) to count as a unit. A file with no stat line loads zero units, which is the Dataslate being literal again.
Pass 2. A proper unit
Now build what a list builder would export. Open tiny-army.json. It is one unit, the Wrench Gunners, built from small pieces: the unit, its weapons, and the model row that holds them. The first piece is the unit itself:

- name is what the card calls the unit.
- type: "unit" tells the Dataslate this entry is a unit.
- costs holds the points. One entry, named pts, with the number as its value.
- typeName: "Unit" marks the profile that is the stat line.
- The stats. Each is a name and a $text, and the value is text in quotes: "5+" and "3" both go in quotes. The Dataslate looks for T, SV and W. Add M, LD and OC too so the card shows the full row.
The second piece is a weapon. Here is one, with the ranged weapon's stat line:

- number is how many models carry this weapon. Five Wrench Gunners, five rattle guns.
- typeName is Ranged Weapons or Melee Weapons. This is how the Dataslate files it.
- Range is a number of inches. For a melee weapon, write Melee here.
- BS is the Ballistic Skill. Melee weapons use WS here instead.
- Keywords lists the weapon's special rules in your own words, such as Clatter 1. If there are none, write a dash.
The third piece holds the other two together: the model row. It is a selection typed model, with a number that says how many models there are (5), and the weapons sit inside it. Five models at 1 Wound each gives the unit 5 wounds, and the card shows it. Load the file and compare:

Press the magnifier to open the unit's details. Here is the honest part: nothing there is filled in yet.

Pass 3. The extras: keywords, abilities, glossary, saves
Everything in the empty spots from the last picture is one more small piece of the file. Open basement-brigade-army.json, the finished army. It adds four things:
Keywords. A list called categories on the unit, with entries like Infantry and Crew. An entry named Faction: followed by a name becomes the faction line in the details. Keywords show as chips on the card.
Abilities. A profile typed Abilities with a Description. Its name shows as a chip on the card, and its words in the details.
The glossary. A list called rules on the force. Each entry is a keyword's name and a description in your own words. Give it Clatter 1 and the weapon in the details stops saying "No description in roster file".
Saves. The Dataslate reads ability words. A line such as "This model has a 5+ invulnerable save." fills in the Invulnerable save and puts a Fixed save tag on the card. You can still correct it by hand in the details.


Everything here is made up. The Wrench Gunners and Foreman Fuse come from a basement, not a rulebook. When you build your own, the numbers come from your own books or apps. That is also why the Dataslate can stay free and rules-free.
Section V. Tactics
Tactics are the things you spend Command Points on. The Dataslate's Tactics window lists them, tells you which ones fit the current phase and takes the points when you use one. Tactics come two ways: inside an army file (the Detachment, below) or from a tactics pack, a small JSON of its own. Packs are easier to write by hand and easier to share, so we start there. One oddity: the file calls them stratagems. The screen calls them tactics. Same thing.
What a tactics pack looks like

- name is the pack's name. It shows next to each tactic.
- stratagems is the list of tactics.
- cp is the cost, as a plain number.
- when is the one to get right. The Dataslate reads these words to work out the phase and whose turn it is. Write it plainly: Your Charge phase. Your opponent's Shooting phase.
- restrictions is read too. Words like Once per battle and first battle round are understood.
The other fields, type, target and effect, are just shown on the card. In an emergency, a name is all you need. I loaded a tactic with nothing but a name and it came in as a 1 CP tactic, usable in any phase and either turn. Give it a when and it gets a lot smarter.
What the Dataslate understands from the words. I loaded the sample pack and checked each one:
Your Command phase. becomes a Command phase tactic, yours to use on your turn.
Your opponent's Shooting phase, when one of your units is picked as a target. becomes a Shooting phase tactic for your opponent's turn.
Your Charge phase with the restriction Cannot be used in the first battle round. becomes a Charge phase tactic, not before round 2.
Once per battle. becomes a once per battle tactic.
When the words are not enough, you can say it outright. Add "phases": ["Shooting", "Fight"] and "turn": "opponent", as the sample's Pizza Break does. Add "noUnit": true to a tactic that does not pick a unit.
Loading a pack
- Press the ⚡ Tactics button on a player's panel.
- Press Import pack and pick your file.
- The tactics appear. Usable now shows only the ones that fit the current phase and turn. All shows everything.

Switch to All and the tactics that do not fit right now are greyed out, with the reason beside them. If a tactic is really usable, perhaps because your table plays a variant, Use anyway is right there.

Press Use and the Dataslate takes the points, writes a line in the log (Player 1 used Duct Tape Repair (1 CP). CP 3 to 2.) and lists the tactic under Used this round, with an Undo link. A once per battle tactic drops out of Usable now. What it does not do is change any dice or numbers. The effect is yours to apply by hand, and the tactic's card has the words to remind you.

The window has three more buttons. + Add lets you type a tactic in by hand. Save as... keeps your list under a name on this device, and also downloads it as a pack file. Export / template downloads your loaded tactics as a pack or, if you have none loaded, a blank starter pack to edit. I did not press the last two for this manual, because they download files, so that is from reading the Dataslate's code.
The lazy way to make a pack. Add your tactics with + Add, then press Export / template. The Dataslate writes the JSON file for you, and you never type a bracket. (This is the code talking, not my testing. Try it and see.)
Tactics inside an army file
Rather ship tactics with the army? Put them in the army, in the Detachment. A selection named Detachment holds a selection named for the detachment. Inside that, one profile per tactic, typed Stratagems, with characteristics named CP, Type, When, Target, Effect and Restrictions.

Import the army and the log line says so: Player 1: 1 tactics loaded from the roster (Game Night Patrol). From reading the Dataslate's code, it hunts the whole file for profiles typed Stratagems. The Detachment wrapper just gives the group its name. I tested it with the wrapper only.
Section VI. Rules (not loadable yet)
A plain statement first: the Dataslate cannot load a rules file today. It holds no game rules, and nothing in it reads this format yet. I am telling you now so you do not spend an evening wondering why it will not load.
So why is it here? DG has a draft format for rules files, so a tool can look up a rule by its section and quote it. It is called dg-rules-pack/0. Version zero. A design on paper, not a feature. If you keep house rules, or write a ruleset of your own, you can put them in that shape now. If the format changes, a small edit will bring your file up to date.

- pack describes the pack: the game, a title and the language.
- source says where the rules came from. Be honest here.
- format names the version. Keep it exactly as written.
- sections is the list of rules, in order.
- id is the section number. Make them unique.
- see_also lists related section numbers.
The sample is basement-brigade-house-rules.json. It has three tiny made up rules, one of which involves snacks.
Section VII. Let an AI do the typing
Typing JSON by hand is tedious, and tedious is what machines are for. An AI chat can turn your unit stats into a ready to load file, as long as you give it the exact shape and strict instructions. Below are two prompts that do exactly that: one for an army, one for tactics. Use any AI chat you like.
- Copy the whole prompt below.
- Paste it into an AI chat. Then, under the last line, paste your own unit info, typed from your own books or apps.
- The AI answers with a block of JSON. Copy it into Notepad and save it as a .json file (Section III).
- Import it (Section IV or V).
- Did the Dataslate complain? Paste its exact message back to the AI and say "fix this". Then try again.
Prompt 1. An army
Copy the whole block below, from "I am building" down to "MY UNITS (paste below this line):". The file ai-prompt-army.txt holds the same prompt.
I am building an army file for the DG Dataslate, a free game tracker. Turn the unit information I paste at the bottom of this message into ONE JSON file in the shape shown below.
RULES FOR YOU
1. Reply with the JSON only, in one code block. Notes go after the code block, never inside it.
2. Use only what I paste. Do not invent, guess, round or fix any number or rule. If something is missing, leave it out and list it in your notes.
3. Copy ability text exactly as I paste it. The Dataslate reads the words to find things like invulnerable saves.
4. Every stat is text in quotes: "6", "3+", "-1". Only "value" (points) and "number" (how many) are plain numbers with no quotes.
5. Melee weapons always use "Melee" as the Range. A weapon with no keywords gets "-" as its Keywords.
6. Each weapon keyword I paste that comes with a description goes once into the force's "rules" list, with the description exactly as I pasted it.
7. Make one UNIT entry for every unit I paste. On a weapon, "number" is how many models carry it.
8. Before you answer, check that every bracket and brace closes and that no comma is left hanging at the end of a list.
THE SHAPE (words in CAPITALS are my data, everything else stays exactly as written)
FILE:
{"roster":{"name":"ARMY NAME","forces":[{"name":"FORCE NAME","rules":[RULE, RULE],"selections":[UNIT, UNIT]}]}}
RULE:
{"name":"KEYWORD","description":"WHAT IT DOES"}
UNIT:
{"name":"UNIT NAME","type":"unit","costs":[{"name":"pts","value":60}],"categories":[{"name":"KEYWORD"},{"name":"Faction: FACTION NAME"}],"profiles":[STATS, ABILITY, ABILITY],"selections":[{"name":"MODEL NAME","type":"model","number":5,"selections":[RANGED WEAPON, MELEE WEAPON]}]}
STATS:
{"name":"MODEL NAME","typeName":"Unit","characteristics":[{"name":"M","$text":"6"},{"name":"T","$text":"3"},{"name":"SV","$text":"5+"},{"name":"W","$text":"1"},{"name":"LD","$text":"7+"},{"name":"OC","$text":"2"}]}
ABILITY:
{"name":"ABILITY NAME","typeName":"Abilities","characteristics":[{"name":"Description","$text":"ABILITY TEXT"}]}
RANGED WEAPON:
{"name":"WEAPON NAME","type":"upgrade","number":5,"profiles":[{"name":"WEAPON NAME","typeName":"Ranged Weapons","characteristics":[{"name":"Range","$text":"24"},{"name":"A","$text":"2"},{"name":"BS","$text":"4+"},{"name":"S","$text":"4"},{"name":"AP","$text":"0"},{"name":"D","$text":"1"},{"name":"Keywords","$text":"KEYWORDS OR -"}]}]}
MELEE WEAPON: the same as RANGED WEAPON, but typeName is "Melee Weapons", Range is "Melee", and the "BS" entry becomes "WS".
MY UNITS (paste below this line):
Prompt 2. A pack of tactics
Copy the whole block below, from "I am building" down to "MY TACTICS (paste below this line):". The file ai-prompt-tactics.txt holds the same prompt.
I am building a tactics file for the DG Dataslate, a free game tracker. Turn the tactics I paste at the bottom of this message into ONE JSON file in the shape shown below.
RULES FOR YOU
1. Reply with the JSON only, in one code block. Notes go after the code block, never inside it.
2. Use only what I paste. Copy the words of "when", "target", "effect" and "restrictions" exactly. Do not shorten or reword them. The Dataslate reads the "when" and "restrictions" words to work out the phase, whose turn it is, once per battle limits and the earliest battle round, so changed words break that.
3. "cp" is a plain number with no quotes. Everything else is text in quotes.
4. If a tactic has no restrictions, use "" for restrictions.
5. If a tactic does not pick a unit, add "noUnit": true to that tactic.
6. Before you answer, check that every bracket and brace closes and that no comma is left hanging at the end of a list.
THE SHAPE (words in CAPITALS are my data, everything else stays exactly as written)
FILE:
{"name":"PACK NAME","stratagems":[TACTIC, TACTIC]}
TACTIC:
{"name":"TACTIC NAME","cp":1,"type":"TYPE","when":"WHEN TEXT","target":"TARGET TEXT","effect":"EFFECT TEXT","restrictions":"RESTRICTIONS TEXT OR EMPTY"}
MY TACTICS (paste below this line):
Why the prompts say what they say. They tell the AI to answer with JSON only, so there is no chatter to clean up. They forbid inventing or rounding numbers, because a wrong stat on a card is worse than a missing one. They ask for ability and tactic words to be copied exactly, because the Dataslate reads those words. And they ask for a bracket check, which AIs sometimes forget otherwise.
Section VIII. When it will not load
The Dataslate tells you what it did not like. These are the real messages, in the real wording, from loading deliberately broken files into the live Dataslate.
It says the JSON file is damaged or cut off.
Somewhere a bracket, quote or comma is wrong. The usual suspects: a missing comma between two items, a comma left after the last item, curly quotes, a missing closing bracket, or text copied with half of it missing. Open the file in Notepad and check each opening bracket has its partner.

A tactics pack gives a long message with numbers in it.
That is a gift. A tactics pack that cannot be read says where, for example: Expected ',' or '}' after property value in JSON at position 63 (line 1 column 64). Go to that line and column in Notepad, whose bottom bar shows both. The problem is at or just before that spot. The wording changes a little between browsers.
It says that is not an army file.
The file is not JSON at all. It might be plain notes saved with .json on the end. Open it in Notepad and see.
It says my file is not an army roster, and looks like a tactics pack.
You picked a tactics pack with Import Army. Tactics packs load in the Tactics window. Pick your army file instead.

It says no units with datasheets were found.
The file is readable, but nothing in it counts as a unit. A unit needs a stat line: a profile typed Unit, or any profile holding T, SV and W. Check yours is there and is inside the unit.
I imported a tactics pack and it says 0 tactics imported.
The file read fine but the tactics were not where the Dataslate looks. A pack needs a list called stratagems, with at least one tactic that has a name. An army file offered as a pack also gives 0.
The unit loaded, but a weapon, keyword, ability or points value is missing.
Each lives in one particular place. Weapons are profiles typed Ranged Weapons or Melee Weapons inside the unit. Points are in costs. Keywords are in categories. Abilities are profiles typed Abilities. A dash, or "None in roster file", means the file did not have it.
The wounds or models look wrong.
Models come from the model row's number. Wounds are the W stat times the models. If W is missing, the Dataslate counts 1.
I cannot find my file when I press Import Army.
Check it is really called something.json and not something.json.txt. Section III has the trap and the fix.
Do I need to sign in?
No. Every file in this manual was loaded without signing in.
Section IX. Debrief
Mission complete. You wrote a text file by hand and a web app understood it. That is, technically, data engineering. Do not put it on your resume. Put it in your next game.
More reading. Loading an army straight from a list builder, with no typing at all: FM 20-2, Bring Your Army to the Table. Every button in the Dataslate: the Full guide. Quick fixes: the FAQ. Faster games once your army is in: FM 20-1, Speed Up Your 40K Game.
Pesky L
End of document // DesertGrognards.com