{"uid":"cap_wkVjBT9ucAPK7rQNJl_Xb","slug":"catalyst-measurements-schema-directionality-f27a1094","name":"Catalyst Measurements 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/catalyst-measurements/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.035181","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.035181/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035181","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035181","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Q9WOT7n3JoYtzaaj9gCq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035181","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares before/after export field sets to detect directional breaking changes in a catalyst measurement schema.","exampleAgentPrompt":"Compare these two catalyst measurement field sets for directional breaking changes — before has fields [temperature, pressure, yield] and after has [temperature, yield, purity], data class is public, nonpersonal metadata is true, and the consumer does not allow extra fields.","exampleUseCases":[{"title":"Breaking change detection before API release","prompt":"Check if removing the 'pressure' field and adding 'purity' to our catalyst measurement export is a breaking change — the before list has [temperature, pressure, yield, pH] and the after list has [temperature, yield, purity], data class is public, nonpersonal metadata is true, consumer does not allow extra fields."},{"title":"Schema migration compatibility audit","prompt":"I need to audit our catalyst schema migration — the original fields were [concentration, method, temperature, source] and the new fields are [concentration, temperature, source, revision]. Data class is synthetic, nonpersonal metadata is true. Are there any directional breaking changes?"},{"title":"Consumer field compatibility validation","prompt":"Before we ship this update, can you compare our old field list [yield, purity, catalyst_id, batch] to the new list [yield, catalyst_id, batch, efficiency] for catalyst measurement exports? Data class is public, nonpersonal metadata true, and consumers do allow extra fields."}],"resultDescription":"Returns a directionality analysis of the supplied before/after field arrays, identifying which field changes constitute breaking changes, added fields, removed fields, and overall schema compatibility direction based on the declared data class and consumer tolerance settings.","failureModes":["Empty or missing 'before' array (minItems:1 violated) returns validation error","'after' array exceeding 32 items returns schema violation","Invalid 'dataClass' value outside ['public','synthetic'] enum returns rejection","'nonpersonalMetadata' not set to true (const:true) returns constraint error","Malformed input JSON returns 400-level error"],"whenToPreferThis":"Use this endpoint when you need to compare two snapshots of catalyst measurement export field declarations and need a directional assessment of breaking changes. Prefer this over general schema-diff tools when working within the mahastrategies.com catalyst/scientific data ecosystem. Note this is a closed export-field analysis, not independent certification — suitable for internal validation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:38:04.228Z","isFirstParty":false,"canonicalSlug":"catalyst-measurements-schema-directionality-f27a1094"}