Bounded Date Recurrence Expansion
Expand a strict date-only daily, weekly or monthly rule into a complete bounded window, with COUNT/UNTIL, explicit inclusion/exclusion dates and normalized supported RRULE text; no timezone or account access.
structured · Operation ID: recurrence-dates-expand
Choose this operation when
- Expand supplied date-only recurrence rules into explicit occurrence dates
- Generate complete daily, weekly or monthly dates inside a bounded window with exclusions
Outside this profile
- General RRULE/ICS parsing, time zones, local times, DST, business calendars or finding free appointment slots
- Unbounded history, unsupported recurrence selectors, holiday guessing or scheduling account changes
- Uploading artifacts, executing database statements, sending invitations, accessing calendars or changing remote state
Exact release references
Static JSON contract · Markdown reference · Fixed example response
Complete input schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Declared profile: rfc5545-date-recurrence-subset-v1",
"type": "object",
"properties": {
"dtstart": {
"type": "string",
"maxLength": 10
},
"window": {
"type": "object",
"properties": {
"start": {
"type": "string",
"maxLength": 10
},
"endExclusive": {
"type": "string",
"maxLength": 10
}
},
"required": [
"start",
"endExclusive"
],
"additionalProperties": false
},
"rule": {
"anyOf": [
{
"type": "object",
"properties": {
"frequency": {
"type": "string",
"const": "DAILY"
},
"interval": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 512
}
},
"required": [
"frequency",
"interval",
"count"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"frequency": {
"type": "string",
"const": "DAILY"
},
"interval": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"until": {
"type": "string",
"maxLength": 10
}
},
"required": [
"frequency",
"interval",
"until"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"frequency": {
"type": "string",
"const": "WEEKLY"
},
"interval": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"weekdays": {
"minItems": 1,
"maxItems": 7,
"type": "array",
"items": {
"type": "string",
"enum": [
"MO",
"TU",
"WE",
"TH",
"FR",
"SA",
"SU"
]
}
},
"weekStart": {
"type": "string",
"enum": [
"MO",
"TU",
"WE",
"TH",
"FR",
"SA",
"SU"
]
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 512
}
},
"required": [
"frequency",
"interval",
"weekdays",
"weekStart",
"count"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"frequency": {
"type": "string",
"const": "WEEKLY"
},
"interval": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"weekdays": {
"minItems": 1,
"maxItems": 7,
"type": "array",
"items": {
"type": "string",
"enum": [
"MO",
"TU",
"WE",
"TH",
"FR",
"SA",
"SU"
]
}
},
"weekStart": {
"type": "string",
"enum": [
"MO",
"TU",
"WE",
"TH",
"FR",
"SA",
"SU"
]
},
"until": {
"type": "string",
"maxLength": 10
}
},
"required": [
"frequency",
"interval",
"weekdays",
"weekStart",
"until"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"frequency": {
"type": "string",
"const": "MONTHLY"
},
"interval": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"monthDays": {
"minItems": 1,
"maxItems": 31,
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 31
}
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 512
}
},
"required": [
"frequency",
"interval",
"monthDays",
"count"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"frequency": {
"type": "string",
"const": "MONTHLY"
},
"interval": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"monthDays": {
"minItems": 1,
"maxItems": 31,
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 31
}
},
"until": {
"type": "string",
"maxLength": 10
}
},
"required": [
"frequency",
"interval",
"monthDays",
"until"
],
"additionalProperties": false
}
]
},
"rdates": {
"default": [],
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"maxLength": 10
}
},
"exdates": {
"default": [],
"maxItems": 256,
"type": "array",
"items": {
"type": "string",
"maxLength": 10
}
}
},
"required": [
"dtstart",
"window",
"rule"
],
"additionalProperties": false
}
Complete output-envelope schema
{
"type": "object",
"required": [
"operation",
"version",
"result",
"provenance"
],
"properties": {
"operation": {
"const": "recurrence-dates-expand",
"type": "string"
},
"version": {
"const": "0.29.0",
"type": "string"
},
"result": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"dates": {
"maxItems": 512,
"type": "array",
"items": {
"type": "string"
}
},
"rrule": {
"type": "string"
},
"ruleInstancesScanned": {
"type": "integer",
"minimum": 0,
"maximum": 3661
},
"excludedDatesInWindow": {
"maxItems": 256,
"type": "array",
"items": {
"type": "string"
}
},
"windowComplete": {
"type": "boolean",
"const": true
},
"ruleFullyExpanded": {
"type": "boolean"
}
},
"required": [
"dates",
"rrule",
"ruleInstancesScanned",
"excludedDatesInWindow",
"windowComplete",
"ruleFullyExpanded"
],
"additionalProperties": false,
"description": "Artifact result for declared profile: rfc5545-date-recurrence-subset-v1"
},
"provenance": {
"type": "object",
"required": [
"inputSha256",
"outputSha256",
"deterministic",
"externalRequests"
],
"properties": {
"inputSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"outputSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"deterministic": {
"const": true
},
"externalRequests": {
"const": 0
}
}
}
},
"additionalProperties": false
}
Fixed example
One accepted fixed example, not a custom-input trial. No operation runs when this static page is requested.
Example input
{
"dtstart": "2026-01-31",
"window": {
"start": "2026-01-31",
"endExclusive": "2026-08-01"
},
"rule": {
"frequency": "MONTHLY",
"interval": 1,
"monthDays": [
31
],
"count": 4
},
"rdates": [
"2026-02-28"
],
"exdates": [
"2026-05-31"
]
}
Example response
{
"operation": "recurrence-dates-expand",
"version": "0.29.0",
"result": {
"dates": [
"2026-01-31",
"2026-02-28",
"2026-03-31",
"2026-07-31"
],
"rrule": "FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=31;COUNT=4",
"ruleInstancesScanned": 4,
"excludedDatesInWindow": [
"2026-05-31"
],
"windowComplete": true,
"ruleFullyExpanded": true
},
"provenance": {
"inputSha256": "10f5a51bd3092752570d268cb0ea17caaeb18c55f4ea1396f704b7cddd83aef3",
"outputSha256": "da2ea7e36399a9f04f5529eaeab5d60cf8e1667974afb4cfd2fada4255de4b10",
"deterministic": true,
"externalRequests": 0
}
}
Bounds and precision
JavaScript IEEE-754 numbers; use strings for large integer IDs/exact decimals where the schema accepts strings. No lossless numeric parsing.
{
"global": {
"requestBytes": 131072,
"responseBytes": 524288,
"jsonDepth": 32,
"jsonNodes": 20000,
"requestsPerMinute": 60,
"paidAttemptsPerMinute": 20,
"idempotencyHours": 24
},
"operation": {
"inputBytes": 100000,
"outputBytes": 400000,
"jsonNodes": 12000,
"depth": 20,
"originToWindowDays": 3660,
"visitedDates": 3661,
"ruleCandidates": 3661,
"count": 512,
"outputDates": 512,
"rdates": 256,
"exdates": 256,
"interval": 120,
"years": "1900–2199",
"profile": "rfc5545-date-recurrence-subset-v1"
}
}
Complete schemas, descriptions and cross-field validation may impose additional limits.
Proposed price and protocol definitions
{
"unit": "one successful operation call",
"proposedNominalUsd": "0.005",
"sixDecimalTokenBaseUnits": "5000",
"subscription": false,
"includesPayerWalletOrNetworkFees": false,
"liveQuoteVerified": false,
"condition": "Actual SDK challenge is authoritative only within the caller's explicit authorization; configured six-decimal token peg is an operator assertion, not a conversion guarantee."
}
Protocol definitions: x402, mpp. MPP uses Tempo charge. Paid MCP execution is unsupported. All runtime readiness is not evaluated in this build.
API path templates, not endpoints on this documentation host
{
"x402": "/v1/x402/recurrence-dates-expand",
"mpp": "/v1/mpp/recurrence-dates-expand"
}
Required headers
{
"Content-Type": "application/json",
"Idempotency-Key": "random 16–128 character operation identifier"
}
Actual SDK challenge amount, asset, network, recipient and wallet costs must pass independent authorization. Preserve identical key, body, protocol and credential on retries; on PAYMENT_UNCERTAIN stop and reconcile.
Execution profile and provider conditions
{
"deterministic": true,
"externalRequests": 0,
"maxExternalRequests": 0,
"resultSnapshotPersisted": false,
"fixedExampleIsIllustrativeSnapshot": false,
"requiresPayment": true,
"supportsMcpExecution": false
}
Deterministic supplied-input operation with no external requests or stored request/result bodies. Payment infrastructure retains payment metadata and hashes.
Failure handling
- HTTP 400: Malformed JSON, missing/invalid idempotency key, or payment identifier mismatch Correct the request before payment
- HTTP 402: Payment challenge or rejected payment Use official protocol SDK; inspect payment outcome before another payment
- HTTP 409: Idempotency conflict, duplicate proof, or PAYMENT_UNCERTAIN Keep original key, body, and proof; reconcile uncertainty with operator; never blindly repay
- HTTP 413: Input or generated output too large Reduce input; no payment attempted for validation failure
- HTTP 415: Unsupported media type or compression Send uncompressed application/json
- HTTP 422: Schema or service-specific semantic validation failure Correct input using returned error code; no payment attempted
- HTTP 429: Request/payment-attempt rate exceeded Wait for rate limit window; preserve existing payment identity
- HTTP 503: Payment configuration/provider/state unavailable, or live DNS preparation failed before settlement Check readiness; DNS preparation failures may retry the identical key/body/credential only; uncertainty requires reconciliation
Declared requirements
Before any paid call, refresh the live operation contract and POST the complete bounded budgeted plan to the separate API's /preflight. Unknown requirements block selection; compatible preflight is not permission to spend.