{
  "multipart": [
    {
      "when": {
        "shape": "ascending_east"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/raised",
        "y": 270
      }
    },
    {
      "when": {
        "shape": "ascending_north"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/raised",
        "y": 180
      }
    },
    {
      "when": {
        "shape": "ascending_south"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/raised"
      }
    },
    {
      "when": {
        "shape": "ascending_west"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/raised",
        "y": 90
      }
    },
    {
      "when": {
        "shape": "east_west"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/straight",
        "y": 90
      }
    },
    {
      "when": {
        "shape": "north_south"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/straight"
      }
    },
    {
      "when": {
        "shape": "north_east"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/corner",
        "y": 270
      }
    },
    {
      "when": {
        "shape": "north_west"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/corner",
        "y": 180
      }
    },
    {
      "when": {
        "shape": "south_east"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/corner"
      }
    },
    {
      "when": {
        "shape": "south_west"
      },
      "apply": {
        "model": "minecraft:custom/rail/regular/corner",
        "y": 90
      }
    }
  ]
}