Added PN schema and generator