Skip to content

Support URIs with interpolation #880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ $defs:
type: string
description: The event's unique identifier
source:
type: string
format: uri
$ref: '#/$defs/uri'
description: Identifies the context in which an event happened
type:
type: string
Expand All @@ -317,8 +316,7 @@ $defs:
type: string
description: Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format.
dataschema:
type: string
format: uri
$ref: '#/$defs/uri'
required: [ source, type ]
additionalProperties: true
required: [ event ]
Expand Down Expand Up @@ -567,8 +565,7 @@ $defs:
type: object
properties:
authority:
type: string
format: uri
$ref: '#/$defs/uri'
description: The URI that references the OAuth2 authority to use.
grant:
type: string
Expand Down Expand Up @@ -643,15 +640,14 @@ $defs:
type: object
properties:
type:
type: string
format: uri
$ref: '#/$defs/uri'
description: A URI reference that identifies the error type.
status:
type: integer
description: The status code generated by the origin for this occurrence of the error.
instance:
type: string
format: uri
format: json-pointer
description: A JSON Pointer used to reference the component the error originates from.
title:
type: string
Expand All @@ -664,8 +660,7 @@ $defs:
type: object
properties:
uri:
type: string
format: uri
$ref: '#/$defs/uri'
description: The endpoint's URI.
authentication:
$ref: '#/$defs/authenticationPolicy'
Expand Down Expand Up @@ -757,8 +752,7 @@ $defs:
type: object
properties:
uri:
type: string
format: uri
$ref: '#/$defs/uri'
description: The endpoint's URI.
authentication:
$ref: '#/$defs/authenticationPolicy'
Expand Down Expand Up @@ -875,4 +869,12 @@ $defs:
description: The duration after which to timeout.
required: [ after ]
description: The definition of a timeout.
uri:
oneOf:
- type: string
format: uri
- type: string
# taken from [RFC3986](https://tools.ietf.org/html/rfc3986#appendix-B)
pattern: ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$

required: [ document, do ]
Loading