schema1.addSeries(1);
schema1.setSeriesName(1, "foo");
schema1.setSeriesDescription(1, "foo series");
schema1.setSeriesTimeDomain(1, Workday.DOMAIN);
schema1.setSeriesType(1, db.getValueType("numeric"));
schema1.addAttribute(1, 6);
schema1.setAttributeProperty(1, 6, db.getProperty("prop2", true));
schema1.setAttributeDefault(1, 6, "t2v2");
schema1.applyUpdates();
assertEquals("foo", schema1.getSeriesDefinition(1, true).getName());
assertEquals("foo series", schema1.getSeriesDefinition(1, true).getDescription());