[ 
https://issues.apache.org/jira/browse/UNOMI-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469501#comment-16469501
 ] 

Don Hinshaw commented on UNOMI-181:
-----------------------------------

Ok.  Would you mind providing an example of what you mean? 

 

Just to be clear I'm picturing a PropertyType with {{"type": "enum", "enum" : 
["red", "blue", "green"], }}obviously I'm excluding everything else that goes 
into a PropertyType.

 

Are you suggesting, {{"type": "enum", "enum" : {"RED": "red", "GREEN": 
"green"}}}?

 

And the lower case values differ depending on the language being used? 

> enum field for PropertyType
> ---------------------------
>
>                 Key: UNOMI-181
>                 URL: https://issues.apache.org/jira/browse/UNOMI-181
>             Project: Apache Unomi
>          Issue Type: New Feature
>            Reporter: Don Hinshaw
>            Priority: Minor
>
> It would be nice to see an enum field in PropertyType.
> It would simply be a list of potential values for that type.  What are your 
> thoughts on this feature?
> I would be happy to work on it if you see it adding value. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to