-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathmetamodel.yaml
More file actions
1060 lines (979 loc) · 29.7 KB
/
metamodel.yaml
File metadata and controls
1060 lines (979 loc) · 29.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
# yaml-language-server: $schema=./metamodel-schema.json
needs_types_base_options:
optional_options:
# req-Id: tool_req__docs_dd_link_source_code_link
source_code_link: ^https://github.com/.*
testlink: ^https://github.com/.*
# Version will be mandatory global option in future releases
# For now giving grace periods to consumers
# req-Id: tool_req__docs_common_attr_version
version: ^.*$
# Custom semantic validation rules
# Prohibited Word Option Checks
# Follow this schema to write new checks
# check_name:
# types[optional]:
# - List of tag types ('tags' option)
# - ...
# option_to_check:
# - List of words that are forbidden for this option
# - ...
#
prohibited_words_checks:
# req-Id: tool_req__docs_common_attr_title
title_check:
title:
- shall
- must
- will
# req-Id: tool_req__docs_common_attr_desc_wording
content_check:
types:
- requirement_excl_process
content:
- just
- about
- really
- some
- thing
- absolutely
needs_types:
# See metamodel.md for how to define a new need type
##############################################################################
# Process Metamodel
##############################################################################
# TSF
tsf:
title: TSF
mandatory_options:
id: ^tsf__[0-9a-zA-Z_-]*$
status: ^(draft|valid)$
optional_links:
links: ^.*$
parts: 3
tenet:
title: Tenet
mandatory_options:
id: ^tenet__[0-9a-zA-Z_-]*$
status: ^(draft|valid)$
optional_links:
links: "^.*$"
parts: 3
assertion:
title: Assertion
mandatory_options:
id: ^assertion__[0-9a-zA-Z_-]*$
status: ^(draft|valid)$
optional_links:
links: ^.*$
parts: 3
# Standard Requirement and Work Product
# req-Id: tool_req__docs_stdreq_types
std_req:
title: Standard Requirement
mandatory_options:
id: ^std_req__(iso26262|isosae21434|isopas8926|aspice_40)__[0-9a-zA-Z_-]*$
status: ^(valid)$
optional_links:
links: ^.*$
parts: 3
std_wp:
title: Standard Work Product
mandatory_options:
id: ^std_wp__(iso26262|isosae21434|isopas8926|aspice_40)__[0-9a-z_]*$
status: ^(valid)$
parts: 3
# Workflow
# req-Id: tool_req__docs_wf_types
workflow:
title: Workflow
prefix: wf__
mandatory_options:
status: ^(valid|draft)$
mandatory_links:
input: workproduct
output: workproduct
approved_by: role
responsible: role
optional_links:
supported_by: role
contains: ^gd_(req|temp|chklst|guidl|meth)__.*$
has: ^doc_(getstrt|concept)__.*$
parts: 2
# req-Id: tool_req__docs_req_types
gd_req:
title: Process Requirements
mandatory_options:
content: ^[\s\S]+$
optional_links:
# req-Id: tool_req__docs_req_link_satisfies_allowed
# TODO: fix once process_description is fixed
satisfies: workflow
complies: std_req
tags:
- requirement
parts: 2
gd_temp:
title: Process Template
mandatory_options:
status: ^(valid|draft)$
optional_links:
complies: std_req
parts: 2
gd_chklst:
title: Process Checklist
mandatory_options:
status: ^(valid|draft)$
optional_links:
complies: std_req
parts: 2
gd_guidl:
title: Process Guideline
mandatory_options:
status: ^(valid|draft)$
optional_links:
complies: std_req
parts: 2
gd_method:
title: Process Method
prefix: gd_meth__
mandatory_options:
status: ^(valid|draft)$
optional_links:
complies: std_req
parts: 2
# S-CORE Workproduct
workproduct:
title: Workproduct
prefix: wp__
mandatory_options:
status: ^(valid|draft)$
optional_links:
complies: std_wp, ^std_req__aspice_40__iic.*$
parts: 2
# Role
role:
title: Role
prefix: rl__
optional_links:
contains: role
parts: 2
# Documents, process_description only
doc_concept:
title: Concept Definition
mandatory_options:
status: ^(valid|draft)$
parts: 2
doc_getstrt:
title: Getting Started
mandatory_options:
status: ^(valid|draft)$
parts: 2
# req-Id: tool_req__docs_doc_types
document:
title: Generic Document
prefix: doc__
# req-Id: tool_req__docs_doc_generic_mandatory
mandatory_options:
status: ^(valid|draft|invalid)$
safety: "^(QM|ASIL_B)$"
security: "^(YES|NO)$"
optional_options:
# req-Id: tool_req__docs_doc_attr
author: ^.*$
approver: ^.*$
reviewer: ^.*$
# req-Id: tool_req__docs_doc_generic_mandatory
mandatory_links:
realizes: workproduct
parts: 2
# req-Id: tool_req__docs_doc_types
doc_tool:
title: Tool Verification Report
mandatory_options:
# req-Id: tool_req__docs_tvr_status
status: ^(draft|evaluated|qualified|released|rejected)$
# req-Id: tool_req__docs_tvr_version
version: ^.*$
# req-Id: tool_req__docs_tvr_safety
safety_affected: "^(YES|NO)$"
# req-Id: tool_req__docs_tvr_security
security_affected: "^(YES|NO)$"
# req-Id: tool_req__docs_tvr_confidence_level
tcl: "^(LOW|HIGH)$"
optional_options:
# req-Id: tool_req__docs_doc_attr
author: ^.*$
approver: ^.*$
reviewer: ^.*$
optional_links:
realizes: workproduct
parts: 2
# Requirements
# req-Id: tool_req__docs_req_types
stkh_req:
title: Stakeholder Requirement
mandatory_options:
# req-Id: tool_req__docs_req_attr_reqtype
reqtype: ^(Functional|Interface|Process|Non-Functional)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
# WARNING: THis will be activated again with new process release (1.1.0)
# content: ^[\s\S]+$
# req-Id: tool_req__docs_req_attr_rationale
rationale: ^.+$
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
optional_options:
codelink: ^.*$
testlink: ^.*$
# req-Id: tool_req__docs_req_attr_reqcov
reqcovered: ^(YES|NO)$
# req-Id: tool_req__docs_req_attr_testcov
testcovered: ^(YES|NO)$
hash: ^.*$
# req-Id: tool_req__docs_req_attr_validity_correctness
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
tags:
- requirement
- requirement_excl_process
parts: 3
# req-Id: tool_req__docs_req_types
feat_req:
title: Feature Requirement
style: node
mandatory_options:
# req-Id: tool_req__docs_req_attr_reqtype
reqtype: ^(Functional|Interface|Process|Non-Functional)$
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
content: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_req_link_satisfies_allowed
satisfies: stkh_req
optional_options:
codelink: ^.*$
testlink: ^.*$
# req-Id: tool_req__docs_req_attr_reqcov
reqcovered: ^(YES|NO)$
# req-Id: tool_req__docs_req_attr_testcov
testcovered: ^(YES|NO)$
hash: ^.*$
# req-Id: tool_req__docs_req_attr_validity_correctness
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
optional_links:
belongs_to: feat # for evaluation
tags:
- requirement
- requirement_excl_process
parts: 3
# req-Id: tool_req__docs_req_types
comp_req:
title: Component Requirement
mandatory_options:
# req-Id: tool_req__docs_req_attr_reqtype
reqtype: ^(Functional|Interface|Process|Non-Functional)$
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
content: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_req_link_satisfies_allowed
satisfies: feat_req
belongs_to: comp
optional_options:
codelink: ^.*$
testlink: ^.*$
# req-Id: tool_req__docs_req_attr_reqcov
reqcovered: ^(YES|NO)$
# req-Id: tool_req__docs_req_attr_testcov
testcovered: ^(YES|NO)$
hash: ^.*$
tags:
- requirement
- requirement_excl_process
parts: 3
# req-Id: tool_req__docs_req_types
tool_req:
title: Tool Requirement
mandatory_options:
content: ^[\s\S]+$
optional_links:
# req-Id: tool_req__docs_req_link_satisfies_allowed
# TODO: make it mandatory
satisfies: gd_req, stkh_req, feat_req, comp_req
optional_options:
codelink: ^.*$
tags: ^.*$
# req-Id: tool_req__docs_req_attr_reqcov
reqcovered: ^(YES|NO)$
# req-Id: tool_req__docs_req_attr_testcov
testcovered: ^(YES|NO)$
hash: ^.*$
implemented: ^(YES|PARTIAL|NO)$
parent_covered: ^.*$
parent_has_problem: ^.*$
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
tags:
- requirement
- requirement_excl_process
parts: 2
# req-Id: tool_req__docs_req_types
aou_req:
title: Assumption of Use Requirement
mandatory_options:
# req-Id: tool_req__docs_req_attr_reqtype
reqtype: ^(Functional|Interface|Process|Non-Functional)$
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
content: ^[\s\S]+$
optional_options:
codelink: ^.*$
testlink: ^.*$
# req-Id: tool_req__docs_req_attr_reqcov
reqcovered: ^(YES|NO)$
# req-Id: tool_req__docs_req_attr_testcov
testcovered: ^(YES|NO)$
hash: ^.*$
tags:
- requirement
- requirement_excl_process
parts: 3
# - Architecture -
# Architecture Element
# No process requirement - For evaluation:
# https://github.com/orgs/eclipse-score/discussions/407#discussioncomment-15125454
feat:
title: Feature
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
optional_links:
includes: ^logic_arc_int(_op)*__.+$
uses: ^logic_arc_int(_op)*__.+$
provides: ^logic_arc_int(_op)*__.+$ # preparation for linking change according to DR-005
tags:
- architecture_element
parts: 2
# Architecture View (but owns the requirement properties of architectural elements)
# req-Id: tool_req__docs_arch_types
# req-Id: tool_req__docs_arch_views
feat_arc_sta:
title: Feature & Feature Package Diagram
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
includes: ^logic_arc_int(_op)*__.+$
fulfils: feat_req
belongs_to: feat # make it mandatory for evaluation
tags:
- architecture_element
- architecture_view
parts: 3
# Architecture View (but owns the requirement properties of architectural elements)
# req-Id: tool_req__docs_arch_views
feat_arc_dyn:
title: Feature Sequence Diagram
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
fulfils: feat_req
belongs_to: feat
tags:
- architecture_view
- architecture_element
parts: 3
# Architecture Element & View
# req-Id: tool_req__docs_arch_types
# req-Id: tool_req__docs_arch_views
logic_arc_int:
title: Logical Interface & Feature Interface View
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
optional_links:
includes: logic_arc_int_op
fulfils: feat_req
tags:
- architecture_element
- architecture_view
parts: 3
# Architecture Element
# req-Id: tool_req__docs_arch_types
logic_arc_int_op:
title: Logical Interface Operation
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
included_by: logic_arc_int
tags:
- architecture_element
parts: 3
# Architecture Element
# No process requirement - For evaluation:
# https://github.com/orgs/eclipse-score/discussions/407#discussioncomment-15125454
mod:
title: Module
color: #FEDCD2
style: card
optional_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
includes: comp
tags:
- architecture_element
parts: 2
# Architecture View
# req-Id: tool_req__docs_arch_views
mod_view_sta:
title: Module Architecture Static View
color: #FEDCD2
style: card
optional_links:
belongs_to: mod # for evaluation
includes: comp
tags:
- architecture_view
parts: 3
# Architecture View
# No process requirement
mod_view_dyn:
title: Module Architecture Dynamic View
color: #FEDCD2
style: card
parts: 3
optional_links:
belongs_to: mod # for evaluation
# Architecture Element
comp:
title: Component
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
belongs_to: feat # preparation for linking change according to DR-005
optional_links:
implements: logic_arc_int, real_arc_int_op
uses: logic_arc_int, real_arc_int_op
consists_of: comp
tags:
- architecture_element
parts: 2
# Architecture View (but owns requirement properties of architectural elements)
# req-Id: tool_req__docs_arch_views
comp_arc_sta:
title: Component Package Diagram
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
belongs_to: comp
fulfils: comp_req
optional_links:
uses: logic_arc_int, real_arc_int_op
tags:
- architecture_view
parts: 3
# Architecture View (but owns requirement properties of architectural elements)
# req-Id: tool_req__docs_arch_views
comp_arc_dyn:
title: Component Sequence Diagram
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
belongs_to: comp
fulfils: comp_req
tags:
- architecture_view
parts: 3
# Architecture Element & View
# req-Id: tool_req__docs_arch_types
# req-Id: tool_req__docs_arch_views
real_arc_int:
title: Interface & Component Interface
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
language: ^(cpp|rust)$
optional_links:
fulfils: comp_req
tags:
- architecture_element
- architecture_view
parts: 3
# Architecture Element
# req-Id: tool_req__docs_arch_types
real_arc_int_op:
title: Interface Operation
color: #FEDCD2
style: card
mandatory_options:
# req-Id: tool_req__docs_common_attr_security
security: ^(YES|NO)$
# req-Id: tool_req__docs_common_attr_safety
safety: ^(QM|ASIL_B)$
# req-Id: tool_req__docs_common_attr_status
status: ^(valid|invalid)$
mandatory_links:
included_by: real_arc_int
optional_links:
implements: logic_arc_int_op
tags:
- architecture_element
parts: 3
# - architecture end -
review_header:
title: Review Header
mandatory_options:
reviewers: ^.*$
approvers: ^.*$
hash: ^.*$
template: ^.*$
parts: 3
# Implementation
# req-Id: tool_req__docs_dd_sta
dd_sta:
title: Static detailed design
color: #FEDCD2
style: card
mandatory_options:
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
status: ^(valid|invalid)$
mandatory_links:
implements: comp_req
satisfies: comp_arc_sta
optional_links:
belongs_to: comp # TODO: make it mandatory
includes: sw_unit, sw_unit_int
parts: 3
dd_dyn:
title: Dynamic detailed design
color: #FEDCD2
style: card
mandatory_options:
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
status: ^(valid|invalid)$
mandatory_links:
implements: comp_req
satisfies: comp_arc_sta
optional_links:
belongs_to: comp # TODO: make it mandatory
includes: sw_unit, sw_unit_int
parts: 3
sw_unit:
title: Software unit
mandatory_options:
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
status: ^(valid|invalid)$
optional_links:
belongs_to: comp # TODO: make it mandatory
parts: 3
sw_unit_int:
title: Software unit interface
color: #FEDCD2
style: card
mandatory_options:
security: ^(YES|NO)$
safety: ^(QM|ASIL_B)$
status: ^(valid|invalid)$
optional_links:
belongs_to: comp # TODO: make it mandatory
implements: real_arc_int, real_arc_int_op
parts: 3
# DFA (Dependent Failure Analysis)
# No requirement!!
plat_saf_dfa:
title: Platform Dependent Failure Analysis
mandatory_options:
failure_id: ^.*$
failure_effect: ^.*$
sufficient: ^(yes|no)$
status: ^(valid|invalid)$
content: ^[\s\S]+$
mandatory_links:
violates: feat_arc_sta
optional_options:
mitigation_issue: ^https://github.com/.*$
safety_relevant: ^(yes|no)$
optional_links:
mitigated_by: stkh_req, aou_req
parts: 3
# req-Id: tool_req__docs_saf_types
feat_saf_dfa:
title: Feature DFA (Dependent Failure Analysis)
mandatory_options:
# req-Id: tool_req__docs_saf_attr_dfa_failure_id
failure_id: ^.*$
failure_effect: ^.*$
# req-Id: tool_req__docs_saf_attrs_sufficient
sufficient: ^(yes|no)$
status: ^(valid|invalid)$
# req-Id: tool_req__docs_saf_attrs_content
content: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: feat_arc_sta
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
safety_relevant: ^(yes|no)$
optional_links:
# req-Id: tool_req__docs_saf_attrs_mitigated_by
# (only mandatory once valid status == valid)
mitigated_by: feat_req, aou_req
tags:
- dependent_failure_analysis
- safety_analysis
parts: 3
# req-Id: tool_req__docs_saf_types
comp_saf_dfa:
title: Component DFA (Dependent Failure Analysis)
mandatory_options:
# req-Id: tool_req__docs_saf_attr_dfa_failure_id
failure_id: ^.*$
failure_effect: ^.*$
# req-Id: tool_req__docs_saf_attrs_sufficient
sufficient: ^(yes|no)$
status: ^(valid|invalid)$
# req-Id: tool_req__docs_saf_attrs_content
content: ^[\s\S]+$
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
safety_relevant: ^(yes|no)$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: comp_arc_sta
optional_links:
# req-Id: tool_req__docs_saf_attrs_mitigated_by
# (only mandatory once valid status == valid)
mitigated_by: comp_req, aou_req
tags:
- dependent_failure_analysis
- safety_analysis
parts: 3
# FMEA (Failure Mode and Effects Analysis)
# req-Id: tool_req__docs_saf_types
feat_saf_fmea:
title: Feature FMEA (Failure Mode and Effects Analysis)
mandatory_options:
# req-Id: tool_req__docs_saf_attr_fmea_fault_id
fault_id: ^.*$
failure_effect: ^.*$
# req-Id: tool_req__docs_saf_attrs_sufficient
sufficient: ^(yes|no)$
status: ^(valid|invalid)$
# req-Id: tool_req__docs_saf_attrs_content
content: ^[\s\S]+$
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
safety_relevant: ^(yes|no)$
root_cause: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: feat_arc_dyn
optional_links:
# req-Id: tool_req__docs_saf_attrs_mitigated_by
# (only mandatory once valid status == valid)
mitigated_by: feat_req, aou_req
tags:
- failure_mode_effects_analysis
- safety_analysis
parts: 3
# req-Id: tool_req__docs_saf_types
comp_saf_fmea:
title: Component FMEA (Failure Mode and Effects Analysis)
mandatory_options:
# req-Id: tool_req__docs_saf_attr_fmea_fault_id
fault_id: ^.*$
failure_effect: ^.*$
# req-Id: tool_req__docs_saf_attrs_sufficient
sufficient: ^(yes|no)$
status: ^(valid|invalid)$
# req-Id: tool_req__docs_saf_attrs_content
content: ^[\s\S]+$
optional_options:
# req-Id: tool_req__docs_saf_attrs_mitigation_issue
mitigation_issue: ^https://github.com/.*$
safety_relevant: ^(yes|no)$
root_cause: ^[\s\S]+$
mandatory_links:
# req-Id: tool_req__docs_saf_attrs_violates
violates: comp_arc_dyn
optional_links:
mitigated_by: comp_req, aou_req
tags:
- failure_mode_effects_analysis
- safety_analysis
parts: 3
testcase:
title: Testcase Needs parsed from test.xml files
optional_options:
name: ^.*$
file: ^.*$
line: ^.*$
test_type: ^.*$
derivation_technique: ^.*$
result: ^.*$
result_text: ^.*$
optional_links:
fully_verifies: ^.*$
partially_verifies: ^.*$
# https://eclipse-score.github.io/process_description/main/permalink.html?id=gd_temp__change_decision_record
dec_rec:
title: Decision Record
mandatory_options:
status: ^(proposed|accepted|deprecated|rejected|superseded)$
context: ^.*$
decision: ^.*$
optional_options:
consequences: ^.*$
optional_links:
affects: ^.*$
# Extra link types, which shall be available and allow need types to be linked to each other.
# We use a dedicated linked type for each type of a connection, for instance from
# a specification to a requirement. This makes filtering and visualization of such connections
# much easier, as we can sure the target need of a link has always a specific type.
# Docs: https://sphinx-needs.readthedocs.io/en/latest/configuration.html#needs-extra-links
needs_extra_links:
##############################################################
# Process Metamodel
##############################################################
# Workflow
contains:
incoming: contained by
outgoing: contains
has:
incoming: relates to
outgoing: has
input:
incoming: is input to
outgoing: needs input
output:
incoming: is output from
outgoing: outputs
# Roles
responsible:
incoming: is responsible for
outgoing: responsible
approved_by:
incoming: approves
outgoing: approved by
supported_by:
incoming: supports
outgoing: supported by
# Workproduct
complies:
incoming: complies to
outgoing: complies
# document, doc_tool
realizes:
incoming: realized by
outgoing: realizes
##############################################################
# S-CORE Metamodel
##############################################################
# Requirements
satisfies:
incoming: satisfied by
outgoing: satisfies
# Architecture
consists_of:
incoming: forms part of
outgoing: consists of
belongs_to:
incoming: has
outgoing: belongs to
fulfils:
incoming: fulfilled by
outgoing: fulfils
implements:
incoming: implemented by
outgoing: implements
uses:
incoming: used by
outgoing: uses
provides:
incoming: provided by
outgoing: provides
includes:
incoming: included by
outgoing: includes
included_by:
incoming: includes
outgoing: included by
mitigated_by:
incoming: mititages
outgoing: mitigated_by
violates:
incoming: violated_by
outgoing: violates
fully_verifies:
incoming: fully_verified_by
outgoing: fully_verifies
partially_verifies:
incoming: partially_verified_by
outgoing: partially_verifies
##############################################################
# Graph Checks
# The graph checks focus on the relation of the needs and their attributes.
# Checks are defined in the following way:
# check_name:
# needs:defines the needs types to which the check should be applied
# - [include / exclude]: need types to which the check should be applied;
# multiple need types can be defined by separating them with a comma;
# to perform the check on all needs types, set include to .
# - condition: defines (together with apply) the condition which the needs need to fulfill
# - [and / or / xor / not]
# - check: defines the check that should be applied
# - <relation>: defines the relation which is used derive the type of the parent need