Skip to content
Suomi

Data model

These are the concepts you meet in the API and in exports. Finnish names are the ones the app shows.

Concept In Finnish Identity Key fields
Account organisaatio UUID type (personal, organization), gs1_company_prefix
Project projekti UUID name, owning account
Model malli UUID filename, status (pending, processing, complete, failed), asset_count
Element rakennusosa Project and IFC GlobalId name, ifc_type, predefined_type, storey, building, type_name, properties (IFC property sets)
QR code QR-koodi UUID, unique giai asset_global_id, status (see below), scan_count
Inspection tarkastus UUID Element, template, plan, status (not_started, in_progress, completed, failed)
Step result vaiheen tulos UUID status (pending, ok, failed, na), fail_reason, inspector, time
Inspection plan tarkastussuunnitelma UUID Template, start and due date, status (draft, active, completed, archived)
Finding havainto UUID (guid) BCF topic fields; see the BCF page
Photo kuva UUID (guid) snapshot_key, camera data
  • A project belongs to one account. Users of other accounts can be members of it.
  • A model belongs to a project and yields its elements. An element is identified by its IFC GlobalId within the project.
  • A QR code is tied to one element at a time, and one element has at most one QR code.
  • An inspection is one element’s run through a template. It has a step result per step, and may belong to a plan.
  • An inspection and each of its steps are published as BCF topics. See inspections as topics.
  • QR code status. Inside the app the values are unassigned, assigned, active and retired, where a code becomes active on its first scan. The public scan URL reports both assigned and active as active. See QR codes.
  • The IFC GlobalId is not the GIAI. Keep the two apart: GlobalId identifies the element in the model and the GIAI identifies the printed label.
  • Inspections CSV. Its workflow_status is the inspection’s status above. not_started also marks an element with a QR code and no inspection yet. See Exports.