The Patterns tab is only available for simple type restrictions. It allows you to enter the exact sequence of acceptable values for the simple type restriction.
Select F (for Fixed) at the end of a row if you want to prevent the modification of a value.
For example: the zipCode simple type, based on the xs:string data type, is restricted to the following pattern: two uppercase letters, from A to Z, followed by a five-digit number, each digit ranging from 0 to 9.
Generated schema: