SOL005_def.yaml 1.04 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
definitions:
  Link:
    description: >
      This type represents a link to a resource.
    type: object
    required:
      - href
    properties:
      href:
        description: >
          URI of a resource referenced from a notification.
          Should be an absolute URI (i.e. a URI that contains {apiRoot}),
          however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted)
          if the {apiRoot} information is not available.
        type: string
        format: url

  NotificationLink:
    description: >
      This type represents a link to a resource in a notification, using an absolute or relative URI.
    type: object
    required:
      - href
    properties:
      href:
        description: >
          URI of a resource referenced from a notification.
          Should be an absolute URI (i.e. a URI that contains {apiRoot}),
          however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted)
          if the {apiRoot} information is not available.
        type: string
        format: url