aboutsummaryrefslogtreecommitdiffstats
path: root/spec/fixtures/organizations.json
blob: 6b507b4454ea13099fb3ef93f746f18333060901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[{
  "id": 1,
  "name": "STIF",
  "code": "STIF",
  "created_at": "2016-05-17T15:33:45.951Z",
  "updated_at": "2016-05-17T15:33:45.951Z",
  "organization_users": {
    "users_count": 9
  },
  "suborganizations": {
    "suborganizations_count": 4,
    "suborganizations": [{
      "id": 6,
      "name": "ALBATRANS",
      "code": "ALBATRANS"
    }, {
      "id": 5,
      "name": "OPTILE",
      "code": "OPTILE"
    }, {
      "id": 2,
      "name": "RATP",
      "code": "RATP"
    }, {
      "id": 3,
      "name": "SNCF",
      "code": "SNCF"
    }]
  }
}, {
  "id": 3,
  "name": "SNCF",
  "code": "SNCF",
  "created_at": "2016-05-17T16:04:27.047Z",
  "updated_at": "2016-05-17T16:04:27.047Z",
  "organization_users": {
    "users_count": 2
  },
  "suborganizations": {
    "suborganizations_count": 0,
    "suborganizations": []
  },
  "organization_parent": {
    "parent_id": 1,
    "parent_name": "STIF"
  }
}, {
  "id": 5,
  "name": "OPTILE",
  "code": "OPTILE",
  "created_at": "2016-05-17T16:04:27.655Z",
  "updated_at": "2016-05-17T16:04:27.655Z",
  "organization_users": {
    "users_count": 0
  },
  "suborganizations": {
    "suborganizations_count": 0,
    "suborganizations": []
  },
  "organization_parent": {
    "parent_id": 1,
    "parent_name": "STIF"
  }
}, {
  "id": 6,
  "name": "ALBATRANS",
  "code": "ALBATRANS",
  "created_at": "2016-05-17T16:04:27.955Z",
  "updated_at": "2016-05-17T16:04:27.955Z",
  "organization_users": {
    "users_count": 0
  },
  "suborganizations": {
    "suborganizations_count": 0,
    "suborganizations": []
  },
  "organization_parent": {
    "parent_id": 1,
    "parent_name": "STIF"
  }
}, {
  "id": 2,
  "name": "RATP",
  "code": "RATP",
  "created_at": "2016-05-17T16:04:26.646Z",
  "updated_at": "2016-05-31T10:06:39.349Z",
  "functional_scope": "[\"STIF:CODIFLIGNE:Line:C00840\", \"STIF:CODIFLIGNE:Line:C00086\"]",
  "organization_users": {
    "users_count": 8
  },
  "suborganizations": {
    "suborganizations_count": 0,
    "suborganizations": []
  },
  "organization_parent": {
    "parent_id": 1,
    "parent_name": "STIF"
  }
}]