{"name":"O\u015brodek Test - Chor\u0105giew Kujawsko-Pomorska ZHP","description":"","url":"https:\/\/dev.osrodek.kp.zhp.pl","home":"https:\/\/dev.osrodek.kp.zhp.pl","gmt_offset":2,"timezone_string":"Europe\/Warsaw","page_for_posts":2,"page_on_front":2,"show_on_front":"page","namespaces":["oembed\/1.0","breakdance\/v1","mphb\/v1","yoast\/v1","complianz\/v1","sigmally-pro\/v1","one-accessibility\/v1","sigmally\/v1","wp\/v2","wp-site-health\/v1","wp-block-editor\/v1","wp-abilities\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/dev.osrodek.kp.zhp.pl\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/"}]}},"\/batch\/v1":{"namespace":"","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"validation":{"type":"string","enum":["require-all-validate","normal"],"default":"normal","required":false},"requests":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"method":{"type":"string","enum":["POST","PUT","PATCH","DELETE"],"default":"POST"},"path":{"type":"string","required":true},"body":{"type":"object","properties":[],"additionalProperties":true},"headers":{"type":"object","properties":[],"additionalProperties":{"type":["string","array"],"items":{"type":"string"}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/batch\/v1"}]}},"\/oembed\/1.0":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"oembed\/1.0","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"Adres URL zasobu pobieraj\u0105cego dane oEmbed.","type":"string","format":"uri","required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/oembed\/1.0\/embed"}]}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"Adres URL zasobu pobieraj\u0105cego dane oEmbed.","type":"string","format":"uri","required":true},"format":{"description":"oEmbed do wykorzystania.","type":"string","default":"json","enum":["json","xml"],"required":false},"maxwidth":{"description":"Maksymalna szeroko\u015b\u0107 osadzonej ramki w pikselach.","type":"integer","default":600,"required":false},"maxheight":{"description":"Maksymalna wysoko\u015b\u0107 osadzonej ramki w pikselach.","type":"integer","required":false},"discover":{"description":"Czy wykonywa\u0107 zapytania oEmbed dla niezaufanych dostawc\u00f3w.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/oembed\/1.0\/proxy"}]}},"\/breakdance\/v1":{"namespace":"breakdance\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"breakdance\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/breakdance\/v1"}]}},"\/breakdance\/v1\/icons\/export":{"namespace":"breakdance\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/breakdance\/v1\/icons\/export"}]}},"\/mphb\/v1":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"mphb\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1"}]}},"\/mphb\/v1\/bookings":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"status":{"default":"pending-user","description":"Booking status.","type":"string","enum":["pending-user","pending-payment","pending","abandoned","confirmed","cancelled"],"required":false},"check_in_date":{"description":"Check in date as Y-m-d.","type":"string","format":"date","required":true},"check_out_date":{"description":"Check out date as Y-m-d.","type":"string","format":"date","required":true},"customer":{"description":"Customer Information.","type":"object","properties":{"first_name":{"description":"First Name","type":"string","context":["view","edit"]},"last_name":{"description":"Last Name","type":"string","context":["view","edit"]},"email":{"description":"Email","oneOf":[{"type":"string","format":"email"},{"type":"string","maxLength":0}],"context":["view","edit"]},"phone":{"description":"Phone","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format","type":"string","enum":["","AF","AL","DZ","AD","AO","AI","AQ","AG","SA","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BY","BO","BA","BW","BR","BN","IO","VG","BG","BF","BI","CL","CN","HR","CI","CW","CY","TD","ME","CZ","UM","DK","CD","DM","DO","DJ","EG","EC","ER","EE","SZ","ET","FK","FJ","PH","FI","FR","TF","GA","GM","GS","GH","GI","GR","GD","GL","GE","GU","GG","GY","GF","GP","GT","GN","GW","GQ","HT","ES","NL","HN","IN","ID","IQ","IR","IE","IS","IL","JM","JP","YE","JE","JO","KY","KH","CM","CA","QA","KZ","KE","KG","KI","CO","KM","CG","KR","KP","CR","CU","KW","LA","LS","LB","LR","LY","LI","LT","LU","LV","MK","MG","YT","MW","MV","MY","ML","MT","MP","MA","MQ","MR","MU","MX","FM","MM","MD","MC","MN","MS","MZ","NA","NR","NP","BQ","DE","NE","NG","NI","NU","NF","NO","NC","NZ","OM","PK","PW","PA","PG","PY","PE","PN","PF","PL","PR","PT","ZA","CF","CV","RE","RU","RO","RW","EH","KN","LC","VC","BL","MF","PM","SV","WS","AS","SM","SN","RS","SC","SL","SG","SX","SK","SI","SO","HK","MO","LK","US","SD","SS","SR","SJ","SY","CH","SE","TJ","TH","TW","TZ","PS","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","UY","UZ","VU","WF","VA","VE","HU","GB","VN","IT","BV","CX","IM","SH","AX","CK","VI","HM","CC","MH","FO","SB","ST","ZM","ZW","AE"],"context":["view","edit"]},"state":{"description":"State \/ County","type":"string","context":["view","edit"]},"city":{"description":"City.","type":"string","context":["view","edit"]},"zip":{"description":"Postcode.","type":"string","context":["view","edit"]},"address1":{"description":"Address.","type":"string","context":["view","edit"]}},"required":false},"reserved_accommodations":{"description":"Reserved Accommodations.","type":"array","items":{"type":"object","properties":{"accommodation":{"description":"Accommodation id.","type":"integer","context":["view","edit"],"required":true},"accommodation_type":{"description":"Accommodation type id.","type":"integer","context":["view","edit"],"readonly":true},"rate":{"description":"Rate id.","type":"integer","context":["view","edit"],"readonly":true},"adults":{"description":"Adults.","type":"integer","minimum":1,"context":["view","edit"],"required":true},"children":{"description":"Children.","type":"integer","minimum":0,"context":["view","edit"]},"guest_name":{"description":"Guest name.","type":"string","context":["view","edit"]},"uid":{"description":"Universally unique identifier.","type":"string","context":["view","edit"],"readonly":true},"services":{"description":"Services.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Services id.","type":"integer","context":["view","edit"],"required":true},"adults":{"description":"Quantity of adults. Used for services that are paid for for each person.","type":"integer","context":["view","edit"],"default":1},"quantity":{"description":"How many times the customer will be charged.","type":"integer","context":["view","edit"],"default":1},"price":{"description":"Price for a service.","type":"number","context":["view","edit"],"readonly":true}}}},"accommodation_price_per_days":{"description":"Accommodation price breakdown per days.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"date":{"description":"Services id.","type":"string","format":"date","context":["view","edit"],"readonly":true},"price":{"description":"Services id.","type":"number","context":["view","edit"],"readonly":true}}}},"fees":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"taxes":{"type":"object","properties":{"accommodation":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"services":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"fees":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true}},"context":["view","edit"],"readonly":true},"discount":{"description":"Discount by coupon.","type":"number","context":["view","edit"],"readonly":true}}},"required":true},"coupon_code":{"description":"Coupon code.","type":"string","required":false},"note":{"description":"Note.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/bookings"}]}},"\/mphb\/v1\/bookings\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"status":{"description":"Booking status.","type":"string","enum":["pending-user","pending-payment","pending","abandoned","confirmed","cancelled"],"required":false},"check_in_date":{"description":"Check in date as Y-m-d.","type":"string","format":"date","required":false},"check_out_date":{"description":"Check out date as Y-m-d.","type":"string","format":"date","required":false},"customer":{"description":"Customer Information.","type":"object","properties":{"first_name":{"description":"First Name","type":"string","context":["view","edit"]},"last_name":{"description":"Last Name","type":"string","context":["view","edit"]},"email":{"description":"Email","oneOf":[{"type":"string","format":"email"},{"type":"string","maxLength":0}],"context":["view","edit"]},"phone":{"description":"Phone","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format","type":"string","enum":["","AF","AL","DZ","AD","AO","AI","AQ","AG","SA","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BY","BO","BA","BW","BR","BN","IO","VG","BG","BF","BI","CL","CN","HR","CI","CW","CY","TD","ME","CZ","UM","DK","CD","DM","DO","DJ","EG","EC","ER","EE","SZ","ET","FK","FJ","PH","FI","FR","TF","GA","GM","GS","GH","GI","GR","GD","GL","GE","GU","GG","GY","GF","GP","GT","GN","GW","GQ","HT","ES","NL","HN","IN","ID","IQ","IR","IE","IS","IL","JM","JP","YE","JE","JO","KY","KH","CM","CA","QA","KZ","KE","KG","KI","CO","KM","CG","KR","KP","CR","CU","KW","LA","LS","LB","LR","LY","LI","LT","LU","LV","MK","MG","YT","MW","MV","MY","ML","MT","MP","MA","MQ","MR","MU","MX","FM","MM","MD","MC","MN","MS","MZ","NA","NR","NP","BQ","DE","NE","NG","NI","NU","NF","NO","NC","NZ","OM","PK","PW","PA","PG","PY","PE","PN","PF","PL","PR","PT","ZA","CF","CV","RE","RU","RO","RW","EH","KN","LC","VC","BL","MF","PM","SV","WS","AS","SM","SN","RS","SC","SL","SG","SX","SK","SI","SO","HK","MO","LK","US","SD","SS","SR","SJ","SY","CH","SE","TJ","TH","TW","TZ","PS","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","UY","UZ","VU","WF","VA","VE","HU","GB","VN","IT","BV","CX","IM","SH","AX","CK","VI","HM","CC","MH","FO","SB","ST","ZM","ZW","AE"],"context":["view","edit"]},"state":{"description":"State \/ County","type":"string","context":["view","edit"]},"city":{"description":"City.","type":"string","context":["view","edit"]},"zip":{"description":"Postcode.","type":"string","context":["view","edit"]},"address1":{"description":"Address.","type":"string","context":["view","edit"]}},"required":false},"reserved_accommodations":{"description":"Reserved Accommodations.","type":"array","items":{"type":"object","properties":{"accommodation":{"description":"Accommodation id.","type":"integer","context":["view","edit"],"required":true},"accommodation_type":{"description":"Accommodation type id.","type":"integer","context":["view","edit"],"readonly":true},"rate":{"description":"Rate id.","type":"integer","context":["view","edit"],"readonly":true},"adults":{"description":"Adults.","type":"integer","minimum":1,"context":["view","edit"],"required":true},"children":{"description":"Children.","type":"integer","minimum":0,"context":["view","edit"]},"guest_name":{"description":"Guest name.","type":"string","context":["view","edit"]},"uid":{"description":"Universally unique identifier.","type":"string","context":["view","edit"],"readonly":true},"services":{"description":"Services.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Services id.","type":"integer","context":["view","edit"],"required":true},"adults":{"description":"Quantity of adults. Used for services that are paid for for each person.","type":"integer","context":["view","edit"],"default":1},"quantity":{"description":"How many times the customer will be charged.","type":"integer","context":["view","edit"],"default":1},"price":{"description":"Price for a service.","type":"number","context":["view","edit"],"readonly":true}}}},"accommodation_price_per_days":{"description":"Accommodation price breakdown per days.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"date":{"description":"Services id.","type":"string","format":"date","context":["view","edit"],"readonly":true},"price":{"description":"Services id.","type":"number","context":["view","edit"],"readonly":true}}}},"fees":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"taxes":{"type":"object","properties":{"accommodation":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"services":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"fees":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true}},"context":["view","edit"],"readonly":true},"discount":{"description":"Discount by coupon.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"coupon_code":{"description":"Coupon code.","type":"string","required":false},"note":{"description":"Note.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/bookings\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"Booking status.","type":"string","enum":["pending-user","pending-payment","pending","abandoned","confirmed","cancelled"],"required":false},"check_in_date":{"description":"Check in date as Y-m-d.","type":"string","format":"date","required":false},"check_out_date":{"description":"Check out date as Y-m-d.","type":"string","format":"date","required":false},"customer":{"description":"Customer Information.","type":"object","properties":{"first_name":{"description":"First Name","type":"string","context":["view","edit"]},"last_name":{"description":"Last Name","type":"string","context":["view","edit"]},"email":{"description":"Email","oneOf":[{"type":"string","format":"email"},{"type":"string","maxLength":0}],"context":["view","edit"]},"phone":{"description":"Phone","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format","type":"string","enum":["","AF","AL","DZ","AD","AO","AI","AQ","AG","SA","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BY","BO","BA","BW","BR","BN","IO","VG","BG","BF","BI","CL","CN","HR","CI","CW","CY","TD","ME","CZ","UM","DK","CD","DM","DO","DJ","EG","EC","ER","EE","SZ","ET","FK","FJ","PH","FI","FR","TF","GA","GM","GS","GH","GI","GR","GD","GL","GE","GU","GG","GY","GF","GP","GT","GN","GW","GQ","HT","ES","NL","HN","IN","ID","IQ","IR","IE","IS","IL","JM","JP","YE","JE","JO","KY","KH","CM","CA","QA","KZ","KE","KG","KI","CO","KM","CG","KR","KP","CR","CU","KW","LA","LS","LB","LR","LY","LI","LT","LU","LV","MK","MG","YT","MW","MV","MY","ML","MT","MP","MA","MQ","MR","MU","MX","FM","MM","MD","MC","MN","MS","MZ","NA","NR","NP","BQ","DE","NE","NG","NI","NU","NF","NO","NC","NZ","OM","PK","PW","PA","PG","PY","PE","PN","PF","PL","PR","PT","ZA","CF","CV","RE","RU","RO","RW","EH","KN","LC","VC","BL","MF","PM","SV","WS","AS","SM","SN","RS","SC","SL","SG","SX","SK","SI","SO","HK","MO","LK","US","SD","SS","SR","SJ","SY","CH","SE","TJ","TH","TW","TZ","PS","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","UY","UZ","VU","WF","VA","VE","HU","GB","VN","IT","BV","CX","IM","SH","AX","CK","VI","HM","CC","MH","FO","SB","ST","ZM","ZW","AE"],"context":["view","edit"]},"state":{"description":"State \/ County","type":"string","context":["view","edit"]},"city":{"description":"City.","type":"string","context":["view","edit"]},"zip":{"description":"Postcode.","type":"string","context":["view","edit"]},"address1":{"description":"Address.","type":"string","context":["view","edit"]}},"required":false},"reserved_accommodations":{"description":"Reserved Accommodations.","type":"array","items":{"type":"object","properties":{"accommodation":{"description":"Accommodation id.","type":"integer","context":["view","edit"],"required":true},"accommodation_type":{"description":"Accommodation type id.","type":"integer","context":["view","edit"],"readonly":true},"rate":{"description":"Rate id.","type":"integer","context":["view","edit"],"readonly":true},"adults":{"description":"Adults.","type":"integer","minimum":1,"context":["view","edit"],"required":true},"children":{"description":"Children.","type":"integer","minimum":0,"context":["view","edit"]},"guest_name":{"description":"Guest name.","type":"string","context":["view","edit"]},"uid":{"description":"Universally unique identifier.","type":"string","context":["view","edit"],"readonly":true},"services":{"description":"Services.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Services id.","type":"integer","context":["view","edit"],"required":true},"adults":{"description":"Quantity of adults. Used for services that are paid for for each person.","type":"integer","context":["view","edit"],"default":1},"quantity":{"description":"How many times the customer will be charged.","type":"integer","context":["view","edit"],"default":1},"price":{"description":"Price for a service.","type":"number","context":["view","edit"],"readonly":true}}}},"accommodation_price_per_days":{"description":"Accommodation price breakdown per days.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"date":{"description":"Services id.","type":"string","format":"date","context":["view","edit"],"readonly":true},"price":{"description":"Services id.","type":"number","context":["view","edit"],"readonly":true}}}},"fees":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"taxes":{"type":"object","properties":{"accommodation":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"services":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true},"fees":{"type":"array","items":{"type":"object","context":["view","edit"],"properties":{"label":{"type":"string","context":["view","edit"],"readonly":true},"value":{"type":"number","context":["view","edit"],"readonly":true}}},"context":["view","edit"],"readonly":true}},"context":["view","edit"],"readonly":true},"discount":{"description":"Discount by coupon.","type":"number","context":["view","edit"],"readonly":true}}},"required":false},"coupon_code":{"description":"Coupon code.","type":"string","required":false},"note":{"description":"Note.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/bookings\/batch"}]}},"\/mphb\/v1\/bookings\/availability":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"check_in_date":{"description":"Check in date as Y-m-d.","type":"string","format":"date","required":true},"check_out_date":{"description":"Check out date as Y-m-d.","type":"string","format":"date","required":true},"accommodation_type":{"default":0,"description":"Accommodation Type id. Enter 0 to select all.","type":"integer","minimum":0,"required":false},"adults":{"default":1,"description":"Count of adults.","type":"integer","minimum":0,"required":false},"children":{"default":0,"description":"Count of children.","type":"integer","minimum":0,"required":false},"availability":{"type":"array","items":{"type":"object","title":"Accommodations","properties":{"accommodation_type":{"description":"Accommodation Type id.","type":"integer"},"title":{"description":"Title.","type":"string"},"base_price":{"description":"Base price.","type":"number"},"accommodations":{"type":"array","items":{"type":"object","title":"Accommodations","properties":{"id":{"description":"Accommodation id.","type":"integer"},"title":{"description":"Title.","type":"string"}}}}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/bookings\/availability"}]}},"\/mphb\/v1\/payments":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"status":{"default":"pending","description":"Payment status.","type":"string","enum":["pending","completed","failed","abandoned","on-hold","refunded","cancelled"],"required":false},"gateway_id":{"description":"Gateway.","type":"string","enum":["manual"],"required":true},"booking_id":{"description":"Identifier of booking resource.","type":"integer","required":true},"amount":{"description":"Amount.","type":"number","required":true},"currency":{"default":"USD","description":"Payment currency in ISO format.","type":"string","enum":["EUR","USD","GBP","AFN","MGA","THB","PAB","ETB","BOB","VEF","GHS","CRC","NIO","GMD","MKD","DZD","BHD","IQD","JOD","KWD","LYD","RSD","TND","AED","MAD","STD","BBD","TTD","SBD","AUD","BSD","BZD","BMD","BND","FJD","GYD","HKD","JMD","KYD","CAD","LRD","NAD","NZD","SGD","SRD","XCD","VND","AMD","CVE","AWG","HUF","XOF","XAF","XPF","BIF","DJF","GNF","KMF","CDF","RWF","CHF","SHP","EGP","FKP","GIP","LBP","SSP","SDG","SYP","HTG","PYG","ANG","UAH","JPY","CNY","MMK","PGK","LAK","CZK","DKK","ISK","NOK","SEK","HRK","MWK","ZMW","AOA","GEL","MDL","RON","ALL","HNL","SLL","BGN","SZL","TRY","LSL","AZN","TMT","BAM","MZN","NGN","ERN","BTN","TWD","ILS","MRO","MOP","TOP","ARS","CLP","DOP","PHP","COP","CUP","CUC","MXN","UYU","BWP","GTQ","ZAR","BRL","IRR","YER","QAR","OMR","SAR","KHR","MYR","BYN","BYR","RUB","IDR","INR","LKR","MVR","MUR","NPR","PKR","SCR","PEN","KGS","UZS","TJS","KES","SOS","TZS","UGX","BDT","WST","KZT","MNT","VUV","KRW","KPW","PLN"],"required":false},"billing_info":{"description":"Billing info.","type":"object","properties":{"first_name":{"description":"First Name","type":"string","context":["view","edit"]},"last_name":{"description":"Last Name","type":"string","context":["view","edit"]},"email":{"description":"Email","oneOf":[{"type":"string","format":"email"},{"type":"string","maxLength":0}],"context":["view","edit"]},"phone":{"description":"Phone","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format","type":"string","enum":["","AF","AL","DZ","AD","AO","AI","AQ","AG","SA","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BY","BO","BA","BW","BR","BN","IO","VG","BG","BF","BI","CL","CN","HR","CI","CW","CY","TD","ME","CZ","UM","DK","CD","DM","DO","DJ","EG","EC","ER","EE","SZ","ET","FK","FJ","PH","FI","FR","TF","GA","GM","GS","GH","GI","GR","GD","GL","GE","GU","GG","GY","GF","GP","GT","GN","GW","GQ","HT","ES","NL","HN","IN","ID","IQ","IR","IE","IS","IL","JM","JP","YE","JE","JO","KY","KH","CM","CA","QA","KZ","KE","KG","KI","CO","KM","CG","KR","KP","CR","CU","KW","LA","LS","LB","LR","LY","LI","LT","LU","LV","MK","MG","YT","MW","MV","MY","ML","MT","MP","MA","MQ","MR","MU","MX","FM","MM","MD","MC","MN","MS","MZ","NA","NR","NP","BQ","DE","NE","NG","NI","NU","NF","NO","NC","NZ","OM","PK","PW","PA","PG","PY","PE","PN","PF","PL","PR","PT","ZA","CF","CV","RE","RU","RO","RW","EH","KN","LC","VC","BL","MF","PM","SV","WS","AS","SM","SN","RS","SC","SL","SG","SX","SK","SI","SO","HK","MO","LK","US","SD","SS","SR","SJ","SY","CH","SE","TJ","TH","TW","TZ","PS","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","UY","UZ","VU","WF","VA","VE","HU","GB","VN","IT","BV","CX","IM","SH","AX","CK","VI","HM","CC","MH","FO","SB","ST","ZM","ZW","AE"],"context":["view","edit"]},"state":{"description":"State \/ County","type":"string","context":["view","edit"]},"city":{"description":"City.","type":"string","context":["view","edit"]},"zip":{"description":"Postcode.","type":"string","context":["view","edit"]},"address1":{"description":"Address.","type":"string","context":["view","edit"]}},"additionalProperties":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/payments"}]}},"\/mphb\/v1\/payments\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"status":{"description":"Payment status.","type":"string","enum":["pending","completed","failed","abandoned","on-hold","refunded","cancelled"],"required":false},"gateway_id":{"description":"Gateway.","type":"string","enum":["manual"],"required":false},"booking_id":{"description":"Identifier of booking resource.","type":"integer","required":false},"amount":{"description":"Amount.","type":"number","required":false},"currency":{"description":"Payment currency in ISO format.","type":"string","enum":["EUR","USD","GBP","AFN","MGA","THB","PAB","ETB","BOB","VEF","GHS","CRC","NIO","GMD","MKD","DZD","BHD","IQD","JOD","KWD","LYD","RSD","TND","AED","MAD","STD","BBD","TTD","SBD","AUD","BSD","BZD","BMD","BND","FJD","GYD","HKD","JMD","KYD","CAD","LRD","NAD","NZD","SGD","SRD","XCD","VND","AMD","CVE","AWG","HUF","XOF","XAF","XPF","BIF","DJF","GNF","KMF","CDF","RWF","CHF","SHP","EGP","FKP","GIP","LBP","SSP","SDG","SYP","HTG","PYG","ANG","UAH","JPY","CNY","MMK","PGK","LAK","CZK","DKK","ISK","NOK","SEK","HRK","MWK","ZMW","AOA","GEL","MDL","RON","ALL","HNL","SLL","BGN","SZL","TRY","LSL","AZN","TMT","BAM","MZN","NGN","ERN","BTN","TWD","ILS","MRO","MOP","TOP","ARS","CLP","DOP","PHP","COP","CUP","CUC","MXN","UYU","BWP","GTQ","ZAR","BRL","IRR","YER","QAR","OMR","SAR","KHR","MYR","BYN","BYR","RUB","IDR","INR","LKR","MVR","MUR","NPR","PKR","SCR","PEN","KGS","UZS","TJS","KES","SOS","TZS","UGX","BDT","WST","KZT","MNT","VUV","KRW","KPW","PLN"],"required":false},"billing_info":{"description":"Billing info.","type":"object","properties":{"first_name":{"description":"First Name","type":"string","context":["view","edit"]},"last_name":{"description":"Last Name","type":"string","context":["view","edit"]},"email":{"description":"Email","oneOf":[{"type":"string","format":"email"},{"type":"string","maxLength":0}],"context":["view","edit"]},"phone":{"description":"Phone","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format","type":"string","enum":["","AF","AL","DZ","AD","AO","AI","AQ","AG","SA","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BY","BO","BA","BW","BR","BN","IO","VG","BG","BF","BI","CL","CN","HR","CI","CW","CY","TD","ME","CZ","UM","DK","CD","DM","DO","DJ","EG","EC","ER","EE","SZ","ET","FK","FJ","PH","FI","FR","TF","GA","GM","GS","GH","GI","GR","GD","GL","GE","GU","GG","GY","GF","GP","GT","GN","GW","GQ","HT","ES","NL","HN","IN","ID","IQ","IR","IE","IS","IL","JM","JP","YE","JE","JO","KY","KH","CM","CA","QA","KZ","KE","KG","KI","CO","KM","CG","KR","KP","CR","CU","KW","LA","LS","LB","LR","LY","LI","LT","LU","LV","MK","MG","YT","MW","MV","MY","ML","MT","MP","MA","MQ","MR","MU","MX","FM","MM","MD","MC","MN","MS","MZ","NA","NR","NP","BQ","DE","NE","NG","NI","NU","NF","NO","NC","NZ","OM","PK","PW","PA","PG","PY","PE","PN","PF","PL","PR","PT","ZA","CF","CV","RE","RU","RO","RW","EH","KN","LC","VC","BL","MF","PM","SV","WS","AS","SM","SN","RS","SC","SL","SG","SX","SK","SI","SO","HK","MO","LK","US","SD","SS","SR","SJ","SY","CH","SE","TJ","TH","TW","TZ","PS","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","UY","UZ","VU","WF","VA","VE","HU","GB","VN","IT","BV","CX","IM","SH","AX","CK","VI","HM","CC","MH","FO","SB","ST","ZM","ZW","AE"],"context":["view","edit"]},"state":{"description":"State \/ County","type":"string","context":["view","edit"]},"city":{"description":"City.","type":"string","context":["view","edit"]},"zip":{"description":"Postcode.","type":"string","context":["view","edit"]},"address1":{"description":"Address.","type":"string","context":["view","edit"]}},"additionalProperties":false,"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/payments\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"Payment status.","type":"string","enum":["pending","completed","failed","abandoned","on-hold","refunded","cancelled"],"required":false},"gateway_id":{"description":"Gateway.","type":"string","enum":["manual"],"required":false},"booking_id":{"description":"Identifier of booking resource.","type":"integer","required":false},"amount":{"description":"Amount.","type":"number","required":false},"currency":{"description":"Payment currency in ISO format.","type":"string","enum":["EUR","USD","GBP","AFN","MGA","THB","PAB","ETB","BOB","VEF","GHS","CRC","NIO","GMD","MKD","DZD","BHD","IQD","JOD","KWD","LYD","RSD","TND","AED","MAD","STD","BBD","TTD","SBD","AUD","BSD","BZD","BMD","BND","FJD","GYD","HKD","JMD","KYD","CAD","LRD","NAD","NZD","SGD","SRD","XCD","VND","AMD","CVE","AWG","HUF","XOF","XAF","XPF","BIF","DJF","GNF","KMF","CDF","RWF","CHF","SHP","EGP","FKP","GIP","LBP","SSP","SDG","SYP","HTG","PYG","ANG","UAH","JPY","CNY","MMK","PGK","LAK","CZK","DKK","ISK","NOK","SEK","HRK","MWK","ZMW","AOA","GEL","MDL","RON","ALL","HNL","SLL","BGN","SZL","TRY","LSL","AZN","TMT","BAM","MZN","NGN","ERN","BTN","TWD","ILS","MRO","MOP","TOP","ARS","CLP","DOP","PHP","COP","CUP","CUC","MXN","UYU","BWP","GTQ","ZAR","BRL","IRR","YER","QAR","OMR","SAR","KHR","MYR","BYN","BYR","RUB","IDR","INR","LKR","MVR","MUR","NPR","PKR","SCR","PEN","KGS","UZS","TJS","KES","SOS","TZS","UGX","BDT","WST","KZT","MNT","VUV","KRW","KPW","PLN"],"required":false},"billing_info":{"description":"Billing info.","type":"object","properties":{"first_name":{"description":"First Name","type":"string","context":["view","edit"]},"last_name":{"description":"Last Name","type":"string","context":["view","edit"]},"email":{"description":"Email","oneOf":[{"type":"string","format":"email"},{"type":"string","maxLength":0}],"context":["view","edit"]},"phone":{"description":"Phone","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format","type":"string","enum":["","AF","AL","DZ","AD","AO","AI","AQ","AG","SA","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BE","BZ","BJ","BM","BT","BY","BO","BA","BW","BR","BN","IO","VG","BG","BF","BI","CL","CN","HR","CI","CW","CY","TD","ME","CZ","UM","DK","CD","DM","DO","DJ","EG","EC","ER","EE","SZ","ET","FK","FJ","PH","FI","FR","TF","GA","GM","GS","GH","GI","GR","GD","GL","GE","GU","GG","GY","GF","GP","GT","GN","GW","GQ","HT","ES","NL","HN","IN","ID","IQ","IR","IE","IS","IL","JM","JP","YE","JE","JO","KY","KH","CM","CA","QA","KZ","KE","KG","KI","CO","KM","CG","KR","KP","CR","CU","KW","LA","LS","LB","LR","LY","LI","LT","LU","LV","MK","MG","YT","MW","MV","MY","ML","MT","MP","MA","MQ","MR","MU","MX","FM","MM","MD","MC","MN","MS","MZ","NA","NR","NP","BQ","DE","NE","NG","NI","NU","NF","NO","NC","NZ","OM","PK","PW","PA","PG","PY","PE","PN","PF","PL","PR","PT","ZA","CF","CV","RE","RU","RO","RW","EH","KN","LC","VC","BL","MF","PM","SV","WS","AS","SM","SN","RS","SC","SL","SG","SX","SK","SI","SO","HK","MO","LK","US","SD","SS","SR","SJ","SY","CH","SE","TJ","TH","TW","TZ","PS","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","UY","UZ","VU","WF","VA","VE","HU","GB","VN","IT","BV","CX","IM","SH","AX","CK","VI","HM","CC","MH","FO","SB","ST","ZM","ZW","AE"],"context":["view","edit"]},"state":{"description":"State \/ County","type":"string","context":["view","edit"]},"city":{"description":"City.","type":"string","context":["view","edit"]},"zip":{"description":"Postcode.","type":"string","context":["view","edit"]},"address1":{"description":"Address.","type":"string","context":["view","edit"]}},"additionalProperties":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/payments\/batch"}]}},"\/mphb\/v1\/accommodations":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"title":{"description":"Title.","type":"string","required":false},"excerpt":{"description":"Excerpt.","type":"string","required":false},"accommodation_type_id":{"description":"Unique identifier for the accommodation type resource.","type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodations"}]}},"\/mphb\/v1\/accommodations\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"title":{"description":"Title.","type":"string","required":false},"excerpt":{"description":"Excerpt.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/accommodations\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"title":{"description":"Title.","type":"string","required":false},"excerpt":{"description":"Excerpt.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodations\/batch"}]}},"\/mphb\/v1\/accommodation_types":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"title":{"description":"Title.","type":"string","required":true},"description":{"description":"Description.","type":"string","required":false},"excerpt":{"description":"Excerpt.","type":"string","required":false},"adults":{"description":"Adults.","type":"integer","required":false},"children":{"description":"Children.","type":"integer","required":false},"total_capacity":{"default":0,"description":"Total capacity.","type":"integer","required":false},"base_adults":{"description":"Base adults.","type":"integer","required":false},"base_children":{"description":"Base children.","type":"integer","required":false},"bed_type":{"description":"Bed Type.","type":"string","required":false},"size":{"description":"Room square meters.","type":"number","required":false},"view":{"description":"City view, seaside, swimming pool etc.","type":"string","required":false},"services":{"default":[],"description":"Service ids.","type":"array","items":{"description":"Service item.","type":"object","required":true,"properties":{"id":{"description":"Service id.","type":"integer","required":true},"title":{"description":"Service title.","type":"string","readonly":true}}},"required":false},"categories":{"description":"Category terms.","type":"array","items":{"description":"Category item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Category id.","type":"integer","required":true},"name":{"description":"Category name.","type":"string","readonly":true}}},"required":false},"tags":{"description":"Tag terms.","type":"array","items":{"description":"Tag item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Tag id.","type":"integer","required":true},"name":{"description":"Tag name.","type":"string","readonly":true}}},"required":false},"amenities":{"description":"Amenity terms.","type":"array","items":{"description":"Amenity item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Amenity id.","type":"integer","required":true},"name":{"description":"Amenity name.","type":"string","readonly":true}}},"required":false},"attributes":{"default":[],"description":"Attributes.","type":"array","items":{"description":"Attribute item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Attribute id.","type":"integer","required":true},"title":{"description":"Attribute title.","type":"string","readonly":true},"terms":{"description":"Attribute terms.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute term id.","type":"integer","required":true},"name":{"description":"Attribute term name.","type":"string","readonly":true}}}}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types"}]}},"\/mphb\/v1\/accommodation_types\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"excerpt":{"description":"Excerpt.","type":"string","required":false},"adults":{"description":"Adults.","type":"integer","required":false},"children":{"description":"Children.","type":"integer","required":false},"total_capacity":{"description":"Total capacity.","type":"integer","required":false},"base_adults":{"description":"Base adults.","type":"integer","required":false},"base_children":{"description":"Base children.","type":"integer","required":false},"bed_type":{"description":"Bed Type.","type":"string","required":false},"size":{"description":"Room square meters.","type":"number","required":false},"view":{"description":"City view, seaside, swimming pool etc.","type":"string","required":false},"services":{"description":"Service ids.","type":"array","items":{"description":"Service item.","type":"object","required":true,"properties":{"id":{"description":"Service id.","type":"integer","required":true},"title":{"description":"Service title.","type":"string","readonly":true}}},"required":false},"categories":{"description":"Category terms.","type":"array","items":{"description":"Category item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Category id.","type":"integer","required":true},"name":{"description":"Category name.","type":"string","readonly":true}}},"required":false},"tags":{"description":"Tag terms.","type":"array","items":{"description":"Tag item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Tag id.","type":"integer","required":true},"name":{"description":"Tag name.","type":"string","readonly":true}}},"required":false},"amenities":{"description":"Amenity terms.","type":"array","items":{"description":"Amenity item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Amenity id.","type":"integer","required":true},"name":{"description":"Amenity name.","type":"string","readonly":true}}},"required":false},"attributes":{"description":"Attributes.","type":"array","items":{"description":"Attribute item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Attribute id.","type":"integer","required":true},"title":{"description":"Attribute title.","type":"string","readonly":true},"terms":{"description":"Attribute terms.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute term id.","type":"integer","required":true},"name":{"description":"Attribute term name.","type":"string","readonly":true}}}}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"excerpt":{"description":"Excerpt.","type":"string","required":false},"adults":{"description":"Adults.","type":"integer","required":false},"children":{"description":"Children.","type":"integer","required":false},"total_capacity":{"description":"Total capacity.","type":"integer","required":false},"base_adults":{"description":"Base adults.","type":"integer","required":false},"base_children":{"description":"Base children.","type":"integer","required":false},"bed_type":{"description":"Bed Type.","type":"string","required":false},"size":{"description":"Room square meters.","type":"number","required":false},"view":{"description":"City view, seaside, swimming pool etc.","type":"string","required":false},"services":{"description":"Service ids.","type":"array","items":{"description":"Service item.","type":"object","required":true,"properties":{"id":{"description":"Service id.","type":"integer","required":true},"title":{"description":"Service title.","type":"string","readonly":true}}},"required":false},"categories":{"description":"Category terms.","type":"array","items":{"description":"Category item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Category id.","type":"integer","required":true},"name":{"description":"Category name.","type":"string","readonly":true}}},"required":false},"tags":{"description":"Tag terms.","type":"array","items":{"description":"Tag item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Tag id.","type":"integer","required":true},"name":{"description":"Tag name.","type":"string","readonly":true}}},"required":false},"amenities":{"description":"Amenity terms.","type":"array","items":{"description":"Amenity item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Amenity id.","type":"integer","required":true},"name":{"description":"Amenity name.","type":"string","readonly":true}}},"required":false},"attributes":{"description":"Attributes.","type":"array","items":{"description":"Attribute item.","type":"object","context":["view","edit"],"required":true,"properties":{"id":{"description":"Attribute id.","type":"integer","required":true},"title":{"description":"Attribute title.","type":"string","readonly":true},"terms":{"description":"Attribute terms.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute term id.","type":"integer","required":true},"name":{"description":"Attribute term name.","type":"string","readonly":true}}}}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/batch"}]}},"\/mphb\/v1\/availability":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"start_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"end_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"room_type_ids":{"description":"If it is empty, the API will return common availability data for all accommodation types.","type":"array","items":{"type":"integer","minimum":0},"required":false},"is_add_prices":{"type":"boolean","default":false,"required":false},"is_truncate_prices":{"type":"boolean","default":false,"required":false},"is_add_prices_currency":{"type":"boolean","default":false,"required":false},"is_request_for_admin_area":{"type":"boolean","default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/availability"}]}},"\/mphb\/v1\/accommodation_types\/categories":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/categories"}]}},"\/mphb\/v1\/accommodation_types\/categories\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/categories\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/categories\/batch"}]}},"\/mphb\/v1\/accommodation_types\/tags":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/tags"}]}},"\/mphb\/v1\/accommodation_types\/tags\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/tags\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/tags\/batch"}]}},"\/mphb\/v1\/accommodation_types\/amenities":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/amenities"}]}},"\/mphb\/v1\/accommodation_types\/amenities\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/amenities\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/amenities\/batch"}]}},"\/mphb\/v1\/accommodation_types\/services":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"title":{"description":"Title.","type":"string","required":true},"description":{"description":"Description.","type":"string","required":false},"price":{"description":"Price.","type":"number","required":true},"periodicity":{"description":"How many times the customer will be charged.","type":"object","oneOf":[{"title":"Once \\ Per day","type":"object","properties":{"typeof":{"type":"string","enum":["once","per_night"],"required":true}}},{"title":"Guest Choice. Use the length of stay as the maximum value.","type":"object","properties":{"typeof":{"type":"string","enum":["flexible"],"required":true},"auto_limit":{"type":"boolean","enum":[true],"required":true},"min_quantity":{"type":"integer","minimum":1,"required":true},"max_quantity":{"type":"integer","minimum":0,"readonly":true}}},{"title":"Guest Choice.","type":"object","properties":{"typeof":{"type":"string","enum":["flexible"],"required":true},"auto_limit":{"type":"boolean","enum":[false],"required":true},"min_quantity":{"type":"integer","minimum":1,"required":true},"max_quantity":{"type":"integer","minimum":0,"required":true}}}],"required":true},"repeatability":{"description":"Repeatability.","type":"string","enum":["once","per_adult"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/services"}]}},"\/mphb\/v1\/accommodation_types\/services\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"price":{"description":"Price.","type":"number","required":false},"periodicity":{"description":"How many times the customer will be charged.","type":"object","oneOf":[{"title":"Once \\ Per day","type":"object","properties":{"typeof":{"type":"string","enum":["once","per_night"],"required":true}}},{"title":"Guest Choice. Use the length of stay as the maximum value.","type":"object","properties":{"typeof":{"type":"string","enum":["flexible"],"required":true},"auto_limit":{"type":"boolean","enum":[true],"required":true},"min_quantity":{"type":"integer","minimum":1,"required":true},"max_quantity":{"type":"integer","minimum":0,"readonly":true}}},{"title":"Guest Choice.","type":"object","properties":{"typeof":{"type":"string","enum":["flexible"],"required":true},"auto_limit":{"type":"boolean","enum":[false],"required":true},"min_quantity":{"type":"integer","minimum":1,"required":true},"max_quantity":{"type":"integer","minimum":0,"required":true}}}],"required":false},"repeatability":{"description":"Repeatability.","type":"string","enum":["once","per_adult"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/services\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"price":{"description":"Price.","type":"number","required":false},"periodicity":{"description":"How many times the customer will be charged.","type":"object","oneOf":[{"title":"Once \\ Per day","type":"object","properties":{"typeof":{"type":"string","enum":["once","per_night"],"required":true}}},{"title":"Guest Choice. Use the length of stay as the maximum value.","type":"object","properties":{"typeof":{"type":"string","enum":["flexible"],"required":true},"auto_limit":{"type":"boolean","enum":[true],"required":true},"min_quantity":{"type":"integer","minimum":1,"required":true},"max_quantity":{"type":"integer","minimum":0,"readonly":true}}},{"title":"Guest Choice.","type":"object","properties":{"typeof":{"type":"string","enum":["flexible"],"required":true},"auto_limit":{"type":"boolean","enum":[false],"required":true},"min_quantity":{"type":"integer","minimum":1,"required":true},"max_quantity":{"type":"integer","minimum":0,"required":true}}}],"required":false},"repeatability":{"description":"Repeatability.","type":"string","enum":["once","per_adult"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/services\/batch"}]}},"\/mphb\/v1\/accommodation_types\/images":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/images"}]}},"\/mphb\/v1\/accommodation_types\/images\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed"],"default":"view","required":false}}}]},"\/mphb\/v1\/accommodation_types\/attributes":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"title":{"description":"Title.","type":"string","required":false},"enable_archives":{"description":"Link the attribute to an archive page with all accommodation types that have this attribute.","type":"boolean","required":false},"visible_in_details":{"description":"Display the attribute in details section of an accommodation type.","type":"boolean","required":false},"default_sort_order":{"description":"Default Sort Order.","type":"string","enum":["custom","name","numeric","id"],"required":false},"default_text":{"description":"Default text.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/attributes"}]}},"\/mphb\/v1\/accommodation_types\/attributes\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"title":{"description":"Title.","type":"string","required":false},"enable_archives":{"description":"Link the attribute to an archive page with all accommodation types that have this attribute.","type":"boolean","required":false},"visible_in_details":{"description":"Display the attribute in details section of an accommodation type.","type":"boolean","required":false},"default_sort_order":{"description":"Default Sort Order.","type":"string","enum":["custom","name","numeric","id"],"required":false},"default_text":{"description":"Default text.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/attributes\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"title":{"description":"Title.","type":"string","required":false},"enable_archives":{"description":"Link the attribute to an archive page with all accommodation types that have this attribute.","type":"boolean","required":false},"visible_in_details":{"description":"Display the attribute in details section of an accommodation type.","type":"boolean","required":false},"default_sort_order":{"description":"Default Sort Order.","type":"string","enum":["custom","name","numeric","id"],"required":false},"default_text":{"description":"Default text.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/accommodation_types\/attributes\/batch"}]}},"\/mphb\/v1\/accommodation_types\/attributes\/(?P<attribute_id>[\\d]+)\/terms":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}]},"\/mphb\/v1\/accommodation_types\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/mphb\/v1\/accommodation_types\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Name of term.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}]},"\/mphb\/v1\/coupons":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"code":{"description":"Coupon code.","type":"string","required":true},"description":{"description":"Description.","type":"string","required":false},"room_discount_type":{"description":"Accommodation discount type.","type":"string","enum":["none","percentage","per_accomm","per_accomm_per_day"],"required":false},"room_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"service_discount_type":{"description":"Service discount type.","type":"string","enum":["none","percentage","fixed"],"required":false},"service_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"fee_discount_type":{"description":"Fee discount type.","type":"string","enum":["none","percentage","fixed"],"required":false},"fee_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"accommodation_types":{"description":"Accommodation Types.","type":"array","items":{"description":"Accommodation type ids.","type":"integer","context":["view","edit"]},"required":false},"applicable_service_ids":{"description":"Applicable services.","type":"array","items":{"description":"Service ids.","type":"integer","context":["view","edit"]},"required":false},"expiration_date":{"description":"Expiration Date.","type":"string","format":"date","required":false},"check_in_date_after":{"description":"Check-in date after.","anyOf":[{"type":"string","format":"date"},{"type":"string","maxLength":0}],"required":false},"check_out_date_before":{"description":"Check-out date before.","anyOf":[{"type":"string","format":"date"},{"type":"string","maxLength":0}],"required":false},"min_days_before_check_in":{"description":"Min days before check-in.","type":"integer","required":false},"max_days_before_check_in":{"description":"Max days before check-in.","type":"integer","required":false},"min_days":{"description":"Minimum days.","type":"integer","required":false},"max_days":{"description":"Maximum days.","type":"integer","required":false},"usage_limit":{"description":"Usage limit.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/coupons"}]}},"\/mphb\/v1\/coupons\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"code":{"description":"Coupon code.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"room_discount_type":{"description":"Accommodation discount type.","type":"string","enum":["none","percentage","per_accomm","per_accomm_per_day"],"required":false},"room_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"service_discount_type":{"description":"Service discount type.","type":"string","enum":["none","percentage","fixed"],"required":false},"service_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"fee_discount_type":{"description":"Fee discount type.","type":"string","enum":["none","percentage","fixed"],"required":false},"fee_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"accommodation_types":{"description":"Accommodation Types.","type":"array","items":{"description":"Accommodation type ids.","type":"integer","context":["view","edit"]},"required":false},"applicable_service_ids":{"description":"Applicable services.","type":"array","items":{"description":"Service ids.","type":"integer","context":["view","edit"]},"required":false},"expiration_date":{"description":"Expiration Date.","type":"string","format":"date","required":false},"check_in_date_after":{"description":"Check-in date after.","anyOf":[{"type":"string","format":"date"},{"type":"string","maxLength":0}],"required":false},"check_out_date_before":{"description":"Check-out date before.","anyOf":[{"type":"string","format":"date"},{"type":"string","maxLength":0}],"required":false},"min_days_before_check_in":{"description":"Min days before check-in.","type":"integer","required":false},"max_days_before_check_in":{"description":"Max days before check-in.","type":"integer","required":false},"min_days":{"description":"Minimum days.","type":"integer","required":false},"max_days":{"description":"Maximum days.","type":"integer","required":false},"usage_limit":{"description":"Usage limit.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/coupons\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"Coupon code.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"room_discount_type":{"description":"Accommodation discount type.","type":"string","enum":["none","percentage","per_accomm","per_accomm_per_day"],"required":false},"room_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"service_discount_type":{"description":"Service discount type.","type":"string","enum":["none","percentage","fixed"],"required":false},"service_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"fee_discount_type":{"description":"Fee discount type.","type":"string","enum":["none","percentage","fixed"],"required":false},"fee_amount":{"description":"Percent or fixed amount according to selected type.","type":"number","required":false},"accommodation_types":{"description":"Accommodation Types.","type":"array","items":{"description":"Accommodation type ids.","type":"integer","context":["view","edit"]},"required":false},"applicable_service_ids":{"description":"Applicable services.","type":"array","items":{"description":"Service ids.","type":"integer","context":["view","edit"]},"required":false},"expiration_date":{"description":"Expiration Date.","type":"string","format":"date","required":false},"check_in_date_after":{"description":"Check-in date after.","anyOf":[{"type":"string","format":"date"},{"type":"string","maxLength":0}],"required":false},"check_out_date_before":{"description":"Check-out date before.","anyOf":[{"type":"string","format":"date"},{"type":"string","maxLength":0}],"required":false},"min_days_before_check_in":{"description":"Min days before check-in.","type":"integer","required":false},"max_days_before_check_in":{"description":"Max days before check-in.","type":"integer","required":false},"min_days":{"description":"Minimum days.","type":"integer","required":false},"max_days":{"description":"Maximum days.","type":"integer","required":false},"usage_limit":{"description":"Usage limit.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/coupons\/batch"}]}},"\/mphb\/v1\/rates":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"status":{"default":"active","description":"Status.","type":"string","enum":["active","disabled"],"required":false},"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"accommodation_type_id":{"description":"Unique identifier of accommodation type.","type":"integer","required":true},"season_prices":{"description":"Season prices.","type":"array","items":{"type":"object","required":true,"properties":{"priority":{"description":"Higher number means more priority.","type":"integer","context":["embed","view","edit"],"required":true},"base_price":{"description":"Base price.","type":"number","context":["embed","view","edit"],"required":true},"base_adults":{"description":"Base adults.","type":"integer","context":["embed","view","edit"]},"base_children":{"description":"Base children","type":"integer","context":["embed","view","edit"]},"extra_adult_price":{"description":"Price per extra adult.","type":"number","context":["embed","view","edit"]},"extra_child_price":{"description":"Price per extra child.","type":"number","context":["embed","view","edit"]},"season_id":{"description":"Season id.","type":"integer","context":["embed","view","edit"],"required":true},"variations":{"description":"Variations.","type":"array","context":["embed","view","edit"],"required":true,"items":{"type":"object","properties":{"adults":{"description":"Adults.","type":"integer","context":["embed","view","edit"],"required":true},"children":{"description":"Children.","type":"integer","context":["embed","view","edit"],"required":true},"price":{"description":"Price.","type":"number","context":["embed","view","edit"],"required":true}}}}}},"required":true}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/rates"}]}},"\/mphb\/v1\/rates\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"status":{"description":"Status.","type":"string","enum":["active","disabled"],"required":false},"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"accommodation_type_id":{"description":"Unique identifier of accommodation type.","type":"integer","required":false},"season_prices":{"description":"Season prices.","type":"array","items":{"type":"object","required":true,"properties":{"priority":{"description":"Higher number means more priority.","type":"integer","context":["embed","view","edit"],"required":true},"base_price":{"description":"Base price.","type":"number","context":["embed","view","edit"],"required":true},"base_adults":{"description":"Base adults.","type":"integer","context":["embed","view","edit"]},"base_children":{"description":"Base children","type":"integer","context":["embed","view","edit"]},"extra_adult_price":{"description":"Price per extra adult.","type":"number","context":["embed","view","edit"]},"extra_child_price":{"description":"Price per extra child.","type":"number","context":["embed","view","edit"]},"season_id":{"description":"Season id.","type":"integer","context":["embed","view","edit"],"required":true},"variations":{"description":"Variations.","type":"array","context":["embed","view","edit"],"required":true,"items":{"type":"object","properties":{"adults":{"description":"Adults.","type":"integer","context":["embed","view","edit"],"required":true},"children":{"description":"Children.","type":"integer","context":["embed","view","edit"],"required":true},"price":{"description":"Price.","type":"number","context":["embed","view","edit"],"required":true}}}}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/rates\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"Status.","type":"string","enum":["active","disabled"],"required":false},"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"accommodation_type_id":{"description":"Unique identifier of accommodation type.","type":"integer","required":false},"season_prices":{"description":"Season prices.","type":"array","items":{"type":"object","required":true,"properties":{"priority":{"description":"Higher number means more priority.","type":"integer","context":["embed","view","edit"],"required":true},"base_price":{"description":"Base price.","type":"number","context":["embed","view","edit"],"required":true},"base_adults":{"description":"Base adults.","type":"integer","context":["embed","view","edit"]},"base_children":{"description":"Base children","type":"integer","context":["embed","view","edit"]},"extra_adult_price":{"description":"Price per extra adult.","type":"number","context":["embed","view","edit"]},"extra_child_price":{"description":"Price per extra child.","type":"number","context":["embed","view","edit"]},"season_id":{"description":"Season id.","type":"integer","context":["embed","view","edit"],"required":true},"variations":{"description":"Variations.","type":"array","context":["embed","view","edit"],"required":true,"items":{"type":"object","properties":{"adults":{"description":"Adults.","type":"integer","context":["embed","view","edit"],"required":true},"children":{"description":"Children.","type":"integer","context":["embed","view","edit"],"required":true},"price":{"description":"Price.","type":"number","context":["embed","view","edit"],"required":true}}}}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/rates\/batch"}]}},"\/mphb\/v1\/rates\/(?P<id>[\\d]+)\/custom_prices":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier of the rate.","type":"integer","minimum":1,"required":true},"start_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"end_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier of the rate.","type":"integer","minimum":1,"required":true},"start_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"end_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"price":{"description":"Custom price to set.","type":"number","minimum":0,"required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier of the rate.","type":"integer","minimum":1,"required":true},"start_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"end_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true}}}]},"\/mphb\/v1\/seasons":{"namespace":"mphb\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false},"page":{"description":"Obecna strona kolekcji.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Ogranicz wyniki do pasuj\u0105cych do zapytania.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"filter":{"type":"object","description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","required":false}}},{"methods":["POST"],"args":{"title":{"description":"Title.","type":"string","required":true},"description":{"description":"Description.","type":"string","required":false},"start_date":{"description":"Start date.","type":"string","format":"date","required":true},"end_date":{"description":"End date.","type":"string","format":"date","required":true},"days":{"description":"Days.","type":"array","items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"required":true},"repeat_period":{"description":"Repeat period.","type":"string","enum":["none","year"],"required":false},"repeat_until_date":{"description":"Repeat until date.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/seasons"}]}},"\/mphb\/v1\/seasons\/(?P<id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.","type":"string","enum":["view","embed","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"start_date":{"description":"Start date.","type":"string","format":"date","required":false},"end_date":{"description":"End date.","type":"string","format":"date","required":false},"days":{"description":"Days.","type":"array","items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"required":false},"repeat_period":{"description":"Repeat period.","type":"string","enum":["none","year"],"required":false},"repeat_until_date":{"description":"Repeat until date.","type":"string","format":"date","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/mphb\/v1\/seasons\/batch":{"namespace":"mphb\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"title":{"description":"Title.","type":"string","required":false},"description":{"description":"Description.","type":"string","required":false},"start_date":{"description":"Start date.","type":"string","format":"date","required":false},"end_date":{"description":"End date.","type":"string","format":"date","required":false},"days":{"description":"Days.","type":"array","items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"required":false},"repeat_period":{"description":"Repeat period.","type":"string","enum":["none","year"],"required":false},"repeat_until_date":{"description":"Repeat until date.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/seasons\/batch"}]}},"\/mphb\/v1\/booking_rules":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"check_in_days":{"type":"array","items":{"type":"object","properties":{"check_in_days":{"name":"check_in_days","type":"array","uniqueItems":true,"items":{"type":"integer","minimum":0,"maximum":6},"required":true},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false},"check_out_days":{"type":"array","items":{"type":"object","properties":{"check_out_days":{"name":"check_out_days","type":"array","uniqueItems":true,"items":{"type":"integer","minimum":0,"maximum":6},"required":true},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false},"min_stay_length":{"type":"array","items":{"type":"object","properties":{"min_stay_length":{"type":"integer","minimum":1},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false},"max_stay_length":{"type":"array","items":{"type":"object","properties":{"max_stay_length":{"type":"integer","minimum":1},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false},"booking_rules_custom":{"type":"array","items":{"type":"object","properties":{"accommodation_type_id":{"type":"integer","enum":[0,22],"required":true},"accommodation_id":{"type":"integer","required":true},"date_from":{"type":"string","format":"date","required":true},"date_to":{"type":"string","format":"date","required":true},"restrictions":{"type":"array","items":{"type":"string","enum":["check-in","check-out","stay-in"]},"required":true},"comment":{"type":"string"}},"additionalProperties":false},"required":false},"min_advance_reservation":{"type":"array","items":{"type":"object","properties":{"min_advance_reservation":{"type":"integer","minimum":0},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false},"max_advance_reservation":{"type":"array","items":{"type":"object","properties":{"max_advance_reservation":{"type":"integer","minimum":0},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false},"buffer_days":{"type":"array","items":{"type":"object","properties":{"buffer_days":{"type":"integer","minimum":0},"accommodation_type_ids":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"season_ids":{"name":"season_ids","type":"array","items":{"type":"integer","enum":[0,43,32]},"uniqueItems":true,"required":true}},"additionalProperties":false},"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/booking_rules"}]}},"\/mphb\/v1\/booking_rules\/custom":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"room_type_id":{"description":"Unique identifier of the accommodation type.","type":"integer","minimum":1,"required":true},"start_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"end_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"room_type_id":{"description":"Unique identifier of the accommodation type.","type":"integer","minimum":1,"required":true},"start_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"end_date":{"description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","type":"string","format":"date","required":true},"allow_check_in":{"oneOf":[{"type":"boolean"},{"type":"null"}],"required":false},"allow_check_out":{"oneOf":[{"type":"boolean"},{"type":"null"}],"required":false},"buffer_days":{"oneOf":[{"type":"integer","minimum":0},{"type":"null"}],"required":false},"min_stay_length":{"oneOf":[{"type":"integer","minimum":0},{"type":"null"}],"required":false},"max_stay_length":{"oneOf":[{"type":"integer","minimum":0},{"type":"null"}],"required":false},"min_advance_reservation":{"oneOf":[{"type":"integer","minimum":0},{"type":"null"}],"required":false},"max_advance_reservation":{"oneOf":[{"type":"integer","minimum":0},{"type":"null"}],"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/booking_rules\/custom"}]}},"\/mphb\/v1\/countries":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"locale":{"description":"Locale code, example: en_US or en","type":"string","maxLength":5,"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/countries"}]}},"\/mphb\/v1\/settings":{"namespace":"mphb\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/settings"}]}},"\/mphb\/v1\/taxes_and_fees":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"fees":{"type":"array","items":{"oneOf":[{"title":"Per guest \/ per day","type":"object","properties":{"label":{"type":"string"},"limit":{"type":"integer","minimum":0},"included":{"type":"boolean"},"accommodations":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"type":{"type":"string","enum":["per_guest_per_day"]},"amount":{"type":"object","properties":{"adults":{"type":"number","minimum":0,"required":true},"children":{"type":"number","minimum":0,"required":true}},"additionalProperties":false}},"additionalProperties":false},{"title":"Per accommodation \/ per day","type":"object","properties":{"label":{"type":"string"},"limit":{"type":"integer","minimum":0},"included":{"type":"boolean"},"accommodations":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"type":{"type":"string","enum":["per_accommodation_per_day"]},"amount":{"type":"number","minimum":0}},"additionalProperties":false},{"title":"Per accommodation percentage","type":"object","properties":{"label":{"type":"string"},"included":{"type":"boolean"},"accommodations":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"type":{"type":"string","enum":["per_accommodation_percentage"]},"amount":{"type":"number","minimum":0}},"additionalProperties":false}]},"required":false},"accommodation_taxes":{"type":"array","items":{"oneOf":[{"title":"Per guest \/ per day","type":"object","properties":{"label":{"type":"string"},"limit":{"type":"integer","minimum":0},"included":{"type":"boolean"},"accommodations":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"type":{"type":"string","enum":["per_guest_per_day"]},"amount":{"type":"object","properties":{"adults":{"type":"number","minimum":0,"required":true},"children":{"type":"number","minimum":0,"required":true}},"additionalProperties":false}},"additionalProperties":false},{"title":"Per accommodation \/ per day","type":"object","properties":{"label":{"type":"string"},"limit":{"type":"integer","minimum":0},"included":{"type":"boolean"},"accommodations":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"type":{"type":"string","enum":["per_accommodation_per_day"]},"amount":{"type":"number","minimum":0}},"additionalProperties":false},{"title":"Per accommodation percentage","type":"object","properties":{"label":{"type":"string"},"included":{"type":"boolean"},"accommodations":{"name":"accommodation_type_ids","type":"array","items":{"type":"integer","enum":[0,22]},"uniqueItems":true,"required":true},"type":{"type":"string","enum":["per_accommodation_percentage"]},"amount":{"type":"number","minimum":0}},"additionalProperties":false}]},"required":false},"service_taxes":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"type":{"type":"string","enum":["percentage"]},"amount":{"type":"number","minimum":0}},"additionalProperties":false},"required":false},"fee_taxes":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"type":{"type":"string","enum":["percentage"]},"amount":{"type":"number","minimum":0}},"additionalProperties":false},"required":false}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/taxes_and_fees"}]}},"\/mphb\/v1\/booking_rules\/blocks":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"date_from":{"type":"string","description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","format":"date","required":false},"date_to":{"type":"string","description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","format":"date","required":false},"order":{"type":"string","description":"Order sort attribute ascending or descending.","enum":["asc","desc","ASC","DESC"],"required":false},"orderby":{"type":"string","description":"Sort collection by object attribute.","enum":["block_id","date","date_from","date_to","ID","room_id","room_type_id"],"required":false},"page":{"type":"integer","description":"Current page of the collection.","minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","oneOf":[{"type":"integer","minimum":1},{"type":"integer","minimum":-1,"maximum":-1}],"required":false},"restrictions":{"type":"array","items":{"type":"string","enum":["check-in","check-out","stay-in"]},"required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"comment":{"type":"string","required":false},"date_from":{"type":"string","description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","format":"date","required":true},"date_to":{"type":"string","description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","format":"date","required":true},"not_check_in":{"type":"boolean","required":false},"not_check_out":{"type":"boolean","required":false},"not_stay_in":{"type":"boolean","required":false},"room_id":{"type":"integer","minimum":0,"default":0,"required":false},"room_type_id":{"type":"integer","minimum":0,"default":0,"required":false}}},{"methods":["DELETE"],"args":{"block_ids":{"type":"array","description":"Unique block identifiers.","items":{"type":"integer","minimum":1},"required":true}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/booking_rules\/blocks"}]}},"\/mphb\/v1\/booking_rules\/blocks\/(?P<block_id>[\\d]+)":{"namespace":"mphb\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"block_id":{"type":"integer","description":"Unique identifier of the block.","minimum":1,"required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"block_id":{"type":"integer","description":"Unique identifier of the block.","minimum":1,"required":true},"comment":{"type":"string","required":false},"date_from":{"type":"string","description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","format":"date","required":false},"date_to":{"type":"string","description":"Date in WordPress timezone (YYYY-MM-DD) (inclusive)","format":"date","required":false},"not_check_in":{"type":"boolean","required":false},"not_check_out":{"type":"boolean","required":false},"not_stay_in":{"type":"boolean","required":false},"room_id":{"type":"integer","minimum":0,"required":false},"room_type_id":{"type":"integer","minimum":0,"required":false}}},{"methods":["DELETE"],"args":{"block_id":{"type":"integer","description":"Unique identifier of the block.","minimum":1,"required":true}}}]},"\/mphb\/v1\/checkout":{"namespace":"mphb\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"check_in_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","required":true},"check_out_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","required":true},"checkout_id":{"type":"string","default":"","required":false},"coupon_code":{"type":"string","default":"","required":false},"customer_fields":{"type":"object","properties":{"mphb_email":{"type":"string","format":"email","required":true,"sanitize_callback":"rest_sanitize_request_arg"}},"additionalProperties":true,"required":true},"lang":{"type":"string","minLength":2,"required":false},"payment_details":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","sanitize_callback":"rest_sanitize_request_arg"},"gateway_id":{"type":"string","required":true,"sanitize_callback":"rest_sanitize_request_arg"},"payment_fields":{"type":"object","additionalProperties":true,"sanitize_callback":"rest_sanitize_request_arg"}},"required":false},"room_details":{"type":"array","items":{"type":"object","properties":{"adults":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"children":{"type":"integer","minimum":0,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"guest_name":{"type":"string","sanitize_callback":"rest_sanitize_request_arg"},"rate_id":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"room_id":{"type":"integer","minimum":0,"sanitize_callback":"rest_sanitize_request_arg"},"room_type_id":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"adults":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"quantity":{"type":"integer","minimum":1,"sanitize_callback":"rest_sanitize_request_arg"}},"sanitize_callback":"rest_sanitize_request_arg"},"sanitize_callback":"rest_sanitize_request_arg"}},"sanitize_callback":"rest_sanitize_request_arg"},"required":true}}}],"_links":{"self":[{"href":"https:\/\/dev.osrodek.kp.zhp.pl\/index.php\/wp-json\/mphb\/v1\/checkout"}]}},"\/mphb\/v1\/checkout\/admin":{"namespace":"mphb\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"check_in_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","required":true},"check_out_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","required":true},"checkout_id":{"type":"string","default":"","required":false},"coupon_code":{"type":"string","default":"","required":false},"customer_fields":{"type":"object","additionalProperties":true,"default":[],"required":false},"lang":{"type":"string","minLength":2,"required":false},"payment_details":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","sanitize_callback":"rest_sanitize_request_arg"},"gateway_id":{"type":"string","required":true,"sanitize_callback":"rest_sanitize_request_arg"},"payment_fields":{"type":"object","additionalProperties":true,"sanitize_callback":"rest_sanitize_request_arg"}},"required":false},"room_details":{"type":"array","items":{"type":"object","properties":{"adults":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"children":{"type":"integer","minimum":0,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"guest_name":{"type":"string","sanitize_callback":"rest_sanitize_request_arg"},"rate_id":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"room_id":{"type":"integer","minimum":0,"sanitize_callback":"rest_sanitize_request_arg"},"room_type_id":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"adults":{"type":"integer","minimum":1,"required":true,"sanitize_callback":"rest_sanitize_request_arg"},"quantity":{"type":"integer","minimum":1,"sanitize_callback":"rest_sanitize_request_arg"}},"sanitize_callback":"rest_sanitize_request_arg"},"sanitize_callback":"rest_sanitize_request_arg"}},"sanitize_callback":"rest_sanitize_request_arg"},"required":true},"status":{"type":"string","enum":["pend