{
  "lang": [{
    "id": "fr",
    "name": "Français",
    "src": "https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg",
    "active": true
  }, {
    "id": "en",
    "name": "English",
    "src": "https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg",
    "active": false
  }],
  "user_logged": {
    "logged": true,
    "user": {
      "id": 5,
      "username": "Smoi",
      "firstname": "Côme",
      "lastname": "Stoilenom",
      "email": "osef@algoo.fr",
      "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4",
      "role": "Utilisateur",
      "job": "Integrateur | Webdesigner",
      "company": "Algoo",
      "caldav_url": "http://algoo.trac.im/caldav/user/5.ics/"
    }
  },
  "app_config": [{
    "name": "PageHtml",
    "label": {
      "fr": "Page Html",
      "en": "Html page"
    },
    "componentLeft": "PageHtml",
    "componentRight": "Timeline",
    "customClass": "wsContentPageHtml",
    "icon": "fa fa-fw fa-file-word-o",
    "color": "#65c7f2",
    "domContainer": "appContainer"
  }, {
    "name": "PageMarkdown",
    "label": {
      "fr": "Page Markdown",
      "en": "Markdown page"
    },
    "componentLeft": "PageMarkdown",
    "componentRight": "undefined",
    "customClass": "wsContentPageMarkdown",
    "icon": "fa fa-fw fa-file-code-o",
    "color": "#e0082b",
    "domContainer": "appContainer"
  }, {
    "name": "File",
    "label": {
      "fr": "Fichier",
      "en": "File"
    },
    "componentLeft": "File",
    "componentRight": "undefined",
    "customClass": "wsContentFile",
    "icon": "fa fa-fw fa-file-text-o",
    "color": "#263462",
    "domContainer": "appContainer"
  }, {
    "name": "Thread",
    "label": {
      "fr": "Discussion",
      "en": "Thread"
    },
    "componentLeft": "Thread",
    "componentRight": "undefined",
    "customClass": "wsContentThread",
    "icon": "fa fa-fw fa-comments-o",
    "color": "#2674d3",
    "domContainer": "appContainer"
  }, {
    "name": "Task",
    "label": {
      "fr": "Tâche",
      "en": "Task"
    },
    "componentLeft": "Task",
    "componentRight": "undefined",
    "customClass": "wsContentTask",
    "icon": "fa fa-fw fa-list-ul",
    "color": "#2d5a88",
    "domContainer": "appContainer"
  }, {
    "name": "Issue",
    "label": {
      "fr": "Ticket",
      "en": "Issue"
    },
    "componentLeft": "Issue",
    "componentRight": "undefined",
    "customClass": "wsContentIssue",
    "icon": "fa fa-fw fa-ticket",
    "color": "#a4835e",
    "domContainer": "appContainer"
  }],
  "workspace_detail": {
    "id": 1,
    "title": "Mission interne - développement",
    "owner_id": 5,
    "content": [
      {
        "id": 1,
        "parent_id": null,
        "workspace_id": 1,
        "title": "Design v2",
        "type": "PageHtml",
        "status": "validated"
      },
      {
        "id": 2,
        "parent_id": null,
        "workspace_id": 1,
        "title": "La programmation fonctionnelle est-elle vraiment utile ?",
        "type": "Thread",
        "status": "current"
      },
      {
        "id": 6,
        "parent_id": null,
        "workspace_id": 1,
        "title": "Une photo",
        "type": "File",
        "status": "current"
      },
      {
        "id": 10,
        "parent_id": null,
        "workspace_id": 1,
        "title": "README.md de tracim_lib",
        "type": "PageMarkdown",
        "status": "current"
      },
      {
        "id": 7,
        "parent_id": null,
        "workspace_id": 1,
        "title": "Etape d'installation de Tracim",
        "type": "Task",
        "status": "current"
      },
      {
        "id": 8,
        "parent_id": null,
        "workspace_id": 1,
        "title": "Fixe du fichier css",
        "type": "Issue",
        "status": "current"
      },
      {
        "id": 3,
        "parent_id": null,
        "workspace_id": 1,
        "title": "Programmation objet",
        "type": "folder",
        "content": []
      }
    ]
  },
  "folder_content_3": [
    {
      "id": 4,
      "parent_id": 3,
      "workspace_id": 1,
      "title": "Backend appli n°578",
      "type": "File",
      "status": "outdated"
    },
    {
      "id": 5,
      "parent_id": 3,
      "workspace_id": 1,
      "title": "La programmation fonctionnelle",
      "type": "PageHtml",
      "status": "outdated"
    },
    {
      "id": 11,
      "parent_id": 3,
      "workspace_id": 1,
      "title": "ticket à fixe",
      "type": "folder",
      "content": []
    }
  ],
  "folder_content_11": [
    {
      "id": 12,
      "parent_id": 11,
      "workspace_id": 1,
      "title": "ticket à fixe",
      "type": "PageHtml",
      "status": "current"
    },
    {
      "id": 13,
      "parent_id": 11,
      "workspace_id": 1,
      "title": "issue n°555",
      "type": "Issue",
      "status": "current"
    }
  ],
  "timeline": [{
    "id": 0,
    "type": "message",
    "author": {
      "id": 5,
      "username": "Stoi",
      "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4"
    },
    "createdAt": {
      "day": "27/11/17",
      "hour": "11h45"
    },
    "text": "Proident esse laboris in sed officia exercitation ut anim ea."
  }, {
    "id": 1,
    "type": "message",
    "author": {
      "id": 1,
      "username": "smoi",
      "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
    },
    "createdAt": {
      "day": "27/11/16",
      "hour": "10h30"
    },
    "text": "Proident esse laboris in sed officia exercitation ut anim ea. in sed officia exercitation ut"
  }, {
    "id": 2,
    "type": "message",
    "author": {
      "id": 1,
      "username": "smoi",
      "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
    },
    "createdAt": {
      "day": "27/11/15",
      "hour": "10h30"
    },
    "text": "Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea."
  }, {
    "id": 3,
    "type": "version",
    "author": {
      "id": 1,
      "username": "smoi",
      "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
    },
    "createdAt": {
      "day": "27/11/11"
    },
    "number": "5"
  }],
  "content_data_pageHtml": {
    "id": "1",
    "type": "pageHtml",
    "title": "La programmation fonctionnelle",
    "status": "validated",
    "version": "3",
    "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle",
    "workspace": {
      "id": 1,
      "title": "Mission interne - développement",
      "owner_id": 5
    }
  },
  "content_data_thread": {
    "id": 2,
    "type": "thread",
    "title": "La programmation fonctionnelle est-elle vraiment utile ?",
    "status": "validated",
    "message_list": [{
      "id": 0,
      "author": {
        "id": 5,
        "username": "Peter",
        "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
      },
      "text": "Tu aurais envie de manger quoi exactement ?",
      "createdAt": {
        "day": "05/03/18",
        "hour": "10h00"
      }
    }, {
      "id": 1,
      "author": {
        "id": 3,
        "username": "Steven",
        "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
      },
      "createdAt": {
        "day": "05/03/18",
        "hour": "09h59"
      },
      "text": "Ben je sais pas, par exemple une quiche lorraine."
    }, {
      "id": 2,
      "author": {
        "id": 5,
        "username": "Peter",
        "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
      },
      "text": "Une ouiche.",
      "createdAt": {
        "day": "05/03/18",
        "hour": "09h59"
      }
    }, {
      "id": 3,
      "author": {
        "id": 3,
        "username": "Steven",
        "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
      },
      "createdAt": {
        "day": "05/03/18",
        "hour": "09h59"
      },
      "text": "Quoi ?"
    }, {
      "id": 4,
      "author": {
        "id": 5,
        "username": "Peter",
        "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
      },
      "text": "On dit « une ouiche lorraine ».",
      "createdAt": {
        "day": "05/03/18",
        "hour": "09h59"
      }
    }, {
      "id": 5,
      "author": {
        "id": 3,
        "username": "Steven",
        "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
      },
      "createdAt": {
        "day": "05/03/18",
        "hour": "09h58"
      },
      "text": "Tu es sûr ?"
    }, {
      "id": 6,
      "author": {
        "id": 3,
        "username": "Steven",
        "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
      },
      "text": "Ça fait bizarre, « ouiche lorraine ».",
      "createdAt": {
        "day": "05/03/18",
        "hour": "09h59"
      }
    }]
  },
  "workspace_list": [{
    "id": 0,
    "title": "Ressources humaine"
  }, {
    "id": 1,
    "title": "Marketing"
  }, {
    "id": 2,
    "title": "Missions externes"
  }, {
    "id": 3,
    "title": "Recherche et développement"
  }, {
    "id": 4,
    "title": "Commercialisation"
  }, {
    "id": 5,
    "title": "Évolutions"
  }],
  "user_role": [{
    "workspace": {
      "id": 0,
      "title": "Ressources humaine"
    },
    "role": "reader",
    "subscribed_to_notif": true
  }, {
    "workspace": {
      "id": 1,
      "title": "Marketing"
    },
    "role": "manager",
    "subscribed_to_notif": true
  }, {
    "workspace": {
      "id": 2,
      "title": "Missions externes"
    },
    "role": "contributor",
    "subscribed_to_notif": false
  }, {
    "workspace": {
      "id": 3,
      "title": "Recherche et développement"
    },
    "role": "content_manager",
    "subscribed_to_notif": true
  }, {
    "workspace": {
      "id": 4,
      "title": "Commercialisation"
    },
    "role": "reader",
    "subscribed_to_notif": false
  }, {
    "workspace": {
      "id": 5,
      "title": "Évolutions"
    },
    "role": "content_manager",
    "subscribed_to_notif": true
  }]
}
