Sized BIT STRING The ASN.1 BIT STRING type may contain a size constraint. This is converted into minLength and maxLength facets in the generated XSD definition: ASN.1 production: TypeName ::= BIT STRING (SIZE (lower..upper)) Generated XSD code: <xsd:simpleType name="TypeName"> <xsd:restriction base="asn1:BitString"> <xsd:minLength value="lower"/> <xsd:maxLength value="upper"/> </xsd:restriction> </xsd:simpleType>