|
176 | 176 | "required": [ |
177 | 177 | "id", |
178 | 178 | "specVersion", |
179 | | - "name", |
180 | | - "start", |
181 | 179 | "states" |
182 | 180 | ] |
183 | 181 | }, |
184 | 182 | { |
185 | 183 | "required": [ |
186 | 184 | "key", |
187 | 185 | "specVersion", |
188 | | - "name", |
189 | | - "start", |
190 | 186 | "states" |
191 | 187 | ] |
192 | 188 | } |
|
1612 | 1608 | "name", |
1613 | 1609 | "type", |
1614 | 1610 | "inputCollection", |
1615 | | - "iterationParam", |
1616 | 1611 | "actions" |
1617 | 1612 | ] |
1618 | 1613 | }, |
|
1623 | 1618 | "name", |
1624 | 1619 | "type", |
1625 | 1620 | "inputCollection", |
1626 | | - "iterationParam", |
1627 | 1621 | "actions", |
1628 | 1622 | "end" |
1629 | 1623 | ] |
|
1633 | 1627 | "name", |
1634 | 1628 | "type", |
1635 | 1629 | "inputCollection", |
1636 | | - "iterationParam", |
1637 | 1630 | "actions", |
1638 | 1631 | "transition" |
1639 | 1632 | ] |
|
1949 | 1942 | "additionalProperties": false, |
1950 | 1943 | "required": [] |
1951 | 1944 | }, |
| 1945 | + "errordef": { |
| 1946 | + "type": "object", |
| 1947 | + "properties": { |
| 1948 | + "name": { |
| 1949 | + "type": "string", |
| 1950 | + "description": "Domain-specific error name", |
| 1951 | + "minLength": 1 |
| 1952 | + }, |
| 1953 | + "code": { |
| 1954 | + "type": "string", |
| 1955 | + "description": "Error code. Can be used in addition to the name to help runtimes resolve to technical errors/exceptions. Should not be defined if error is set to '*'", |
| 1956 | + "minLength": 1 |
| 1957 | + }, |
| 1958 | + "description": { |
| 1959 | + "type": "string", |
| 1960 | + "description": "Error description" |
| 1961 | + } |
| 1962 | + }, |
| 1963 | + "additionalProperties": false, |
| 1964 | + "required": [ |
| 1965 | + "name" |
| 1966 | + ] |
| 1967 | + }, |
| 1968 | + "retrydef": { |
| 1969 | + "type": "object", |
| 1970 | + "properties": { |
| 1971 | + "name": { |
| 1972 | + "type": "string", |
| 1973 | + "description": "Unique retry strategy name", |
| 1974 | + "minLength": 1 |
| 1975 | + }, |
| 1976 | + "delay": { |
| 1977 | + "type": "string", |
| 1978 | + "description": "Time delay between retry attempts (ISO 8601 duration format)" |
| 1979 | + }, |
| 1980 | + "maxDelay": { |
| 1981 | + "type": "string", |
| 1982 | + "description": "Maximum time delay between retry attempts (ISO 8601 duration format)" |
| 1983 | + }, |
| 1984 | + "increment": { |
| 1985 | + "type": "string", |
| 1986 | + "description": "Static value by which the delay increases during each attempt (ISO 8601 time format)" |
| 1987 | + }, |
| 1988 | + "multiplier": { |
| 1989 | + "type": [ |
| 1990 | + "number", |
| 1991 | + "string" |
| 1992 | + ], |
| 1993 | + "minimum": 0, |
| 1994 | + "minLength": 1, |
| 1995 | + "multipleOf": 0.01, |
| 1996 | + "description": "Numeric value, if specified the delay between retries is multiplied by this value." |
| 1997 | + }, |
| 1998 | + "maxAttempts": { |
| 1999 | + "type": [ |
| 2000 | + "number", |
| 2001 | + "string" |
| 2002 | + ], |
| 2003 | + "minimum": 1, |
| 2004 | + "minLength": 0, |
| 2005 | + "description": "Maximum number of retry attempts." |
| 2006 | + }, |
| 2007 | + "jitter": { |
| 2008 | + "type": [ |
| 2009 | + "number", |
| 2010 | + "string" |
| 2011 | + ], |
| 2012 | + "minimum": 0, |
| 2013 | + "maximum": 1, |
| 2014 | + "description": "If float type, maximum amount of random time added or subtracted from the delay between each retry relative to total delay (between 0 and 1). If string type, absolute maximum amount of random time added or subtracted from the delay between each retry (ISO 8601 duration format)" |
| 2015 | + } |
| 2016 | + }, |
| 2017 | + "additionalProperties": false, |
| 2018 | + "required": [ |
| 2019 | + "name", |
| 2020 | + "maxAttempts" |
| 2021 | + ] |
| 2022 | + }, |
1952 | 2023 | "workflowExecTimeout": { |
1953 | 2024 | "oneOf": [ |
1954 | 2025 | { |
|
2026 | 2097 | "description": "Timeout duration to wait for consuming defined events (ISO 8601 duration format)", |
2027 | 2098 | "minLength": 1 |
2028 | 2099 | }, |
2029 | | - "errordef": { |
2030 | | - "type": "object", |
2031 | | - "properties": { |
2032 | | - "name": { |
2033 | | - "type": "string", |
2034 | | - "description": "Domain-specific error name", |
2035 | | - "minLength": 1 |
2036 | | - }, |
2037 | | - "code": { |
2038 | | - "type": "string", |
2039 | | - "description": "Error code. Can be used in addition to the name to help runtimes resolve to technical errors/exceptions. Should not be defined if error is set to '*'", |
2040 | | - "minLength": 1 |
2041 | | - }, |
2042 | | - "description": { |
2043 | | - "type": "string", |
2044 | | - "description": "Error description" |
2045 | | - } |
2046 | | - }, |
2047 | | - "additionalProperties": false, |
2048 | | - "required": [ |
2049 | | - "name" |
2050 | | - ] |
2051 | | - }, |
2052 | 2100 | "eventdef": { |
2053 | 2101 | "type": "object", |
2054 | 2102 | "properties": { |
|
2136 | 2184 | "contextAttributeName" |
2137 | 2185 | ] |
2138 | 2186 | }, |
| 2187 | + "metadata": { |
| 2188 | + "type": "object", |
| 2189 | + "description": "Metadata information", |
| 2190 | + "additionalProperties": { |
| 2191 | + "type": "string" |
| 2192 | + } |
| 2193 | + }, |
2139 | 2194 | "function": { |
2140 | 2195 | "type": "object", |
2141 | 2196 | "properties": { |
|
2151 | 2206 | }, |
2152 | 2207 | "type": { |
2153 | 2208 | "type": "string", |
2154 | | - "description": "Defines the function type. Is either `rest`, `asyncapi, `rpc`, `graphql`, `odata`, or `expression`. Default is `rest`", |
| 2209 | + "description": "Defines the function type. Is either `rest`, `asyncapi, `rpc`, `graphql`, `odata`, `expression`, or `custom`. Default is `rest`", |
2155 | 2210 | "enum": [ |
2156 | 2211 | "rest", |
2157 | 2212 | "asyncapi", |
2158 | 2213 | "rpc", |
2159 | 2214 | "graphql", |
2160 | 2215 | "odata", |
2161 | | - "expression" |
| 2216 | + "expression", |
| 2217 | + "custom" |
2162 | 2218 | ], |
2163 | 2219 | "default": "rest" |
2164 | 2220 | }, |
|
2177 | 2233 | "operation" |
2178 | 2234 | ] |
2179 | 2235 | }, |
2180 | | - "retrydef": { |
2181 | | - "type": "object", |
2182 | | - "properties": { |
2183 | | - "name": { |
2184 | | - "type": "string", |
2185 | | - "description": "Unique retry strategy name", |
2186 | | - "minLength": 1 |
2187 | | - }, |
2188 | | - "delay": { |
2189 | | - "type": "string", |
2190 | | - "description": "Time delay between retry attempts (ISO 8601 duration format)" |
2191 | | - }, |
2192 | | - "maxDelay": { |
2193 | | - "type": "string", |
2194 | | - "description": "Maximum time delay between retry attempts (ISO 8601 duration format)" |
2195 | | - }, |
2196 | | - "increment": { |
2197 | | - "type": "string", |
2198 | | - "description": "Static value by which the delay increases during each attempt (ISO 8601 time format)" |
2199 | | - }, |
2200 | | - "multiplier": { |
2201 | | - "type": [ |
2202 | | - "number", |
2203 | | - "string" |
2204 | | - ], |
2205 | | - "minimum": 0, |
2206 | | - "minLength": 1, |
2207 | | - "multipleOf": 0.01, |
2208 | | - "description": "Numeric value, if specified the delay between retries is multiplied by this value." |
2209 | | - }, |
2210 | | - "maxAttempts": { |
2211 | | - "type": [ |
2212 | | - "number", |
2213 | | - "string" |
2214 | | - ], |
2215 | | - "minimum": 1, |
2216 | | - "minLength": 0, |
2217 | | - "description": "Maximum number of retry attempts." |
2218 | | - }, |
2219 | | - "jitter": { |
2220 | | - "type": [ |
2221 | | - "number", |
2222 | | - "string" |
2223 | | - ], |
2224 | | - "minimum": 0, |
2225 | | - "maximum": 1, |
2226 | | - "description": "If float type, maximum amount of random time added or subtracted from the delay between each retry relative to total delay (between 0 and 1). If string type, absolute maximum amount of random time added or subtracted from the delay between each retry (ISO 8601 duration format)" |
2227 | | - } |
2228 | | - }, |
2229 | | - "additionalProperties": false, |
2230 | | - "required": [ |
2231 | | - "name", |
2232 | | - "maxAttempts" |
2233 | | - ] |
2234 | | - }, |
2235 | 2236 | "authdef": { |
2236 | 2237 | "type": "object", |
2237 | 2238 | "properties": { |
|
2423 | 2424 | } |
2424 | 2425 | ] |
2425 | 2426 | }, |
2426 | | - "metadata": { |
2427 | | - "type": "object", |
2428 | | - "description": "Metadata information", |
2429 | | - "additionalProperties": { |
2430 | | - "type": "string" |
2431 | | - } |
2432 | | - }, |
2433 | 2427 | "secrets": { |
2434 | 2428 | "oneOf": [ |
2435 | 2429 | { |
|
0 commit comments