Made availability optional when meta params are included, removed app logic from schemas.