Skip to content
v5.5

Badge import and export

The columns in the Badges file, including the rules and page content JSON, and how to create, change and delete badges in bulk.

Export your badges, edit them in a spreadsheet and import them back to create, change or delete several at once. The Import and Export buttons on the Badges list open this screen. How exports, imports, IDs and _delete work is on Import & Export. You need the Badges permission, beside Export data or Import data.

Column Notes
ID Empty to create a badge.
Name Required, up to 200 characters. Must be unique within your Virtual Airline.
Category Required, up to 200 characters. Groups badges.
Description Optional text shown to pilots.
Order Whole number. Badges with lower numbers come first.
Rules (JSON) The condition that awards the badge automatically. Leave it empty for a badge staff award by hand.
Page Content (JSON) The content of the badge’s page.
_delete TRUE to delete.

Rules (JSON) and Page Content (JSON) hold JSON as text. A row with JSON that doesn’t parse fails with a message that the data is not valid JSON. An export writes them correctly, so edit the exported text rather than writing it from scratch, and keep it quoted properly in the CSV. Build a badge in the Badges screen first if you want an example of its condition and page content.

Spot something wrong or missing? Email us at [email protected].