Skip to content

Commit

Permalink
@ralfhandl's suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed Dec 6, 2021
1 parent 59d6df3 commit 758e216
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 93 deletions.
32 changes: 19 additions & 13 deletions vocabularies/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"ReturnType"
],
"@Common.Experimental": true,
"@Core.Description": "The point in time represented by the annotated property or parameter shall be interpreted in the given time zone",
"@Core.Description": "The point in time represented by the annotated property, parameter or return type shall be interpreted in the given time zone",
"@Core.LongDescription": "Time zones shall be specified according to the [IANA](https://www.iana.org/time-zones) standard.\n If this annotation is absent or null, points in time are typically interpreted in the current user's or default time zone.",
"@Core.RequiresType": "Edm.DateTimeOffset"
},
Expand All @@ -168,16 +168,17 @@
"ReturnType"
],
"@Common.Experimental": true,
"@Core.Description": "The value of the annotated property or parameter shall be interpreted in the given locale",
"@Core.LongDescription": "Locales shall be specified through a [Unicode Locale Identifier](https://www.unicode.org/reports/tr35/tr35.html#Identifiers).\n If this annotation is absent or null, the current user's or default locale is used.\n An example for the applicability of this annotation are calendar weeks, whose meaning is locale-dependent."
"@Core.Description": "The value of the annotated property, parameter or return type shall be interpreted in the given locale",
"@Core.LongDescription": "Locales MUST be specified through a [Unicode Locale Identifier](https://www.unicode.org/reports/tr35/tr35.html#Identifiers).\n If this annotation is absent or null, the current user's or default locale is used.\n An example for the applicability of this annotation are calendar weeks, whose meaning is locale-dependent."
},
"IsDigitSequence": {
"$Kind": "Term",
"$Type": "Core.Tag",
"$DefaultValue": true,
"$AppliesTo": [
"Property",
"Parameter"
"Parameter",
"ReturnType"
],
"@Core.Description": "Contains only digits",
"@Core.RequiresType": "Edm.String"
Expand All @@ -188,7 +189,8 @@
"$DefaultValue": true,
"$AppliesTo": [
"Property",
"Parameter"
"Parameter",
"ReturnType"
],
"@Core.Description": "Contains just uppercase characters",
"@Core.RequiresType": "Edm.String"
Expand All @@ -199,7 +201,8 @@
"$DefaultValue": true,
"$AppliesTo": [
"Property",
"Parameter"
"Parameter",
"ReturnType"
],
"@Core.Description": "Annotated property or parameter is a currency code"
},
Expand All @@ -209,7 +212,8 @@
"$DefaultValue": true,
"$AppliesTo": [
"Property",
"Parameter"
"Parameter",
"ReturnType"
],
"@Core.Description": "Annotated property or parameter is a unit of measure"
},
Expand Down Expand Up @@ -255,7 +259,8 @@
"Property",
"EntitySet",
"Term",
"Parameter"
"Parameter",
"ReturnType"
],
"@Core.Description": "The annotated set or collection contains at least this number of items"
},
Expand All @@ -267,7 +272,8 @@
"Property",
"EntitySet",
"Term",
"Parameter"
"Parameter",
"ReturnType"
],
"@Core.Description": "The annotated set or collection contains at most this number of items"
},
Expand Down Expand Up @@ -1006,7 +1012,7 @@
"$AppliesTo": [
"Property"
],
"@Core.Description": "Property encodes a calendar week number as string following the logical pattern WW consisting of two digits.\n The string matches the regex pattern 0[1-9]|[1-4][0-9]|5[0-3]\n ",
"@Core.Description": "Property encodes a calendar week number as string following the logical pattern WW consisting of two digits.\n The string matches the regex pattern 0[1-9]|[1-4][0-9]|5[0-4]\n ",
"@Core.RequiresType": "Edm.String",
"@Common.MutuallyExclusiveTerm#DatePart": true
},
Expand Down Expand Up @@ -1072,7 +1078,7 @@
"$AppliesTo": [
"Property"
],
"@Core.Description": "Property encodes a calendar year and week as string following the logical pattern (-?)YYYY(Y*)WW consisting \n of an optional minus sign for years B.C. followed by at least six digits, where the last two digits represent week number in the year.\n The string matches the regex pattern -?([1-9][0-9]{3,}|0[0-9]{3})(0[1-9]|[1-4][0-9]|5[0-3]) \n ",
"@Core.Description": "Property encodes a calendar year and week as string following the logical pattern (-?)YYYY(Y*)WW consisting \n of an optional minus sign for years B.C. followed by at least six digits, where the last two digits represent week number in the year.\n The string matches the regex pattern -?([1-9][0-9]{3,}|0[0-9]{3})(0[1-9]|[1-4][0-9]|5[0-4]) \n ",
"@Core.RequiresType": "Edm.String",
"@Common.MutuallyExclusiveTerm#DatePart": true
},
Expand Down Expand Up @@ -1149,7 +1155,7 @@
"$AppliesTo": [
"Property"
],
"@Core.Description": "Property encodes a fiscal week number as string following the logical pattern WW consisting of two digits. \n The string matches the regex pattern 0[1-9]|[1-4][0-9]|5[0-3]",
"@Core.Description": "Property encodes a fiscal week number as string following the logical pattern WW consisting of two digits.",
"@Core.RequiresType": "Edm.String",
"@Common.MutuallyExclusiveTerm#DatePart": true
},
Expand All @@ -1160,7 +1166,7 @@
"$AppliesTo": [
"Property"
],
"@Core.Description": "Property encodes a fiscal year and week as string following the logical pattern YYYYWW consisting of \n six digits, where the last two digits represent the week number in the year. \n The string matches the regex pattern [1-9][0-9]{3}(0[1-9]|[1-4][0-9]|5[0-3])",
"@Core.Description": "Property encodes a fiscal year and week as string following the logical pattern YYYYWW consisting of \n six digits, where the last two digits represent the week number in the year.",
"@Core.RequiresType": "Edm.String",
"@Common.MutuallyExclusiveTerm#DatePart": true
},
Expand Down
Loading

0 comments on commit 758e216

Please sign in to comment.