[OASIS Issue Tracker] (ODATA-855) Should we define patterns for some of the primitive types

From
OASIS Issues Tracker <>
Date
2015-10-01T04:32:16+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-855) Should we define patterns for some of the primitive types
[ https://issues.oasis-open.org/browse/ODATA-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-855:
-----------------------------

    Description: 
In ODATA-842 we added format keywords for common primitive types. Do we also want to use the pattern keyword in the JSON CSDL format for some common string types?  in particular:
-Binary
-Guid
-Date
-TimeOfDay
-Duration

The Precision facet of TimeOfDay and Duration is already translated into a pattern for the end of the string representation, so for these two types it would just result in a pattern for the complete string representation.
 

  was:
In ODATA-842 we added format keywords for common primitive types. Do we also want to use the pattern keyword in the JSON CSDL format for some common string types?  in particular:
-Binary
-Guid
-Date
-TimeOfDay
-Duration
 


> Should we define patterns for some of the primitive types
> ---------------------------------------------------------
>
>                 Key: ODATA-855
>                 URL: https://issues.oasis-open.org/browse/ODATA-855
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData JSON CSDL
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>            Priority: Minor
>
> In ODATA-842 we added format keywords for common primitive types. Do we also want to use the pattern keyword in the JSON CSDL format for some common string types?  in particular:
> -Binary
> -Guid
> -Date
> -TimeOfDay
> -Duration
> The Precision facet of TimeOfDay and Duration is already translated into a pattern for the end of the string representation, so for these two types it would just result in a pattern for the complete string representation.
>  



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)