{"id":19262,"date":"2022-01-04T05:34:50","date_gmt":"2022-01-03T22:34:50","guid":{"rendered":"https:\/\/huongdanjava.com\/?p=19262"},"modified":"2022-01-04T05:34:50","modified_gmt":"2022-01-03T22:34:50","slug":"data-types-in-raml","status":"publish","type":"post","link":"https:\/\/huongdanjava.com\/data-types-in-raml.html","title":{"rendered":"Data types in RAML"},"content":{"rendered":"<p>When declaring request parameters, path parameters, request body, response body, &#8230; in RAML, we need to declare the data type of these information. RAML defines many different data types that help us to meet our needs. In this tutorial, we will learn about data types in RAML!<\/p>\n<p>First, look at the image below, in general, RAML defines the hierarchical data types as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19071 aligncenter\" src=\"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml-data-types.png\" alt=\"\" width=\"700\" height=\"215\" \/><\/p>\n<p>As you can see, at the top of the diagram above, we have a data type of any. Information defined with type any will have no restrictions at all, you can define numbers, letters, objects, whatever data types you want.<\/p>\n<p>Underneath any data type, we have more detailed, specific data types that are more restrictive if the information is defined by these data types. As you can see, we have scalar types, array, object, union, XSD schema and even JSON schema.<\/p>\n<h3>Scalar types<\/h3>\n<p><strong>In short, scalar types are simple data types that are not defined from other data types<\/strong>, such as boolean, string, null, file,&#8230; Values \u200b\u200bof information are defined with scalars types are single, boolean has only true, false; string then the values \u200b\u200bare just strings&#8230;<\/p>\n<h4>Date-only<\/h4>\n<p>We only declare the date and year for this data type and follow the format defined by the Internet standard for time <a href=\"https:\/\/xml2rfc.tools.ietf.org\/public\/rfc\/html\/rfc3339.html#anchor14\" target=\"_blank\" rel=\"noopener\">RFC 3339<\/a>.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  birthday:\r\n    type: date-only\r\n    example: 1987-06-24<\/pre>\n<h4>Time-only<\/h4>\n<p>In contrast to date-only, this data type only allows us to define hours, minutes, seconds, it does not support days, months, and years with timezone and it also follows <a href=\"https:\/\/xml2rfc.tools.ietf.org\/public\/rfc\/html\/rfc3339.html#anchor14\" target=\"_blank\" rel=\"noopener\">RFC 3339<\/a> format!<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  lunchtime:\r\n    type: time-only\r\n    example: 12:30:00<\/pre>\n<h4>Datetime<\/h4>\n<p>There are 2 supported formats for datetime data type, <a href=\"https:\/\/xml2rfc.tools.ietf.org\/public\/rfc\/html\/rfc3339.html#anchor14\" target=\"_blank\" rel=\"noopener\">RFC 3339<\/a> and <a href=\"https:\/\/www.ietf.org\/rfc\/rfc2616.txt\" target=\"_blank\" rel=\"noopener\">RFC 2616<\/a>. By default, if we don&#8217;t tell the format, the format used will be RFC 3339.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  created:\r\n    type: datetime\r\n    example: 2021-11-30T16:41:41.090Z<\/pre>\n<h4>Datetime-only<\/h4>\n<p>Many of you may wonder if there is a datetime data type, what does the datetime-only data type mean? Actually, datetime-only is a combination of date-only and time-only guys, they are separated by the letter &#8220;T&#8221; and this data type does not support timezone!<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  pickup:\r\n    type: datetime-only\r\n    example: 2021-10-04T21:00:00<\/pre>\n<h4>Number<\/h4>\n<p>Number is a data type common to all data types related to numbers. It allows us to define the minimum value, the maximum value, what the format is: int, int8, int16, int32, int64, long, float, double.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  weight:\r\n    type: number\r\n    minimum: -1.1\r\n    maximum: 20.9\r\n    format: float<\/pre>\n<h4>Integer<\/h4>\n<p>This is a data type that inherits the number data type with an integer value.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  age:\r\n    type: integer\r\n    minimum: -3\r\n    maximum: 5\r\n    format: int8<\/pre>\n<h4>Boolean<\/h4>\n<p>The value of the data type is just true or false, representing correctness.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  isMarried:\r\n    type: boolean<\/pre>\n<h4>String<\/h4>\n<p>We can define String according to the pattern with minLength and maxLength, for example like this:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  name:\r\n    type: string\r\n    pattern: ^.+@.+\\..+$\r\n    minLength: 10\r\n    maxLength: 50<\/pre>\n<h4>Null<\/h4>\n<p>This is the data type that allows the field to be undefined.<\/p>\n<p>For example, if you define a Student object with a field name that cannot be null as follows:<\/p>\n<pre class=\"lang:yaml decode:true\">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name: string\r\n      comment: string<\/pre>\n<p>then you cannot define example as follows:<\/p>\n<pre class=\"lang:yaml mark:9 decode:true\">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name: string\r\n      comment: string\r\n    example:\r\n      name: Khanh\r\n      comment:<\/pre>\n<p>We can define the Student object as follows:<\/p>\n<pre class=\"lang:yaml mark:6 decode:true\">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name:\r\n      comment: nil | string<\/pre>\n<p>then we can define example as follows:<\/p>\n<pre class=\"lang:yaml mark:9 decode:true\">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name:\r\n      comment: nil | string\r\n    example:\r\n      name: Khanh\r\n      comment:<\/pre>\n<h4>File<\/h4>\n<p>This data type is for the management of file-related information. We can specify the file format, minLength and maxLength size in bytes for this data type.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true\">types:\r\n  avatar:\r\n    type: file\r\n    fileTypes: ['image\/jpeg', 'image\/png']\r\n    maxLength: 307200<\/pre>\n<h3>Array<\/h3>\n<p><strong>The array data type helps us define an array of data<\/strong>, which can be a string array, a number array or even an array of objects, just like in Java!<\/p>\n<p>You need to specify which data type the item in the array is, whether it needs to be unique or not, and you can also specify the limit on the number of items in the array by minItems and maxItems.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name: string\r\n\r\n  Students:\r\n    type: Student[]\r\n    minItems: 1\r\n    uniqueItems: true\r\n    example:\r\n      - \r\n        name: Khanh\r\n      - \r\n        name: Phuc<\/pre>\n<h3>Object<\/h3>\n<p>Object helps us define information about the object, with many properties belonging to this object. In the above examples, I have defined the object data type for Student.<\/p>\n<p>Eg:<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name: string<\/pre>\n<h3>Union<\/h3>\n<p>Union is a data type that allows us to define values using many different data types.<\/p>\n<p>For example, the properties name in the following Student object can be null or string.<\/p>\n<pre class=\"lang:yaml decode:true \">types:\r\n  Student:\r\n    type: object\r\n    properties:\r\n      name: nil | string<\/pre>\n<h3>XSD and JSON schema<\/h3>\n<p>XSD and JSON schema help us define data types using XML and JSON schema.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;19262&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;Data types in RAML&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\"><\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>When declaring request parameters, path parameters, request body, response body, &#8230; in RAML, we need to declare the data type of these information. RAML defines many different data types that help us to meet our needs. In this tutorial, we will learn about data types&hellip; <a href=\"https:\/\/huongdanjava.com\/data-types-in-raml.html\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":19026,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2152],"tags":[],"class_list":["post-19262","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raml-en","clearfix"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Data types in RAML - Huong Dan Java<\/title>\n<meta name=\"description\" content=\"In this tutorial, I introduce with you all about data types in RAML.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/huongdanjava.com\/data-types-in-raml.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data types in RAML - Huong Dan Java\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, I introduce with you all about data types in RAML.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/huongdanjava.com\/data-types-in-raml.html\" \/>\n<meta property=\"og:site_name\" content=\"Huong Dan Java\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/nhkhanh2406\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/nhkhanh2406\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-03T22:34:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"638\" \/>\n\t<meta property=\"og:image:height\" content=\"479\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Khanh Nguyen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/KhanhNguyenJ\" \/>\n<meta name=\"twitter:site\" content=\"@KhanhNguyenJ\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Khanh Nguyen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html\"},\"author\":{\"name\":\"Khanh Nguyen\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/#\\\/schema\\\/person\\\/dc859d7f8cbea3b593e6738de9cbb82d\"},\"headline\":\"Data types in RAML\",\"datePublished\":\"2022-01-03T22:34:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html\"},\"wordCount\":644,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/#\\\/schema\\\/person\\\/dc859d7f8cbea3b593e6738de9cbb82d\"},\"image\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/raml.jpeg\",\"articleSection\":[\"RAML\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html\",\"url\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html\",\"name\":\"Data types in RAML - Huong Dan Java\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/raml.jpeg\",\"datePublished\":\"2022-01-03T22:34:50+00:00\",\"description\":\"In this tutorial, I introduce with you all about data types in RAML.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#primaryimage\",\"url\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/raml.jpeg\",\"contentUrl\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/raml.jpeg\",\"width\":638,\"height\":479},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/data-types-in-raml.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/huongdanjava.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data types in RAML\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/#website\",\"url\":\"https:\\\/\\\/huongdanjava.com\\\/\",\"name\":\"Huong Dan Java\",\"description\":\"Java development tutorials\",\"publisher\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/#\\\/schema\\\/person\\\/dc859d7f8cbea3b593e6738de9cbb82d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/huongdanjava.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/#\\\/schema\\\/person\\\/dc859d7f8cbea3b593e6738de9cbb82d\",\"name\":\"Khanh Nguyen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg\",\"url\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg\",\"contentUrl\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg\",\"width\":1267,\"height\":1517,\"caption\":\"Khanh Nguyen\"},\"logo\":{\"@id\":\"https:\\\/\\\/huongdanjava.com\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg\"},\"description\":\"I love Java and everything related to Java.\",\"sameAs\":[\"https:\\\/\\\/huongdanjava.com\",\"https:\\\/\\\/www.facebook.com\\\/nhkhanh2406\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/KhanhNguyenJ\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Data types in RAML - Huong Dan Java","description":"In this tutorial, I introduce with you all about data types in RAML.","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:\/\/huongdanjava.com\/data-types-in-raml.html","og_locale":"en_US","og_type":"article","og_title":"Data types in RAML - Huong Dan Java","og_description":"In this tutorial, I introduce with you all about data types in RAML.","og_url":"https:\/\/huongdanjava.com\/data-types-in-raml.html","og_site_name":"Huong Dan Java","article_publisher":"https:\/\/www.facebook.com\/nhkhanh2406","article_author":"https:\/\/www.facebook.com\/nhkhanh2406","article_published_time":"2022-01-03T22:34:50+00:00","og_image":[{"width":638,"height":479,"url":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml.jpeg","type":"image\/jpeg"}],"author":"Khanh Nguyen","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/KhanhNguyenJ","twitter_site":"@KhanhNguyenJ","twitter_misc":{"Written by":"Khanh Nguyen","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#article","isPartOf":{"@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html"},"author":{"name":"Khanh Nguyen","@id":"https:\/\/huongdanjava.com\/#\/schema\/person\/dc859d7f8cbea3b593e6738de9cbb82d"},"headline":"Data types in RAML","datePublished":"2022-01-03T22:34:50+00:00","mainEntityOfPage":{"@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html"},"wordCount":644,"commentCount":0,"publisher":{"@id":"https:\/\/huongdanjava.com\/#\/schema\/person\/dc859d7f8cbea3b593e6738de9cbb82d"},"image":{"@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#primaryimage"},"thumbnailUrl":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml.jpeg","articleSection":["RAML"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/huongdanjava.com\/data-types-in-raml.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html","url":"https:\/\/huongdanjava.com\/data-types-in-raml.html","name":"Data types in RAML - Huong Dan Java","isPartOf":{"@id":"https:\/\/huongdanjava.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#primaryimage"},"image":{"@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#primaryimage"},"thumbnailUrl":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml.jpeg","datePublished":"2022-01-03T22:34:50+00:00","description":"In this tutorial, I introduce with you all about data types in RAML.","breadcrumb":{"@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/huongdanjava.com\/data-types-in-raml.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#primaryimage","url":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml.jpeg","contentUrl":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/11\/raml.jpeg","width":638,"height":479},{"@type":"BreadcrumbList","@id":"https:\/\/huongdanjava.com\/data-types-in-raml.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/huongdanjava.com\/"},{"@type":"ListItem","position":2,"name":"Data types in RAML"}]},{"@type":"WebSite","@id":"https:\/\/huongdanjava.com\/#website","url":"https:\/\/huongdanjava.com\/","name":"Huong Dan Java","description":"Java development tutorials","publisher":{"@id":"https:\/\/huongdanjava.com\/#\/schema\/person\/dc859d7f8cbea3b593e6738de9cbb82d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/huongdanjava.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/huongdanjava.com\/#\/schema\/person\/dc859d7f8cbea3b593e6738de9cbb82d","name":"Khanh Nguyen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/07\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg","url":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/07\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg","contentUrl":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/07\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg","width":1267,"height":1517,"caption":"Khanh Nguyen"},"logo":{"@id":"https:\/\/huongdanjava.com\/wp-content\/uploads\/2021\/07\/CC6FAC58-D227-4DD8-93D1-6D6A795577E3_1_201_a.jpeg"},"description":"I love Java and everything related to Java.","sameAs":["https:\/\/huongdanjava.com","https:\/\/www.facebook.com\/nhkhanh2406","https:\/\/x.com\/https:\/\/twitter.com\/KhanhNguyenJ"]}]}},"_links":{"self":[{"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/posts\/19262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/comments?post=19262"}],"version-history":[{"count":3,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/posts\/19262\/revisions"}],"predecessor-version":[{"id":19266,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/posts\/19262\/revisions\/19266"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/media\/19026"}],"wp:attachment":[{"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/media?parent=19262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/categories?post=19262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/huongdanjava.com\/wp-json\/wp\/v2\/tags?post=19262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}