rest_api: move "required" member to the correct level
In some locations in the JSON schema files we find the "required" member on the same lavel as the "properties" (likewise "items") members. This is incorrect, the "required" member should always be on the same level as the "properties" member
(At the moment the JSON schema files serve only documentation purposes, they are not used to do any actual validation yet.)