minOccurs on models and details