Skip to content

Commit

Permalink
Support JSON schema URL on ports
Browse files Browse the repository at this point in the history
To indicate the format of data sent/received on the port
Fixes #15
  • Loading branch information
jonnor committed Sep 17, 2017
1 parent 28d7e84 commit c71e314
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion schema/yaml/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ input:
schema:
type: string
format: uri
description: 'Link to JSON schema for data on this port'
description: 'Link to JSON schema describing the format of the data'
example: 'https://example.net/schemas/person.json'
graph:
type: string
Expand Down
5 changes: 5 additions & 0 deletions schema/yaml/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ port_definition:
description:
type: string
description: 'textual description of the port'
schema:
type: string
format: uri
description: 'Link to JSON schema for data on this port'
example: 'https://example.net/schemas/person.json'

iip:
id: 'iip'
Expand Down

0 comments on commit c71e314

Please sign in to comment.