{
  "trackplan": [
    {
      "type": "turnout",
      "id": "turnout_7",
      "length": 45,
      "radius": 116,
      "angle": 22.5,
      "address": 7
    },
    {
      "type": "straight",
	  "id": "voie_K",
      "length": 150,
      "sensor_address": 27
    },
    {
      "type": "straight",
	  "id": "voie_L",
      "length": 150,
      "sensor_address": 28
    },
	{
      "type": "turnout",
	  "side": 1,
      "id": "turnout_6",
      "length": 45,
      "radius": 116,
      "angle": -22.5,
      "address": 6
    },
    {
      "type": "curve",
      "radius": 116,
      "angle": 150,
      "sensor_address": 19
    },
	{
      "type": "turnout",
	  "id": "turnout_5",
      "length": 45,
      "radius": 116,
      "angle": 30,
      "address": 5
    },
	{
      "type": "curve",
      "radius": 116,
      "angle": 30
    },
    {
      "type": "straight",
	  "id": "voie_B",
      "length": 156,
      "sensor_address": 18
    },
	{
      "type": "straight",
	  "id": "voie_A",	  
      "length": 156,
      "sensor_address": 17
    },
	{
      "type": "curve",
      "radius": 116,
      "angle": 30
    },
	{
      "type": "turnout",
	  "side": 1,
      "id": "turnout_1",
      "length": 45,
      "radius": 116,
      "angle": -30,
      "address": 1
    },
    {
      "type": "curve",
      "radius": 116,
      "angle": 150,
      "sensor_address": 20
    },
	{
      "type": "turnout",
      "side": 2,
      "id": "turnout_8",
	  "from_id": "turnout_6",
      "length": 45,
      "radius": 116,
      "angle": -22.5,
      "address": 8
    },
	{
      "type": "straight",
	  "id": "voie_J",
      "length": 106.5,  
      "sensor_address": 26
    },
	{
      "type": "straight",
	  "id": "voie_I",
      "length": 106.5,  
      "sensor_address": 25
    },
	{
      "type": "curve",
      "radius": 116,
      "angle":  22.5
    },
	{
	  "type": "curve",
      "id": "voie_M",
	  "from_id": "turnout_8",
      "radius": 116,
      "angle":  110,
      "sensor_address": 29
    },
	{
      "type": "turnout",
      "id": "turnout_3",
	  "from_id": "turnout_5",
      "length": 45,
      "radius": 116,
      "angle": 22.5,
      "address": 3
    },
	{
      "type": "turnout",
	  "id": "turnout_2",
      "length": 45,
      "radius": 116,
      "angle": 22.5,
      "address": 2
    },
	{
      "type": "straight",
	  "id": "voie_E",
	  "length": 300,  
      "sensor_address": 21
    },
	{
      "type": "curve",
	  "from_id": "turnout_2",
      "radius": 116,
      "angle":  -22.5,
      "sensor_address": 22
    },
	{
      "type": "straight",
	  "id": "voie_F",
	  "length": 250,  
      "sensor_address": 22
    },
	{
      "type": "straight",
	  "from_id": "turnout_3",
      "length": 45,
      "angle":  -22.5
    },
	{
      "type": "turnout",
	  "side": 2,
      "id": "turnout_4",
      "length": 45,
      "radius": 116,
      "angle": 22.5,
      "address": 4
    },
	{
      "type": "straight",
	  "id": "voie_G",
	  "length": 120,  
      "sensor_address": 23
    },
	{
      "type": "curve",
	  "radius": 116,
      "angle":  30,
      "sensor_address": 23
    },
	{
      "type": "straight",
	  "id": "voie_G",
	  "length": 180,  
      "sensor_address": 23
    },
	{
	  "type": "straight",
      "id": "voie_H",
	  "from_id": "turnout_4",
      "length": 100,
	  "sensor_address": 24
	}
  ],
  "trains": [
    {
      "id": "Petrole",
	  "address": 33,
      "track_id": "voie_A",
	  "speed_max": 8.0,
      "vehicles": [
        {
          "length": 54.0,
          "color": "aqua",
		  "id": "BB 13001"
        },
        {
          "length": 40.0,
          "color": "gray"
        },
        {
          "length": 40.0,
          "color": "silver"
        },
        {
          "length": 40.0,
          "color": "silver"
        }
      ]
    },
	{
      "address": 56,
      "track_id": "voie_E",
	  "id": "Palombe bleue",
	  "speed_max": 12.0,
      "vehicles": [
        {
          "length": 48.0,
          "color": "green",
		  "id": "BB 325"
        },
        {
          "length": 60.0,
          "color": "teal"
        },
        {
          "length": 60.0,
          "color": "teal"
        }
      ]
    }
  ]
}
