Skip to content

Commit e11edfe

Browse files
committed
Require valid_from in validity consistency check
1 parent 70d5387 commit e11edfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@ needs_types:
263263
rationale: ^.+$
264264
# req-Id: tool_req__docs_common_attr_security
265265
security: ^(YES|NO)$
266+
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
266267
optional_options:
267268
# req-Id: tool_req__docs_req_attr_reqcov
268269
reqcovered: ^(YES|NO)$
269270
# req-Id: tool_req__docs_req_attr_testcov
270271
testcovered: ^(YES|NO)$
271272
hash: ^.*$
272273
# req-Id: tool_req__docs_req_attr_validity_correctness
273-
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
274274
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
275275
tags:
276276
- requirement
@@ -292,6 +292,7 @@ needs_types:
292292
status: ^(valid|invalid)$
293293
# req-Id: tool_req__docs_common_attr_description
294294
content: ^[\s\S]+$
295+
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
295296
optional_links:
296297
# req-Id: tool_req__docs_req_link_satisfies_allowed
297298
derived_from: stkh_req
@@ -306,7 +307,6 @@ needs_types:
306307
testcovered: ^(YES|NO)$
307308
hash: ^.*$
308309
# req-Id: tool_req__docs_req_attr_validity_correctness
309-
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
310310
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
311311
tags:
312312
- requirement

0 commit comments

Comments
 (0)