English
Crew draft
One team of people who work together: its size, skills, depot and working hours. It holds no names or contacts of its members. Keeping crews apart from vehicles lets the pairing change from day to day.
| Kind | entity |
| Type IRI | https://datamodels.jp/ns/fieldservice/Crew |
| @context | https://datamodels.jp/context/fieldservice/v1.jsonld |
| JSON Schema | /schema/fieldservice/Crew/v1.json |
| Download | CSV template Table Schema PostgreSQL / PostGIS table About these files |
| Licence | CC0 1.0: the files (@context, JSON Schema, examples) can be used without conditions |
These @context and JSON Schema URLs (version aliases) always point to the latest compatible version.
For URLs that never change, see Versions. More in URLs and versions.
Types and relationships
Relationship (attribute name)used as a value typeother subjectN more links: continued on that type's page
Attributes
| Attribute | Description | Value |
|---|---|---|
label | What the provider calls the crew, per language (for example {"ja": "収集班 A", "en": "Collection team A"})http://www.w3.org/2000/01/rdf-schema#label | Property, object |
provider | The organisation that does the work (a municipality, a contractor)https://schema.org/provider | Relationship → person, organisation or team |
localGovernmentCode | Local government code (6 digits) of the municipality it works forhttps://datamodels.jp/ns/common/localGovernmentCode | Property, string |
size* | How many peoplehttps://datamodels.jp/ns/fieldservice/size | Property, integer, ≥ 1 |
skills | What the crew can do (for example two-person, carry-out); together with the vehicle's skills, matched against a request's skillshttps://datamodels.jp/ns/fieldservice/skills | Property, array |
depot | Where the work starts: a Facilityhttps://datamodels.jp/ns/fieldservice/depot | Relationship → Facility |
workingHours | When the crew can work, as a list of OpeningHours values; only the time it shares with its vehicle's workingHours is plannedhttps://datamodels.jp/ns/fieldservice/workingHours | Property, array |
assignedVehicle | The vehicle it usually works with: a ServiceVehicle. The pairing of each day is in the RoutePlanhttps://datamodels.jp/ns/fieldservice/assignedVehicle | Relationship → ServiceVehicle |
source | Where the data comes from (a URL, for example)https://smart-data-models.github.io/data-models/terms.jsonld#/definitions/source | Property, string |
* required
Using this model
How to validate data and send it to a broker: Using the models.
To add attributes of your own to this model, the extension builder writes the @context and JSON Schema.
Extended this model? If you publish it on a site made with the toolkit, it shows on this page once your site is on the list of sites. Without a site, list your extension so others can reuse your names (how it works).
Files that particular brokers and tools can load as they are, made from this model: Adapters
The Link header, for sending data without @context in the body:
httpLink: <https://datamodels.jp/context/fieldservice/v1.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"
Example
Most examples are a fictional scenario (heavy rain in Chiyoda, Tokyo). Place names and codes are real; the events, people and teams are invented. Some examples copy a real row of a published list instead; their notes name the source. See writing examples.
json
{
"id": "urn:ngsi-ld:Crew:131016:field-team-a",
"type": "Crew",
"label": {
"languageMap": {
"ja": "収集班 A",
"en": "Collection team A"
}
},
"provider": "urn:ngsi-ld:Organization:131016",
"localGovernmentCode": "131016",
"size": 2,
"skills": [
"two-person"
],
"depot": "urn:ngsi-ld:Facility:131016-131016F00001",
"workingHours": [
{
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"opens": "08:00",
"closes": "16:00"
}
],
"assignedVehicle": "urn:ngsi-ld:ServiceVehicle:131016:truck-02"
}Files: example.json · example-normalized.jsonld · Open in the JSON-LD Playground: see the full IRI behind every attribute (expanded form).
Something missing or wrong?
Open an issue, or propose new attributes or models with the proposal form. How it works: Contributing. The source files (notes, mapping tables) are on GitHub.
Notes
- Built on the crews that route optimisation such as VROOM plans together with vehicles. schema.org Organization (a crew is part of an organisation) is close, but a crew needs fields to plan with (size, skills, working hours), so it is the catalog's own type.
- Upstream considered (2026-11-17). Smart Data Models Organization and Person (dataModel.Organization) describe organisations and people, with no size or skills of a crew. A subclass of schema.org Organization would bring attributes that do not fit a crew (legal name, address, contacts).
- Personal data: no names or contacts of the members. To describe people, keep them in other entities, with their own access limits.
- Why apart from vehicles: crews and vehicles pair differently from day to day. assignedVehicle is the usual pairing, the same link as ServiceVehicle's crew from the other end; the pairing of a day is in the routes of its RoutePlan. In a plan, the skills are those of the vehicle and the crew together, and the working hours the time both workingHours share.
- Real data: as with ServiceVehicle, the only data so far is a demo's settings. The model is listed as a draft until real data exists (decided 2026-11-23, #326).
- Draft. The subject name fieldservice and the namespace https://datamodels.jp/ns/fieldservice/ were decided on 2026-11-23 (#326).