test_list.json

  1{
  2    "main": [
  3        {
  4            "attrs": {
  5                "level": 1
  6            },
  7            "children": [
  8                {
  9                    "content": "This is the title",
 10                    "type": "text"
 11                }
 12            ],
 13            "type": "heading"
 14        },
 15        {
 16            "attrs": {},
 17            "children": [
 18                {
 19                    "content": "This is paragraph 1. Start with \u003cbold\u003ebold\u003c/bold\u003e \u003citalic\u003eitalic\u003c/italic\u003e and \u003cunderline\u003eunderline\u003c/underline\u003e text.",
 20                    "type": "text"
 21                }
 22            ],
 23            "type": "paragraph"
 24        },
 25        {
 26            "attrs": {},
 27            "children": [
 28                {
 29                    "content": "Start at ",
 30                    "type": "text"
 31                },
 32                {
 33                    "attrs": {
 34                        "cons": [],
 35                        "country": "Nepal",
 36                        "from": {},
 37                        "gid": "421170545",
 38                        "id": "m1gmTVwkb7",
 39                        "label": "Kathmandu",
 40                        "nonroutable": false,
 41                        "point": [
 42                            85.332115,
 43                            27.707028
 44                        ],
 45                        "type": "waypoint"
 46                    },
 47                    "children": null,
 48                    "type": "waypoint"
 49                },
 50                {
 51                    "content": " then go to ",
 52                    "type": "text"
 53                },
 54                {
 55                    "attrs": {
 56                        "cons": [],
 57                        "country": "Nepal",
 58                        "error": [],
 59                        "from": {
 60                            "m1gmTVwkb7:saa": {
 61                                "bbox": [
 62                                    83.968346,
 63                                    27.701465,
 64                                    85.332126,
 65                                    28.266889
 66                                ],
 67                                "d": 203.461188,
 68                                "id": "02e468352e44fa74d6d65f7c808e2b99fd6399d9cbd9bb0a1a933d4dc45089d2",
 69                                "t": 12296.142
 70                            }
 71                        },
 72                        "gid": "890443741",
 73                        "id": "ngY84sK68C",
 74                        "label": "Pokhara",
 75                        "nonroutable": false,
 76                        "point": [
 77                            83.968509,
 78                            28.266889
 79                        ],
 80                        "type": "waypoint"
 81                    },
 82                    "children": null,
 83                    "type": "waypoint"
 84                },
 85                {
 86                    "content": ".",
 87                    "type": "text"
 88                }
 89            ],
 90            "type": "paragraph"
 91        },
 92        {
 93            "attrs": {},
 94            "children": [
 95                {
 96                    "content": "Leave and go to ",
 97                    "type": "text"
 98                },
 99                {
100                    "attrs": {
101                        "cons": [],
102                        "country": "India",
103                        "error": [],
104                        "from": {
105                            "ngY84sK68C:saa": {
106                                "bbox": [
107                                    77.213067,
108                                    27.430766,
109                                    83.989104,
110                                    28.768865
111                                ],
112                                "d": 862.081004,
113                                "id": "491b4513cd37ff3c03f0eb1914103aa2351983ff078d45130028310713d16be2",
114                                "t": 47725.082
115                            }
116                        },
117                        "gid": "890511421",
118                        "id": "1q-PRy9tgc",
119                        "label": "New Delhi",
120                        "nonroutable": false,
121                        "point": [
122                            77.213067,
123                            28.613713
124                        ],
125                        "type": "waypoint"
126                    },
127                    "children": null,
128                    "type": "waypoint"
129                },
130                {
131                    "content": " ",
132                    "type": "text"
133                }
134            ],
135            "type": "paragraph"
136        },
137        {
138            "attrs": {},
139            "children": [
140                {
141                    "content": "Add an ordered list:",
142                    "type": "text"
143                }
144            ],
145            "type": "paragraph"
146        },
147        {
148            "attrs": {
149                "start": 1
150            },
151            "children": [
152                {
153                    "attrs": {},
154                    "children": [
155                        {
156                            "attrs": {},
157                            "children": [
158                                {
159                                    "content": "This is point 1",
160                                    "type": "text"
161                                }
162                            ],
163                            "type": "paragraph"
164                        }
165                    ],
166                    "type": "listItem"
167                },
168                {
169                    "attrs": {},
170                    "children": [
171                        {
172                            "attrs": {},
173                            "children": [
174                                {
175                                    "content": "This is point 2",
176                                    "type": "text"
177                                }
178                            ],
179                            "type": "paragraph"
180                        }
181                    ],
182                    "type": "listItem"
183                }
184            ],
185            "type": "orderedList"
186        },
187        {
188            "attrs": {},
189            "children": [
190                {
191                    "content": "And an unordered list:",
192                    "type": "text"
193                }
194            ],
195            "type": "paragraph"
196        },
197        {
198            "attrs": {},
199            "children": [
200                {
201                    "attrs": {},
202                    "children": [
203                        {
204                            "attrs": {},
205                            "children": [
206                                {
207                                    "content": "Test 1",
208                                    "type": "text"
209                                }
210                            ],
211                            "type": "paragraph"
212                        }
213                    ],
214                    "type": "listItem"
215                },
216                {
217                    "attrs": {},
218                    "children": [
219                        {
220                            "attrs": {},
221                            "children": [
222                                {
223                                    "content": "Test 2",
224                                    "type": "text"
225                                }
226                            ],
227                            "type": "paragraph"
228                        }
229                    ],
230                    "type": "listItem"
231                }
232            ],
233            "type": "bulletList"
234        },
235        {
236            "attrs": {},
237            "children": null,
238            "type": "paragraph"
239        },
240        {
241            "attrs": {},
242            "children": null,
243            "type": "paragraph"
244        }
245    ]
246}