Current status of the project
Meta Model#
The meta model defines middleware-independent metadata for the definition and generation of standardized function APIs. Catalogue/interface metadata, for example metadata originating from COVESA VSS or an extended catalogue, is separated from function-specific configuration and runtime state where applicable.
The current core interface types are Data, Parameter, Scheduling, and a candidate Error interface. The model also defines common enumerations, runtime companion information for data quality, execution-result semantics, and cross-cutting modelling rules.
For Data and Parameter interfaces, name is the unique interface identifier
and contains the fully qualified hierarchical identifier. The hierarchy remains
part of the VSS/catalogue semantics; it is carried by name rather than
duplicated in a second path property.
Enum Type Description#
The meta model defines common enum types used by interface properties and runtime information.
Enum |
Values |
Purpose |
|---|---|---|
ASIL |
|
Safety classification used where an interface or runnable is safety-relevant. |
DataQuality |
|
Runtime qualifier values. |
Direction |
|
Function-relative direction of a Data interface. |
RunType |
|
Activation type of a runnable. |
FunctionResult |
|
Generic execution result only. It does not encode function-specific diagnostic causes. |
ErrorSeverity |
|
Functional impact/severity associated with a function-specific Error interface. |
SupervisionType |
|
Types of runnable execution supervision represented by the meta model. |
FunctionResult#
FunctionResult represents the generic outcome of an execution. It shall be
limited to success, failure, or notAvailable and shall not replace
function-specific diagnostic/error interfaces.
An adapter may report a failure it can observe, for example an invocation,
transport, or timeout failure. It shall not synthesize detailed
function-internal diagnostic causes or use FunctionResult as fault-logging
information.
Data Type Description#
Standard Naming Convention: Vehicle.<Domain/Subdomains>.<Signal>
name contains the fully qualified VSS node identifier, including its
hierarchical path, for example Vehicle.Speed. The metamodel therefore does
not duplicate this identifier in an additional path property.
Property / Attribute |
Req. |
Datatype |
Description |
Example / Notes |
|---|---|---|---|---|
name |
Yes |
string |
Unique interface or node name containing the fully qualified VSS node identifier, including its hierarchical path. |
|
dataType |
Yes |
string |
Type of value transported by the interface. |
|
description |
Yes |
string |
Functional meaning of the Data interface. |
Vehicle longitudinal speed |
unit |
Yes |
string |
Engineering unit of the Data interface. |
|
min |
Yes |
number |
Engineering minimum representable value. |
|
max |
Yes |
number |
Engineering maximum representable value. |
|
defaultValue |
Yes |
any |
Default or initialization value, where defined. |
|
resolution |
Yes |
number |
Smallest measurable quantization value, for example for scaling. |
|
precision |
Yes |
number |
Required numeric precision or number of meaningful digits. |
|
FuSa |
Yes |
boolean |
Indicates whether the Data interface is safety-relevant. |
|
ASIL |
No |
enum: ASIL |
Safety classification associated with the Data interface when it is safety-relevant. |
|
minUpdatePeriodMs |
Yes |
uint16 |
Minimum interval between Data updates in milliseconds. |
|
accuracy |
Yes |
string |
Expected measurement or estimation accuracy. |
|
direction |
Yes |
enum: Direction |
Defines the direction of the interface relative to the function/application being specified. |
|
protectionRequired |
Yes |
boolean |
Indicates whether protection is required for transfer of the Data between the function and its platform environment. The technical realization is platform-dependent and outside the scope of the metamodel/application specification. |
|
Runtime Data Quality#
qualityCode is runtime companion information and is intentionally separated
from the static Data metadata.
Property |
Datatype |
Generation |
Description |
|---|---|---|---|
qualityCode |
enum: DataQuality |
Separate runtime information |
Runtime quality/validity information accompanying the Data value. Recommended naming is |
A static function specification shall therefore not contain a constant such as
qualityCode: valid as if it were immutable interface metadata.
Parameter Type Description#
Standard Naming Convention: Vehicle.<Domain/Subdomains>.<Parameter>
name contains the complete canonical parameter identifier, including its
hierarchical path. The metamodel therefore does not duplicate this identifier in
an additional path property.
Property / Attribute |
Req. |
Datatype |
Description |
Example / Notes |
|---|---|---|---|---|
name |
Yes |
string |
Unique parameter identifier following the canonical VSS-style hierarchy, including its hierarchical path. |
|
dataType |
Yes |
string |
Datatype of the parameter value. |
|
defaultValue |
Yes |
any |
Default parameter value. |
|
description |
Yes |
string |
Meaning and intended usage of the parameter. |
Gain for a calibration map |
unit |
Yes |
string |
Engineering unit where applicable. |
|
tunable |
Yes |
boolean |
Indicates whether the parameter may be tuned/configured after definition. |
|
min |
Yes |
number |
Minimum permitted parameter value, if defined/applicable. |
|
max |
Yes |
number |
Maximum permitted parameter value, if defined/applicable. |
|
dimensions |
No |
array shape |
Shape of an array/map parameter. Omitted for scalars. |
|
Scheduling Type Description#
Standard Naming Convention: <FunctionName>.Init,
<FunctionName>.Step, <FunctionName>.Terminate
Scheduling defines the lifecycle, activation, timing, and execution-supervision contract of a runnable.
Property / Attribute |
Req. |
Datatype |
Description |
Example / Notes |
|---|---|---|---|---|
functionName |
Yes |
string |
Runnable or callable function name. |
|
runType |
Yes |
enum: RunType |
Activation type of the runnable. |
|
description |
Yes |
string |
Purpose and execution intent of the runnable. |
Main cyclic calculation |
cycleTimeMs |
Conditional |
number |
Periodicity of cyclic execution in milliseconds. |
Required when |
implementedASIL |
Yes |
enum: ASIL |
ASIL level for which this runnable/execution is implemented. |
|
previousRunnableRef |
No |
string |
Runnable that must precede this runnable when an ordering constraint exists. |
|
schedulingPolicy |
No |
string |
Scheduling mechanism or constraint. |
|
supervision |
Yes |
object |
Defines whether execution supervision is required and which supervision types/configuration apply. |
|
stackSizeBytes |
No |
uint32 |
Required stack size when relevant for deployment/integration. |
Platform/deployment-specific |
executionResult |
Yes |
enum: FunctionResult |
Generic result returned/reported for function execution. |
|
Execution Supervision#
The supervision object indicates whether runtime execution monitoring is required. If supervision is required, one or more monitoring types are selected and the corresponding configuration is supplied.
Property |
Req. |
Datatype |
Description |
|---|---|---|---|
supervision.required |
Yes |
boolean |
Indicates whether execution supervision is required for the runnable. |
supervision.type |
Conditional |
enum[] |
Required when |
supervision.alive |
Conditional |
object |
Required when |
supervision.deadline |
Conditional |
object |
Required when |
supervision.logical |
Conditional |
object |
Required when |
Alive Supervision#
Property |
Req. |
Datatype |
Description |
|---|---|---|---|
minIndications |
No |
uint32 |
Minimum expected number of alive indications within the reference cycle. This is not a lower tolerance margin. |
maxIndications |
No |
uint32 |
Maximum allowed number of alive indications in the reference cycle. |
referenceCycleMs |
No |
number |
Reference cycle used to evaluate alive indications. |
Deadline Supervision#
Deadline supervision verifies that execution completes within the configured maximum execution-time limit.
Property |
Req. |
Datatype |
Description |
|---|---|---|---|
maxExecutionTimeMs |
Yes |
number |
Maximum allowed execution time for deadline supervision. |
Logical Supervision#
Property |
Req. |
Datatype |
Description |
|---|---|---|---|
predecessorRefs |
No |
string[] |
References to runnables expected before the supervised runnable. |
successorRefs |
No |
string[] |
References to runnables expected after the supervised runnable. |
Note
The top-level SupervisionType enum additionally contains none and
combined. The current supervision.type property in the YAML directly
lists alive, deadline, and logical.
Error Type Description#
The Error interface is currently marked as candidate. It is a lightweight
function-specific error/status interface, separated from the generic
FunctionResult. This candidate model does not redefine DSM/DTC or
event-memory handling. It conveys application-level error/status information
that can be consumed by relevant middleware or platform components for
diagnostic handling and logging. Optional diagnostic metadata may be provided
where required to support downstream diagnostic configuration during
integration.
Standard Naming Convention:
<FunctionName>.<ErrorName>.ErrorStatus
Property / Attribute |
Req. |
Datatype |
Description |
Example / Notes |
|---|---|---|---|---|
name |
Yes |
string |
Function-specific Error interface name. |
|
dataType |
Yes |
string |
Datatype of the exposed Error interface. |
|
description |
Yes |
string |
Meaning of the Error and its trigger scenario. |
Range error due to implausible input |
severity |
No |
enum: ErrorSeverity |
Optional functional impact/severity associated with the Error, when required for downstream diagnostic configuration. |
|
maturationTimeMs |
Yes |
number (ms) |
Time for which the Error condition must persist before it is considered matured to be set, when required by the diagnostic/integration concept. |
|
resetTimeMs |
Recommended |
number |
Optional de-maturation/reset time before clearing the Error, when required by the diagnostic/integration concept. |
|
resetCondition |
Recommended |
string |
Optional condition that clears the Error, when required by the diagnostic/integration concept. |
Input valid for a defined duration |
dependencyRefs |
No |
string[] |
Optional references to related upstream Error interfaces that may propagate/trigger this Error, when required for integration. |
|
fallbackBehavior |
No |
string |
Optional function-level fallback/degradation behavior associated with the Error. |
|
raisesSafetyReactionRefs |
No |
string[] |
Optional references to safety reactions associated with this Error. |
|
Modeling Rules#
The following cross-cutting rules apply to the meta model.
Rule |
Definition |
|---|---|
MR-001 |
VSS sensor/actuator type and function input/output direction are different concepts. Direction shall be assigned per function-interface usage. |
MR-002 |
Runtime quality shall not be populated as a static constant in a function specification. Quality information shall be transported/represented at runtime. |
MR-003 |
Generic |
MR-004 |
The metamodel specifies whether protection is required for an interface. The technical realization of that protection is platform-dependent and outside the scope of the metamodel/application specification; it may be provided by the operating system, middleware, communication stack, or other platform mechanisms and shall be configured/enabled/implemented during integration. |
MR-005 |
Unknown metadata shall remain |
Meta Model File#
Version 0.4.1
1# *******************************************************************************
2# Copyright (c) 2026 ZF Friedrichshafen AG
3#
4# See the NOTICE file(s) distributed with this work for additional
5# information regarding copyright ownership.
6#
7# This program and the accompanying materials are made available under the
8# terms of the Apache License Version 2.0 which is available at
9# https://www.apache.org/licenses/LICENSE-2.0
10#
11# SPDX-License-Identifier: Apache-2.0
12#
13# Contributors:
14# Saran Gundlapalli
15# Thomas Pfleiderer
16# *******************************************************************************
17
18metamodel:
19 name: Eclipse-autoapiframework-Metamodel
20 version: 0.4.1
21 scope: Middleware-independent metadata for definition and generation of standardized function APIs. Catalogue/interface metadata (for e.g., from VSS) is separated from function-specific configuration and runtime state where applicable.
22 intent: Core interface types and essential metadata are required for standardized API definition and generation.
23
24 enums:
25
26 ASIL:
27 - QM
28 - A
29 - B
30 - C
31 - D
32
33 DataQuality:
34 description: Runtime qualifier values. DataQuality is defined by the metamodel and the attribute qualityCode is not static metadata of a data interface instance.
35 values:
36 - uninitialized
37 - invalid
38 - valid
39
40
41 Direction:
42 - input
43 - output
44
45 RunType:
46 - init
47 - cyclic
48 - event
49 - terminate
50
51 FunctionResult:
52 description: Generic execution result only. It shall not encode function-specific diagnostic causes. Detailed errors are exposed through "Error interfaces".
53 values:
54 - success
55 - failure
56 - notAvailable
57
58 ErrorSeverity:
59 - information
60 - warning
61 - degraded
62 - shutdown
63
64 SupervisionType:
65 - none
66 - alive
67 - deadline
68 - logical
69 - combined
70
71 interfaceTypes:
72
73 Data:
74 description: Runtime data interfaces exchanged between applications or systems. Semantic properties may originate from VSS or an extended catalogue. Direction and the protection requirement are resolved for the function usage/configuration and are not intrinsic properties of the canonical VSS node.
75
76 properties:
77 name:
78 mandatory: true
79 datatype: string
80 description: Unique interface or node name containing the fully qualified VSS node identifier, including its hierarchical path - Vehicle.<Domain/Subdomains>.<Signal>.
81 example: Vehicle.Speed
82
83 dataType:
84 mandatory: true
85 datatype: string
86 description: Type of value transported by the interface.
87 examples:
88 - float
89 - uint8
90 - uint16
91 - boolean
92
93 description:
94 mandatory: true
95 datatype: string
96 description: Functional meaning of the data interface.
97
98 unit:
99 mandatory: true
100 datatype: string
101 description: Engineering unit of the data interface.
102 example: km/h
103
104 min:
105 mandatory: true
106 datatype: number
107 description: Engineering minimum representable value. Null if not yet defined or not applicable.
108
109 max:
110 mandatory: true
111 datatype: number
112 description: Engineering maximum representable value. Null if not yet defined or not applicable.
113
114 defaultValue:
115 mandatory: true
116 datatype: any
117 description: Default or initialization value, where defined. Null if not yet defined or not applicable.
118
119 resolution:
120 mandatory: true
121 datatype: number
122 description: Smallest measurable quantization value - meant for scaling etc.
123
124 precision:
125 mandatory: true
126 datatype: number
127 description: Required numeric precision/number of meaningful digits.
128
129 FuSa:
130 mandatory: true
131 datatype: boolean
132 description: Indicates if the data interface is safety relevant or not.
133
134 ASIL:
135 mandatory: false
136 datatype: enum
137 enumRef: ASIL
138 description: Safety classification associated with the data interface when it is safety-relevant.
139
140 minUpdatePeriodMs:
141 mandatory: true
142 datatype: uint16
143 description: Minimum interval between data updates in milliseconds.
144
145 accuracy:
146 mandatory: true
147 datatype: string
148 description: Expected measurement or estimation accuracy.
149 example: ±0.2 km/h
150
151 direction:
152 mandatory: true
153 datatype: enum
154 enumRef: Direction
155 description: Defines the direction of the interface relative to the function/application being specified. input means the function consumes the data; output means the function provides the data. This is independent of the VSS sensor/actuator classification.
156 example: input
157
158 protectionRequired:
159 mandatory: true
160 datatype: boolean
161 description: Indicates whether protection is required for transfer of the data between the function and its platform environment. The technical realization is platform-dependent and outside the scope of the metamodel/application specification.
162 example: true
163
164 runtimeCompanion:
165 qualityCode:
166 generatedAsSeparateRuntimeInformation: true
167 recommendedNaming: "<DataPath>.Qualifier"
168 datatype: enum
169 enumRef: DataQuality
170 description: Runtime quality/validity information accompanying the value. It is not a static metadata value such as min,max etc.
171 example: Vehicle.Speed.Qualifier
172
173 Parameter:
174 description: Calibration and configuration interface.
175
176 properties:
177 name:
178 mandatory: true
179 datatype: string
180 description: Unique parameter identifier following the canonical VSS-style hierarchy, including its hierarchical path - Vehicle.<Domain/Subdomains>.<Parameter>.
181 example: Vehicle.Brake.Gain
182
183 dataType:
184 mandatory: true
185 datatype: string
186 description: Datatype of the parameter value.
187 examples:
188 - float
189 - float[]
190 - uint8
191 - boolean
192
193 defaultValue:
194 mandatory: true
195 datatype: any
196 description: Default parameter value.
197
198 description:
199 mandatory: true
200 datatype: string
201 description: Meaning and intended usage of the parameter.
202
203 unit:
204 mandatory: true
205 datatype: string
206 description: Engineering unit where applicable.
207
208 tunable:
209 mandatory: true
210 datatype: boolean
211 description: Indicates whether the parameter may be tuned/configured after definition.
212
213 min:
214 mandatory: true
215 datatype: number
216 description: Minimum permitted parameter value, if defined/applicable.
217
218 max:
219 mandatory: true
220 datatype: number
221 description: Maximum permitted parameter value, if defined/applicable.
222
223 dimensions:
224 mandatory: false
225 datatype: any with array indicated via []
226 description: Shape of an array/map parameter. Omitted for scalars; e.g. [10] for a one-dimensional breakpoint vector and [7, 10] for a 7x10 map.
227 example: Vehicle.Brake.GainMap[10]
228
229 Scheduling:
230 description: Lifecycle, activation, timing and execution-supervision contract of a runnable.
231
232 properties:
233 functionName:
234 mandatory: true
235 datatype: string
236 description: Runnable or callable function name.
237 namingConvention:
238 - "<FunctionName>.Init"
239 - "<FunctionName>.Step"
240 - "<FunctionName>.Terminate"
241
242 runType:
243 mandatory: true
244 datatype: enum
245 enumRef: RunType
246 description: Activation type of the runnable.
247
248 description:
249 mandatory: true
250 datatype: string
251 description: Purpose and execution intent of the runnable.
252
253 cycleTimeMs:
254 mandatory: conditional
255 condition: "runType == cyclic"
256 datatype: number
257 description: Periodicity of cyclic execution in milliseconds.
258
259 implementedASIL:
260 mandatory: true
261 datatype: enum
262 enumRef: ASIL
263 description: ASIL level for which this runnable/execution is implemented.
264
265 previousRunnableRef:
266 mandatory: false
267 datatype: string
268 description: Runnable that must precede this runnable when an ordering constraint exists.
269
270 schedulingPolicy:
271 mandatory: false
272 datatype: string
273 description: Scheduling mechanism or constraint, e.g. preemptive/non-preemptive.
274
275 supervision:
276 mandatory: true
277 datatype: object
278
279 properties:
280
281 required:
282 mandatory: true
283 datatype: boolean
284
285 type:
286 mandatory: conditional
287 condition: required == true
288 datatype: enum[]
289 values:
290 - alive
291 - deadline
292 - logical
293
294 alive:
295 mandatory: conditional
296 condition: type contains alive
297 datatype: object
298 properties:
299 minIndications:
300 datatype: uint32
301 mandatory: false
302 description: Minimum expected number of alive indications within the reference cycle; this is not a lower tolerance margin.
303 maxIndications:
304 datatype: uint32
305 mandatory: false
306 description: Maximum allowed number of alive indications within the reference cycle.
307 referenceCycleMs:
308 datatype: number
309 mandatory: false
310 description: Reference cycle used to evaluate alive indications.
311
312 deadline:
313 mandatory: conditional
314 condition: type contains deadline
315 datatype: object
316 description: Deadline supervision verifies that execution completes within the configured maximum execution-time limit.
317 properties:
318 maxExecutionTimeMs:
319 datatype: number
320 mandatory: true
321 description: Maximum allowed execution time for deadline supervision.
322
323 logical:
324 mandatory: conditional
325 condition: type contains logical
326 datatype: object
327 properties:
328 predecessorRefs: {datatype: "string[]", mandatory: false}
329 successorRefs: {datatype: "string[]", mandatory: false}
330
331 stackSizeBytes:
332 mandatory: false
333 datatype: uint32
334 description: Required stack size when relevant for deployment/integration.
335
336 executionResult:
337 mandatory: true
338 datatype: enum
339 enumRef: FunctionResult
340 description: Generic result returned/reported for function execution. The adapter may report a failure indication it can observe (e.g. due to invocation/transport/timeout). It shall not synthesize detailed function-internal diagnostic causes nor reports any errors for fault logging.
341
342 Error:
343 status: candidate
344 description: Lightweight function-specific error/status interface, separated from the generic FunctionResult. This candidate model does not redefine DSM/DTC or event-memory handling. It conveys application-level error/status information that can be consumed by relevant middleware or platform components for diagnostic handling and logging. Optional diagnostic metadata may be provided where required to support downstream diagnostic configuration during integration.
345
346 properties:
347 name:
348 mandatory: true
349 datatype: string
350 description: Function-specific error interface name. Standard canonical form - <FunctionName>.<ErrorName>.ErrorStatus
351 example: WheelSpeedCalc.RangeError.ErrorStatus
352
353 dataType:
354 mandatory: true
355 datatype: string
356 description: Datatype of the exposed error interface.
357 examples:
358 - boolean
359 - enum
360
361 description:
362 mandatory: true
363 datatype: string
364 description: Meaning of the error and its trigger scenario.
365
366 severity:
367 mandatory: false
368 datatype: enum
369 enumRef: ErrorSeverity
370 description: Optional functional impact/severity associated with the error, when required for downstream diagnostic configuration.
371
372 maturationTimeMs:
373 mandatory: true
374 datatype: number in milliseconds
375 description: Time for which the error condition must persist before it is considered matured to be set, when required by the diagnostic/integration concept.
376
377 resetTimeMs:
378 mandatory: false
379 recommendation: recommended
380 datatype: number
381 description: Optional de-maturation/reset time before clearing the error, when required by the diagnostic/integration concept.
382
383 resetCondition:
384 mandatory: false
385 recommendation: recommended
386 datatype: string
387 description: Optional condition that clears the error, when required by the diagnostic/integration concept.
388
389 dependencyRefs:
390 mandatory: false
391 datatype: "string[]"
392 description: Optional references to related upstream error interfaces that may propagate/trigger this error, when required for integration.
393
394 fallbackBehavior:
395 mandatory: false
396 datatype: string
397 description: Optional function-level fallback/degradation behavior associated with the error.
398
399 raisesSafetyReactionRefs:
400 mandatory: false
401 datatype: "string[]"
402 description: Optional references to safety reactions associated with this error - <SafetyCondition>.SafetyConditionStatus.
403
404 modelingRules:
405 - id: MR-001
406 rule: >-
407 VSS sensor/actuator type and function input/output direction are different
408 concepts. Direction shall be assigned per function-interface usage.
409
410 - id: MR-002
411 rule: >-
412 Runtime quality shall not be populated as a static constant in a function
413 specification. Quality information shall be transported/represented at runtime.
414
415 - id: MR-003
416 rule: >-
417 Generic FunctionResult shall be limited to execution outcome and shall not
418 replace function-specific diagnostic/error interfaces.
419
420 - id: MR-004
421 rule: >-
422 The metamodel specifies whether protection is required for an interface. The
423 technical realization of that protection is platform-dependent and outside the scope
424 of the metamodel/application specification; it may be provided by the operating system,
425 middleware, communication stack, or other platform mechanisms and shall be
426 configured/enabled/implemented during integration.
427
428 - id: MR-005
429 rule: >-
430 Unknown metadata shall remain null according to the consuming schema/tool
431 and shall not be replaced with invented plausible values.
History#
Version |
Author |
Description of Changes |
Impact |
|---|---|---|---|
0.2.0 |
Gundlapalli Saran |
First release of Meta Model specification. |
Baseline |
0.3.0 |
Thomas Pfleiderer |
Signal protection attribute, FunctionResult enum, and typo corrections. |
Functional enhancement |
0.4 |
Gundlapalli Saran |
Updated Data and Parameter metadata; separated runtime quality information; moved function-relative direction/protection requirement to Data; added FuSa handling, execution supervision, generic execution-result semantics, candidate Error interface, and modelling rules. |
Architectural and functional enhancement |
0.4.1 |
Gundlapalli Saran |
Incorporated review feedback from Bosch: replaced the protection mechanism enum with the boolean |
Review-driven clarification and simplification |
Examples#
Example function specifications based on this meta model: