{
    "variants": {
        "facing=north,part=foot": { "model": "built/bed_foot", "y": 180 },
        "facing=east,part=foot":  { "model": "built/bed_foot", "y": 270 },
        "facing=south,part=foot": { "model": "built/bed_foot" },
        "facing=west,part=foot":  { "model": "built/bed_foot", "y": 90 },
        "facing=north,part=head": { "model": "built/bed_head", "y": 180 },
        "facing=east,part=head":  { "model": "built/bed_head", "y": 270 },
        "facing=south,part=head": { "model": "built/bed_head" },
        "facing=west,part=head":  { "model": "built/bed_head", "y": 90 }
    }
}
