Branding configuration
Generates the document imported by Configuration → Branding & Configuration → Import configuration → Branding. Output a single JSON object. Every field is optional: whatever you omit keeps its current value in the portal. An empty string ornull also keeps the current value, so an import cannot clear a field; clear it in the admin by hand.
The import dialog checks the document first (a dry run) and lists what will change, with any warnings. Apply then saves the changes to the portal at once. Apply is blocked while Branding & Configuration has unsaved changes of its own: save or discard them first. The same document can also be sent through the API or MCP.
Document
kind is optional, but when present it must be "branding": a document declaring another kind is refused, so a coaching document pasted into the branding import fails loudly instead of half-applying. Without kind the import still runs, with a warning that the type could not be verified.
Fields
URLs are not checked on import; write full public https URLs. A boolean field given anything other than
true or false is ignored.
style
- bold: serif display headings, large type, gradient accents, dark position posters.
- minimal: headings drop to the body font at reduced sizes, gradients collapse to flat colour, white cards instead of dark posters.
minimal, so the theme is not fighting the gradients.
Colour format
Colours are space-separated HSL channels, not hex and nothsl(...):
--accent: hsl(<primary>), so an invalid string produces broken colours rather than an error.
A portal theme reads these through
var(--accent) and the other variables listed under Theme CSS, so the brand colour set here stays the single source of truth even when the pages are restyled.
Speech term boosting
Names that speech-to-text would otherwise mishear: the organisation’s own name, product and programme names, and distinctive domain terms a candidate or learner will actually say out loud. Terms drawn from each interview’s own questions are added automatically, so list only what is specific to the organisation. Constraints, enforced on import exactly as the form enforces them:- 3 to 20 characters per term. Shorter or longer terms are dropped and reported. Cut a long name to its distinctive part (
Northgate Nursing, notNorthgate Nursing Simulation Centre). - Maximum 10 terms. Beyond that the first 10 are kept and the rest reported.
- The terms apply to every interview language.
Theme CSS
Theme CSS is a stylesheet a portal carries on top of the platform styles: fonts, header and footer colours, section backgrounds, card and button shapes. It is not part of this document, but it builds on it: a theme should read the brand colours set here instead of repeating them, so changing a colour in Branding restyles the theme too. Brand colours, as CSS variables a theme can use:
Block sections have four tones (
default, muted, dark, accent). Five variables recolour them without touching the blocks: --jm-tone-muted-bg, --jm-tone-dark-bg, --jm-tone-dark-fg, --jm-tone-accent-bg (defaults to var(--accent)) and --jm-tone-accent-fg.
- Where it is edited: per portal, on the portal pages screen (Configuration → Interview portal or Consumer portal) under Theme CSS. Save a draft, then publish.
- How it is imported: as
theme.cssof ajobmojito.portal-sitedocument, with the portal pages import or the same API call as this document. - Where it applies: on the interview portal, every page, the header and the footer (on the interview screens, the header and footer only). On the coaching portal, the public pages only (home, custom pages, support, sign-in, legal pages); the signed-in learner area keeps the platform look.
.jm-site. The full list of hooks (block, tone, card, button, header and footer classes) is in Portal pages → Theme CSS.
Not in this document
These are set in the admin by hand; the import neither reads nor changes them:Import through the API or MCP
The admin import and the API use the same call, so a document that imports in the dialog also imports here. Send it indocuments of POST /portal-configuration-update:
The response lists, per document, the same
summary lines and warnings the dialog shows, plus changes: what would change (dry run) or did change. changes lists only what differs from the stored configuration, so re-importing identical content writes nothing (different block ids alone are not a change):
To change the current configuration rather than write it from scratch, read it first:
GET /portal-configuration-get?sections=branding returns the current branding document. Edit it and send it back; every returned document is valid input. sections takes a comma-separated list of branding, interview-portal, coaching-portal, interview-pages and coaching-pages (default: all of them; a portal the company does not use is left out unless named). The interview and coaching portal documents come back without the built-in page texts (support, tracking, completion, signed-in home): those are in the pages documents, so writing a read result back never overwrites a page with stale text.
Through the MCP server the same two calls are the tools get_portal_configuration and update_portal_configuration, with the same fields.
Rules
- Reject the document rather than guess if
styleorreport_templateis not one of its values. - Do not invent colours to fill the palette. Supply only what the brand defines and let the rest keep their current values.
- Check contrast between
primaryandprimary_oppositebefore emitting. - Only reference logos that are already hosted at a public https URL, such as a media library file (
list_media_files). - Keep
speech_term_boostingto 10 terms of 3 to 20 characters.