{"uid":"cap_229LQRlVlZu2ibzt-p63b","slug":"alloy-measurements-schema-directionality-ddb534a1","name":"Alloy 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/alloy-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.035193","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.035193/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035193","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035193","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_66WDGu_pnspJBDL6CwTeY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035193","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 directionality in alloy measurement records, checking before/after field sets against supplied schema contracts.","exampleAgentPrompt":"Can you compare the directionality of our alloy measurement export schema — here are up to 32 fields from the before snapshot and up to 32 from the after snapshot, data class is public, nonpersonal metadata is true, and the consumer allows extra fields?","exampleUseCases":[{"title":"Detect schema narrowing in measurement exports","prompt":"I need to check whether our alloy measurement export schema got narrowed — here are the before fields and the after fields, both public data class, nonpersonal metadata true. Tell me if any required fields were dropped or restricted."},{"title":"Validate schema expansion for synthetic data","prompt":"Can you compare these before and after field sets for our synthetic alloy measurement records and tell me if the schema expanded or contracted? Nonpersonal metadata is true and consumers do not allow extra fields."},{"title":"Contract compliance check for closed export fields","prompt":"Run a schema directionality check on our alloy measurement records — I have 10 before fields and 12 after fields, data class is synthetic, nonpersonal metadata is true, and I want to know if the consumer-facing export contract was violated."}],"resultDescription":"Returns a directionality analysis comparing the before and after field sets for alloy measurement export schemas, identifying whether fields were narrowed, expanded, added, or removed relative to the supplied record contract. This is a record-supplied analysis, not independent certification.","failureModes":["before array empty or exceeds 32 items — validation error","after array exceeds 32 items — validation error","nonpersonalMetadata not set to true (const:true) — rejected","invalid dataClass value outside enum [public, synthetic] — schema error","malformed field arrays — parse error","payment failure — x402 authorization required"],"whenToPreferThis":"Choose this endpoint when you need to compare the directional change of export fields in alloy measurement schemas between two snapshots (before/after), particularly when validating that a schema contract has not been improperly narrowed or expanded. Prefer this over generic schema diff tools when working specifically with alloy measurement records in public or synthetic data classes under a closed export-field contract.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:47:36.999Z","isFirstParty":false,"canonicalSlug":"alloy-measurements-schema-directionality-ddb534a1"}