This is a proposal for new types.
While any is great, a set of narrower types might be useful:
- anyobject
- anyarray
- anyprimitive
Also, the data and time types are based on RFC 3339, which is itself based on ISO 8601. It would be useful to have some ISO 8601 types since most implemenations will use ISO 8601 to do RFC 3339 validation:
- iso8601date
- iso8601time
- iso8601datetime
This is a proposal for new types.
While
anyis great, a set of narrower types might be useful:Also, the data and time types are based on RFC 3339, which is itself based on ISO 8601. It would be useful to have some ISO 8601 types since most implemenations will use ISO 8601 to do RFC 3339 validation: