[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-856) Add annotations for Min/Max/Pattern
[ https://issues.oasis-open.org/browse/ODATA-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-856:
-----------------------------
Proposal:
Start a "Validation" vocabulary with the following:
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Validation.1.0.0">
<Term Name="Pattern" Type="Edm.String">
<Annotation Term="OData.Description" String="The pattern that a string property or parameter must match."/>
</Term>
<Term Name="Minimum" Type="Edm.Int64">
<Annotation Term="OData.Description" String="Minimum value that an integer property or parameter can have."/>
</Term>
<Term Name="Maximum" Type="Edm.Int64">
<Annotation Term="OData.Description" String="Maximum value that an integer property or parameter can have."/>
</Term>
</Schema>
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/vocabularies/Org.OData.Validation.V1.xml?op=diff&rev=738
was:
Start a "Validation" vocabulary with the following:
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Validation.1.0.0">
<Term Name="Pattern" Type="Edm.String">
<Annotation Term="OData.Description" String="The pattern that a string property or parameter must match."/>
</Term>
<Term Name="Minimum" Type="Edm.Int64">
<Annotation Term="OData.Description" String="Minimum value that an integer property or parameter can have."/>
</Term>
<Term Name="Maximum" Type="Edm.Int64">
<Annotation Term="OData.Description" String="Maximum value that an integer property or parameter can have."/>
</Term>
</Schema>
> Add annotations for Min/Max/Pattern
> -----------------------------------
>
> Key: ODATA-856
> URL: https://issues.oasis-open.org/browse/ODATA-856
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: OData CSDL, OData JSON CSDL, Vocabularies
> Affects Versions: V4.0_ERRATA02
> Environment: [Proposed]
> Reporter: Michael Pizzo
> Fix For: V4.01_WD01, V4.0_WD01
>
>
> These would map to equivalent concepts in JSON Schema.
--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]