Skip to content

Commit

Permalink
shall -> must
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed Dec 6, 2021
1 parent 758e216 commit 05b0a4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions vocabularies/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
"ReturnType"
],
"@Common.Experimental": true,
"@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.Description": "The point in time represented by the annotated property, parameter or return type must be interpreted in the given time zone",
"@Core.LongDescription": "Time zones must 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"
},
"Locale": {
Expand All @@ -168,8 +168,8 @@
"ReturnType"
],
"@Common.Experimental": true,
"@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."
"@Core.Description": "The value of the annotated property, parameter or return type must 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",
Expand Down
4 changes: 2 additions & 2 deletions vocabularies/Common.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Term|Type|Description
[ExternalID](./Common.xml#L85:~:text=<Term%20Name="-,ExternalID,-") *([Experimental](Common.md#Experimental))*|String?|<a name="ExternalID"></a>A human readable identifier for values of the annotated property. Value MUST be a dynamic expression when used as metadata annotation.<br>If the annotated property is (part of) a foreign key of a resource, the external id is a human readable (part of an) identifier of this resource. There is a one-to-one relationship between each possible value of the annotated property and the corresponding external id.
[IsLanguageIdentifier](./Common.xml#L99:~:text=<Term%20Name="-,IsLanguageIdentifier,-") *([Experimental](Common.md#Experimental))*|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="IsLanguageIdentifier"></a>An identifier to distinguish multiple texts in different languages for the same entity
[TextFormat](./Common.xml#L104:~:text=<Term%20Name="-,TextFormat,-")|[TextFormatType](#TextFormatType)|<a name="TextFormat"></a>The annotated property, parameter, or return type contains human-readable text that may contain formatting information
[Timezone](./Common.xml#L117:~:text=<Term%20Name="-,Timezone,-") *([Experimental](Common.md#Experimental))*|String?|<a name="Timezone"></a>The point in time represented by the annotated property, parameter or return type shall be interpreted in the given time zone<br>Time zones shall be specified according to the [IANA](https://www.iana.org/time-zones) standard. If this annotation is absent or null, points in time are typically interpreted in the current user's or default time zone.
[Locale](./Common.xml#L127:~:text=<Term%20Name="-,Locale,-") *([Experimental](Common.md#Experimental))*|String?|<a name="Locale"></a>The value of the annotated property, parameter or return type shall be interpreted in the given locale<br>Locales MUST be specified through a [Unicode Locale Identifier](https://www.unicode.org/reports/tr35/tr35.html#Identifiers). If this annotation is absent or null, the current user's or default locale is used. An example for the applicability of this annotation are calendar weeks, whose meaning is locale-dependent.
[Timezone](./Common.xml#L117:~:text=<Term%20Name="-,Timezone,-") *([Experimental](Common.md#Experimental))*|String?|<a name="Timezone"></a>The point in time represented by the annotated property, parameter or return type must be interpreted in the given time zone<br>Time zones must be specified according to the [IANA](https://www.iana.org/time-zones) standard. If this annotation is absent or null, points in time are typically interpreted in the current user's or default time zone.
[Locale](./Common.xml#L127:~:text=<Term%20Name="-,Locale,-") *([Experimental](Common.md#Experimental))*|String?|<a name="Locale"></a>The value of the annotated property, parameter or return type must be interpreted in the given locale<br>Locales must be specified through a [Unicode Locale Identifier](https://www.unicode.org/reports/tr35/tr35.html#Identifiers). If this annotation is absent or null, the current user's or default locale is used. An example for the applicability of this annotation are calendar weeks, whose meaning is locale-dependent.
[IsDigitSequence](./Common.xml#L183:~:text=<Term%20Name="-,IsDigitSequence,-")|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="IsDigitSequence"></a>Contains only digits
[IsUpperCase](./Common.xml#L188:~:text=<Term%20Name="-,IsUpperCase,-")|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="IsUpperCase"></a>Contains just uppercase characters
[IsCurrency](./Common.xml#L193:~:text=<Term%20Name="-,IsCurrency,-")|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="IsCurrency"></a>Annotated property or parameter is a currency code
Expand Down
8 changes: 4 additions & 4 deletions vocabularies/Common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,19 @@

<Term Name="Timezone" Type="Edm.String" Nullable="true" AppliesTo="Property Parameter ReturnType">
<Annotation Term="Common.Experimental" />
<Annotation Term="Core.Description" String="The point in time represented by the annotated property, parameter or return type shall be interpreted in the given time zone" />
<Annotation Term="Core.Description" String="The point in time represented by the annotated property, parameter or return type must be interpreted in the given time zone" />
<Annotation Term="Core.LongDescription">
<String>Time zones shall be specified according to the [IANA](https://www.iana.org/time-zones) standard.
<String>Time zones must be specified according to the [IANA](https://www.iana.org/time-zones) standard.
If this annotation is absent or null, points in time are typically interpreted in the current user's or default time zone.</String>
</Annotation>
<Annotation Term="Core.RequiresType" String="Edm.DateTimeOffset" />
</Term>

<Term Name="Locale" Type="Edm.String" Nullable="true" AppliesTo="Property Parameter ReturnType">
<Annotation Term="Common.Experimental" />
<Annotation Term="Core.Description" String="The value of the annotated property, parameter or return type shall be interpreted in the given locale" />
<Annotation Term="Core.Description" String="The value of the annotated property, parameter or return type must be interpreted in the given locale" />
<Annotation Term="Core.LongDescription">
<String>Locales MUST be specified through a [Unicode Locale Identifier](https://www.unicode.org/reports/tr35/tr35.html#Identifiers).
<String>Locales must be specified through a [Unicode Locale Identifier](https://www.unicode.org/reports/tr35/tr35.html#Identifiers).
If this annotation is absent or null, the current user's or default locale is used.
An example for the applicability of this annotation are calendar weeks, whose meaning is locale-dependent.</String>
</Annotation>
Expand Down

0 comments on commit 05b0a4c

Please sign in to comment.