@toa.io/extensions.exposition 1.0.0-alpha.271 → 1.0.0-alpha.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/components/{exposition.stash → exposition.atom}/manifest.toa.yaml +4 -4
  3. package/components/{exposition.stash → exposition.atom}/operations/meter.js +1 -1
  4. package/components/exposition.octets/manifest.toa.yaml +28 -10
  5. package/components/exposition.octets/operations/put.js +20 -5
  6. package/components/identity.bans/manifest.toa.yaml +26 -7
  7. package/components/identity.bans/operations/tsconfig.tsbuildinfo +1 -1
  8. package/components/identity.basic/manifest.toa.yaml +106 -30
  9. package/components/identity.basic/operations/authenticate.js +6 -3
  10. package/components/identity.basic/operations/authenticate.js.map +1 -1
  11. package/components/identity.basic/operations/incept.js +3 -2
  12. package/components/identity.basic/operations/incept.js.map +1 -1
  13. package/components/identity.basic/operations/transit.js +16 -5
  14. package/components/identity.basic/operations/transit.js.map +1 -1
  15. package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
  16. package/components/identity.basic/source/authenticate.ts +7 -3
  17. package/components/identity.basic/source/incept.ts +3 -2
  18. package/components/identity.basic/source/transit.ts +19 -5
  19. package/components/identity.credentials/manifest.toa.yaml +34 -13
  20. package/components/identity.credentials/operations/tsconfig.tsbuildinfo +1 -1
  21. package/components/identity.federation/manifest.toa.yaml +120 -28
  22. package/components/identity.federation/operations/authenticate.js +3 -2
  23. package/components/identity.federation/operations/authenticate.js.map +1 -1
  24. package/components/identity.federation/operations/create.js +4 -2
  25. package/components/identity.federation/operations/create.js.map +1 -1
  26. package/components/identity.federation/operations/lib/errors.d.ts +70 -11
  27. package/components/identity.federation/operations/lib/errors.js +40 -11
  28. package/components/identity.federation/operations/lib/errors.js.map +1 -1
  29. package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
  30. package/components/identity.federation/source/authenticate.ts +3 -2
  31. package/components/identity.federation/source/create.ts +4 -2
  32. package/components/identity.federation/source/lib/errors.ts +49 -12
  33. package/components/identity.keys/manifest.toa.yaml +14 -6
  34. package/components/identity.keys/operations/tsconfig.tsbuildinfo +1 -1
  35. package/components/identity.otp/manifest.toa.yaml +44 -15
  36. package/components/identity.otp/operations/authenticate.js +9 -4
  37. package/components/identity.otp/operations/authenticate.js.map +1 -1
  38. package/components/identity.otp/operations/tsconfig.tsbuildinfo +1 -1
  39. package/components/identity.otp/source/authenticate.ts +11 -4
  40. package/components/identity.passkeys/manifest.toa.yaml +38 -8
  41. package/components/identity.passkeys/operations/authenticate.js +3 -2
  42. package/components/identity.passkeys/operations/authenticate.js.map +1 -1
  43. package/components/identity.passkeys/operations/create.js +6 -3
  44. package/components/identity.passkeys/operations/create.js.map +1 -1
  45. package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +1 -1
  46. package/components/identity.passkeys/operations/use.js +6 -3
  47. package/components/identity.passkeys/operations/use.js.map +1 -1
  48. package/components/identity.passkeys/source/authenticate.ts +3 -2
  49. package/components/identity.passkeys/source/create.ts +7 -3
  50. package/components/identity.passkeys/source/use.ts +7 -3
  51. package/components/identity.roles/manifest.toa.yaml +41 -10
  52. package/components/identity.roles/operations/grant.js +3 -2
  53. package/components/identity.roles/operations/grant.js.map +1 -1
  54. package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
  55. package/components/identity.roles/source/grant.ts +3 -2
  56. package/components/identity.tokens/manifest.toa.yaml +99 -39
  57. package/components/identity.tokens/operations/authenticate.js +6 -3
  58. package/components/identity.tokens/operations/authenticate.js.map +1 -1
  59. package/components/identity.tokens/operations/decrypt.js +9 -4
  60. package/components/identity.tokens/operations/decrypt.js.map +1 -1
  61. package/components/identity.tokens/operations/encrypt.js +3 -2
  62. package/components/identity.tokens/operations/encrypt.js.map +1 -1
  63. package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
  64. package/components/identity.tokens/source/authenticate.ts +7 -3
  65. package/components/identity.tokens/source/decrypt.ts +11 -4
  66. package/components/identity.tokens/source/encrypt.ts +3 -2
  67. package/documentation/identity.md +4 -1
  68. package/documentation/notes/throttling.md +1 -1
  69. package/features/cors.feature +1 -1
  70. package/features/dev.feature +1 -1
  71. package/features/identity.federation.feature +3 -2
  72. package/features/{identtiy.tokens.custom.feature → identity.tokens.custom.feature} +39 -0
  73. package/features/introspection.feature +27 -34
  74. package/features/map.feature +1 -1
  75. package/features/octets.download.feature +1 -1
  76. package/features/octets.meta.feature +1 -1
  77. package/features/passkeys.feature +8 -8
  78. package/features/query.feature +27 -0
  79. package/features/require.feature +2 -2
  80. package/features/response.feature +3 -3
  81. package/features/steps/Components.ts +12 -4
  82. package/features/steps/Database.ts +9 -0
  83. package/features/steps/Gateway.ts +13 -13
  84. package/features/steps/HTTP.ts +3 -5
  85. package/features/steps/Parameters.ts +2 -3
  86. package/features/steps/Realtime.ts +4 -4
  87. package/features/steps/Workspace.ts +8 -3
  88. package/features/steps/components/audit/manifest.toa.yaml +12 -5
  89. package/features/steps/components/echo/manifest.toa.yaml +33 -8
  90. package/features/steps/components/notify/manifest.toa.yaml +12 -5
  91. package/features/steps/components/octets.tester/manifest.toa.yaml +43 -14
  92. package/features/steps/components/orders/manifest.toa.yaml +22 -5
  93. package/features/steps/components/pots/manifest.toa.yaml +71 -17
  94. package/features/steps/components/pricing/manifest.toa.yaml +8 -2
  95. package/features/steps/components/sequences/manifest.toa.yaml +3 -1
  96. package/features/steps/components/users/manifest.toa.yaml +18 -3
  97. package/features/steps/components/users.properties/manifest.toa.yaml +12 -2
  98. package/package.json +6 -7
  99. package/schemas/annotation.cos.yaml +37 -17
  100. package/schemas/directive.cos.yaml +7 -3
  101. package/schemas/io/throttle.cos.yaml +47 -8
  102. package/schemas/method.cos.yaml +21 -9
  103. package/schemas/node.cos.yaml +22 -7
  104. package/schemas/octets/delete.cos.yaml +15 -2
  105. package/schemas/octets/get.cos.yaml +5 -2
  106. package/schemas/octets/put.cos.yaml +6 -3
  107. package/schemas/octets/workflow.cos.yaml +0 -1
  108. package/schemas/query.cos.yaml +31 -14
  109. package/schemas/querystring.cos.yaml +19 -7
  110. package/schemas/range.cos.yaml +10 -2
  111. package/schemas/route.cos.yaml +6 -2
  112. package/source/Branch.test.ts +37 -0
  113. package/source/Branch.ts +37 -0
  114. package/source/Factory.ts +5 -5
  115. package/source/Gateway.ts +29 -14
  116. package/source/HTTP/formats/yaml.test.ts +4 -2
  117. package/source/RTD/Tree.ts +4 -1
  118. package/source/Tenant.ts +15 -4
  119. package/source/deployment.ts +3 -4
  120. package/source/directives/io/IO.ts +2 -2
  121. package/source/directives/io/lib/throttle/Sync.ts +4 -4
  122. package/source/directives/map/Headers.ts +8 -1
  123. package/source/directives/octets/Put.ts +6 -3
  124. package/source/root.ts +2 -2
  125. package/transpiled/Branch.d.ts +23 -0
  126. package/transpiled/Branch.js +16 -0
  127. package/transpiled/Branch.js.map +1 -1
  128. package/transpiled/Factory.js +4 -4
  129. package/transpiled/Factory.js.map +1 -1
  130. package/transpiled/Gateway.d.ts +7 -0
  131. package/transpiled/Gateway.js +26 -8
  132. package/transpiled/Gateway.js.map +1 -1
  133. package/transpiled/RTD/Tree.js +4 -1
  134. package/transpiled/RTD/Tree.js.map +1 -1
  135. package/transpiled/Tenant.d.ts +8 -2
  136. package/transpiled/Tenant.js +12 -2
  137. package/transpiled/Tenant.js.map +1 -1
  138. package/transpiled/deployment.js +3 -4
  139. package/transpiled/deployment.js.map +1 -1
  140. package/transpiled/directives/io/IO.d.ts +1 -1
  141. package/transpiled/directives/io/IO.js +2 -2
  142. package/transpiled/directives/io/IO.js.map +1 -1
  143. package/transpiled/directives/io/lib/throttle/Sync.d.ts +2 -2
  144. package/transpiled/directives/io/lib/throttle/Sync.js +4 -4
  145. package/transpiled/directives/io/lib/throttle/Sync.js.map +1 -1
  146. package/transpiled/directives/map/Headers.js +7 -1
  147. package/transpiled/directives/map/Headers.js.map +1 -1
  148. package/transpiled/directives/octets/Put.js.map +1 -1
  149. package/transpiled/root.js +1 -1
  150. package/transpiled/root.js.map +1 -1
  151. package/transpiled/tsconfig.tsbuildinfo +1 -1
@@ -3,11 +3,18 @@ name: audit
3
3
  operations:
4
4
  record:
5
5
  input:
6
- id: string
7
- title: string
8
- volume: number
9
- price: number
10
- output: undefined
6
+ properties:
7
+ id:
8
+ type: string
9
+ title:
10
+ type: string
11
+ volume:
12
+ type: number
13
+ price:
14
+ type: number
15
+ type: object
16
+ output:
17
+ {}
11
18
 
12
19
  receivers:
13
20
  orders.created: record
@@ -3,24 +3,48 @@ name: echo
3
3
  operations:
4
4
  compute:
5
5
  input:
6
- name*: string
6
+ properties:
7
+ name:
8
+ type: string
9
+ type: object
10
+ required:
11
+ - name
7
12
  affect:
8
13
  input:
9
- name*: string
14
+ properties:
15
+ name:
16
+ type: string
17
+ type: object
18
+ required:
19
+ - name
10
20
  identity:
11
21
  input:
12
- identity:
13
- id: string
14
- roles: [string]
22
+ properties:
23
+ identity:
24
+ properties:
25
+ id:
26
+ type: string
27
+ roles:
28
+ type: array
29
+ items:
30
+ type: string
31
+ type: object
32
+ type: object
15
33
  parameters:
16
- input: &parameters
34
+ input:
35
+ type: object
36
+ properties:
37
+ a:
38
+ type: string
39
+ b:
40
+ type: string
41
+ output:
17
42
  type: object
18
43
  properties:
19
44
  a:
20
45
  type: string
21
46
  b:
22
47
  type: string
23
- output: *parameters
24
48
  echo:
25
49
  input:
26
50
  type: object
@@ -28,4 +52,5 @@ operations:
28
52
  input:
29
53
  type: object
30
54
  properties:
31
- buf: string
55
+ buf:
56
+ type: string
@@ -3,11 +3,18 @@ name: notify
3
3
  operations:
4
4
  send:
5
5
  input:
6
- id: string
7
- title: string
8
- volume: number
9
- price: number
10
- output: undefined
6
+ properties:
7
+ id:
8
+ type: string
9
+ title:
10
+ type: string
11
+ volume:
12
+ type: number
13
+ price:
14
+ type: number
15
+ type: object
16
+ output:
17
+ {}
11
18
 
12
19
  receivers:
13
20
  orders.created: send
@@ -6,13 +6,27 @@ storages: octets
6
6
  operations:
7
7
  foo: &operation
8
8
  input:
9
- authority*: string
10
- identity: string
11
- storage*: string
12
- path*: string
13
- entry*: object
14
- parameters: object
15
- steps: object
9
+ properties:
10
+ identity:
11
+ type: string
12
+ parameters:
13
+ type: object
14
+ steps:
15
+ type: object
16
+ authority:
17
+ type: string
18
+ storage:
19
+ type: string
20
+ path:
21
+ type: string
22
+ entry:
23
+ type: object
24
+ type: object
25
+ required:
26
+ - authority
27
+ - storage
28
+ - path
29
+ - entry
16
30
  bar: *operation
17
31
  baz: *operation
18
32
  err: *operation
@@ -25,18 +39,33 @@ operations:
25
39
  identity: *operation
26
40
  redirect:
27
41
  input:
28
- authority*: string
29
- path*: string
30
- parameters: <string>
42
+ properties:
43
+ parameters:
44
+ type: object
45
+ patternProperties:
46
+ ^.+$:
47
+ type: string
48
+ authority:
49
+ type: string
50
+ path:
51
+ type: string
52
+ type: object
53
+ required:
54
+ - authority
55
+ - path
31
56
  output:
32
57
  type: object
33
58
  properties:
34
- url: string
59
+ url:
60
+ type: string
35
61
  options:
36
62
  type: object
37
63
  properties:
38
- method: string
39
- headers: object
40
- body: string
64
+ method:
65
+ type: string
66
+ headers:
67
+ type: object
68
+ body:
69
+ type: string
41
70
  required:
42
71
  - url
@@ -2,14 +2,31 @@ name: orders
2
2
 
3
3
  entity:
4
4
  schema:
5
- title: string
6
- volume: number
7
- price?: number
5
+ properties:
6
+ title:
7
+ type: string
8
+ volume:
9
+ type: number
10
+ price:
11
+ type: number
12
+ type: object
13
+ required:
14
+ - title
15
+ - volume
8
16
 
9
17
  operations:
10
18
  create:
11
19
  concurrency: retry
12
20
  query: false
13
21
  input:
14
- title*: .
15
- volume*: .
22
+ properties:
23
+ title:
24
+ type: string
25
+ default: .
26
+ volume:
27
+ type: string
28
+ default: .
29
+ type: object
30
+ required:
31
+ - title
32
+ - volume
@@ -2,9 +2,22 @@ name: pots
2
2
 
3
3
  entity:
4
4
  schema:
5
- title: string(64)
6
- volume: number(0, 1000]
7
- temperature?: number(0, 300]
5
+ properties:
6
+ title:
7
+ type: string
8
+ maxLength: 64
9
+ volume:
10
+ type: number
11
+ exclusiveMinimum: 0
12
+ maximum: 1000
13
+ temperature:
14
+ type: number
15
+ exclusiveMinimum: 0
16
+ maximum: 300
17
+ type: object
18
+ required:
19
+ - title
20
+ - volume
8
21
  index:
9
22
  text:
10
23
  title: text
@@ -14,27 +27,68 @@ operations:
14
27
  query: false
15
28
  forward: transit
16
29
  input:
17
- title*: .
18
- volume*: .
19
- temperature: .
30
+ properties:
31
+ temperature:
32
+ type: string
33
+ default: .
34
+ title:
35
+ type: string
36
+ default: .
37
+ volume:
38
+ type: string
39
+ default: .
40
+ type: object
41
+ required:
42
+ - title
43
+ - volume
20
44
  errors:
21
45
  - NO_WAY
22
46
  - WONT_CREATE
23
47
  transit:
24
48
  concurrency: retry
25
49
  input:
26
- title: .
27
- volume: .
28
- temperature: .
50
+ properties:
51
+ title:
52
+ type: string
53
+ default: .
54
+ volume:
55
+ type: string
56
+ default: .
57
+ temperature:
58
+ type: string
59
+ default: .
60
+ type: object
29
61
  observe:
30
62
  output:
31
- id: string
32
- title: string
33
- volume: number
34
- temperature: number
63
+ properties:
64
+ id:
65
+ type: string
66
+ title:
67
+ type: string
68
+ volume:
69
+ type: number
70
+ temperature:
71
+ type: number
72
+ type: object
35
73
  enumerate:
36
74
  output:
37
- - id: .
38
- title: .
39
- volume: .
40
- temperature?: .
75
+ type: array
76
+ items:
77
+ properties:
78
+ id:
79
+ type: string
80
+ default: .
81
+ title:
82
+ type: string
83
+ default: .
84
+ volume:
85
+ type: string
86
+ default: .
87
+ temperature:
88
+ type: string
89
+ default: .
90
+ type: object
91
+ required:
92
+ - id
93
+ - title
94
+ - volume
@@ -3,5 +3,11 @@ name: pricing
3
3
  operations:
4
4
  quote:
5
5
  input:
6
- volume*: number
7
- output: number
6
+ properties:
7
+ volume:
8
+ type: number
9
+ type: object
10
+ required:
11
+ - volume
12
+ output:
13
+ type: number
@@ -2,7 +2,9 @@ name: sequences
2
2
 
3
3
  operations:
4
4
  numbers:
5
- input: 5
5
+ input:
6
+ type: number
7
+ default: 5
6
8
 
7
9
  exposition:
8
10
  /tokens:
@@ -2,15 +2,30 @@ name: users
2
2
 
3
3
  entity:
4
4
  schema:
5
- name: string
5
+ properties:
6
+ name:
7
+ type: string
8
+ type: object
6
9
 
7
10
  operations:
8
11
  transit:
9
12
  concurrency: retry
10
13
  input:
11
- name*: .
14
+ properties:
15
+ name:
16
+ type: string
17
+ default: .
18
+ type: object
19
+ required:
20
+ - name
12
21
  create:
13
22
  concurrency: retry
14
23
  query: false
15
24
  input:
16
- name*: .
25
+ properties:
26
+ name:
27
+ type: string
28
+ default: .
29
+ type: object
30
+ required:
31
+ - name
@@ -3,11 +3,21 @@ name: properties
3
3
 
4
4
  entity:
5
5
  schema:
6
- newbie: false
6
+ properties:
7
+ newbie:
8
+ type: boolean
9
+ default: false
10
+ type: object
7
11
  associated: true
8
12
 
9
13
  operations:
10
14
  transit:
11
15
  concurrency: retry
12
16
  input:
13
- newbie*: .
17
+ properties:
18
+ newbie:
19
+ type: string
20
+ default: .
21
+ type: object
22
+ required:
23
+ - newbie
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/extensions.exposition",
3
- "version": "1.0.0-alpha.271",
3
+ "version": "1.0.0-alpha.273",
4
4
  "description": "Toa Exposition",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -18,12 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@simplewebauthn/server": "13.3.3",
21
- "@toa.io/core": "1.0.0-alpha.270",
22
- "@toa.io/generic": "1.0.0-alpha.254",
23
- "@toa.io/schemas": "1.0.0-alpha.270",
21
+ "@toa.io/core": "1.0.0-alpha.273",
22
+ "@toa.io/generic": "1.0.0-alpha.273",
23
+ "@toa.io/schemas": "1.0.0-alpha.273",
24
24
  "bcryptjs": "3.0.3",
25
25
  "content-type": "2.1.0",
26
- "error-value": "0.4.4",
27
26
  "jose": "6.2.10",
28
27
  "js-yaml": "5.4.1",
29
28
  "lru-cache": "11.5.2",
@@ -31,7 +30,7 @@
31
30
  "minimatch": "10.2.6",
32
31
  "msgpackr": "2.1.0",
33
32
  "negotiator": "1.1.0",
34
- "openspan": "1.0.0-alpha.270",
33
+ "openspan": "1.0.0-alpha.272",
35
34
  "paseto": "3.1.4"
36
35
  },
37
36
  "scripts": {
@@ -62,5 +61,5 @@
62
61
  },
63
62
  "testEnvironment": "node"
64
63
  },
65
- "gitHead": "38e3f3abce289dac3d5c7b2e46bd66ea6bcfc2a9"
64
+ "gitHead": "ad3284850ece95ffd5325fd0995707fc144c9c3d"
66
65
  }
@@ -1,17 +1,37 @@
1
- authorities*: <string>
2
- class: string
3
- resources:
4
- # `null` deploys the service without any, which every deployment has to state one way
5
- # or the other see `migrations/263.md`.
6
- type: object
7
- nullable: true
8
- properties:
9
- cpu: &constraint
10
- type: array
11
- items: { type: string }
12
- minItems: 2
13
- maxItems: 2
14
- memory: *constraint
15
- annotations: <string>
16
- debug: boolean
17
- /: ~
1
+ properties:
2
+ class:
3
+ type: string
4
+ resources:
5
+ # `null` deploys the service without any, which every deployment has to state one way
6
+ # or the other — see `migrations/263.md`.
7
+ type: object
8
+ nullable: true
9
+ properties:
10
+ cpu:
11
+ type: array
12
+ items:
13
+ type: string
14
+ minItems: 2
15
+ maxItems: 2
16
+ memory:
17
+ type: array
18
+ items:
19
+ type: string
20
+ minItems: 2
21
+ maxItems: 2
22
+ annotations:
23
+ type: object
24
+ patternProperties:
25
+ ^.+$:
26
+ type: string
27
+ debug:
28
+ type: boolean
29
+ /: {}
30
+ authorities:
31
+ type: object
32
+ patternProperties:
33
+ ^.+$:
34
+ type: string
35
+ type: object
36
+ required:
37
+ - authorities
@@ -1,3 +1,7 @@
1
- family: string
2
- name: string
3
- value: ~
1
+ properties:
2
+ family:
3
+ type: string
4
+ name:
5
+ type: string
6
+ value: {}
7
+ type: object
@@ -1,15 +1,20 @@
1
1
  definitions:
2
- component: &component
2
+ component:
3
3
  anyOf:
4
4
  - type: string
5
- enum: [ip, path, route, identity]
5
+ enum:
6
+ - ip
7
+ - path
8
+ - route
9
+ - identity
6
10
  - type: object
7
11
  properties:
8
12
  segment:
9
13
  type: string
10
- required: [segment]
14
+ required:
15
+ - segment
11
16
  additionalProperties: false
12
- condition: &condition
17
+ condition:
13
18
  type: object
14
19
  properties:
15
20
  status:
@@ -18,15 +23,49 @@ type: object
18
23
  properties:
19
24
  key:
20
25
  anyOf:
21
- - *component
26
+ - anyOf:
27
+ - type: string
28
+ enum:
29
+ - ip
30
+ - path
31
+ - route
32
+ - identity
33
+ - type: object
34
+ properties:
35
+ segment:
36
+ type: string
37
+ required:
38
+ - segment
39
+ additionalProperties: false
22
40
  - type: array
23
- items: *component
41
+ items:
42
+ anyOf:
43
+ - type: string
44
+ enum:
45
+ - ip
46
+ - path
47
+ - route
48
+ - identity
49
+ - type: object
50
+ properties:
51
+ segment:
52
+ type: string
53
+ required:
54
+ - segment
55
+ additionalProperties: false
24
56
  minItems: 1
25
57
  condition:
26
58
  anyOf:
27
- - *condition
59
+ - type: object
60
+ properties:
61
+ status:
62
+ type: number
28
63
  - type: array
29
- items: *condition
64
+ items:
65
+ type: object
66
+ properties:
67
+ status:
68
+ type: number
30
69
  minItems: 1
31
70
  requests:
32
71
  type: integer
@@ -1,9 +1,21 @@
1
- verb: /^(GET|HEAD|POST|PUT|PATCH|DELETE|LOCK|UNLOCK)$/
2
- mapping:
3
- namespace: string
4
- component: string
5
- endpoint: string
6
- query:
7
- $ref: query
8
- ...: false
9
- directives: [ref:directive]
1
+ properties:
2
+ verb:
3
+ type: string
4
+ pattern: ^(GET|HEAD|POST|PUT|PATCH|DELETE|LOCK|UNLOCK)$
5
+ mapping:
6
+ properties:
7
+ namespace:
8
+ type: string
9
+ component:
10
+ type: string
11
+ endpoint:
12
+ type: string
13
+ query:
14
+ $ref: query
15
+ additionalProperties: false
16
+ type: object
17
+ directives:
18
+ type: array
19
+ items:
20
+ $ref: directive
21
+ type: object
@@ -1,7 +1,22 @@
1
- protected: boolean
2
- isolated: boolean
3
- forward: string
4
- routes: [ref:route]
5
- methods: [ref:method]
6
- directives: [ref:directive]
7
- version: string
1
+ properties:
2
+ protected:
3
+ type: boolean
4
+ isolated:
5
+ type: boolean
6
+ forward:
7
+ type: string
8
+ routes:
9
+ type: array
10
+ items:
11
+ $ref: route
12
+ methods:
13
+ type: array
14
+ items:
15
+ $ref: method
16
+ directives:
17
+ type: array
18
+ items:
19
+ $ref: directive
20
+ version:
21
+ type: string
22
+ type: object
@@ -1,2 +1,15 @@
1
- workflow+: <string>
2
- _: true
1
+ properties:
2
+ workflow:
3
+ oneOf:
4
+ - type: object
5
+ patternProperties:
6
+ ^.+$:
7
+ type: string
8
+ - type: array
9
+ items:
10
+ type: object
11
+ patternProperties:
12
+ ^.+$:
13
+ type: string
14
+ nullable: true
15
+ type: object
@@ -1,2 +1,5 @@
1
- meta: boolean
2
- _: true
1
+ properties:
2
+ meta:
3
+ type: boolean
4
+ nullable: true
5
+ type: object