Skip to content

Output schemas

An output schema describes what the finished list should look like: which columns end up in the file, what they are called, what each column should contain and which rules apply to it. Instead of building this structure again for every execution, you create it once and apply it with one click when setting up an execution. The AI fills the columns of the schema from the data of the Excel file on the basis of their descriptions – regardless of what the columns in the file are called.

One example is the schema “Mailing Standard” for print-ready addresses on letters and labels:

ColumnContent descriptionRules
AnredeHerr, Frau or FamilieDerive salutation from first name
VornameFirst name without titleWrite names correctly, repair umlauts
NachnameLast name without titleWrite names correctly, repair umlauts
StrasseStreet and house numberSeparate PO box from street
Postfache.g. “Postfach 45”Separate PO box from street
PLZFour-digit Swiss postcodeCheck postcode and town
OrtTown nameCheck postcode and town, repair umlauts
TelefonFormat +41 XX XXX XX XXFormat telephone numbers

You will find the schemas of a workspace in the menu under Output schemas.

ColumnMeaning
Name / DescriptionName and purpose of the schema.
ColumnsHow many columns the schema describes.
Export schemaYes with file format (e.g. “Yes (XLSX)”) if the schema is also offered for export, otherwise No.
ActionsRemove output schema and Edit.
  1. Create new output schema opens the dialog of the same name.
  2. Name (at least 3 characters, unique) and Description are mandatory fields.
  3. Under Columns, Add column creates a new row. In each row, enter under Column the column name in the finished file.
  4. Use the rule icon of a row (“Define column content”) to specify the content and rules of that column (see below).
  5. Use the handle on the left to change the order of the columns by drag and drop; the bin icon removes a row.
  6. Create saves the schema and adds it to the current workspace.

The rule icon shows a number: how many rules are attached to the column. Clicking it opens Define column content with two fields. Because the AI fills the columns of the schema from the Excel data, the description is particularly important: it tells the AI what belongs in the column and what it can derive it from.

  • Description of the content – what the column should contain, for example “Telephone number in the format +41 XX XXX XX XX”. The description is passed to the AI so that the content matches the desired format.
  • Rules for this column – the rules that are applied automatically to this column during the execution. You can choose from the rules of the workspace, both your own and those from templates.

Apply takes you back to the schema. If a rule contains column placeholders, these are only filled in during the execution, not in the schema.

The Save as export schema switch additionally makes the schema available when downloading a job. If it is active, select the file format next to it: XLSX (Excel), CSV or XML.

When the switch is active, every row also shows the field Result column for export (optional). It determines which column of the result is output under the name of the row on export – this way, for example, the result column “Telefon” becomes “Tel. privat” in the export. If the field is left empty, the export uses the result column of the same name. Without an export schema, the field is not saved.

In the download menu of a job, the schema then appears under Export schemas. Clicking it opens the Export dialog, prefilled with the columns and the format of the schema. There, columns can be renamed, reordered or added; Save as… creates a new export schema from the current selection. How the export works in detail is described in Export.

In the General instructions area, you record requirements that apply to the whole schema, for example: “Swiss spelling without ß. Empty values remain empty – do not invent anything.”

  • Import text block lets you use existing text blocks.
  • Under Additional free text you write your own instructions; Save as text block turns them into a reusable text block.

These instructions become part of the AI instructions as soon as the schema is applied in an execution. They do not appear there as a separate field but travel along with the schema. If several schemas are applied one after another, the instructions of the last one applied are used. Column placeholders cannot be filled in here.

  • When setting up an execution: At the very top of the AI execution phase, you choose With output schema or Without output schema. With output schema adds the columns of the schema, including descriptions and rules, as new columns. If you wish, PrintReady sets the Excel columns to Context only, so that the result only contains the columns of the schema (see Defining columns).
  • In the automatic configuration: Under Output schema (optional) you select a schema; its columns then determine the result. The automatic configuration also works without a schema.
  • On export: as an export schema in the download menu and via Import export schema in the Export dialog.

Edit changes the schema itself – that is, everywhere it is used. Executions that have already been set up copied their columns when the schema was applied and do not change with it. However, if you copy such an execution, PrintReady asks whether the changes to the schema should be applied (see Copying and comparing executions). Remove output schema only detaches the schema from this workspace. Via the … menu next to Create new output schema, you can bring it back at any time with Add existing output schema, also into a different workspace.