Card Studio

Background

Elements

    Checks

      Drag to move · ⇧ or ⌘-click to select several · arrows nudge (⇧ ×10) · Del removes · drop an image to set the background

      Document

      Every path is [doctype, namespace] and is filled in automatically. Changing the doctype or renaming a namespace updates the whole config.

      Credential fields

      Every attribute of the credential, defined once. The card views, Additional info and validation pick from this list. Renaming a docField here renames it everywhere in the config. Sample values are only used for the preview and are not part of the config.

      Preview settings used by this tool only, never exported

      Holder photo (for content.type = image)

      Preview calibration (all cards)

      Font sizes and corner radius are in dp. The preview converts them using the card's width in dp, measured on app screenshots. Titles and values can be tuned separately if needed.

      Preview font

      The app uses Marianne. If it is not installed on this machine, load the font file here so text widths match the device.

      Fields

      Click a field to show or hide it in the list.

      Rows shown in the app

      Drag ⋮⋮ to reorder. Labels come from the field's info label. Edit them here to override.

        information

        Manifest

        For the registry wallet, which draws the home card only: the gyro views are hidden and left out of the bundle, which gets much smaller. Turn it off to get them back.

        Assets

        Every card has a default variant: assets/default_*.png and configs/default.json. Set the backgrounds in each card view.

        Variants childConfig

        Switch the backgrounds, or any [[value]] of mappingValues, depending on a credential field (e.g. electric bike). Each variant is exported as configs/<variant>.json with assets/<variant>_*.png.

        validation.identity

        Compares a credential field with the holder's identity card (CNIe).

        Raw sections

        Edited as JSON. Applied when you leave the field.

        Pasting a config with a different manifestId opens it as a new card automatically.

        New card

        Creates a separate card in this browser. Your other cards are not affected.

        Fields (optional, can be done later)

        Add fields from a standard

        Fields already in the card are greyed out. Labels and sample values come from the catalog and can be edited afterwards.