{"uid":"cap_YaKIYKFDPV-ehodIk1pzE","slug":"grant-records-schema-directionality-analyzer-9e110319","name":"Grant Records Schema Directionality Analyzer","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/intel/grant-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.035277","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.035277/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035277","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035277","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nLdrZEgHyGtjsmco0gnoh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035277","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 for grant records to determine schema directionality and closed-field analysis","exampleAgentPrompt":"Compare these two grant record export field sets for schema directionality — before fields are ['id','title','amount'] and after fields are ['id','title','amount','status'], using public data class and non-personal metadata only.","exampleUseCases":[{"title":"Grant schema field addition audit","prompt":"I need to check the schema directionality for our grant records export — the before fields are ['id','title','amount','grantee'] and the after fields are ['id','title','amount','grantee','deadline'], using public data class with non-personal metadata set to true."},{"title":"Detecting removed export fields","prompt":"Can you run a schema directionality check on our grant records? The before set has ['id','name','amount','region','category'] and the after set only has ['id','name','amount'] — use synthetic data class and flag that the consumer allows extra fields."},{"title":"Validating closed field export compliance","prompt":"Run a grant records schema directionality analysis — before fields are ['ref','grant_id','value'] and after fields are ['ref','grant_id','value','fiscal_year'], public data class, non-personal metadata true, to confirm no closed export fields were removed."}],"resultDescription":"Returns a schema directionality comparison report indicating which export fields were added, removed, or unchanged between the before and after field arrays, along with analysis of whether the schema change is valid given the declared data class and metadata constraints.","failureModes":["before array missing or empty (minItems:1 required)","after array exceeds 32 items or before array exceeds 32 items","invalid dataClass value outside of 'public' or 'synthetic' enum","nonpersonalMetadata not set to true (const:true enforced)","malformed array elements in before/after fields","payment authorization failure via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need to formally compare two versions of a grant records export schema to determine the direction and nature of field changes, particularly in compliance or audit workflows where closed-field export validation is required. Prefer this over generic diff tools when dealing specifically with grant record data governed by non-personal metadata constraints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:40:21.464Z","isFirstParty":false,"canonicalSlug":"grant-records-schema-directionality-analyzer-9e110319"}