Skip to content

Commit

Permalink
Merge pull request #817 from w3c-ccg/workflow-terms
Browse files Browse the repository at this point in the history
Term definitions for workflows
  • Loading branch information
mkhraisha authored Aug 1, 2023
2 parents af6998b + 1961d71 commit 7e8a737
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/openapi/components/schemas/common/Workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: workflow
title: Workflow
description: This is a property of a TraceablePresentation, and receives its semantics from that RDF Class.
type: object
properties:
Expand All @@ -7,18 +7,22 @@ properties:
type: array
items:
type: string
$linkedData:
term: definition
'@id': https://w3id.org/traceability#workflow-definition
instance:
description: The Workflow Instance identifies this particular workflow. Subsequent presentations may indicate correlation by referencing the same instance identifier.
type: array
items:
type: string
$linkedData:
term: instance
'@id': https://w3id.org/traceability#workflow-instance
additionalProperties: false
required:
- instance
example: |-
{
"definition": [
"https://w3id.org/traceability/#sima-steel-license"
"https://w3id.org/traceability/#us-cbp-entry"
],
"instance": [
"urn:uuid:f5fb6ce4-b0b1-41b8-89b0-331ni58b7ee0"
Expand Down

0 comments on commit 7e8a737

Please sign in to comment.