{"id":1387,"date":"2018-01-17T07:44:50","date_gmt":"2018-01-17T13:44:50","guid":{"rendered":"https:\/\/www.teamdesk.net\/blog\/?p=1387"},"modified":"2018-01-17T07:45:58","modified_gmt":"2018-01-17T13:45:58","slug":"pattern-validation-formatting-phones","status":"publish","type":"post","link":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/","title":{"rendered":"Pattern validation for text, formatting for phones"},"content":{"rendered":"<p>We are going to replace Match() function in <a href=\"https:\/\/www.teamdesk.net\">TeamDesk<\/a> formulas with pattern validation\u00a0for text and phone columns.<\/p>\n<p><!--more--><b><\/b><i><\/i><u><\/u>Mainly, the reason for the change is performance.\u00a0 Match() is slow, that&#8217;s why its usage is limited to validation rules only. But even with limited use, we have to execute on database side and in worst case it can slow down other data processing requests. But we can not just drop functionality in use without providing you with an alternative.<\/p>\n<p>&nbsp;<\/p>\n<p>These are all bad news for today.<\/p>\n<p>Now, to good news. After analysis of Match() function&#8217;s usage we found out that mostly it is used alone using the scheme:<\/p>\n<p><strong>Filter<\/strong>: not Match([column], &#8220;regular expression&#8221;)<br \/>\n<strong>Location<\/strong>: column<br \/>\n<strong>Message<\/strong>: bad format.<\/p>\n<p>Moreover, in most cases Match() is used to check for simple fixed-length, fixed-format text.<\/p>\n<p>So, as a replacement here comes&#8230;<\/p>\n<h2>Pattern validation for text columns<\/h2>\n<p>Here are new options:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1450 alignnone\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/pattext.png\" alt=\"Pattern validation for text columns\" width=\"710\" height=\"162\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/pattext.png 710w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/pattext-300x68.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/p>\n<p>Instead of relying on non-trivial regular expression language, we now allow simple &#8220;pattern-by-example&#8221;, with only a few characters having special meaning:<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<th>Character<\/th>\n<th>Meaning<\/th>\n<\/tr>\n<tr>\n<td><b>0<\/b> or <b>#<\/b><\/td>\n<td>Any digit: 0 to 9<\/td>\n<\/tr>\n<tr>\n<td><b>A<\/b><\/td>\n<td>Uppercase latin letter: A, B&#8230; to Z<\/td>\n<\/tr>\n<tr>\n<td><b>a<\/b><\/td>\n<td>Lowercase latin letter a, b to z<\/td>\n<\/tr>\n<tr>\n<td><b>Z<\/b> or <b>z<\/b><\/td>\n<td>Any latin letter<\/td>\n<\/tr>\n<tr>\n<td><b>?<\/b><\/td>\n<td>Latin letter or digit<\/td>\n<\/tr>\n<tr>\n<td><b>*<\/b><\/td>\n<td>Any character<\/td>\n<\/tr>\n<tr>\n<td><b>\\<\/b><\/td>\n<td>Suppresses any special meaning of the character that follows, e.g. \\* means &#8220;star&#8221;, not &#8220;any character&#8221;<\/td>\n<\/tr>\n<tr>\n<td>any other<\/td>\n<td>Treated literally<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If user input does not match the pattern, the message specified in Message property is displayed.<\/p>\n<p>Here are couple of samples:<\/p>\n<ul>\n<li>0000 0000 0000 0000 &#8211; credit card number (4 groups by 4 digits)<\/li>\n<li>(000) 000-0000 &#8211; US phone number<\/li>\n<li>000-00-0000 &#8211; SSN<\/li>\n<li>00000 &#8211; Five-digit postal code<\/li>\n<li>A0A 0A0 &#8211; Canadian postal code<\/li>\n<li>?????-?????-?????-?????-????? &#8211; 25 characters product key (5 groups by 5 letters or digits)<\/li>\n<\/ul>\n<p>Also text input was modified to let it handle format on the fly. When focus leaves input field and the input&#8217;s value does not contain invalid characters, we reformat it according to the pattern: remove extra spaces, insert required punctuation, convert lowercase letters to uppercase and vice versa. For example, following Canadian postal code pattern, k1 a0 b1 transforms to K1A 0B1<\/p>\n<p>If simple pattern is not enough you can still use\u00a0regular expressions. Start pattern with <b>regex:<\/b> and put expression afterwards, e.g. <b>regex:\\d{3,5}<\/b> means 3 to 5 digits are allowed.<\/p>\n<h2>New phone column&#8217;s options<\/h2>\n<p>Phone columns are also extended with the same pattern validation options. In addition we&#8217;ve added few more.<\/p>\n<p>Now we allow phone formatting &#8211; using the same Google&#8217;s <a href=\"https:\/\/github.com\/googlei18n\/libphonenumber\">phone formatting library<\/a> that powers Android-based phones.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1388 size-full\" title=\"Phone column options\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/12\/patphone.png\" alt=\"Pattern validation and other phone formatting options\" width=\"712\" height=\"143\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/12\/patphone.png 712w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/12\/patphone-300x60.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td><strong>None<\/strong><\/td>\n<td>turns off validation and formatting.<\/td>\n<\/tr>\n<tr>\n<td><strong>On View<\/strong><\/td>\n<td>keeps user&#8217;s input as-is, formats phone on the fly prior to display.<\/td>\n<\/tr>\n<tr>\n<td><strong>On Edit<\/strong><\/td>\n<td>attempts to validate and format user&#8217;s input prior to saving it to the database.<\/td>\n<\/tr>\n<tr>\n<td nowrap=\"nowrap\"><strong>By Pattern<\/strong><\/td>\n<td>uses &#8220;pattern-by-example&#8221; validation.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Also, in phone formulas <strong>Format Phone<\/strong> option is a checkbox. Formulas either do nothing (Format Phone unchecked) or format phones on the fly (checked).<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are going to replace Match() function in TeamDesk formulas with pattern validation\u00a0for text and phone columns.<\/p>\n","protected":false},"author":4,"featured_media":1452,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whats-new"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pattern validation for text, formatting for phones - TeamDesk Blog<\/title>\n<meta name=\"description\" content=\"We&#039;ve added the ability to validate and format text by pattern for text columns. Phone columns are extended with pattern validation as well as with new formatting options.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pattern validation for text, formatting for phones - TeamDesk Blog\" \/>\n<meta property=\"og:description\" content=\"We&#039;ve added the ability to validate and format text by pattern for text columns. Phone columns are extended with pattern validation as well as with new formatting options.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamDesk Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-17T13:44:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-17T13:45:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/patvalfeatured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Kirill Bondar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirill Bondar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/\"},\"author\":{\"name\":\"Kirill Bondar\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/22c4c05bd657513c8b00122fa364c8d2\"},\"headline\":\"Pattern validation for text, formatting for phones\",\"datePublished\":\"2018-01-17T13:44:50+00:00\",\"dateModified\":\"2018-01-17T13:45:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/\"},\"wordCount\":487,\"commentCount\":3,\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/patvalfeatured.png\",\"articleSection\":[\"What's New\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/\",\"name\":\"Pattern validation for text, formatting for phones - TeamDesk Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/patvalfeatured.png\",\"datePublished\":\"2018-01-17T13:44:50+00:00\",\"dateModified\":\"2018-01-17T13:45:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/22c4c05bd657513c8b00122fa364c8d2\"},\"description\":\"We've added the ability to validate and format text by pattern for text columns. Phone columns are extended with pattern validation as well as with new formatting options.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/patvalfeatured.png\",\"contentUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/patvalfeatured.png\",\"width\":900,\"height\":675,\"caption\":\"Pattern Validation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/pattern-validation-formatting-phones\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pattern validation for text, formatting for phones\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\",\"name\":\"TeamDesk Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/22c4c05bd657513c8b00122fa364c8d2\",\"name\":\"Kirill Bondar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g\",\"caption\":\"Kirill Bondar\"},\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/author\\\/kirill-bondar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pattern validation for text, formatting for phones - TeamDesk Blog","description":"We've added the ability to validate and format text by pattern for text columns. Phone columns are extended with pattern validation as well as with new formatting options.","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:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/","og_locale":"en_US","og_type":"article","og_title":"Pattern validation for text, formatting for phones - TeamDesk Blog","og_description":"We've added the ability to validate and format text by pattern for text columns. Phone columns are extended with pattern validation as well as with new formatting options.","og_url":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/","og_site_name":"TeamDesk Blog","article_published_time":"2018-01-17T13:44:50+00:00","article_modified_time":"2018-01-17T13:45:58+00:00","og_image":[{"width":900,"height":675,"url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/patvalfeatured.png","type":"image\/png"}],"author":"Kirill Bondar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirill Bondar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#article","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/"},"author":{"name":"Kirill Bondar","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/22c4c05bd657513c8b00122fa364c8d2"},"headline":"Pattern validation for text, formatting for phones","datePublished":"2018-01-17T13:44:50+00:00","dateModified":"2018-01-17T13:45:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/"},"wordCount":487,"commentCount":3,"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/patvalfeatured.png","articleSection":["What's New"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/","url":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/","name":"Pattern validation for text, formatting for phones - TeamDesk Blog","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#primaryimage"},"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/patvalfeatured.png","datePublished":"2018-01-17T13:44:50+00:00","dateModified":"2018-01-17T13:45:58+00:00","author":{"@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/22c4c05bd657513c8b00122fa364c8d2"},"description":"We've added the ability to validate and format text by pattern for text columns. Phone columns are extended with pattern validation as well as with new formatting options.","breadcrumb":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#primaryimage","url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/patvalfeatured.png","contentUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/01\/patvalfeatured.png","width":900,"height":675,"caption":"Pattern Validation"},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/pattern-validation-formatting-phones\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamdesk.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Pattern validation for text, formatting for phones"}]},{"@type":"WebSite","@id":"https:\/\/www.teamdesk.net\/blog\/#website","url":"https:\/\/www.teamdesk.net\/blog\/","name":"TeamDesk Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamdesk.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/22c4c05bd657513c8b00122fa364c8d2","name":"Kirill Bondar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g","caption":"Kirill Bondar"},"url":"https:\/\/www.teamdesk.net\/blog\/author\/kirill-bondar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/comments?post=1387"}],"version-history":[{"count":19,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1387\/revisions"}],"predecessor-version":[{"id":1454,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1387\/revisions\/1454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media\/1452"}],"wp:attachment":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media?parent=1387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/categories?post=1387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/tags?post=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}