Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 3 additions & 72 deletions vocabularies/Org.OData.Aggregation.V1.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"@Core.Links": [
{
"rel": "alternate",
"href": "https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Aggregation.V1.xml"
"href": "https://github.com/oasis-tcs/odata-vocabularies/blob/OData-Data-Agg-v4.0/oasis-standard/vocabularies/Org.OData.Aggregation.V1.xml"
},
{
"rel": "latest-version",
"href": "https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Aggregation.V1.json"
"href": "https://github.com/oasis-tcs/odata-vocabularies/blob/OData-Data-Agg-v4.0/oasis-standard/vocabularies/Org.OData.Aggregation.V1.json"
},
{
"rel": "describedby",
"href": "https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Aggregation.V1.md"
"href": "https://github.com/oasis-tcs/odata-vocabularies/blob/OData-Data-Agg-v4.0/oasis-standard/vocabularies/Org.OData.Aggregation.V1.md"
}
],
"ApplySupported": {
Expand Down Expand Up @@ -75,16 +75,6 @@
"CustomAggregationMethods": {
"$Collection": true,
"@Core.Description": "Qualified names of custom aggregation methods that can be used in `aggregate(...with...)`"
},
"Rollup": {
"$Type": "Aggregation.RollupType",
"$DefaultValue": "MultipleHierarchies",
"@Core.Description": "The service supports rollup hierarchies in a `groupby` transformation"
},
"From": {
"$Type": "Edm.Boolean",
"$DefaultValue": true,
"@Core.Description": "The service supports the `from` keyword in an `aggregate` transformation"
}
},
"ApplySupportedType": {
Expand Down Expand Up @@ -158,14 +148,6 @@
"Value": "search",
"@Core.Description": "OData-Data-Agg-v4.0, section 3.3.4"
},
{
"Value": "nest",
"@Core.Description": "OData-Data-Agg-v4.0, section 3.5.2"
},
{
"Value": "addnested",
"@Core.Description": "OData-Data-Agg-v4.0, section 3.4.3"
},
{
"Value": "join",
"@Core.Description": "OData-Data-Agg-v4.0, section 3.5.1"
Expand Down Expand Up @@ -257,16 +239,6 @@
}
]
},
"RollupType": {
"$Kind": "EnumType",
"@Core.Description": "The number of `rollup` or `rolluprecursive` operators allowed in a `groupby` transformation",
"None": 0,
"[email protected]": "No support for `rollup` or `rolluprecursive`",
"SingleHierarchy": 1,
"[email protected]": "Only one `rollup` or `rolluprecursive` operator per `groupby`",
"MultipleHierarchies": 2,
"[email protected]": "Full support for `rollup` and `rolluprecursive`"
},
"Groupable": {
"$Kind": "Term",
"$Type": "Core.Tag",
Expand Down Expand Up @@ -322,16 +294,6 @@
"@Core.Description": "The annotated property or custom aggregate is only well-defined in the context of these properties",
"@Core.LongDescription": "The context-defining properties need either be part of the result entities, or be restricted to a single value by a pre-filter operation. Examples are postal codes within a country, or monetary amounts whose context is the unit of currency."
},
"LeveledHierarchy": {
"$Kind": "Term",
"$Collection": true,
"$Type": "Edm.PropertyPath",
"$AppliesTo": [
"EntityType",
"ComplexType"
],
"@Core.Description": "Defines a leveled hierarchy (OData-Data-Agg-v4.0, section 5.5.1)"
},
"RecursiveHierarchy": {
"$Kind": "Term",
"$Type": "Aggregation.RecursiveHierarchyType",
Expand Down Expand Up @@ -581,37 +543,6 @@
}
}
],
"rollupnode": [
{
"$Kind": "Function",
"@Core.Description": "During `rolluprecursive` for a hierarchy node, this function returns the node",
"@Core.LongDescription": "This function may only occur in the second parameter of a `groupby` transformation whose first parameter\ncontains `rolluprecursive(...)`. It is evaluated as part of the transformation `R(x)` in the \"`rolluprecursive` algorithm\"\n(OData-Data-Agg-v4.0, section 6.3). Its behavior is undefined outside of this algorithm.\n```\nSales?$apply=groupby((rolluprecursive(...)), filter(SalesOrganization eq Aggregation.rollupnode())/aggregate(...))\n```\nconstructs a rollup that contains aggregates per hierarchy node while excluding descendants from the aggregation.",
"$Parameter": [
{
"$Name": "Position",
"$Type": "Edm.Int16",
"@Core.Description": "Position N among the `rolluprecursive` operators in the first argument of `groupby`",
"@Core.LongDescription": "Every instance in the output set of a `groupby` transformation with M `rolluprecursive` operators\n has M relationships to M nodes in M recursive hierarchies. This function returns the node x with path r to the root\n in relationship number N.\n If several such `groupby` transformations are nested, this function refers to the innermost one.",
"@Core.OptionalParameter": {
"DefaultValue": "1"
},
"@Validation.Minimum": 1
}
],
"$ReturnType": {
"$Type": "Edm.EntityType"
}
}
],
"UpPath": {
"$Kind": "Term",
"$Collection": true,
"$AppliesTo": [
"EntityType"
],
"@Core.Description": "The string values of the node identifiers in a path from the annotated node to a start node in a traversal of a recursive hierarchy",
"@Core.LongDescription": "This instance annotation occurs in the result set after a `traverse` transformation (OData-Data-Agg-v4.0, section 6.2.2.2).\n A use case for this is traversal with multiple parents, when this annotation takes\n as value one parent node identifier followed by one grandparent node identifier and so on."
},
"AvailableOnAggregates": {
"$Kind": "Term",
"$Type": "Aggregation.AvailableOnAggregatesType",
Expand Down
Loading