Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named Enumerations #83

Closed
ikshvakoo opened this issue Mar 27, 2017 · 2 comments
Closed

Named Enumerations #83

ikshvakoo opened this issue Mar 27, 2017 · 2 comments

Comments

@ikshvakoo
Copy link

Hello,

I'm running into a challenge in serializing the named enumerations when using Newtonsoft.Json.Schema for serializing my POCO.. Is it possible to associate any additional information with each enum value..? This article in json-schema-org github talks more in detail about the issue.

json-schema-org/json-schema-spec#57

The proposed solution there is to add "Constant" property at the schema level to handle this scenario.

Any plans of incorporating this in JSchema class in near future?

Thanks,
Vin

@JamesNK
Copy link
Owner

JamesNK commented Mar 27, 2017

When V6 is finalized and approved that feature will be added. I don't know when that will be.

Progress is here: json-schema-org/json-schema-spec#206

@JamesNK JamesNK closed this as completed Mar 27, 2017
@knuxbbs
Copy link

knuxbbs commented Jun 7, 2021

@JamesNK there is any guide about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants