Skip to content

Commit

Permalink
Add range restrictions on wasGeneratedBy for well-known generation ac…
Browse files Browse the repository at this point in the history
…tivities (#653)
  • Loading branch information
glguy committed Feb 9, 2022
1 parent cf369ce commit b865c66
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RACK-Ontology/ontology/ANALYSIS.sadl
Expand Up @@ -47,3 +47,5 @@ ANALYSIS_OUTPUT

analyzes (note "ENTITY(s) under analysis") describes ANALYSIS_OUTPUT with values of type ENTITY.
analyzes is a type of wasImpactedBy.

wasGeneratedBy of ANALYSIS_OUTPUT only has values of type ANALYSIS.
2 changes: 2 additions & 0 deletions RACK-Ontology/ontology/CONFIDENCE.sadl
Expand Up @@ -28,6 +28,8 @@ CONFIDENCE_ASSESSMENT (note "Superclass for confidence assessments over some oth
assesses describes CONFIDENCE_ASSESSMENT with at most 1 value.
assesses is a type of wasImpactedBy.

wasGeneratedBy of CONFIDENCE_ASSESSMENT only has values of type ASSESSING_CONFIDENCE.

BDU_CONFIDENCE_ASSESSMENT (note "A belief-disbelief-uncertainty confidence assessment, c.f. Subjective Logic. belief, disbelief, and uncertainty should sum to 1") is a type of CONFIDENCE_ASSESSMENT.
belief (note "belief that an assessment is true") describes CONFIDENCE_ASSESSMENT with a single value of type float. // [0,1].
disbelief (note "belief that an assessment is false") describes CONFIDENCE_ASSESSMENT with a single value of type float. // [0,1].
Expand Down
2 changes: 2 additions & 0 deletions RACK-Ontology/ontology/HAZARD.sadl
Expand Up @@ -45,6 +45,8 @@ HAZARD
// A Hazard can be mitigated by a requirement, operating procedure etc., mitigation by REQUIREMENT is defined in REQUIREMENTS.sadl.
H:mitigates (note "a HAZARD may be mitigated by a OP_PROCEDURE") describes OP_PROCEDURE with values of type HAZARD.

wasGeneratedBy of HAZARD only has values of type HAZARD_IDENTIFICATION.

HAZARD_IDENTIFICATION
(note "ACTIVITY that identifies potential sources of HAZARD whose risk must be evaluated")
is a type of ACTIVITY.
2 changes: 2 additions & 0 deletions RACK-Ontology/ontology/REQUIREMENTS.sadl
Expand Up @@ -35,6 +35,8 @@ REQUIREMENT

Rq:mitigates (note "ENTITY(s) (e.g. HAZARD) that is being mitigated by this REQUIREMENT") describes REQUIREMENT with values of type ENTITY.
Rq:mitigates is a type of wasImpactedBy.

wasGeneratedBy of REQUIREMENT only has values of type REQUIREMENT_DEVELOPMENT.

DATA_DICTIONARY_TERM
(note "Defines some conceptual data that may be collected somewhere and used somewhere else")
Expand Down
2 changes: 2 additions & 0 deletions RACK-Ontology/ontology/REVIEW.sadl
Expand Up @@ -30,6 +30,8 @@ REVIEW_LOG
reviews is a type of wasImpactedBy.

reviewResult (note "Review status descriptor") describes REVIEW_LOG with values of type REVIEW_STATE.

wasGeneratedBy of REVIEW_LOG only has values of type REVIEW.

REVIEW_STATE (note "Life-cycle status of a review log")
is a type of THING,
Expand Down
2 changes: 2 additions & 0 deletions RACK-Ontology/ontology/SYSTEM.sadl
Expand Up @@ -34,6 +34,8 @@ SYSTEM

function (note "functionality / capability of a SYSTEM") describes SYSTEM with values of type FUNCTION.
function is a type of wasImpactedBy.

wasGeneratedBy of SYSTEM only has values of type SYSTEM_DEVELOPMENT.

INTERFACE
(note "INTERFACEs describe directed connections between a SYSTEM providing what another SYSTEM requires")
Expand Down
6 changes: 5 additions & 1 deletion RACK-Ontology/ontology/TESTING.sadl
Expand Up @@ -25,6 +25,8 @@ TEST

verifies (note "ENTITY(s) (e.g. REQUIREMENT) that this test verifies") describes TEST with values of type ENTITY.
verifies is a type of wasImpactedBy.

wasGeneratedBy of TEST only has values of type TEST_DEVELOPMENT.

TEST_STATUS (note "The high-level outcome of a TEST_RESULT")
is a type of THING,
Expand All @@ -41,6 +43,8 @@ TEST_RESULT

confirms (note "Parent test(s) of this test result") describes TEST_RESULT with values of type TEST.
confirms is a type of wasImpactedBy.

wasGeneratedBy of TEST_RESULT only has values of type TEST_EXECUTION.


TEST_PROCEDURE (note "A TEST_PROCEDURE is the TEST_STEPs that perform TESTs. ") is a type of COLLECTION.
Expand Down Expand Up @@ -71,5 +75,5 @@ TEST_EXECUTION
(note "ACTIVITY of performing a TEST and record its corresponding TEST_RESULT")
is a type of ACTIVITY.

testProcedure (note "TEST_PROCEDURE that was executed.")describes TEST_EXECUTION with values of type TEST_PROCEDURE.
testProcedure (note "TEST_PROCEDURE that was executed.") describes TEST_EXECUTION with values of type TEST_PROCEDURE.
testProcedure is a type of used.

0 comments on commit b865c66

Please sign in to comment.