-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathOrg.OData.Measures.V1.json
More file actions
102 lines (102 loc) · 3.74 KB
/
Copy pathOrg.OData.Measures.V1.json
File metadata and controls
102 lines (102 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"$Version": "4.0",
"$Reference": {
"https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.json": {
"$Include": [
{
"$Namespace": "Org.OData.Core.V1",
"$Alias": "Core"
}
]
},
"https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Validation.V1.json": {
"$Include": [
{
"$Namespace": "Org.OData.Validation.V1",
"$Alias": "Validation"
}
]
}
},
"Org.OData.Measures.V1": {
"$Alias": "Measures",
"@Core.Description": "Terms describing monetary amounts and measured quantities",
"@Core.Links": [
{
"rel": "alternate",
"href": "https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.xml"
},
{
"rel": "latest-version",
"href": "https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.json"
},
{
"rel": "describedby",
"href": "https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Measures.V1.md"
}
],
"ISOCurrency": {
"$Kind": "Term",
"$AppliesTo": [
"Parameter",
"Property"
],
"@Core.Description": "The currency for this monetary amount as an ISO 4217 currency code"
},
"Scale": {
"$Kind": "Term",
"$Type": "Edm.Byte",
"$AppliesTo": [
"Parameter",
"Property"
],
"@Core.Description": "The number of significant decimal places in the scale part (less than or equal to the number declared in the Scale facet)",
"@Core.RequiresType": "Edm.Decimal"
},
"Unit": {
"$Kind": "Term",
"$AppliesTo": [
"Parameter",
"Property"
],
"@Core.Description": "The unit of measure for this measured quantity, e.g. cm for centimeters or % for percentages"
},
"UNECEUnit": {
"$Kind": "Term",
"$AppliesTo": [
"Parameter",
"Property"
],
"@Core.Description": "The unit of measure for this measured quantity, according to the [UN/CEFACT Recommendation 20](http://tfig.unece.org/contents/recommendation-20.htm)"
},
"DurationGranularity": {
"$Kind": "Term",
"$Type": "Measures.DurationGranularityType",
"$AppliesTo": [
"Parameter",
"Property"
],
"@Core.Description": "The minimum granularity of duration values.",
"@Core.LongDescription": "Absence of this annotation means a granularity of seconds with sub-seconds according to the Precision facet.",
"@Core.RequiresType": "Edm.Duration"
},
"DurationGranularityType": {
"$Kind": "TypeDefinition",
"$UnderlyingType": "Edm.String",
"@Validation.AllowedValues": [
{
"Value": "days",
"@Core.Description": "Duration in days, e.g. `P1D`"
},
{
"Value": "hours",
"@Core.Description": "Duration in days and hours, e.g. `P1DT23H`"
},
{
"Value": "minutes",
"@Core.Description": "Duration in days, hours, and minutes, e.g. `P1DT23H59M`"
}
]
}
}
}