{"id":4980,"date":"2025-06-18T14:45:23","date_gmt":"2025-06-18T12:45:23","guid":{"rendered":"https:\/\/kairntech.com\/doc\/?p=4980"},"modified":"2025-06-19T09:20:30","modified_gmt":"2025-06-19T07:20:30","slug":"how-to-prepare-a-well-formed-json-file-for-import","status":"publish","type":"post","link":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/","title":{"rendered":"How to prepare a well-formed json file for import?"},"content":{"rendered":"\n<p>Besides content formats such as office file formats (Word, Powerpoint, &#8230;), PDF, TXT and HTML documents, the Kairntech software offers another important input format: This Json format has the advantages that the user can combine the text content with rich metadata. <\/p>\n\n\n\n<p>Users can get a sample for an appropriately formatted json file when assessing the web interface: On top of the page when you are inside a project, the see three &#8220;three horizontal bars&#8221; menu: Clicking it gives you access to the &#8220;Import documents&#8221; menu item that among other formats also allows to specify one or several json files. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"626\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-1024x626.png\" alt=\"\" class=\"wp-image-4981\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-1024x626.png 1024w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-300x183.png 300w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-768x469.png 768w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png 1065w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Since there are arbitrary many different ways a json file may look like, the import window allows you to download a sample json file that you can study to prepare your own content accordingly. Let&#8217;s take a look at this json content. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;\n  {\n    \"title\": \"Naomi Scott\",\n    \"metadata\": {\n      \"set\": \"Biography\",\n      \"activity\": &#91;\n        \"Actress\",\n        \"Soundtrack\"\n      ]\n    },\n    \"text\": \"Naomi Scott is a multi-talented actor, singer and songwriter. She can next be seen starring as \\\"Jasmine\\\" in Disney's live-action remake of \\\"Aladdin,\\\" alongside Will Smith, directed by Guy Ritchie. Disney will release the film in May 2019.\\nNaomi was born in London\n...<\/code><\/pre>\n\n\n\n<p>From the little sample above we see a number of properties of a Kairntech json import file: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the json document is a list (starting with &#8220;[&#8220;) of documents<\/li>\n\n\n\n<li>each document should have a title and a text element<\/li>\n\n\n\n<li>a metadata element can have arbitrary key &#8211; value pairs that specify this document&#8217;s metadata<\/li>\n<\/ul>\n\n\n\n<p>If you want to import file formats such as Word, PDF, &#8230; and you need to accompany them with your preferred metadata, the recommendation is to prepare the content in the json format above. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Besides content formats such as office file formats (Word, Powerpoint, &#8230;), PDF, TXT and HTML documents, the Kairntech software offers another important input format: This Json format has the advantages that the user can combine the text content with rich metadata. Users can get a sample for an appropriately formatted json file when assessing the [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-4980","post","type-post","status-publish","format-standard","hentry","category-advanced-topics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to prepare a well-formed json file for import? - Kairntech Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to prepare a well-formed json file for import? - Kairntech Documentation\" \/>\n<meta property=\"og:description\" content=\"Besides content formats such as office file formats (Word, Powerpoint, &#8230;), PDF, TXT and HTML documents, the Kairntech software offers another important input format: This Json format has the advantages that the user can combine the text content with rich metadata. Users can get a sample for an appropriately formatted json file when assessing the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\" \/>\n<meta property=\"og:site_name\" content=\"Kairntech Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-18T12:45:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-19T07:20:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1065\" \/>\n\t<meta property=\"og:image:height\" content=\"651\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"stefangeissler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"stefangeissler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\"},\"author\":{\"name\":\"stefangeissler\",\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/32910a5eabbacaf6d1b18541dfb7afa6\"},\"headline\":\"How to prepare a well-formed json file for import?\",\"datePublished\":\"2025-06-18T12:45:23+00:00\",\"dateModified\":\"2025-06-19T07:20:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\"},\"wordCount\":236,\"image\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-1024x626.png\",\"articleSection\":[\"Advanced Topics\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\",\"url\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\",\"name\":\"How to prepare a well-formed json file for import? - Kairntech Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/kairntech.com\/doc\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-1024x626.png\",\"datePublished\":\"2025-06-18T12:45:23+00:00\",\"dateModified\":\"2025-06-19T07:20:30+00:00\",\"author\":{\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/32910a5eabbacaf6d1b18541dfb7afa6\"},\"breadcrumb\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage\",\"url\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png\",\"contentUrl\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png\",\"width\":1065,\"height\":651},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kairntech.com\/doc\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to prepare a well-formed json file for import?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kairntech.com\/doc\/#website\",\"url\":\"https:\/\/kairntech.com\/doc\/\",\"name\":\"Kairntech Documentation\",\"description\":\"All the information you need to use Kairntech Software, methodology,  user and installation guides.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kairntech.com\/doc\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/32910a5eabbacaf6d1b18541dfb7afa6\",\"name\":\"stefangeissler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5b8f71cc6ab168d6331b0403e2d16624626c1f33c0c8147099a094efc80dd4e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5b8f71cc6ab168d6331b0403e2d16624626c1f33c0c8147099a094efc80dd4e?s=96&d=mm&r=g\",\"caption\":\"stefangeissler\"},\"url\":\"https:\/\/kairntech.com\/doc\/author\/stefangeissler\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to prepare a well-formed json file for import? - Kairntech Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/","og_locale":"en_GB","og_type":"article","og_title":"How to prepare a well-formed json file for import? - Kairntech Documentation","og_description":"Besides content formats such as office file formats (Word, Powerpoint, &#8230;), PDF, TXT and HTML documents, the Kairntech software offers another important input format: This Json format has the advantages that the user can combine the text content with rich metadata. Users can get a sample for an appropriately formatted json file when assessing the [&hellip;]","og_url":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/","og_site_name":"Kairntech Documentation","article_published_time":"2025-06-18T12:45:23+00:00","article_modified_time":"2025-06-19T07:20:30+00:00","og_image":[{"width":1065,"height":651,"url":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png","type":"image\/png"}],"author":"stefangeissler","twitter_card":"summary_large_image","twitter_misc":{"Written by":"stefangeissler","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#article","isPartOf":{"@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/"},"author":{"name":"stefangeissler","@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/32910a5eabbacaf6d1b18541dfb7afa6"},"headline":"How to prepare a well-formed json file for import?","datePublished":"2025-06-18T12:45:23+00:00","dateModified":"2025-06-19T07:20:30+00:00","mainEntityOfPage":{"@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/"},"wordCount":236,"image":{"@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage"},"thumbnailUrl":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-1024x626.png","articleSection":["Advanced Topics"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/","url":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/","name":"How to prepare a well-formed json file for import? - Kairntech Documentation","isPartOf":{"@id":"https:\/\/kairntech.com\/doc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage"},"image":{"@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage"},"thumbnailUrl":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358-1024x626.png","datePublished":"2025-06-18T12:45:23+00:00","dateModified":"2025-06-19T07:20:30+00:00","author":{"@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/32910a5eabbacaf6d1b18541dfb7afa6"},"breadcrumb":{"@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#primaryimage","url":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png","contentUrl":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/06\/ScreenHunter-3358.png","width":1065,"height":651},{"@type":"BreadcrumbList","@id":"https:\/\/kairntech.com\/doc\/how-to-prepare-a-well-formed-json-file-for-import\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kairntech.com\/doc\/"},{"@type":"ListItem","position":2,"name":"How to prepare a well-formed json file for import?"}]},{"@type":"WebSite","@id":"https:\/\/kairntech.com\/doc\/#website","url":"https:\/\/kairntech.com\/doc\/","name":"Kairntech Documentation","description":"All the information you need to use Kairntech Software, methodology,  user and installation guides.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kairntech.com\/doc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/32910a5eabbacaf6d1b18541dfb7afa6","name":"stefangeissler","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d5b8f71cc6ab168d6331b0403e2d16624626c1f33c0c8147099a094efc80dd4e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5b8f71cc6ab168d6331b0403e2d16624626c1f33c0c8147099a094efc80dd4e?s=96&d=mm&r=g","caption":"stefangeissler"},"url":"https:\/\/kairntech.com\/doc\/author\/stefangeissler\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts\/4980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/comments?post=4980"}],"version-history":[{"count":4,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts\/4980\/revisions"}],"predecessor-version":[{"id":4988,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts\/4980\/revisions\/4988"}],"wp:attachment":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/media?parent=4980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/categories?post=4980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/tags?post=4980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}