Skip to content

Instantly share code, notes, and snippets.

@lamenath lamenath/document.json Secret
Last active May 11, 2017

Embed
What would you like to do?
sample document import
{
"type": "doc",
"tags": [],
"uid": "lorem-ipsum",
"text": "Lorem ipsum",
"color": "#b81c19",
"timestamp": "2015-08-27T00:00:00+00:00",
"date": "2015-08-27",
"range": "60",
"number": "13",
"title": [
{
"type": "heading1",
"content": {
"text": "Lorem ipsum",
"spans": []
}
}
],
"body": [
{
"type": "paragraph",
"content": {
"text": "Itaque tum Scaevola cum in eam ipsam mentionem incidisset, exposuit nobis sermonem Laeli de amicitia habitum ab illo secum et cum altero genero, C. Fannio Marci filio, paucis diebus post mortem Africani. Eius disputationis sententias memoriae mandavi, quas hoc libro exposui arbitratu meo; quasi enim ipsos induxi loquentes, ne 'inquam' et 'inquit' saepius interponeretur, atque ut tamquam a praesentibus coram haberi sermo videretur.",
"spans": [
{
"type": "strong",
"start": 59,
"end": 82
},
{
"type": "em",
"start": 223,
"end": 233
},
{
"type": "hyperlink",
"start": 243,
"end": 250,
"data": {
"url": "http://prismic.io",
"preview": {
"title": "http://prismic.io"
}
}
}
]
}
},
{
"type": "o-list-item",
"content": {
"text": "ipsam",
"spans": []
}
},
{
"type": "o-list-item",
"content": {
"text": "mentionem",
"spans": []
}
},
{
"type": "o-list-item",
"content": {
"text": "incidisset",
"spans": []
}
},
{
"type": "list-item",
"content": {
"text": "ipsam",
"spans": []
}
},
{
"type": "list-item",
"content": {
"text": "mentionem",
"spans": []
}
},
{
"type": "list-item",
"content": {
"text": "incidisset",
"spans": []
}
},
{
"type": "embed",
"data": {
"author_url": "https://www.youtube.com/user/rickoshaycomics",
"version": "1.0",
"type": "video",
"thumbnail_height": 360,
"provider_url": "https://www.youtube.com/",
"thumbnail_url": "https://i.ytimg.com/vi/kymzTlqi1SY/hqdefault.jpg",
"thumbnail_width": 480,
"html": "<iframe width=\"459\" height=\"344\" src=\"https://www.youtube.com/embed/kymzTlqi1SY?feature=oembed\" frameborder=\"0\" allowfullscreen></iframe>",
"width": 459,
"provider_name": "YouTube",
"height": 344,
"title": "DONKEY.BAS",
"author_name": "rickoshaycomics",
"embed_url": "https://www.youtube.com/watch?v=kymzTlqi1SY"
},
"content": {
"text": "",
"spans": []
}
},
{
"type": "heading1",
"content": {
"text": "Itaque tum Scaevola",
"spans": []
}
},
{
"type": "paragraph",
"content": {
"text": "Itaque tum Scaevola cum in eam ipsam mentionem incidisset, exposuit nobis sermonem Laeli de amicitia habitum ab illo secum et cum altero genero, C. Fannio Marci filio, paucis diebus post mortem Africani. Eius disputationis sententias memoriae mandavi, quas hoc libro exposui arbitratu meo; quasi enim ipsos induxi loquentes, ne 'inquam' et 'inquit' saepius interponeretur, atque ut tamquam a praesentibus coram haberi sermo videretur.",
"spans": []
}
},
{
"type": "image",
"content": {
"text": "",
"spans": []
},
"label": "image-full-column",
"data": {
"alt": null,
"credits": null,
"width": 1620,
"height": 1089,
"origin": {
"id": "VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"width": 1620,
"height": 1089
},
"edit": {
"zoom": 1,
"crop": {
"x": 0,
"y": 0
},
"background": "transparent"
},
"url": "https://prismic-io.s3.amazonaws.com/prismicqaprodexp/1c62a90859ec3a9483a1710353326d25accf3ca4_slider-slide-1.png"
}
},
{
"type": "paragraph",
"content": {
"text": "Itaque tum Scaevola cum in eam ipsam mentionem",
"spans": [
{
"type": "label",
"start": 0,
"end": 46,
"data": "image-label"
}
]
}
},
{
"type": "paragraph",
"content": {
"text": "Itaque tum Scaevola cum in eam ipsam mentionem incidisset, exposuit nobis sermonem Laeli de amicitia habitum ab illo secum et cum altero genero, C. Fannio Marci filio, paucis diebus post mortem Africani. Eius disputationis sententias memoriae mandavi, quas hoc libro exposui arbitratu meo; quasi enim ipsos induxi loquentes, ne 'inquam' et 'inquit' saepius interponeretur, atque ut tamquam a praesentibus coram haberi sermo videretur.",
"spans": [
{
"type": "label",
"start": 0,
"end": 434,
"data": "block-quotation"
},
{
"type": "strong",
"start": 145,
"end": 166
}
]
}
},
{
"type": "heading2",
"content": {
"text": "Itaque tum Scaevola",
"spans": []
}
},
{
"type": "paragraph",
"content": {
"text": "Itaque tum Scaevola cum in eam ipsam mentionem incidisset, exposuit nobis sermonem Laeli de amicitia habitum ab illo secum et cum altero genero, C. Fannio Marci filio, paucis diebus post mortem Africani. Eius disputationis sententias memoriae mandavi, quas hoc libro exposui arbitratu meo; quasi enim ipsos induxi loquentes, ne 'inquam' et 'inquit' saepius interponeretur, atque ut tamquam a praesentibus coram haberi sermo videretur.",
"spans": []
}
}
],
"photo": {
"origin": {
"id": "VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"width": 1620,
"height": 1089
},
"alt": null,
"credits": null,
"width": 300,
"height": 300,
"edit": {
"crop": {
"x": -73,
"y": 0
},
"zoom": 0.27548209366391185,
"background": "transparent"
},
"url": "https://prismic-io.s3.amazonaws.com/prismicqaprodexp/6948fa2df50e7742292f37214446c8d67520ad5f_slider-slide-1.png",
"thumbnails": {
"Small": {
"origin": {
"id": "VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"width": 1620,
"height": 1089
},
"alt": null,
"credits": null,
"width": 100,
"height": 100,
"edit": {
"crop": {
"x": -24,
"y": 7
},
"zoom": 0.09182736455463728,
"background": "transparent"
},
"url": "https://prismic-io.s3.amazonaws.com/prismicqaprodexp/58b20ab9f25dbae4cff67470dc034b23e09682be_slider-slide-1.png"
},
"Medium": {
"origin": {
"id": "VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"width": 1620,
"height": 1089
},
"alt": null,
"credits": null,
"width": 200,
"height": 200,
"edit": {
"crop": {
"x": -48,
"y": 1
},
"zoom": 0.18365472910927455,
"background": "transparent"
},
"url": "https://prismic-io.s3.amazonaws.com/prismicqaprodexp/478bc12c951bec691c65d84942c306f159ebe9f1_slider-slide-1.png"
},
"Large": {
"origin": {
"id": "VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"width": 1620,
"height": 1089
},
"alt": null,
"credits": null,
"width": 300,
"height": 300,
"edit": {
"crop": {
"x": -73,
"y": 0
},
"zoom": 0.27548209366391185,
"background": "transparent"
},
"url": "https://prismic-io.s3.amazonaws.com/prismicqaprodexp/6948fa2df50e7742292f37214446c8d67520ad5f_slider-slide-1.png"
}
}
},
"location": {
"position": {
"lat": 48.873698000000005,
"lng": 2.361772199999983
}
},
"embed": {
"width": 459,
"author_name": "rickoshaycomics",
"author_url": "https://www.youtube.com/user/rickoshaycomics",
"thumbnail_width": 480,
"height": 344,
"provider_url": "https://www.youtube.com/",
"type": "video",
"html": "<iframe width=\"459\" height=\"344\" src=\"https://www.youtube.com/embed/kymzTlqi1SY?feature=oembed\" frameborder=\"0\" allowfullscreen></iframe>",
"title": "DONKEY.BAS",
"thumbnail_height": 360,
"version": "1.0",
"provider_name": "YouTube",
"thumbnail_url": "https://i.ytimg.com/vi/kymzTlqi1SY/hqdefault.jpg",
"embed_url": "https://www.youtube.com/watch?v=kymzTlqi1SY"
},
"weblink": {
"url": "http://prismic.io"
},
"documentlink": {
"id": "VdSQZBwAAI4A-rYR",
"mask": "doc",
"wioUrl": "wio://documents/VdSQZBwAAI4A-rYR"
},
"medialink": {
"wioUrl": "wio://medias/VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"kind": "image",
"id": "VTkXKyUAACgArYzN",
"height": "1089",
"width": "1620",
"size": "936387",
"date": "04/23/15 16:00",
"name": "slider-slide-1.png"
},
"link": {
"url": "https://www.youtube.com/watch?v=kymzTlqi1SY"
},
"linksgroup": [
{
"label": "Lorem Ipsum 1",
"link": {
"url": "https://www.youtube.com/watch?v=kymzTlqi1SY"
}
},
{
"label": "Lorem Ipsum 2",
"link": {
"url": "https://www.youtube.com/watch?v=kymzTlqi1SY"
}
}
],
"contentslices": [
{
"key": "alternated-highlights$6e4e1707-949b-4098-83fd-072fa31cf799",
"label": "full",
"value": [
{
"title": [
{
"type": "heading3",
"content": {
"text": "Lorem Ipsum",
"spans": []
}
}
],
"summary": [
{
"type": "paragraph",
"content": {
"text": "Itaque tum Scaevola cum in eam ipsam mentionem incidisset",
"spans": []
}
}
],
"read-more": {
"url": "http://prismic.io"
},
"read-more-label": [
{
"type": "paragraph",
"content": {
"text": "Itaque",
"spans": []
}
}
],
"illustration": {
"origin": {
"id": "VTkXKyUAACgArYzN",
"url": "https://prismic-io.s3.amazonaws.com/blogtemplate%2Fdcc62ea2-0aec-434a-a33b-96670ce1eae8_slider-slide-1.png",
"width": 1620,
"height": 1089
},
"alt": null,
"credits": null,
"width": 1400,
"height": 800,
"edit": {
"zoom": 0.7346189164370982,
"crop": {
"x": 104,
"y": 5
},
"background": "transparent"
},
"thumbnails": {},
"url": "https://prismic-io.s3.amazonaws.com/prismicqaprodexp/a54bf12be96186bf88d6017cec966ea95a3021cc_slider-slide-1.png"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.