private Field randomFieldInThis() {
        return schema.fields().get(fieldNames.iterator().next());
    }
Use a random field in this to determine its properties. Any inconsistency will have been warned about on deploy.
container-search/src/main/java/com/yahoo/search/schema/FieldSet.java