generalized schema setting jq and php