Skip to content

Commit f5be130

Browse files
updated model.yaml - support subproperties
1 parent ab85353 commit f5be130

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

ServiceTechnician/model.yaml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
ServiceTechnician:
2+
description: Represent a maintenance operator providing the service
3+
properties:
4+
calendar:
5+
description: ListProperty. List of planned activities.
6+
items:
7+
description: Calendar of activities for the period already planned.
8+
format: date
9+
type: string
10+
x-ngsi:
11+
type: Property
12+
type: array
13+
geographicalArea:
14+
description: Definition of the area and location.
15+
type: string
16+
x-ngsi:
17+
type: Property
18+
hasSkill:
19+
description: ListProperty. Description of capabilities and experiences.
20+
items:
21+
description: Description of capabilities and experiences.
22+
format: uri
23+
type: string
24+
x-ngsi:
25+
type: Relationship
26+
type: array
27+
historicalService:
28+
description: ListProperty. List of managed services.
29+
items:
30+
description: Managed service.
31+
format: date
32+
type: string
33+
x-ngsi:
34+
type: Property
35+
type: array
36+
organization:
37+
description: Organization to which the technician belongs (PRIMA branch or external office).
38+
type: string
39+
x-ngsi:
40+
type: Property
41+
referenceAddress:
42+
description: Starting position (Office and Home).
43+
type: string
44+
x-ngsi:
45+
type: Property
46+
toolProvided:
47+
description: ListProperty. Technical equipment (special equipment not always provided for all teams).
48+
items:
49+
description: Name of the required tool.
50+
type: string
51+
x-ngsi:
52+
type: Property
53+
type: array
54+
type:
55+
description: The type of the entity (ServiceTechnician).
56+
type: string
57+
x-ngsi:
58+
type: Property
59+
required:
60+
- id
61+
- type
62+
- organization
63+
- hasSkill
64+
- toolProvided
65+
- geographicalArea
66+
- referenceAddress
67+
- calendar
68+
- historicalService
69+
type: object
70+
x-derived-from: ''
71+
x-disclaimer: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the license conditions are met. Copyleft (c) 2025 Contributors to Smart Data Models Program
72+
x-license-url: https://github.com/smart-data-models/dataModel.PredictiveMaintenance/blob/master/ServiceTechnician/LICENSE.md
73+
x-model-schema: https://smart-data-models.github.io/dataModel.PredictiveMaintenance/ServiceTechnician/schema.json
74+
x-model-tags: maintenace
75+
x-version: 0.0.1

0 commit comments

Comments
 (0)