This tool generates and maintains the visual inventory of platform objects for the SoftwareOne Marketplace Platform. It renders object views from Figma, uploads images to Confluence, and updates object pages and a summary page automatically.
- Object definitions live in
schemas/*.json - Images and HTML previews are written to
build/ - Confluence pages are updated in place
- Renders PNGs from Figma for each object view (desktop, mobile, infocards, settings) and the state diagram.
- Uploads or replaces the images as attachments on each object’s Confluence page.
- Regenerates each object page body using HTML templates.
- Regenerates the global summary page with per-object status and links.
Fast path:
./run.shOn each run you will see six phases:
- Initialize schemas
- Render Figma images
- Remove existing page attachments
- Upload images
- Update object pages
- Update summary page
Place object schema files in ./schemas/ (one per object). Minimal required fields:
- Empty strings are treated as “not defined”.
- Each non-empty value must be a Figma URL containing
file/proto/design/<fileKey>andnode-id=; the renderer extracts both to request PNGs from Figma.
build/<Object Name>/...png— all rendered imagesbuild/<Object Name>/object-page.html— the HTML used to update the object’s Confluence pagebuild/summary-page.html— the HTML used to update the global summary page
If the new HTML matches the current Confluence content (normalized), the update is skipped.
HTML bodies are generated from templates in confluence-templates/:
object-page.html— full object page layoutroles-table.html,single-table.html— reusable table fragments for roles (vendor, operations, client)multitable.html,multitable-row.html— generic multi-row tablesummary-page.html,summary-table-row.html— global summary page
Attachments are fully replaced on each run to ensure a consistent, up-to-date page. Pages are forced to “full width.”
The Marketplace Platform is API-first and serves three account types: Vendors, Operations, and Clients. For broader platform terms and APIs, see the public docs at https://docs.platform.softwareone.com.