-
Notifications
You must be signed in to change notification settings - Fork 5
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
metadata properties spec #147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jho44 - I'm wondering if this property should be oneOf: type number or boolean.
I'm under the impression it's a JSON object with key-value pairs
{"customer_id": "1234"}
Do you have any information about how the type would be anything other than a string?
@jho44 - I reviewed the description of https://lobsters.atlassian.net/browse/DXP-105 It's my conclusion that the type for this property should be a string which contains up to 20 key-value pairs. The values of the pairs can be string, boolean or number but the property it self is a JSON object stored as a string. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going forward with oneOf where metadata[campaign] = "NYC2021" or "2021" or "TRUE"
ticket
Tried to add to the metadata schema the specifications listed in the metadata description and the ticket
How it looks like: