PUT /items/123{"id": 123,"title": "Test item","nodeType": "annotation" <--- this is an enum of "annotation"/"document"/"collection"}
UPDATE my_items SET title='Test item', nodeType='annotation', ... WHERE id=123
The data payload would only contain the enum value/code; metadata (schema) would contain description or displayable title associated to enum code.
Phil
But for enum, it is a value (not a meta info like title or description) a payload may send or expect receiving, no matter the schema language.
Ideally, extending schema to allow each enum value to have meta attribute (eg title) would fix it.