Publishing

Open ITSM Hub format

Specification 1.0 for openitsmhub.yml, Markdown front matter, and the openitsmhub block in package.yml, including the schema and the checker.

Open ITSM Hub format 1.0

This page defines the listing format in full. Version 1.0.

The hub reads the file on the next refresh and copies the display fields into the catalogue. Slug, featured placement, verification, and GitHub stats stay with the hub.

Where the file lives

One file is enough. When several exist, this order applies:

  1. openitsmhub.yml at the top level of the repository
  2. openitsmhub.mdx or openitsmhub.md at the same level
  3. the openitsmhub block in package.yml

The YAML file wins over Markdown. The root file wins over package.yml.

Markdown and MDX carry YAML between ---. The text below the front matter becomes overview_content for lang. Without lang, the language is de.

A file on your own website is read through data-openitsmhub-yml. The steps are on Publish a package.

A partial file is valid. The hub skips empty and missing fields. The checker warns when the title or the summary is missing.

Fields

FieldShapeEffect
titleTextDisplay name
summaryText or language mapShort text
full_descriptionText or language mapDescription
overview_contentText or language mapOverview, Markdown or MDX
categoriesList of textsCategories
homepagehttp or httpsProduct page
logohttp or httpsLogo
licenseTextLicense name, for example GPL-3.0
acquisitionModel name or mappingHow someone gets it
linksList, at most 20Important links
screenshotsList, at most 100Images
developerTextSkins only
skin_typeagent, customer, or bothSkins only
langLanguage codeLanguage of the Markdown body

The hub does not copy unknown fields. The checker reports them as warnings.

Languages

A language code is two lowercase letters, optionally with a region: de, en, pt-br.

A single text counts as German. A map looks like this:

yaml
summary:
  de: Schließt ein Ticket direkt aus der Zoom-Ansicht.
  en: Close a ticket from the zoom view.

Display falls back from the selected language to de, then to en, then to the first text present.

The older keys summary_en, full_description_en, and overview_content_en still work. The same pattern works for other language codes, for example summary_fr. New files use the map.

Acquisition

acquisition is a model name or a mapping.

ModelCatalogue
freefree
open-sourcefree
paidpaid
subscriptionpaid
quotepaid, price on request
includedincluded in a contract

free and open-source set catalogue is_free: true. The other four set is_free: false.

Optional fields of the mapping:

FieldRule
modelone of the six names. type is the same key and remains for compatibility
pricea number from 0 to 1,000,000,000. A quote or a contract can omit the number
currencyISO 4217, three letters. A price without a currency uses EUR
cycleone-time, monthly, yearly, or contract
urlhttp or https, the offer or pricing page
notetext or a language map, at most 280 characters per language

When model is missing, the hub derives it: price 0 becomes free, a price with monthly or yearly becomes subscription, another price becomes paid, and cycle: contract without a price becomes included.

yaml
acquisition: free
yaml
acquisition:
  model: subscription
  price: 12
  currency: EUR
  cycle: monthly
  url: https://example.com/pricing
  note:
    de: Pro Agent und Monat.
    en: Per agent and month.
yaml
acquisition:
  model: included
  cycle: contract
  note:
    de: Im bestehenden Supportvertrag enthalten.

is_free: true is read as free, and is_free: false as paid. When both fields are present, acquisition wins.

At most 20 entries. Each entry is a URL or a mapping with url and title. label and name count as the title.

yaml
links:
  - title: Demo
    url: https://www.youtube.com/watch?v=VIDEO_ID
  - title:
      de: Dokumentation
      en: Documentation
    url: https://example.com/docs/quick-close
  - https://example.com/changelog

Rules the hub applies on import, and that the checker reports as errors:

  • only http and https
  • at most 2000 characters
  • no username and no password in the URL
  • no whitespace and no control characters
  • the same URL, without a trailing slash and without case differences, is kept once
  • the title is cut after 80 characters
  • a missing title falls back to the hostname

Rendered links use rel="nofollow noopener noreferrer".

youtube_demo_url becomes a link titled Demo when that URL is not already in links.

Screenshots

At most 100 images. Each entry is a URL or a mapping.

yaml
screenshots:
  - url: https://example.com/zoom.png
    alt: Ticket zoom with Quick Close
    is_primary: true
  - https://example.com/list.png

The same URL rules as for links. alt and alt_text are cut after 200 characters. is_primary: true selects the main image. Without that mark, the first image is the main image. Duplicate URLs are kept once.

Overview

overview_content is Markdown or MDX. The components overview-callout (tone of info, warning, tip, or note, plus title) and overview-steps are allowed. Ordinary HTML for paragraphs, links, lists, headings, images, tables, and code stays. The hub removes script, iframe, and event handlers. Examples are on Publish a package.

What the hub does not copy from the file

The hub sets slug, featured placement, verification, download counts, and GitHub stats itself. Those keys in the file do not change the catalogue.

Full example

yaml
title: Quick Close
lang: de
summary:
  de: Schließt ein Ticket direkt aus der Zoom-Ansicht.
  en: Close a ticket from the zoom view.
full_description:
  de: |
    Eine Schaltfläche in der Ticket-Zoom-Ansicht schließt das Ticket
    mit einem vorgegebenen Status.
  en: |
    A button in the ticket zoom view closes the ticket
    with a preset state.
overview_content:
  de: |
    Die Schaltfläche sitzt in der Ticket-Zoom-Ansicht.
categories:
  - Workflow Automation
homepage: https://example.com/quick-close
logo: https://example.com/logo.png
license: GPL-3.0
acquisition:
  model: subscription
  price: 12
  currency: EUR
  cycle: monthly
  url: https://example.com/pricing
  note:
    de: Pro Agent und Monat.
links:
  - title: Demo
    url: https://www.youtube.com/watch?v=VIDEO_ID
screenshots:
  - url: https://example.com/zoom.png
    alt: Ticket zoom with Quick Close
    is_primary: true

A skin adds developer and skin_type.

Block in package.yml

The schema describes the listing mapping. In package.yml it sits under openitsmhub. The package name and version belong to the package builder, not to the listing.

yaml
name: QuickClose
version: 1.0.0
openitsmhub:
  title: Quick Close
  summary:
    de: Schließt ein Ticket direkt aus der Zoom-Ansicht.
  acquisition: free

Schema and checker

The JSON Schema 1.0 describes types, allowed models, URL shape, and the limits 20 and 100. It requires no field, so a partial file stays valid.

Listing check reads openitsmhub.yml, Markdown front matter, and the block in package.yml in the browser. Nothing is uploaded. Errors are wrong types, wrong models, invalid URLs, URLs with credentials, duplicate URLs, and lists over the limit. Warnings are unknown fields and a missing title or summary. Notes cover the older fields is_free, youtube_demo_url, and summary_en.

The same check exists on the command line. It exits with status 1 when an error is present.

bash
python data-scrape/check_openitsmhub_listing.py openitsmhub.yml
python data-scrape/check_openitsmhub_listing.py package.yml --kind skins