{"id":3099,"date":"2020-04-15T17:38:37","date_gmt":"2020-04-15T08:38:37","guid":{"rendered":"https:\/\/mindstorms.tokyo\/?page_id=3099"},"modified":"2020-04-15T17:42:15","modified_gmt":"2020-04-15T08:42:15","slug":"switch","status":"publish","type":"page","link":"https:\/\/mindstorms.tokyo\/en\/flow\/switch\/","title":{"rendered":"Switch Block\u3010How to use MINDSTORMS\u3011"},"content":{"rendered":"\n<a href=\"https:\/\/amzn.to\/3aRNDiS\" target=\"_blank\" rel=\"noopener noreferrer\">\n<img src=\"https:\/\/m.media-amazon.com\/images\/S\/abs-image-upload-na\/e\/AmazonStores\/ATVPDKIKX0DER\/0b0d850b84aa310ad38fa5c65f7a7337.w3000.h600._CR0%2C0%2C3000%2C600_SX1920_.jpg\" alt=\"LEGO\u30c6\u30af\u30cb\u30c3\u30af\" title=\"LEGO\u30c6\u30af\u30cb\u30c3\u30af\" border=\"0\">\n<\/a>\n\n\n\n<h2 style=\"text-align:center\" class=\"h2\">LEGO \u3010MINDSTORMS\u3011EV3<\/h2>\n\n\n\n<h1>Switch Block<\/h1>\n\n\n\n<h4 style=\"text-align:left\" id=\"area1\" class=\"h4\">Switch Block\u3000- Overview -\u3000<\/h4>\n<br>\n<center>\n\n<div class=\"box1\">\n <div class=\"sel1\">\n  <select name=\"channel\" onchange=\"imgChange(this)\">\n   <option value=\"15\" hidden=\"\">Select the mode<\/option>\n   <option value=\"15\">Overview<\/option>\n   <option value=\"0\">Brick Buttons<\/option>\n   <option value=\"1\">Color Sensor<\/option>\n   <option value=\"2\">Gyro Sensor<\/option>\n   <option value=\"3\">Infrared Sensor<\/option>\n   <option value=\"4\">Motor Rotation<\/option>\n   <option value=\"5\">Temperature Sensor<\/option>\n   <option value=\"6\">Timer<\/option>\n   <option value=\"7\">Touch Sensor<\/option>\n   <option value=\"8\">Ultrasonic Sensor<\/option>\n   <option value=\"9\">Energy Meters<\/option>\n   <option value=\"10\">NXT Sound Sensor<\/option>\n   <option value=\"11\">Messaging<\/option>\n   <option value=\"12\">Text<\/option>\n   <option value=\"13\">Logic<\/option>\n   <option value=\"14\">Numeric<\/option>\n  <\/select>\n <\/div>\n\n  <img src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_thumbnail_EN-e1586882075477.png\" name=\"imgsmp\">\n\n<br><br>\n\n\n\n<div>\n<div class=\"ad_pc\">\n<iframe src=\"\/\/rcm-na.amazon-adsystem.com\/e\/cm?o=1&amp;p=26&amp;l=ur1&amp;category=amazonhomepage&amp;f=ifr&amp;linkID=da254e3c8b5ee3714127a5aa4677ef37&amp;t=hitorigotokun-20&amp;tracking_id=hitorigotokun-20\" width=\"468\" height=\"60\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"><\/iframe>\n<\/div>\n\n<div class=\"ad_sp\">\n<iframe src=\"\/\/rcm-na.amazon-adsystem.com\/e\/cm?o=1&amp;p=42&amp;l=ur1&amp;category=amazonhomepage&amp;f=ifr&amp;linkID=aaf6b36c0aa3345cae58c3e7f77b3541&amp;t=hitorigotokun-20&amp;tracking_id=hitorigotokun-20\" width=\"234\" height=\"60\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"><\/iframe>\n<\/div>\n<\/div>\n\n\n\n<div>\n<\/center>\n<br>\n\n<div class=\"box2\">\n <div id=\"area2\">The Switch block is a container that can contain two or more sequences of programming blocks. Each sequence is called a Case.<\/div>\n <div id=\"area3\">A test at the beginning of the Switch determines which Case will run. Only one Case will run each time the Switch is executed.<\/div>\n <div id=\"area4\">\u3000<\/div>\n <div id=\"area5\">The Switch test shown here can decide which Case to run based on a sensor data value or a value from a Data Wire.<\/div>\n <div id=\"area6\">After one Case is selected and run, the program continues with any blocks after the Switch.<\/div>\n <div id=\"area7\">\u3000<\/div>\n <div id=\"area8\">\uff0aA Switch does not wait for a sensor data value or data wire to reach a certain value. The test is run as soon as the Switch block starts, and one of the Cases is chosen and run immediately after the test.<\/div>\n<\/div>\n\n<script language=\"JavaScript\">\n<!--\n\nimg0=new Image()\nimg0.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_0.png\"\nimg1=new Image()\nimg1.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_1.png\"\nimg2=new Image()\nimg2.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_2.png\"\nimg3=new Image()\nimg3.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_3.png\"\nimg4=new Image()\nimg4.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_4.png\"\nimg5=new Image()\nimg5.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_5.png\"\nimg6=new Image()\nimg6.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_6.png\"\nimg7=new Image()\nimg7.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_7.png\"\nimg8=new Image()\nimg8.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_8.png\"\nimg9=new Image()\nimg9.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_9.png\"\nimg10=new Image()\nimg10.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_10.png\"\nimg11=new Image()\nimg11.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_11.png\"\nimg12=new Image()\nimg12.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_12.png\"\nimg13=new Image()\nimg13.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_13.png\"\nimg14=new Image()\nimg14.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_14.png\"\nimg15=new Image()\nimg15.src=\"https:\/\/mindstorms.tokyo\/wp-content\/uploads\/switch_thumbnail_EN-e1586882075477.png\"\n\nfunction imgChange(parts){\nfname=parts.options[parts.selectedIndex].value;\n\n if(fname==0){\n  document.imgsmp.src=img0.src;\n  document.getElementById(\"area1\").innerText = \"Brick Buttons\";\n  document.getElementById(\"area2\").innerText = \"<Measure>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two or more Cases depending on which Brick Button is pressed.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"<Compare>\";\n  document.getElementById(\"area6\").innerText = \"Choose between two Cases depending on whether one of the selected Brick Buttons is Pressed, Released, or Bumped.\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==1){\n  document.imgsmp.src=img1.src;\n  document.getElementById(\"area1\").innerText = \"Color Sensor\";\n  document.getElementById(\"area2\").innerText = \"<Measure>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two or more Cases depending on which color is detected.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"<Compare>\";\n  document.getElementById(\"area6\").innerText = \"Choose between two Cases depending on whether or not one of the selected colors is detected.\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n    \n if(fname==2){\n  document.imgsmp.src=img2.src;\n  document.getElementById(\"area1\").innerText = \"Gyro Sensor\";\n  document.getElementById(\"area2\").innerText = \"<Compare>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two sequences of blocks based on the rotation angle or rate.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==3){\n  document.imgsmp.src=img3.src;\n  document.getElementById(\"area1\").innerText = \"Infrared Sensor\";\n  document.getElementById(\"area2\").innerText = \"<Measure>\";\n  document.getElementById(\"area3\").innerText = \"Choose from two or more Cases depending on which button(s) are pressed on the IR Beacon.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"<Compare>\";\n  document.getElementById(\"area6\").innerText = \"Choose between two Cases depending on whether a specified button on the IR Beacon is pressed (or whether one of a set of specified buttons is pressed).\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==4){\n  document.imgsmp.src=img4.src;\n  document.getElementById(\"area1\").innerText = \"Motor Rotation\";\n  document.getElementById(\"area2\").innerText = \"<Compare>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two sequences of blocks based on a rotation sensor (Degrees, Rotations, or Current Power).\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n    \n if(fname==5){\n  document.imgsmp.src=img5.src;\n  document.getElementById(\"area1\").innerText = \"Temperature sensor\";\n  document.getElementById(\"area2\").innerText = \"<Compare>\";\n  document.getElementById(\"area3\").innerText = \"Choose from a sequence of two blocks depending on the temperature.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==6){\n  document.imgsmp.src=img6.src;\n  document.getElementById(\"area1\").innerText = \"Timer\";\n  document.getElementById(\"area2\").innerText = \"<Compare - Time>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two sequences of blocks based on a timer.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==7){\n  document.imgsmp.src=img7.src;\n  document.getElementById(\"area1\").innerText = \"Touch Sensor\";\n  document.getElementById(\"area2\").innerText = \"<Compare - State>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two sequences of blocks depending on whether the Touch Sensor is Pressed or not, Released or not, or Bumped or not.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n    \n if(fname==8){\n  document.imgsmp.src=img8.src;\n  document.getElementById(\"area1\").innerText = \"Ultrasonic Sensor\";\n  document.getElementById(\"area2\").innerText = \"<Compare - Distance>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two sequences of blocks based on the distance.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"<Compare - Presence\/Listen>\";\n  document.getElementById(\"area6\").innerText = \"Choose between two sequences of blocks based on whether an ultrasonic signal is detected in \u201clisten only\u201d mode.\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n    \n if(fname==9){\n  document.imgsmp.src=img9.src;\n  document.getElementById(\"area1\").innerText = \"Energy Meters\";\n  document.getElementById(\"area2\").innerText = \"<Compare>\";\n  document.getElementById(\"area3\").innerText = \"Select from a sequence of two blocks, depending on the data value.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n    \n if(fname==10){\n  document.imgsmp.src=img10.src;\n  document.getElementById(\"area1\").innerText = \"NXT Sound Sensor\";\n  document.getElementById(\"area2\").innerText = \"<Compare>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two sequences of blocks based on the sound level.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==11){\n  document.imgsmp.src=img11.src;\n  document.getElementById(\"area1\").innerText = \"Messaging\";\n  document.getElementById(\"area2\").innerText = \"<Compare>\";\n  document.getElementById(\"area3\").innerText = \"Choose between two Cases based on a message value.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==12){\n  document.imgsmp.src=img12.src;\n  document.getElementById(\"area1\").innerText = \"Text\";\n  document.getElementById(\"area2\").innerText = \"In the Text mode, the Switch compares the value of the Text input to two or more Text values that you specify, with a Case for each value.\";\n  document.getElementById(\"area3\").innerText = \"The Case that has a value that matches the Text input will execute. If no values match, the Default Case will execute.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"Each Case in Text mode will have a Text value that you can type directly into its Case Value.\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==13){\n  document.imgsmp.src=img13.src;\n  document.getElementById(\"area1\").innerText = \"Logic\";\n  document.getElementById(\"area2\").innerText = \"In the Logic mode, a Switch chooses between a True Case and a False Case based on the value of the Logic input.\";\n  document.getElementById(\"area3\").innerText = \"You could connect a Logic output from any programming block to the Logic input using a Data Wire.\";\n  document.getElementById(\"area4\").innerText = \"\";\n  document.getElementById(\"area5\").innerText = \"\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==14){\n  document.imgsmp.src=img14.src;\n  document.getElementById(\"area1\").innerText = \"Numeric\";\n  document.getElementById(\"area2\").innerText = \"In the Numeric mode, the Switch compares the value of the Number input to two or more Numeric values that you specify, with a Case for each value.\";\n  document.getElementById(\"area3\").innerText = \"The Case that has a value that matches the Number input will execute. If no values match, the Default Case will execute.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"Each Case in Numeric mode will have a Numeric value that you can enter directly into its Case Value.\";\n  document.getElementById(\"area6\").innerText = \"\";\n  document.getElementById(\"area7\").innerText = \"\";\n  document.getElementById(\"area8\").innerText = \"\";\n }\n\n if(fname==15){\n  document.imgsmp.src=img15.src;\n  document.getElementById(\"area1\").innerText = \"Overview\";\n  document.getElementById(\"area2\").innerText = \"The Switch block is a container that can contain two or more sequences of programming blocks. Each sequence is called a Case.\";\n  document.getElementById(\"area3\").innerText = \"A test at the beginning of the Switch determines which Case will run. Only one Case will run each time the Switch is executed.\";\n  document.getElementById(\"area4\").innerText = \"\u3000\";\n  document.getElementById(\"area5\").innerText = \"The Switch test shown here can decide which Case to run based on a sensor data value or a value from a Data Wire.\";\n  document.getElementById(\"area6\").innerText = \"After one Case is selected and run, the program continues with any blocks after the Switch.\";\n  document.getElementById(\"area7\").innerText = \"\u3000\";\n  document.getElementById(\"area8\").innerText = \"\uff0aA Switch does not wait for a sensor data value or data wire to reach a certain value. The test is run as soon as the Switch block starts, and one of the Cases is chosen and run immediately after the test.\";\n }\n\n\n}\n\n\/\/ -->\n<\/script>\n<div class=\"veu_socialSet veu_socialSet-position-after veu_contentAddSection\"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src=\"https:\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,\"script\",\"twitter-wjs\"));<\/script><ul><li class=\"sb_facebook sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/www.facebook.com\/sharer.php?src=bm&u=https%3A%2F%2Fmindstorms.tokyo%2Fen%2Fflow%2Fswitch%2F&amp;t=LEGO%20EV3%20MINDSTORMS%20by%20%E7%8B%AC%E3%82%8A%E8%A8%80%E3%81%8F%E3%82%93\" target=\"_blank\" onclick=\"window.open(this.href,'FBwindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_fb icon_sns\"><\/span><span class=\"sns_txt\">Facebook<\/span><span class=\"veu_count_sns_fb\"><\/span><\/a><\/li><li class=\"sb_twitter sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fmindstorms.tokyo%2Fen%2Fflow%2Fswitch%2F&amp;text=LEGO%20EV3%20MINDSTORMS%20by%20%E7%8B%AC%E3%82%8A%E8%A8%80%E3%81%8F%E3%82%93\" target=\"_blank\" ><span class=\"vk_icon_w_r_sns_twitter icon_sns\"><\/span><span class=\"sns_txt\">twitter<\/span><\/a><\/li><li class=\"sb_hatena sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/b.hatena.ne.jp\/add?mode=confirm&url=https%3A%2F%2Fmindstorms.tokyo%2Fen%2Fflow%2Fswitch%2F&amp;title=LEGO%20EV3%20MINDSTORMS%20by%20%E7%8B%AC%E3%82%8A%E8%A8%80%E3%81%8F%E3%82%93\" target=\"_blank\"  onclick=\"window.open(this.href,'Hatenawindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_hatena icon_sns\"><\/span><span class=\"sns_txt\">Hatena<\/span><span class=\"veu_count_sns_hb\"><\/span><\/a><\/li><li class=\"sb_pocket sb_icon\"><a class=\"sb_icon_inner\"  href=\"\/\/getpocket.com\/edit?url=https%3A%2F%2Fmindstorms.tokyo%2Fen%2Fflow%2Fswitch%2F&title=LEGO%20EV3%20MINDSTORMS%20by%20%E7%8B%AC%E3%82%8A%E8%A8%80%E3%81%8F%E3%82%93\" target=\"_blank\"  onclick=\"window.open(this.href,'Pokcetwindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_pocket icon_sns\"><\/span><span class=\"sns_txt\">Pocket<\/span><span class=\"veu_count_sns_pocket\"><\/span><\/a><\/li><li class=\"sb_copy sb_icon\"><button class=\"copy-button sb_icon_inner\"data-clipboard-text=\"LEGO EV3 MINDSTORMS by \u72ec\u308a\u8a00\u304f\u3093 https:\/\/mindstorms.tokyo\/en\/flow\/switch\/\"><span class=\"vk_icon_w_r_sns_copy icon_sns\"><i class=\"fas fa-copy\"><\/i><\/span><span class=\"sns_txt\">Copy<\/span><\/button><\/li><\/ul><\/div><!-- [ \/.socialSet ] -->","protected":false},"excerpt":{"rendered":"<p>MINDSTORMS &#8220;Switch Block&#8221; Explanation<\/p>\n","protected":false},"author":1,"featured_media":2416,"parent":3042,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_locale":"en_US","_original_post":"http:\/\/talk-to-myself.com\/?page_id=877","vkexunit_cta_each_option":""},"_links":{"self":[{"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/pages\/3099"}],"collection":[{"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/comments?post=3099"}],"version-history":[{"count":3,"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/pages\/3099\/revisions"}],"predecessor-version":[{"id":3122,"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/pages\/3099\/revisions\/3122"}],"up":[{"embeddable":true,"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/pages\/3042"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/media\/2416"}],"wp:attachment":[{"href":"https:\/\/mindstorms.tokyo\/wp-json\/wp\/v2\/media?parent=3099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}