{"openapi":"3.1.0","info":{"title":"Acutis Calendar","version":"1.1.0","description":"Create RFC 5545 ICS calendars for appointments and itineraries, with all-day events, locations, descriptions and bounded recurrence. Timed events and recurrences are emitted in UTC; all-day end dates are exclusive. Price: 0.02 USDC per operation on Base mainnet via x402 v2. Empty unsigned POSTs inspect payment and discovery metadata only; empty signed requests are rejected before verification or settlement. Docs and one fixed example are free. No API key or wallet private key is sent to this service. JSON artifact envelopes carry base64 bytes, MIME type, size and SHA-256; decode bytes to save the file."},"servers":[{"url":"https://calendar.acutisignatius.com"}],"paths":{"/v1/calendars/build":{"post":{"operationId":"calendarWork","summary":"Importable calendar files from event JSON.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"events":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"default":"","type":"string","maxLength":3000},"location":{"default":"","type":"string","maxLength":300},"start":{"anyOf":[{"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)))$"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}]},"end":{"anyOf":[{"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)))$"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}]},"all_day":{"default":false,"type":"boolean"},"url":{"type":"string","format":"uri"},"recurrence":{"type":"object","properties":{"frequency":{"type":"string","enum":["DAILY","WEEKLY","MONTHLY","YEARLY"]},"interval":{"default":1,"type":"integer","minimum":1,"maximum":30},"count":{"type":"integer","minimum":1,"maximum":365}},"required":["frequency","count"],"additionalProperties":false}},"required":["title","start","end"],"additionalProperties":false}}},"required":["name","events"],"additionalProperties":false},"example":{"name":"Project milestones","events":[{"title":"Launch review","start":"2026-10-12T10:00:00-05:00","end":"2026-10-12T10:45:00-05:00","location":"Conference room A","description":"Review the release checklist and support handoff."},{"title":"Planning day","start":"2026-10-13","end":"2026-10-14","all_day":true}]}}}},"responses":{"200":{"description":"ICS + event manifest; only released after successful settlement","content":{"application/json":{"schema":{"type":"object","properties":{"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base64":{"type":"string","contentEncoding":"base64"}},"required":["filename","mime_type","size_bytes","sha256","base64"],"additionalProperties":true},"events":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string"},"title":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"all_day":{"type":"boolean"},"recurrence":{"type":["object","null"],"properties":{"frequency":{"type":"string"},"interval":{"type":"integer","minimum":0},"count":{"type":"integer","minimum":0}}}},"required":["uid","title","start","end","all_day","recurrence"],"additionalProperties":true}},"timed_event_timezone":{"const":"UTC"},"all_day_end":{"const":"exclusive"}},"required":["artifact","events","timed_event_timezone","all_day_end"],"additionalProperties":true},"examples":{"fixed":{"summary":"Actual fixed example response","externalValue":"/v1/example"}}}}},"402":{"description":"x402 payment required. Retry exact input with PAYMENT-SIGNATURE."},"409":{"description":"Proof bound to another request or already processing"},"422":{"description":"Input, schema or processing limit invalid; no payment requested"},"429":{"description":"Instance capacity exhausted; Retry-After; no payment requested"},"503":{"description":"Work or facilitator unavailable; no protected result"}}}},"/v1/example":{"get":{"summary":"One fixed free example; query parameters do not customize it","responses":{"200":{"description":"ICS + event manifest","content":{"application/json":{"schema":{"type":"object","properties":{"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base64":{"type":"string","contentEncoding":"base64"}},"required":["filename","mime_type","size_bytes","sha256","base64"],"additionalProperties":true},"events":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string"},"title":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"all_day":{"type":"boolean"},"recurrence":{"type":["object","null"],"properties":{"frequency":{"type":"string"},"interval":{"type":"integer","minimum":0},"count":{"type":"integer","minimum":0}}}},"required":["uid","title","start","end","all_day","recurrence"],"additionalProperties":true}},"timed_event_timezone":{"const":"UTC"},"all_day_end":{"const":"exclusive"}},"required":["artifact","events","timed_event_timezone","all_day_end"],"additionalProperties":true}}}}}}},"/health":{"get":{"responses":{"200":{"description":"Service, network and price"}}}}}}