Selectively catalyzes the oxidative deamination of D-aspartate and its N-methylated derivative, N-methyl D-aspartate. Has no activity towards L-amino acids or N-methyl-L-aspartic acid. May play a role in the egg-laying events and maturation processes of the reproductive organs. D-aspartate + H2O + O2 = H2O2 + NH4(+) + oxaloacetate The values given are for the recombinant protein. Homodimer. Expressed in probable head mesodermal cells and unidentified cells in the head, vulval muscles, hypodermis and the gonad sheath cells in adult hermaphrodites. Also expressed in the seminal vesicle and tail cells in adult males. Expression in head mesodermal cells detected from L3 stage to adult stages, and in vulval muscles from L4 stage to adult stages. Mutant worms have decreased egg-laying capacity at 20 degrees Celsius, and decreased hatching rate and smaller brood size at 25 degrees Celsius. They also show delay in growth to adulthood and an extended life span. Mutant worms have high D-Glu content at both egg and young adult stages and a high L-Trp level at young adult stage but do not show any change in physical appearance. Belongs to the DAMOX/DASOX family.