Project Haystack Joins Smart Data Models: 8 Candidate Models for Smart Buildings and Building Automation

Smart Data Models’ Candidates repository now includes a new candidate standard for buildings: project-haystack, with 8 candidate models translated from Project Haystack 4.0.0, the open tagging ontology for building and IoT data. Project Haystack is published under the Academic Free License 3.0. Like every candidate, each model comes with a JSON Schema, an NGSI-LD @context and all four example serializations (NGSI-v2 and NGSI-LD, key-values and normalized), each validated against its schema.

About Project Haystack

Project Haystack is an open-source community effort that standardizes how building automation data is described: sites, spaces, equipment such as air handlers, chillers and meters, and the sensor, command and setpoint points they expose. Entities carry marker tags (discharge air temp sensor point), value tags and references (siteRef, equipRef). Haystack 4 defines these tags as “defs” (haystack-defs, release 4.0.0, 719 defs) and publishes them as JSON, Turtle and JSON-LD.

The models

Model Haystack def Attributes Example
Site site 23 Bravo hospital, Fort Wayne IN (real)
Space space 12 Bravo space @b-0135 (real)
Equip equip 47 Rooftop unit RTU-1: ahu rtu, chilled water cooling, hot water heating (real)
Point point 36 RTU-1 supply (discharge) air temperature sensor (real)
WeatherStation weatherStation 19 Fort Wayne, IN station (real)
System system 10 Chilled water system (synthetic)
Device device 10 RTU-1 controller (synthetic)
Network network 8 BACnet network (synthetic)

Grounded in a real building

Project Haystack publishes anonymized example buildings under the same licence. Five of the examples come straight from “Bravo”, a hospital with steam, hot water and chilled water plants: the site, a space, rooftop unit RTU-1 (an air handler with chilled water cooling, hot water heating and VAV zones), its supply air temperature sensor, and the Fort Wayne weather station. Bravo has no system, device or network records, so those three examples are synthetic, linked to Bravo, and say so.

Translation notes

  • Haystack names, verbatim. Every attribute is a Haystack tag name, and every @context maps it to the def IRI of the official Haystack RDF export. Model names follow the Haystack 5 (Xeto) specs: Site, Space, Equip, Point…
  • Markers as Haystack itself exports them. Marker tags go in one hasTag list (["ahu", "rtu", "hvac", "equip", …]), the same way Haystack’s own RDF export carries them (ph:hasTag). In JSON-LD each marker expands to its Haystack IRI.
  • Choices as enums. Haystack choices such as pointFunction (sensor, cmd, sp), pointSubject, pointQuantity, coolingProcess or heatingProcess are also enum properties, so they are easy to query.
  • References become NGSI-LD Relationships: site, space, equipment, system and weather station references, sub-metering, and the flow references between equipment (hot water, chilled water, electricity…).
  • Ready for geo-queries. Sites and weather stations get an NGSI-LD location built from Haystack’s geoCoord. It is the only addition to the Haystack content. Areas are in m².

Try it, and tell us what’s missing

These are Candidates: first, carefully sourced translations that are not yet official Smart Data Models subjects. The main open question is overlap with the Brick Schema and RealEstateCore candidates and with the official dataModel.Building and dataModel.Device subjects, since all of them describe buildings and their equipment. Natural next steps are the remaining Haystack entities (EV charging sessions, point groups, machine-learning variables) and the Haystack 5 Xeto specs.

Browse the models, open an issue, or send a PR:
👉 https://github.com/smart-data-models/Candidates/tree/master/standards/project-haystack

SAREF4EHAW & SAREF4WEAR Join Smart Data Models: 41 Candidate Models for eHealth and Wearables

Smart Data Models’ Candidates repository now includes two more ETSI SAREF extensions, both from the health and personal-devices space: saref4ehaw and saref4wear, together
contributing 41 candidate models. Both ship the full Candidates artifact set — a JSON Schema, an NGSI-LD @context, and all four example serializations — validated against its own schema.

SAREF4EHAW — 21 models

SAREF4EHAW (ETSI TS 103 410-8) is SAREF’s extension for eHealth and “ageing well” / active assisted living — the vocabulary behind remote health monitoring setups like a patient wearing a Body Area Network (BAN) of sensors, actuators, and wearables that funnel vital signs through a BAN hub to caregivers.

Category Models
Actors HealthActor, Caregiver, Helper, User, Patient, ResponsibleParty
Activity Activity, DailyActivity, NocturnalActivity
Body Area Network Ban, BanApplicationTask, BanHub
Devices HealthDevice, HealthActuator, HealthSensor, HealthWearable, FunctionalDevice
Communication CommunicationInterface, CommunicationNetwork, CommunicationProtocol
Observation ObservationCollectionExecution

A good chunk of this extension is pure specialization with no new properties of its own — DailyActivity, HealthSensor, HealthActuator, HealthWearable, BanHub, Patient, and ResponsibleParty all inherit everything from a richer parent class, and each candidate’s description explains exactly what it inherits rather than inventing properties that don’t exist in the ontology.

https://github.com/smart-data-models/Candidates/tree/master/standards/saref4ehaw

SAREF4WEAR — 20 models

SAREF4WEAR (ETSI TS 103 410-9) covers wearable technology more broadly — smartwatches, fitness bands, implantable health monitors, smart textiles, even crowd-control badges used by event staff. Devices are classified by how they relate to the body (in-body, on-body, near-body, textile/fabric-integrated), linked to the “Wearer” they’re attached to, and described by the functions they perform (communicating, controlling, navigating, notifying) and the hardware components they’re built from.

Category Models
Wearable-device family WearableDevice, InBodyWearable, OnBodyWearable, NearBodyWearable, TextileBasedWearable, FabricWearable
Actors / features of interest Wearer, User, LivingOrganism, Software
Hardware components Interface, PowerSupply, MemoryStorage, TextileBasedSensor
Functions CommunicatingFunction, ControllingFunction, NavigatingFunction, NotifyingFunction
Governance & events Policy, Occurrence

The example data (a Garmin-style heart-rate monitor on a runner, an implanted glucose-style monitor, a crowd-control wearable detecting a restroom queue at a music festival) is drawn directly from the worked scenarios in the normative ETSI specification.

https://github.com/smart-data-models/Candidates/tree/master/standards/saref4wear

Translation notes

  • Property-grouping classes flattened into plain attributes. Both ontologies classify measurable quantities (heart rate, battery level, air quality, soil moisture-style readings) using abstract grouping classes with no properties of their own, populated only by a handful of named individuals. Rather than mirroring that grouping hierarchy as
    thin extra entities, each named individual became a directly-named attribute on the device/wearer that carries it (e.g. WearableDevice.batteryRemainingTime, Wearer.heartRate) — the ontologies’ own documentation explicitly endorses this as an open, non-exhaustive vocabulary rather than a closed enumeration.
  • TTL vs. normative-PDF discrepancies, documented rather than silently resolved. SAREF4EHAW’s PDF tables several properties (hasHabit, hasInterface, availableFlash…) with explicit domains that aren’t actually declared in the published .ttl; SAREF4WEAR has a comparable gap (wearerRangeAge in the PDF vs. wearerAgeRange in the .ttl). Every such gap is flagged plainly in the affected property’s
    schema description and in standard-metadata.yaml, with the .ttl
    treated as authoritative.
  • One real naming collision found. Smart Data Models’ own dataModel.Hl7 already publishes a Patient model (the full FHIR resource). SAREF4EHAW’s Patient is a much narrower concept — a thin, zero-own-property “cared-for person” — kept under its own name per the translation policy, with the collision flagged for reconciliation before promotion out of Candidates.
  • Privacy-conscious examples. Given the personal-health subject matter, every SAREF4EHAW example uses clearly synthetic, non-identifying placeholder data.

Try it, and tell us what’s missing

These are Candidates — first, carefully-sourced translations, not yet promoted to official Smart Data Models subjects. The Patient naming collision above is the main open item before promotion.

Browse the models, open an issue, or send a PR:
👉 https://github.com/smart-data-models/Candidates/tree/master/standards/saref4ehaw

👉 https://github.com/smart-data-models/Candidates/tree/master/standards/saref4wear

Updates on data models

There are 4 new data models under review at incubated folder

DeviceOperation
FleetVehicleOperation
FleetVehicleStatus

They will have to be adapted to the guidelines and to the manual of single data code

Additionally, there are new contributions to water Network management

It also has been submitted a new data model for water observation. Soon to be assessed and shared.