{"uid":"cap_VKJiNLQxrMXfHyRirUKLn","slug":"reaction-records-schema-directionality-e2e36caa","name":"Reaction Records Schema Directionality","description":"Compare closed export-field Supplied-record analysis, not independent certification. Full contract at the free describe URL.","url":"https://www.mahastrategies.com/api/v1/compute/reaction-records/schema-directionality?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"array","maxItems":32,"minItems":0},"before":{"type":"array","maxItems":32,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true},"consumerAllowsExtraFields":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035169","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.035169/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035169","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035169","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j9CCfHhXbC4VmWrzdJbFH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035169","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares closed export-field schema directionality for supplied reaction records, identifying breaking vs. non-breaking field changes without independent certification.","exampleAgentPrompt":"Can you check if my reaction record schema changes are breaking? I'm moving from a 'public' data class and removing two fields — compare the before list [fieldA, fieldB, fieldC] against the after list [fieldA, fieldC], with nonpersonalMetadata set to true and consumerAllowsExtraFields false.","exampleUseCases":[{"title":"Pre-deployment schema safety check","prompt":"Before I push this reaction records schema update, compare my old fields [eventId, reactionType, timestamp, sourceRef] against the new fields [eventId, reactionType, timestamp] for public data class and tell me if dropping sourceRef is a breaking directional change — nonpersonalMetadata is true."},{"title":"Synthetic data pipeline field audit","prompt":"I'm refactoring my synthetic reaction record pipeline and added two new optional fields. Can you run a directionality check comparing the before set [reactionId, userId, score] to the after set [reactionId, userId, score, context, weight] with dataClass synthetic, nonpersonalMetadata true, and consumerAllowsExtraFields true?"},{"title":"Consumer compatibility validation before API release","prompt":"Our API team wants to know if our reaction record export schema change is safe for downstream consumers — compare the before fields [id, type, value, meta] to the after fields [id, type, value] using public dataClass, nonpersonalMetadata true, and consumerAllowsExtraFields false so we can see if removing meta is directionally breaking."}],"resultDescription":"Returns a schema directionality analysis indicating whether changes between the before and after field sets represent breaking or non-breaking transitions, with field-level classification for each change. Does not perform independent certification — results reflect the supplied record analysis only.","failureModes":["Empty before array (minItems:1 violated) returns validation error","before or after arrays exceeding 32 items are rejected","Invalid dataClass value (not 'public' or 'synthetic') causes schema rejection","nonpersonalMetadata not set to true (const:true) causes request rejection","Malformed field arrays cause parse errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight check of closed export-field directionality for reaction record schemas — particularly when comparing versioned field lists to detect breaking changes before deployment. Prefer this over general schema evolution tools when your data is explicitly scoped to public or synthetic dataClass and you need per-record analysis rather than semantic equivalence proofs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:12.629Z","isFirstParty":false,"canonicalSlug":"reaction-records-schema-directionality-e2e36caa"}