Note dir, not directory — the wire is abbreviated and the domain is not. Answers None for anything unrecognised, which the DTO turns into a decoding failure: unlike a descriptive field, the kind decides which other fields mean anything, so guessing it would produce a plausible and wrong entry.