Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.