declaring dtdl for array of enums

Copper Contributor

Hello, I am new to DTDL structures. Have a scenario where I want user to enter days of the week, eg: ["Su","Mo"], ["Tu","Fr","Sa"]. I am planning to use array of enums cause I want the user to restrict entering any other string but days of the week. Can anyone help me in defining array of enums ?

1 Reply
Aware meplease