Because of the spontaneous half-quantized magnetic fluxes, a d-wave superconducting dot in an s-wave superconductor can be considered as a spin. Using two-components Ginzburg–Landau equation, we obtained stable magnetic structures of this system and investigate its properties. Especially, the interaction between two d-wave superconducting dots is anisotropic and depends on their distance. So, we can construct various artificial spin systems changing lattice structure of d-wave superconducting dots.