def schema_array?(value, id, uniqueness_check = true)
      non_empty_array?(value, uniqueness_check) &&
        value.to_enum.with_index.all? do |schema, index|
          full_id = [id, index].join('/')
          valid_schema? schema, full_id
        end
    end
def schema_array?(value, id, uniqueness_check = true)
      non_empty_array?(value, uniqueness_check) &&
        value.to_enum.with_index.all? do |schema, index|
          full_id = [id, index].join('/')
          valid_schema? schema, full_id
        end
    end
Returns true if a given value is a list of valid JSON schemas

 @param value [Object]
 @param id [String] parent schema id
 @param uniqueness_check [Boolean] check that all schemas are unique
 @return [Boolean]