|
368 | 368 | } |
369 | 369 | }, |
370 | 370 | "definitions": { |
| 371 | + "AggregateFunctionProperties": { |
| 372 | + "type": "object", |
| 373 | + "properties": { |
| 374 | + "type": { |
| 375 | + "type": "string", |
| 376 | + "enum": [ |
| 377 | + "Aggregate" |
| 378 | + ] |
| 379 | + } |
| 380 | + }, |
| 381 | + "required": [ |
| 382 | + "type" |
| 383 | + ], |
| 384 | + "description": "The properties that are associated with an aggregate function." |
| 385 | + }, |
371 | 386 | "AvroSerialization": { |
372 | 387 | "type": "object", |
373 | 388 | "properties": { |
|
1688 | 1703 | "properties": {}, |
1689 | 1704 | "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." |
1690 | 1705 | }, |
| 1706 | + "FunctionConfiguration": { |
| 1707 | + "type": "object", |
| 1708 | + "properties": { |
| 1709 | + "binding": { |
| 1710 | + "oneOf": [ |
| 1711 | + { |
| 1712 | + "$ref": "#/definitions/FunctionBinding" |
| 1713 | + }, |
| 1714 | + { |
| 1715 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1716 | + } |
| 1717 | + ], |
| 1718 | + "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." |
| 1719 | + }, |
| 1720 | + "inputs": { |
| 1721 | + "oneOf": [ |
| 1722 | + { |
| 1723 | + "type": "array", |
| 1724 | + "items": { |
| 1725 | + "$ref": "#/definitions/FunctionInput" |
| 1726 | + } |
| 1727 | + }, |
| 1728 | + { |
| 1729 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1730 | + } |
| 1731 | + ] |
| 1732 | + }, |
| 1733 | + "output": { |
| 1734 | + "oneOf": [ |
| 1735 | + { |
| 1736 | + "$ref": "#/definitions/FunctionOutput" |
| 1737 | + }, |
| 1738 | + { |
| 1739 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1740 | + } |
| 1741 | + ], |
| 1742 | + "description": "Describes the output of a function." |
| 1743 | + } |
| 1744 | + } |
| 1745 | + }, |
1691 | 1746 | "FunctionInput": { |
1692 | 1747 | "type": "object", |
1693 | 1748 | "properties": { |
|
1724 | 1779 | "oneOf": [ |
1725 | 1780 | { |
1726 | 1781 | "$ref": "#/definitions/ScalarFunctionProperties" |
| 1782 | + }, |
| 1783 | + { |
| 1784 | + "$ref": "#/definitions/AggregateFunctionProperties" |
1727 | 1785 | } |
1728 | 1786 | ], |
1729 | | - "properties": {}, |
| 1787 | + "properties": { |
| 1788 | + "properties": { |
| 1789 | + "oneOf": [ |
| 1790 | + { |
| 1791 | + "$ref": "#/definitions/FunctionConfiguration" |
| 1792 | + }, |
| 1793 | + { |
| 1794 | + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
| 1795 | + } |
| 1796 | + ] |
| 1797 | + } |
| 1798 | + }, |
1730 | 1799 | "description": "The properties that are associated with a function." |
1731 | 1800 | }, |
1732 | 1801 | "Identity": { |
|
2306 | 2375 | ], |
2307 | 2376 | "description": "The properties that are associated with an input containing reference data." |
2308 | 2377 | }, |
2309 | | - "ScalarFunctionConfiguration": { |
2310 | | - "type": "object", |
2311 | | - "properties": { |
2312 | | - "binding": { |
2313 | | - "oneOf": [ |
2314 | | - { |
2315 | | - "$ref": "#/definitions/FunctionBinding" |
2316 | | - }, |
2317 | | - { |
2318 | | - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
2319 | | - } |
2320 | | - ], |
2321 | | - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." |
2322 | | - }, |
2323 | | - "inputs": { |
2324 | | - "oneOf": [ |
2325 | | - { |
2326 | | - "type": "array", |
2327 | | - "items": { |
2328 | | - "$ref": "#/definitions/FunctionInput" |
2329 | | - } |
2330 | | - }, |
2331 | | - { |
2332 | | - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
2333 | | - } |
2334 | | - ], |
2335 | | - "description": "A list of inputs describing the parameters of the function." |
2336 | | - }, |
2337 | | - "output": { |
2338 | | - "oneOf": [ |
2339 | | - { |
2340 | | - "$ref": "#/definitions/FunctionOutput" |
2341 | | - }, |
2342 | | - { |
2343 | | - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
2344 | | - } |
2345 | | - ], |
2346 | | - "description": "Describes the output of a function." |
2347 | | - } |
2348 | | - }, |
2349 | | - "description": "Describes the configuration of the scalar function." |
2350 | | - }, |
2351 | 2378 | "ScalarFunctionProperties": { |
2352 | 2379 | "type": "object", |
2353 | 2380 | "properties": { |
2354 | | - "properties": { |
2355 | | - "oneOf": [ |
2356 | | - { |
2357 | | - "$ref": "#/definitions/ScalarFunctionConfiguration" |
2358 | | - }, |
2359 | | - { |
2360 | | - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" |
2361 | | - } |
2362 | | - ], |
2363 | | - "description": "Describes the configuration of the scalar function." |
2364 | | - }, |
2365 | 2381 | "type": { |
2366 | 2382 | "type": "string", |
2367 | 2383 | "enum": [ |
|
0 commit comments