Skip to content

Commit 7b41468

Browse files
committed
Fixed incorrect reference to unnamed_arg.
1 parent d25abf7 commit 7b41468

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

function_schema.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@ $schema: https://json-schema.org/draft/2020-12/schema
33
$id: https://jmespath.site/function_schema.yml
44
title: JMESPath function
55
description: JMESPath function definition and tests
6+
$defs:
7+
unnamed_arg: &unnamed_arg
8+
type: object
9+
properties:
10+
type: &type
11+
description: ""
12+
oneOf:
13+
- enum: &types
14+
- any
15+
- number
16+
- string
17+
- boolean
18+
- array
19+
- object
20+
- "null"
21+
- expression
22+
- "array[number]"
23+
- "array[string]"
24+
- "array[boolean]"
25+
- "array[object]"
26+
- "array[any]"
27+
- "array[array[any]]"
28+
- "expression->number"
29+
- "expression->string"
30+
- type: array
31+
items:
32+
enum: *types
33+
desc:
34+
type: string
35+
description: ""
636
type: object
737
required: [name, topic, args, returns, desc, examples]
838
properties:
@@ -83,34 +113,4 @@ properties:
83113
error:
84114
type: string
85115
description: ""
86-
comment: *comment
87-
$defs:
88-
unnamed_arg: &unnamed_arg
89-
type: object
90-
properties:
91-
type: &type
92-
description: ""
93-
oneOf:
94-
- enum: &types
95-
- any
96-
- number
97-
- string
98-
- boolean
99-
- array
100-
- object
101-
- "null"
102-
- expression
103-
- "array[number]"
104-
- "array[string]"
105-
- "array[boolean]"
106-
- "array[object]"
107-
- "array[any]"
108-
- "array[array[any]]"
109-
- "expression->number"
110-
- "expression->string"
111-
- type: array
112-
items:
113-
enum: *types
114-
desc:
115-
type: string
116-
description: ""
116+
comment: *comment

0 commit comments

Comments
 (0)