{"uid":"cap_HJrvvUVvHQTDMPnmYbWxR","slug":"package-manifests-schema-directionality-analysis-d7127ecd","name":"Package Manifests - 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/verify/package-manifests/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.035127","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.035127/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035127","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035127","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5VJnPIXmtvSNbg0sOJzZH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035127","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares before/after snapshots of package manifest export-field records to analyze schema directionality and flag changes in closed export field structure.","exampleAgentPrompt":"Compare these two package manifest snapshots for schema directionality — the before array has my old manifest records and the after array has the updated ones, both as public data class with nonpersonal metadata only, and tell me if any closed export fields have shifted direction or structure.","exampleUseCases":[{"title":"Catching export field regressions in CI","prompt":"I'm running a CI check and need to compare our old package manifest export fields against the new build's manifest — both are public data class with nonpersonal metadata — can you analyze if any closed export fields changed directionality between the two snapshots?"},{"title":"Auditing manifest schema drift across releases","prompt":"We just cut a new release and I want to make sure no package manifest export fields flipped direction unexpectedly — here are the before and after manifest record arrays, data class is synthetic and nonpersonal metadata is true, please flag any directionality changes."},{"title":"Validating consumer compatibility of new manifest","prompt":"Before I push this manifest update, can you check whether the new export field structure is compatible with a consumer that allows extra fields? Use public data class and nonpersonal metadata, and compare the before and after snapshots I'm providing."}],"resultDescription":"Returns a structured analysis of schema directionality between before and after manifest snapshots, identifying which closed export fields have changed direction, added, removed, or shifted structure, along with flags for incompatibilities relative to consumer field tolerance settings.","failureModes":["before array is empty or missing (minItems:1 not met) — validation error returned","after or before arrays exceed 32 items — request rejected with schema violation","dataClass not set to 'public' or 'synthetic' — enum validation failure","nonpersonalMetadata not set to true (const constraint) — request rejected","malformed array items in before/after — parsing error","network timeout on large snapshot comparisons"],"whenToPreferThis":"Choose this endpoint when you need to compare two versions of package manifest export-field records specifically for schema directionality analysis — i.e., detecting whether the structural direction of closed export fields has changed between snapshots. Prefer this over general schema diff tools when you need a focused, supply-side (not independent certification) analysis of manifest export field changes within the constraints of public or synthetic data classes and nonpersonal metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:44:07.327Z","isFirstParty":false,"canonicalSlug":"package-manifests-schema-directionality-analysis-d7127ecd"}