var simple_poll = {
  conversation: "conversation-key",
  start_state: {uuid: "choice-1"},
  poll_metadata: {
    repeatable: true,
  },
  states: [
    {
        // these are common to all state types
        uuid: "choice-1", // name is unique
        name: "Message 1", // a friendly name for the user to see
        store_as: "message-1",
        type: "choice", // menu of options
        entry_endpoint: null, // null for the start state
        store_on_contact: true,
        // choice specific
        text: "What is your favourite colour?",
        choice_endpoints: [ // these are actually also the endpoints
          {value: "value-1", label: "Red", uuid: "endpoint-1"},
          {value: "value-2", label: "Blue", uuid: "endpoint-2"}
        ]
    },
    {
        uuid: "group-1",
        name: "Message 2",
        store_as: "message-2",
        type: "group",
        group: {key: 'group-1'},
        store_on_contact: true,
        entry_endpoint: {uuid: "endpoint-3"},
        exit_endpoint: {uuid: "endpoint-4"}
    },
    {
        uuid: "freetext-1",
        name: "Message 3",
        store_as: "message-3",
        type: "freetext",
        store_on_contact: true,
        entry_endpoint: {uuid: "endpoint-5"},
        // freetext specific
        exit_endpoint: {uuid: "endpoint-6"},
        text: "What is your name?"
    },
    {
       uuid: "end-1",
       name: "Ending 1",
       store_as: "ending-1",
       type: "end",
       store_on_contact: true,
       entry_endpoint: {uuid: "endpoint-7"},
       // end specific
       text: "Thank you for taking our survey"
    }
  ],
  connections: [
     {
       source: {uuid: "endpoint-1"},
       target: {uuid: "endpoint-3"}
     },
     {
       source: {uuid: "endpoint-4"},
       target: {uuid: "endpoint-5"}
     },
     {
       source: {uuid: "endpoint-2"},
       target: {uuid: "endpoint-7"}
     },
     {
       source: {uuid: "endpoint-6"},
       target: {uuid: "endpoint-7"}
     }
  ]
};

// export

this.simple_poll = simple_poll;

var simple_poll = {
  conversation: "conversation-key",
  start_state: {uuid: "choice-1"},
  poll_metadata: {
    repeatable: true,
  },
  states: [
    {
        // these are common to all state types
        uuid: "choice-1", // name is unique
        name: "Message 1", // a friendly name for the user to see
        store_as: "message-1",
        type: "choice", // menu of options
        entry_endpoint: null, // null for the start state
        store_on_contact: true,
        // choice specific
        text: "What is your favourite colour?",
        choice_endpoints: [ // these are actually also the endpoints
          {value: "value-1", label: "Red", uuid: "endpoint-1"},
          {value: "value-2", label: "Blue", uuid: "endpoint-2"}
        ]
    },
    {
        uuid: "group-1",
        name: "Message 2",
        type: "group",
        group: {key: 'group-1'},
        entry_endpoint: {uuid: "endpoint-3"},
        exit_endpoint: {uuid: "endpoint-4"}
    },
    {
        uuid: "freetext-1",
        name: "Message 3",
        store_as: "message-3",
        type: "freetext",
        store_on_contact: true,
        entry_endpoint: {uuid: "endpoint-5"},
        // freetext specific
        exit_endpoint: {uuid: "endpoint-6"},
        text: "What is your name?"
    },
    {
       uuid: "end-1",
       name: "Ending 1",
       store_as: "ending-1",
       type: "end",
       store_on_contact: true,
       entry_endpoint: {uuid: "endpoint-7"},
       // end specific
       text: "Thank you for taking our survey"
    }
  ],
  connections: [
     {
       source: {uuid: "endpoint-1"},
       target: {uuid: "endpoint-3"}
     },
     {
       source: {uuid: "endpoint-4"},
       target: {uuid: "endpoint-5"}
     },
     {
       source: {uuid: "endpoint-2"},
       target: {uuid: "endpoint-7"}
     },
     {
       source: {uuid: "endpoint-6"},
       target: {uuid: "endpoint-7"}
     }
  ]
};

// export

this.simple_poll = simple_poll;

Remove unused group state fixture data (copy-paste error)