{"openapi":"3.1.0","info":{"title":"Polosa Blog API","version":"1.0.0","description":"Published content contract. Ignore unknown response fields. Markdown uses CommonMark with GFM tables, task lists, strikethrough and autolinks. Raw HTML is not executed. Existing v1 fields and semantics remain supported."},"servers":[{"url":"/polosa"}],"paths":{"/public/v1/sites/{siteKey}/posts":{"get":{"summary":"List articles by first publication time descending, then ID descending","security":[],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}},{"name":"locale","in":"query","required":false,"description":"Defaults to the connection locale","schema":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100000,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Published content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostPage"}}}},"304":{"description":"ETag unchanged"},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Site or article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/sites/{siteKey}/posts/{slug}":{"get":{"summary":"Read a published article","security":[],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}},{"name":"locale","in":"query","required":false,"description":"Defaults to the connection locale","schema":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"}}],"responses":{"200":{"description":"Published content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"304":{"description":"ETag unchanged"},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Site or article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/sites/{siteKey}/sitemap":{"get":{"summary":"Paginated sitemap data as JSON, not XML","security":[],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}},{"name":"locale","in":"query","required":false,"description":"Defaults to the connection locale","schema":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100000,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Published content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapPage"}}}},"304":{"description":"ETag unchanged"},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Site or article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/sites/{siteKey}/feed.xml":{"get":{"summary":"Latest 100 articles as RSS","security":[],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}},{"name":"locale","in":"query","required":false,"description":"Defaults to the connection locale","schema":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"}}],"responses":{"200":{"description":"RSS feed","content":{"application/rss+xml":{"schema":{"type":"string"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Site or article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/sites/{siteKey}/preview":{"get":{"summary":"Read a private preview without caching","security":[{"previewToken":[]}],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}}],"responses":{"200":{"description":"Private preview, no-store","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preview"}}}},"400":{"description":"Invalid parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or expired preview token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Site or article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/sites/{siteKey}/events":{"post":{"summary":"Receive optional browser analytics events","security":[],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string","format":"uri"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}},"text/plain":{"schema":{"type":"string","description":"JSON-encoded Event for sendBeacon"}}}},"responses":{"202":{"description":"Accepted for processing; event IDs are deduplicated and bot/privacy filtering applies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Accepted"}}}},"400":{"description":"Invalid event or attribution","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Analytics disabled or origin not allowed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Published article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"Event body timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Event exceeds 4096 bytes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry after 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Analytics temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/public/v1/sites/{siteKey}/conversions":{"post":{"summary":"Receive server conversion events","description":"Supply a valid clickId (at most 30 days old) or a published postId. Reuse eventId on retries. No orders or revenue are inferred from this signal.","security":[{"conversionKey":[]}],"parameters":[{"name":"siteKey","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversion"},"examples":{"conversion":{"value":{"type":"conversion","eventId":"70215239-a2e8-4ab2-aee4-9b4e03e89c02","name":"signup","clickId":"6c62904a-c302-4448-99de-56615f201d78"}}}}}},"responses":{"202":{"description":"Conversion accepted or already recorded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Accepted"}}}},"400":{"description":"Invalid event or attribution","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid conversion key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Analytics disabled or origin not allowed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Published article not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"Event body timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Event exceeds 4096 bytes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry after 60 seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Analytics temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"previewToken":{"type":"http","scheme":"bearer"},"conversionKey":{"type":"http","scheme":"bearer","description":"Secret server key, never embed in a browser"}},"schemas":{"PostSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"siteKey":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string"},"excerpt":{"type":"string"},"seoTitle":{"type":"string"},"seoDescription":{"type":"string"},"canonicalUrl":{"type":"string","pattern":"^https?:\\/\\/"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"translations":{"type":"array","items":{"type":"object","properties":{"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"url":{"type":"string","pattern":"^https?:\\/\\/"}},"required":["locale","slug","url"]}},"cover":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","pattern":"^https?:\\/\\/"},"alt":{"type":"string"},"width":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"height":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["url","alt","width","height"]},{"type":"null"}]}},"required":["id","siteKey","locale","revision","slug","title","excerpt","seoTitle","seoDescription","canonicalUrl","publishedAt","updatedAt"]},"Post":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"siteKey":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string"},"excerpt":{"type":"string"},"seoTitle":{"type":"string"},"seoDescription":{"type":"string"},"canonicalUrl":{"type":"string","pattern":"^https?:\\/\\/"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"translations":{"type":"array","items":{"type":"object","properties":{"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"url":{"type":"string","pattern":"^https?:\\/\\/"}},"required":["locale","slug","url"]}},"cover":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","pattern":"^https?:\\/\\/"},"alt":{"type":"string"},"width":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"height":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["url","alt","width","height"]},{"type":"null"}]},"bodyMarkdown":{"type":"string"},"callToAction":{"type":"object","properties":{"label":{"type":"string"},"url":{"anyOf":[{"type":"string","pattern":"^https?:\\/\\/"},{"type":"null"}]}},"required":["label","url"]}},"required":["id","siteKey","locale","revision","slug","title","excerpt","seoTitle","seoDescription","canonicalUrl","publishedAt","updatedAt","bodyMarkdown","callToAction"]},"Preview":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"siteKey":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string"},"excerpt":{"type":"string"},"seoTitle":{"type":"string"},"seoDescription":{"type":"string"},"canonicalUrl":{"type":"string","pattern":"^https?:\\/\\/"},"publishedAt":{"type":"null"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"translations":{"type":"array","items":{"type":"object","properties":{"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"url":{"type":"string","pattern":"^https?:\\/\\/"}},"required":["locale","slug","url"]}},"cover":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","pattern":"^https?:\\/\\/"},"alt":{"type":"string"},"width":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"height":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["url","alt","width","height"]},{"type":"null"}]},"bodyMarkdown":{"type":"string"},"callToAction":{"type":"object","properties":{"label":{"type":"string"},"url":{"anyOf":[{"type":"string","pattern":"^https?:\\/\\/"},{"type":"null"}]}},"required":["label","url"]},"isPreview":{"type":"boolean","const":true}},"required":["id","siteKey","locale","revision","slug","title","excerpt","seoTitle","seoDescription","canonicalUrl","publishedAt","updatedAt","bodyMarkdown","callToAction","isPreview"]},"PostPage":{"type":"object","properties":{"siteKey":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"siteKey":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string"},"excerpt":{"type":"string"},"seoTitle":{"type":"string"},"seoDescription":{"type":"string"},"canonicalUrl":{"type":"string","pattern":"^https?:\\/\\/"},"publishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"translations":{"type":"array","items":{"type":"object","properties":{"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"slug":{"type":"string","minLength":1,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"url":{"type":"string","pattern":"^https?:\\/\\/"}},"required":["locale","slug","url"]}},"cover":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","pattern":"^https?:\\/\\/"},"alt":{"type":"string"},"width":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"height":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["url","alt","width","height"]},{"type":"null"}]}},"required":["id","siteKey","locale","revision","slug","title","excerpt","seoTitle","seoDescription","canonicalUrl","publishedAt","updatedAt"]}},"pagination":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"type":"integer","minimum":1,"maximum":50},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalPages":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["page","limit","total","totalPages"]}},"required":["siteKey","locale","items","pagination"]},"SitemapPage":{"type":"object","properties":{"siteKey":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"locale":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$"},"urls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?:\\/\\/"},"lastModified":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["url","lastModified"]}},"pagination":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"type":"integer","minimum":1,"maximum":50},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalPages":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["page","limit","total","totalPages"]}},"required":["siteKey","locale","urls","pagination"]},"Error":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"Event":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"page_view"},"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"postId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageUrl":{"type":"string","maxLength":2048,"pattern":"^https?:\\/\\/"},"referrerHost":{"type":"string","maxLength":253}},"required":["type","eventId","postId","revision","pageUrl"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"conversion"},"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"clickId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"postId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","eventId","name"],"additionalProperties":false}]},"Conversion":{"type":"object","properties":{"type":{"type":"string","const":"conversion"},"eventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"clickId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"postId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","eventId","name"],"additionalProperties":false},"Accepted":{"type":"object","properties":{"accepted":{"const":true}},"required":["accepted"]}}}}