-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add shape and test constraining performer of automated actions
A follow-on patch will regenerate Make-managed files. References: * #448 Signed-off-by: Alex Nelson <[email protected]>
- Loading branch information
1 parent
acc6da2
commit e3baa52
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"@context": { | ||
"action": "https://ontology.unifiedcyberontology.org/uco/action/", | ||
"identity": "https://ontology.unifiedcyberontology.org/uco/identity/", | ||
"kb": "http://example.org/kb/", | ||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#" | ||
}, | ||
"@graph": { | ||
"@id": "kb:person-automated-action-c51e0065-ba55-4177-bc08-e71963c22c26", | ||
"@type": "action:Action", | ||
"rdfs:comment": "This will fail SHACL validation because an automated action is required to not have a human performer.", | ||
"action:isAutomated": true, | ||
"action:performer": { | ||
"@id": "kb:person-c6c7ccc6-2b6c-41e0-ad74-d895bd209ac8", | ||
"@type": "identity:Person" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters