{"uid":"cap_NyK39nTmzdTGyAFCC-jHd","slug":"spectrometry-records-schema-directionality-analysis-85706b9f","name":"Spectrometry Records - Schema Directionality Analysis","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/spectrometry-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.035175","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.035175/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035175","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035175","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7_INjL9aN6vmnyDXh9ovJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035175","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 between 'before' and 'after' spectrometry record sets to detect structural divergence in field ordering or schema orientation.","exampleAgentPrompt":"Compare the schema directionality of these two batches of spectrometry records — use 'public' data class and set nonpersonal metadata to true; I want to know if any closed export fields have shifted direction between the before set and the after set.","exampleUseCases":[{"title":"Spectrometry pipeline schema drift detection","prompt":"I have two snapshots of spectrometry export records — the set from before our pipeline update and the set after — can you check whether the schema field directionality has changed? Use public data class and flag nonpersonal metadata as true."},{"title":"Synthetic data schema validation for QA","prompt":"We generated a synthetic spectrometry dataset and I want to confirm its export-field schema directionality matches our baseline records; please compare the before and after arrays with data class set to synthetic and nonpersonal metadata true."},{"title":"Export field orientation audit before release","prompt":"Before we ship this spectrometry data export, run a schema directionality comparison between the old and new record arrays — mark it as public data class and enable nonpersonal metadata so I can confirm no closed fields have changed orientation."}],"resultDescription":"Returns a structured analysis of schema directionality differences between the 'before' and 'after' spectrometry record arrays, indicating whether closed export fields have shifted orientation or ordering, based on the supplied records — this is not independent certification but a comparison of caller-supplied data.","failureModes":["'before' array is empty or missing (minItems:1 required) — validation error returned","'after' array exceeds 32 items — request rejected with schema validation error","nonpersonalMetadata not set to true (const:true) — request fails schema validation","dataClass value outside 'public' or 'synthetic' enum — rejected","Malformed record objects in before/after arrays causing parsing failure","Network or payment authorization failure via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need to programmatically compare the schema directionality (field orientation/ordering) of closed export fields across two versions of spectrometry records, particularly when validating pipeline changes, synthetic data generation, or pre-release export audits. Prefer this over generic schema diff tools when working specifically with spectrometry record formats and needing a per-field directionality signal rather than a raw diff.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:37.576Z","isFirstParty":false,"canonicalSlug":"spectrometry-records-schema-directionality-analysis-85706b9f"}