You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to verify if iconsCategories colors key names (primary, on-surface) exist as "name" on monochrome.colors array objects.
Right now I am doing this checking on my own, but I am now wondering if it is possibel to add validation on AJV, it woulb be more neat, since I am already doing AJV checking... I could get rid of my custom validation file.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Here is my json that is processed by ajv:
I need to verify if iconsCategories colors key names (primary, on-surface) exist as "name" on monochrome.colors array objects.
Right now I am doing this checking on my own, but I am now wondering if it is possibel to add validation on AJV, it woulb be more neat, since I am already doing AJV checking... I could get rid of my custom validation file.
Herre is the code from the image:
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions