{"ref":"content:cap-techbytes-input-validation","page":"/content/cap-techbytes-input-validation","json":"/content/cap-techbytes-input-validation.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-techbytes-input-validation","title":"#CAP-TechBytes Input Validation","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/cap-techbytes-input-validation/ba-p/13554073","content_type":"blog","explains":[{"ref":"capability:input-validation","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:data-modelling","applies_to":{"ecosystems":["cap"]}}],"summary":"The annotations one at a time — @mandatory, @assert.unique, @assert.range including the enum form, @assert.format — each with what it produces. Ends on error handling, which is the part that decides whether any of it is usable from a UI.","short":"CAP input validation annotations and their error handling","author":"Thajunniza","published":"2023-07-07","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-sap/cap-techbytes-input-validation/ba-p/13554073","title":"#CAP-TechBytes Input Validation — SAP Community","checked":"2026-09-08"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-08"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:input-validation (cap); capability:data-modelling (cap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 39 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds 8.5.0, 2024-11 and 3 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":8944,"unit":"views"},{"value":9,"unit":"comments"},{"value":9,"unit":"likes"}]},"signals":{"views":8944,"likes":9,"comments":9,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}