{"openapi":"3.1.0","info":{"title":"Matematyka Gryzie courses, free trainings, consultation and funding","version":"1.0.0","description":"Public, read-only catalog of Matematyka Gryzie (mathematics courses) for AI assistants helping Polish students and parents: courses with prices, free online trainings, the free phone consultation, funding (IKR Junior, Karta Dużej Rodziny, volume discount), and the satisfaction guarantee, the Zdana Matura programme and installments quoted from the terms. Never sign anyone up: give the signup or booking page. Prices are in grosze and match the course page exactly. Give the student pageUrl or a variant's purchaseUrl; the purchase happens on our site. No authentication. The course list returns every course unless limit is given; follow next (or pass nextCursor as cursor) for the following page. Versioning: a breaking change ships under a new path (/api/v2); the old version keeps working for at least 90 days after the change is announced on /developers/deprecation, and its responses carry Deprecation and Sunset headers (RFC 9745, RFC 8594) during that time."},"externalDocs":{"description":"Versioning and deprecation policy","url":"https://matematykagryzie.pl/developers/deprecation"},"servers":[{"url":"https://matematykagryzie.pl"}],"paths":{"/api/v1/courses":{"get":{"operationId":"listCourses","summary":"List courses and packages with current prices","description":"Filter by exam, level, subject or free text. Example: exam=matura&level=rozszerzona, or q=chemia matura. One entry per course page; a Formuła 2015 sibling is reachable only through GET /api/v1/courses/{id}. Parameters other than these four are ignored; a known filter with a value outside its list answers 400.","parameters":[{"name":"exam","in":"query","required":false,"description":"What the course prepares for: matura, egzamin-osmoklasisty (8th-grade exam), eksternistyczny (extramural exam) or szkola (school year).","schema":{"type":"string","enum":["matura","egzamin-osmoklasisty","eksternistyczny","szkola"]}},{"name":"level","in":"query","required":false,"description":"Matura level: podstawowa (basic) or rozszerzona (extended).","schema":{"type":"string","enum":["podstawowa","rozszerzona"]}},{"name":"subject","in":"query","required":false,"description":"Subject id, e.g. mathematics, polish, biology.","schema":{"type":"string","enum":["mathematics","polish","english","german","spanish","italian","french","russian","korean","japanese","chemistry","biology","physics","geography","informatics","history","wos","history-art","polish-for-foreigners","medicine-calculation","business-management"]}},{"name":"q","in":"query","required":false,"description":"Free text matched against name and description, without Polish letters too, e.g. \"matura rozszerzona\". Empty means no filter.","schema":{}},{"name":"limit","in":"query","required":false,"description":"Page size, 1-100. Without it the whole list is one page.","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"The nextCursor of the previous page: the slug of its last course.","schema":{"type":"string","pattern":"^[a-z0-9-]{1,120}$"}}],"responses":{"200":{"description":"Matching courses.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseList"}}}},"400":{"description":"A filter has a value outside the allowed list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Course data is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/courses/{id}":{"get":{"operationId":"getCourse","summary":"One course with every price variant and purchase link","parameters":[{"name":"id","in":"path","required":true,"description":"Course id or page slug, e.g. \"advanced-matura-course\" or \"kurs-matura-rozszerzona-z-matematyki\".","schema":{"type":"string"}}],"responses":{"200":{"description":"The course.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Course"}}}},"404":{"description":"No course with this id or slug on this site.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Course data is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/trainings":{"get":{"operationId":"listFreeTrainings","summary":"Free online trainings with their signup pages","description":"Every free training this brand offers, with the next session when known. Send the student to signupUrl; do not sign anyone up yourself. A subject outside the list answers 400.","parameters":[{"name":"subject","in":"query","required":false,"description":"Subject id, e.g. \"mathematics\" or \"biology\".","schema":{"type":"string","enum":["mathematics","polish","english","german","spanish","italian","french","russian","korean","japanese","chemistry","biology","physics","geography","informatics","history","wos","history-art","polish-for-foreigners","medicine-calculation","business-management"]}}],"responses":{"200":{"description":"Open trainings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingList"}}}},"400":{"description":"subject is not a known subject id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Training data is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/consultation":{"get":{"operationId":"getFreeConsultation","summary":"The free phone consultation with an adviser","description":"What the consultation covers and where to book it. Send the student or parent to bookingUrl; do not book for anyone.","responses":{"200":{"description":"The consultation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Consultation"}}}}}}},"/api/v1/funding":{"get":{"operationId":"getFundingOptions","parameters":[{"name":"section","in":"query","required":false,"description":"Only this part of the answer; leave it out for all of them.","schema":{"type":"string","enum":["ikrJunior","largeFamilyCard","volumeDiscount","discountCodes"]}}],"summary":"Funding and discounts: IKR Junior, Karta Dużej Rodziny, volume discount, discount codes","description":"Ways a family pays less: the IKR Junior scholarship with its live-lesson courses and schedule, the Karta Dużej Rodziny discount, the volume discount for several courses and the public rules of discount codes. Send the family to pageUrl; codes and applications are issued on our pages only, never through an agent.","responses":{"200":{"description":"The funding options.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Funding"},{"$ref":"#/components/schemas/FundingSection"}]}}}},"400":{"description":"section is not a key of the answer.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/guarantees":{"get":{"operationId":"getGuaranteesAndPayments","parameters":[{"name":"section","in":"query","required":false,"description":"Only this part of the answer; leave it out for all of them.","schema":{"type":"string","enum":["satisfactionGuarantee","zdanaMatura","paymentForms"]}}],"summary":"The 30-day satisfaction guarantee, the Zdana Matura programme and installments","description":"Whole points quoted word for word from the terms: every point of the satisfaction guarantee, every point of the Zdana Matura programme on who may use it, its conditions, the reward and refusals (basic-level maths matura only; it guarantees no result) and the installment and pay-later forms. Quote them, do not paraphrase; send the family to termsUrl.","responses":{"200":{"description":"Guarantees and payment forms.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Guarantees"},{"$ref":"#/components/schemas/GuaranteesSection"}]}}}},"400":{"description":"section is not a key of the answer.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"TrainingList":{"type":"object","properties":{"trainings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"subject":{"type":"string"},"track":{"type":"string","description":"Exam track, or the subject outside the tracks."},"presenter":{"type":"string"},"nextSessionAt":{"description":"Start of the next session, ISO 8601 UTC; null when unknown.","type":["string","null"]},"signupUrl":{"type":"string","format":"uri","description":"Signup page; the student gives their details and consents there."}},"required":["id","title","description","subject","track","presenter","nextSessionAt","signupUrl"],"additionalProperties":false}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["trainings","count"],"additionalProperties":false},"Consultation":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"free":{"type":"boolean","const":true},"channel":{"type":"string","const":"phone"},"bookingUrl":{"type":"string","format":"uri","description":"Booking page; the student or parent picks the slot and gives their details there."}},"required":["title","description","free","channel","bookingUrl"],"additionalProperties":false},"Funding":{"type":"object","properties":{"ikrJunior":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"recruitmentOpen":{"type":"boolean","description":"False: no new IKR Junior application can be filed."},"recruitmentNote":{"type":"string"},"currentPeriod":{"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"end":{"type":"string","description":"Last day of the period, YYYY-MM-DD."},"limitPln":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Scholarship limit per period."}},"required":["title","end","limitPln"],"additionalProperties":false},{"type":"null"}],"description":"The scholarship period under way; null after the last one."},"eligibility":{"type":"array","items":{"type":"string"}},"howItWorks":{"type":"string"},"exclusiveGroupNote":{"type":"string"},"courses":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"exclusiveGroup":{"description":"Courses sharing a group exclude each other: one request holds at most one of them.","type":["string","null"]},"orderable":{"type":"boolean","description":"True when a live lesson is still ahead."},"upcomingLessons":{"type":"array","items":{"type":"object","properties":{"startsAt":{"type":"string","description":"ISO 8601 UTC."},"durationMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"title":{"type":"string"}},"required":["startsAt","durationMinutes","title"],"additionalProperties":false}}},"required":["name","exclusiveGroup","orderable","upcomingLessons"],"additionalProperties":false}},{"type":"null"}],"description":"Live-lesson courses the scholarship pays for; null when the schedule is temporarily unavailable."},"pageUrl":{"type":"string","format":"uri","description":"The family files its request on this page."}},"required":["name","description","recruitmentOpen","recruitmentNote","currentPeriod","eligibility","howItWorks","exclusiveGroupNote","courses","pageUrl"],"additionalProperties":false},"largeFamilyCard":{"type":"object","properties":{"name":{"type":"string"},"discountPercent":{"type":"number"},"description":{"type":"string"},"conditions":{"type":"array","items":{"type":"string"}},"howToGetCode":{"type":"string"},"pageUrl":{"type":"string","format":"uri","description":"The card holder gets the code on this page, never via you."}},"required":["name","discountPercent","description","conditions","howToGetCode","pageUrl"],"additionalProperties":false},"volumeDiscount":{"anyOf":[{"type":"object","properties":{"active":{"type":"boolean"},"description":{"type":"string"},"tiers":{"type":"array","items":{"type":"object","properties":{"minCourses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"discountPercent":{"type":"number"}},"required":["minCourses","discountPercent"],"additionalProperties":false}}},"required":["active","description","tiers"],"additionalProperties":false},{"type":"null"}],"description":"Discount for several courses in one cart; null when unavailable."},"discountCodes":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"string"}},"termsUrl":{"type":"string","format":"uri"}},"required":["rules","termsUrl"],"additionalProperties":false}},"required":["ikrJunior","largeFamilyCard","volumeDiscount","discountCodes"],"additionalProperties":false},"FundingSection":{"anyOf":[{"type":"object","properties":{"ikrJunior":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"recruitmentOpen":{"type":"boolean","description":"False: no new IKR Junior application can be filed."},"recruitmentNote":{"type":"string"},"currentPeriod":{"anyOf":[{"type":"object","properties":{"title":{"type":"string"},"end":{"type":"string","description":"Last day of the period, YYYY-MM-DD."},"limitPln":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Scholarship limit per period."}},"required":["title","end","limitPln"],"additionalProperties":false},{"type":"null"}],"description":"The scholarship period under way; null after the last one."},"eligibility":{"type":"array","items":{"type":"string"}},"howItWorks":{"type":"string"},"exclusiveGroupNote":{"type":"string"},"courses":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"exclusiveGroup":{"description":"Courses sharing a group exclude each other: one request holds at most one of them.","type":["string","null"]},"orderable":{"type":"boolean","description":"True when a live lesson is still ahead."},"upcomingLessons":{"type":"array","items":{"type":"object","properties":{"startsAt":{"type":"string","description":"ISO 8601 UTC."},"durationMinutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"title":{"type":"string"}},"required":["startsAt","durationMinutes","title"],"additionalProperties":false}}},"required":["name","exclusiveGroup","orderable","upcomingLessons"],"additionalProperties":false}},{"type":"null"}],"description":"Live-lesson courses the scholarship pays for; null when the schedule is temporarily unavailable."},"pageUrl":{"type":"string","format":"uri","description":"The family files its request on this page."}},"required":["name","description","recruitmentOpen","recruitmentNote","currentPeriod","eligibility","howItWorks","exclusiveGroupNote","courses","pageUrl"],"additionalProperties":false}},"required":["ikrJunior"],"additionalProperties":false},{"type":"object","properties":{"largeFamilyCard":{"type":"object","properties":{"name":{"type":"string"},"discountPercent":{"type":"number"},"description":{"type":"string"},"conditions":{"type":"array","items":{"type":"string"}},"howToGetCode":{"type":"string"},"pageUrl":{"type":"string","format":"uri","description":"The card holder gets the code on this page, never via you."}},"required":["name","discountPercent","description","conditions","howToGetCode","pageUrl"],"additionalProperties":false}},"required":["largeFamilyCard"],"additionalProperties":false},{"type":"object","properties":{"volumeDiscount":{"anyOf":[{"type":"object","properties":{"active":{"type":"boolean"},"description":{"type":"string"},"tiers":{"type":"array","items":{"type":"object","properties":{"minCourses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"discountPercent":{"type":"number"}},"required":["minCourses","discountPercent"],"additionalProperties":false}}},"required":["active","description","tiers"],"additionalProperties":false},{"type":"null"}],"description":"Discount for several courses in one cart; null when unavailable."}},"required":["volumeDiscount"],"additionalProperties":false},{"type":"object","properties":{"discountCodes":{"type":"object","properties":{"rules":{"type":"array","items":{"type":"string"}},"termsUrl":{"type":"string","format":"uri"}},"required":["rules","termsUrl"],"additionalProperties":false}},"required":["discountCodes"],"additionalProperties":false}]},"Guarantees":{"type":"object","properties":{"satisfactionGuarantee":{"type":"object","properties":{"name":{"type":"string"},"days":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"terms":{"type":"array","items":{"type":"string"},"description":"Every point of the terms' satisfaction guarantee section, in order, verbatim."},"excludes":{"type":"string","description":"The exclusions point, verbatim, with its closing sentence on the rights the law still gives."},"howToClaim":{"type":"string","description":"The claim point, verbatim."},"termsUrl":{"type":"string","format":"uri"}},"required":["name","days","terms","excludes","howToClaim","termsUrl"],"additionalProperties":false},"zdanaMatura":{"type":"object","properties":{"name":{"type":"string"},"guaranteesResult":{"type":"boolean","const":false,"description":"The programme guarantees no exam result."},"notAGuarantee":{"type":"string"},"scope":{"type":"string","description":"Only the basic-level maths matura is covered."},"terms":{"type":"array","items":{"type":"string"},"description":"Every point of the programme's sections 1 (from point 2) and 2, in order, verbatim."},"claimEmail":{"type":"string","description":"The address the programme terms at termsUrl name."},"reward":{"type":"string"},"termsUrl":{"type":"string","format":"uri"}},"required":["name","guaranteesResult","notAGuarantee","scope","terms","claimEmail","reward","termsUrl"],"additionalProperties":false},"paymentForms":{"type":"object","properties":{"installments":{"type":"object","properties":{"terms":{"type":"string"},"minOrderAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Smallest order for installments, in grosze."}},"required":["terms","minOrderAmount"],"additionalProperties":false},"payLater":{"type":"object","properties":{"terms":{"type":"string"}},"required":["terms"],"additionalProperties":false},"scope":{"type":"string"},"termsUrl":{"type":"string","format":"uri"}},"required":["installments","payLater","scope","termsUrl"],"additionalProperties":false}},"required":["satisfactionGuarantee","zdanaMatura","paymentForms"],"additionalProperties":false},"GuaranteesSection":{"anyOf":[{"type":"object","properties":{"satisfactionGuarantee":{"type":"object","properties":{"name":{"type":"string"},"days":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"terms":{"type":"array","items":{"type":"string"},"description":"Every point of the terms' satisfaction guarantee section, in order, verbatim."},"excludes":{"type":"string","description":"The exclusions point, verbatim, with its closing sentence on the rights the law still gives."},"howToClaim":{"type":"string","description":"The claim point, verbatim."},"termsUrl":{"type":"string","format":"uri"}},"required":["name","days","terms","excludes","howToClaim","termsUrl"],"additionalProperties":false}},"required":["satisfactionGuarantee"],"additionalProperties":false},{"type":"object","properties":{"zdanaMatura":{"type":"object","properties":{"name":{"type":"string"},"guaranteesResult":{"type":"boolean","const":false,"description":"The programme guarantees no exam result."},"notAGuarantee":{"type":"string"},"scope":{"type":"string","description":"Only the basic-level maths matura is covered."},"terms":{"type":"array","items":{"type":"string"},"description":"Every point of the programme's sections 1 (from point 2) and 2, in order, verbatim."},"claimEmail":{"type":"string","description":"The address the programme terms at termsUrl name."},"reward":{"type":"string"},"termsUrl":{"type":"string","format":"uri"}},"required":["name","guaranteesResult","notAGuarantee","scope","terms","claimEmail","reward","termsUrl"],"additionalProperties":false}},"required":["zdanaMatura"],"additionalProperties":false},{"type":"object","properties":{"paymentForms":{"type":"object","properties":{"installments":{"type":"object","properties":{"terms":{"type":"string"},"minOrderAmount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Smallest order for installments, in grosze."}},"required":["terms","minOrderAmount"],"additionalProperties":false},"payLater":{"type":"object","properties":{"terms":{"type":"string"}},"required":["terms"],"additionalProperties":false},"scope":{"type":"string"},"termsUrl":{"type":"string","format":"uri"}},"required":["installments","payLater","scope","termsUrl"],"additionalProperties":false}},"required":["paymentForms"],"additionalProperties":false}]},"CourseList":{"type":"object","properties":{"courses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Course id, e.g. \"advanced-matura-course\"."},"slug":{"type":"string","description":"Slug of the course page; accepted by GET /api/v1/courses/{id}."},"name":{"type":"string","description":"Course name as shown on the site, e.g. \"Matura rozszerzona z matematyki\"."},"subjects":{"type":"array","items":{"type":"string"}},"exam":{"anyOf":[{"type":"string","enum":["matura","egzamin-osmoklasisty","eksternistyczny","szkola"],"description":"What the course prepares for: matura, egzamin-osmoklasisty (8th-grade exam), eksternistyczny (extramural exam) or szkola (school year)."},{"type":"null"}]},"level":{"anyOf":[{"type":"string","enum":["podstawowa","rozszerzona"],"description":"Matura level: podstawowa (basic) or rozszerzona (extended)."},{"type":"null"}]},"formula":{"description":"Exam formula the course follows, e.g. \"Formuła 2023\"; a 2015 sibling is reachable only by id.","type":["string","null"]},"isPackage":{"type":"boolean","description":"A package bundles several courses."},"pageUrl":{"type":"string","format":"uri","description":"Course page to give the student; the main link."},"price":{"type":"object","properties":{"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The price the course card shows, in grosze."},"currency":{"type":"string","const":"PLN"},"examDeadlineLabel":{"description":"Access end, e.g. \"do matury 2027\".","type":["string","null"]},"plannedPriceLabel":{"description":"Announced price increase exactly as the page prints it, or null.","type":["string","null"]}},"required":["amount","currency","examDeadlineLabel","plannedPriceLabel"],"additionalProperties":false,"description":"Exactly what the course page shows. All prices include VAT."}},"required":["id","slug","name","subjects","exam","level","formula","isPackage","pageUrl","price"],"additionalProperties":false}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Courses in this page."},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Courses matching the filters."},"nextCursor":{"description":"Pass as cursor for the next page; null on the last one.","type":["string","null"]},"next":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}],"description":"The next page's URL, with the same filters; null on the last one."}},"required":["courses","count","total","nextCursor","next"],"additionalProperties":false},"Course":{"type":"object","properties":{"id":{"type":"string","description":"Course id, e.g. \"advanced-matura-course\"."},"slug":{"type":"string","description":"Slug of the course page; accepted by GET /api/v1/courses/{id}."},"name":{"type":"string","description":"Course name as shown on the site, e.g. \"Matura rozszerzona z matematyki\"."},"subjects":{"type":"array","items":{"type":"string"}},"exam":{"anyOf":[{"type":"string","enum":["matura","egzamin-osmoklasisty","eksternistyczny","szkola"],"description":"What the course prepares for: matura, egzamin-osmoklasisty (8th-grade exam), eksternistyczny (extramural exam) or szkola (school year)."},{"type":"null"}]},"level":{"anyOf":[{"type":"string","enum":["podstawowa","rozszerzona"],"description":"Matura level: podstawowa (basic) or rozszerzona (extended)."},{"type":"null"}]},"formula":{"description":"Exam formula the course follows, e.g. \"Formuła 2023\"; a 2015 sibling is reachable only by id.","type":["string","null"]},"isPackage":{"type":"boolean","description":"A package bundles several courses."},"pageUrl":{"type":"string","format":"uri","description":"Course page to give the student; the main link."},"price":{"type":"object","properties":{"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The price the course card shows, in grosze."},"currency":{"type":"string","const":"PLN"},"examDeadlineLabel":{"description":"Access end, e.g. \"do matury 2027\".","type":["string","null"]},"plannedPriceLabel":{"description":"Announced price increase exactly as the page prints it, or null.","type":["string","null"]}},"required":["amount","currency","examDeadlineLabel","plannedPriceLabel"],"additionalProperties":false,"description":"Exactly what the course page shows. All prices include VAT."},"description":{"type":["string","null"]},"includes":{"type":"object","properties":{"lessonsCount":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"questionsCount":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"lessonVideoHours":{"type":["number","null"]},"solutionVideoHours":{"type":["number","null"]},"packageCourses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]}},"required":["id","name"],"additionalProperties":false}}},"required":["lessonsCount","questionsCount","lessonVideoHours","solutionVideoHours","packageCourses"],"additionalProperties":false},"variants":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"},"label":{"description":"Access period or deadline, e.g. \"12 miesięcy\", \"do matury 2027\".","type":["string","null"]},"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Amount in grosze (1/100 PLN): 49900 is 499 zł."},"regularAmount":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Amount in grosze (1/100 PLN): 49900 is 499 zł."},{"type":"null"}],"description":"Struck-through price; null because the course page shows no reduction."},"lowestAmount30d":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Amount in grosze (1/100 PLN): 49900 is 499 zł."},{"type":"null"}],"description":"Lowest price of the last 30 days (Omnibus); null when no reduction is shown."},"plannedAmount":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Amount in grosze (1/100 PLN): 49900 is 499 zł."},{"type":"null"}],"description":"Price after an announced increase, or null."},"currency":{"type":"string","const":"PLN"},"purchaseUrl":{"type":"string","format":"uri","description":"Checkout for this variant; the student completes the purchase there."}},"required":["productId","label","amount","regularAmount","lowestAmount30d","plannedAmount","currency","purchaseUrl"],"additionalProperties":false}}},"required":["id","slug","name","subjects","exam","level","formula","isPackage","pageUrl","price","description","includes","variants"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_query","course_not_found","not_found","method_not_allowed","unavailable"]},"message":{"type":"string"},"hint":{"type":"string"}},"required":["code","message","hint"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}