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'm missing some types and would like to get some feedback if they might be implemented in the spec.
bool: Simple boolean values. Either true or false. Together with required, the client would either render a normal checkbox, or a tri-state-checkbox.
datetime-offset: An ISO 8601 encoded string. This would be good to support users who use an API from different time zones. The default JavaScript Date-constructor automatically takes care of converting it into the browsers local timezone.
image: A valid image URL. Can also be a data URL, like data:image/png;base64,.... A client interface would render the image and a text input and / or a file upload.
file: A valid URL. Can also be a data URL. A client interface would render a download-button and a text input and / or a file upload. I've read support HTML5 types for inputs #36 and think, this is a valid solution.
For further aid, I would also like to propose a new field on properties: mimeTypes which would be OPTIONAL and may contain an array of MIME-types. This would help clients to know which types for image and file are accepted.
I'm missing some types and would like to get some feedback if they might be implemented in the spec.
data:image/png;base64,.... A client interface would render the image and a text input and / or a file upload.For further aid, I would also like to propose a new field on properties:
mimeTypeswhich would be OPTIONAL and may contain an array of MIME-types. This would help clients to know which types forimageandfileare accepted.