Apple File System Reference [pdf]
This seems like it's probably enough to re-implement APFS on non-Mac platforms; in fact, the about page (page 6) says as much.Kudos to Apple for providing the information. It's a hell of a lot better than reverse engineering the thing (see how many years it took to get NTFS down...)