When creating an Extended Token, you can omit any trailing properties that you are not using. However, since the order of the properties is Positional, you must include all properties up to the last property you are using. For any property that you are not using, just leave its value blank. For example, if you need to specify the max length of a token to be 5 characters, but you do not care about the dataType or dataFormat properties, then the token would look like:
$$NAMESPACE.tokenName|||5$$