Suppose that I have schema like
fname: string
lname: string
age: string
None of them are required. User can send me any of those attributes above but nothing else that is not declared. They can pass me fname, lname and age or all. But if they pass me all and additional property like middle_name the message should be rejected.
How would I define a schema like this?