Invalid type definition for type '%1!s!'. A type may not have both 'minInclusive' and 'minExclusive' or 'maxInclusive' and ...