How do you use the JSON "can_place_on" tag to specify what kind of blocks (same name, different data value) to place on? [duplicate]

So far this is not possible, neither in Java, nor in PE. But for the Java Edition version 1.13 it will, because then the blocks will have names like "magenta_wool". A (probably) complete list of all the block names in 1.13 is here: https://bugs.mojang.com/secure/attachment/141835/the%20flattening.txt

Since it's generally intended by Mojang to have PE and Java at the same state of features soon, it will probably come to PE at some point in the near future, but I can't tell you anything concrete.