Updated index template DSL to enforce pattern on create