Open repository

Ready-to-use JSON schemas to describe everything you manage in Dolibarr

A schema is a set of typed fields, a PDF layout, advice and translations, to attach to any Dolibarr object. The format is now supported by the Dolibarr core: no more extrafields reinvented in every instance, but consistent, multilingual and interoperable typologies.

941
schemas
7,118
pieces of advice
de en fr
languages
941
schemas in total
465
equipment sheets
398
intervention sheets
17
single risk assessment documents (DUERP)
14
competency grids
12
authorisations
10
checklists
10
trade packs
8
product sheets
7
registers
7,118
pieces of advice written

Schema families

Each schema declares its family (schema_kind). Applications filter the catalogue on the ones that concern them, and a new family is added without changing anything in the format.

Equipment sheets

465

The inventory of the physical thing: lift, defibrillator, server rack, boat. Reusable English vocabulary, composable via composed_of.

equipment

Intervention sheets

398

The dated work carried out on a piece of equipment: inspection, periodic statutory check, obsolescence audit, maintenance. French vocabulary, tied to the standards it cites.

intervention

Single risk assessment documents (DUERP)

17

The occupational risk assessment of a trade: work units, risks and prevention measures, ready to adapt to your company.

duerp

Competency grids

14

Assessment grids for training courses and certifications, starting with the FFESSM diving curricula.

competency

Authorisations and certifications

12

The qualifications held by a person or a company and their expiry date: electrical authorisation, CACES, SST, AIPR, RGE...

certification

Routine checklists

10

The daily checks to do in a few minutes on a mobile: opening a public building, start of shift, HACCP...

checklist

Trade packs

10

A ready-to-use set for a trade: equipment, interventions, single risk assessment document, checklists and certifications, to install in one go.

pack

Sector product sheets

8

The mandatory attributes and labelling statements of a product according to its sector: wine, food, textile, cosmetics, toy...

product

Mandatory registers

7

The registers the company must keep up to date: safety, accessibility, GDPR processing, staff...

register

Example: equipment maintenance

Families combine. For maintenance, three levels, from the broadest to the most specific: each level points to the next one and can be used on its own.

1

fichinter

The intervention sheet: inspection, periodic statutory check, audit, maintenance, verification. What the technician fills in on site. French vocabulary, tied to the standards it cites.

2

equipment

The physical thing the intervention is about: lift, defibrillator, server rack, buoy. Reusable English vocabulary, composable via composed_of (UML syntax).

3

advice

The related recommendations, by audience and severity: good practices for the user, short instructions to display physically near the equipment.

What the repository brings

More than a catalogue: a data contract designed to be used by any application.

{ }

JSON web service

A public index (index.json), an enriched catalogue (catalog.php) and a download of each schema by UUID. Integrates in a few lines.

A/文

Multilingual

equipment schemas written in English, translation overlays (de, en, fr). Search tolerant of accents and synonyms.

PDF rendering

Each schema can describe its PDF layout in a neutral way: sections, signatures, photos, cover page, appendices (pdf_layout block).

CERFA and imposed forms

Data overlaid on official PDFs with a fixed layout (pdf_cerfa block), with a visual editor to calibrate the coordinates.

Advice and public display

7,118 pieces of advice sorted by audience and severity, including short display sheets ready to stick near the equipment.

Free access

Public index and open download: the whole catalogue can be retrieved by UUID, without authentication or sign-up.

Integration in a few lines

Fetch the public index to present the catalogue to your users, then download the chosen schema by its UUID. The whole catalogue is freely accessible, without authentication.

  • 1. List via index.json or catalog.php (title, description, type, composition graph).
  • 2. Download via download.php?uuid=... (with &lang=fr for a resolved version).
  • 3. Materialise the typology in the application (extrafields, forms, PDF).
curl https://schemas.cap-rel.fr/index.json
[ { "uuid": "...", "title": "...", "schema_kind": "equipment" } ]
JS: list only the equipment
const cat = await fetch(
  'https://schemas.cap-rel.fr/catalog.php'
).then(r => r.json());
const eq = cat.items.filter(
  i => i.schema_kind === 'equipment'
);

A 100% open repository

Public index, public catalogue, public download. The whole corpus can be used freely, without an account or a token.

Free

941 downloadable schemas

The whole catalogue can be retrieved by UUID via download.php, without authentication. List with index.json or catalog.php, download, integrate.

Licence

Reusable and interoperable

The schemas are published under the GNU/aGPL licence and designed to be reused by any application. The service grows thanks to the R&D support of CAP-REL customers.

Support research and development

The schemas are freely accessible. This service exists and grows thanks to the R&D support of CAP-REL customers: each contribution funds new schemas, new languages and richer advice.