{"uid":"cap_uNlSHP5Rmjf66Humen15c","slug":"publication-records-schema-directionality-analyzer-0268695f","name":"Publication 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/publication-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.035265","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.035265/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035265","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035265","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JUYFkp4T1nUqQ_K0SFOMd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035265","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares 'before' and 'after' export-field declarations in publication records to analyze schema directionality and flag field-level mismatches or additions.","exampleAgentPrompt":"Compare these two publication record schemas for me — the 'before' list has fields ['title','author','doi'] and the 'after' list has ['title','author','doi','abstract'], with dataClass set to 'public' and nonpersonalMetadata confirmed true; I want to see which export fields were added or changed and whether the directionality looks valid.","exampleUseCases":[{"title":"Detecting breaking schema additions","prompt":"I updated our publication record export and need to know what fields were added — before we had ['title','issn','year'] and now we have ['title','issn','year','license','embargo_date']. Use public dataClass with nonpersonalMetadata true and tell me if the directionality of those new fields raises any flags."},{"title":"Validating synthetic dataset export fields","prompt":"We're publishing a synthetic dataset and I need to check whether the schema directionality is clean — before fields were ['id','category'] and after fields are ['id','category','weight']. Set dataClass to 'synthetic', nonpersonalMetadata to true, and let me know if consumers that don't allow extra fields would have a problem."},{"title":"Auditing closed export field compliance","prompt":"Can you check the schema directionality for our publication records where the before export had ['record_id','journal_name','pub_date','subject'] and the after has the same set but reordered? DataClass is 'public', nonpersonalMetadata is true, and I want to confirm no closed fields were inadvertently opened or dropped."}],"resultDescription":"Returns a structured analysis of schema directionality between 'before' and 'after' field arrays, identifying added, removed, or reordered export fields, flagging mismatches against closed-field declarations, and noting compatibility issues for consumers who disallow extra fields. Results reflect supplied-record analysis only, not independent certification.","failureModes":["Empty 'before' array (minItems:1 violated) returns validation error","'after' or 'before' arrays exceeding 32 items return schema rejection","Invalid dataClass value outside ['public','synthetic'] enum causes 400 error","nonpersonalMetadata not set to true (const:true) causes rejection","Malformed array items in before/after fields may return parse errors","Network timeout on the POST endpoint returns no result"],"whenToPreferThis":"Choose this endpoint when you need a fast, structured comparison of export-field declarations between two versions of a publication record schema, specifically to detect directionality shifts (additions, removals, reordering) in public or synthetic datasets where nonpersonal metadata is confirmed. It is a supplied-record analysis tool, not an independent certification service, so prefer it for internal pipeline auditing and pre-publish validation rather than regulatory compliance attestation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:39.610Z","isFirstParty":false,"canonicalSlug":"publication-records-schema-directionality-analyzer-0268695f"}