{"uid":"cap_AsnaX-i6yaJyEGo0dZS7b","slug":"study-notes-schema-directionality-checker-8bfd6e84","name":"Study Notes Schema Directionality Checker","description":"Compare closed note-extraction fields and allowed claim kinds for request narrowing. No model invocation, arbitrary schema execution or guarantee for undeclared fields. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/context/study-notes/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"},"afterKinds":{"type":"array","maxItems":3,"minItems":1},"beforeKinds":{"type":"array","maxItems":3,"minItems":1},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035049","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.035049/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035049","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035049","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_njwQjJQr42vF6-aGR7jUE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035049","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares closed note-extraction field contracts between before and after schema states, identifying removals, type changes, and newly required fields for request narrowing validation.","exampleAgentPrompt":"Compare my study notes extraction schema — before it had fields [title, body, tags] and after it has [title, content] — using public data class, and check whether the allowed claim kinds changed from [assertion, citation] to [assertion] so I know if my requests will break.","exampleUseCases":[{"title":"Detect breaking field removals in notes schema","prompt":"I updated my study notes extraction schema and want to know if any fields were removed or had their types changed — before had [title, body, source, tags] and after has [title, body, source], with beforeKinds [assertion, citation] and afterKinds [assertion]. Run a directionality check using public data class."},{"title":"Validate claim kind narrowing before deployment","prompt":"Before I deploy my updated note-ingestion pipeline, can you check whether the schema changes narrow the claim kinds too aggressively? Before allowed [assertion, citation, reference] and after only allows [assertion, citation]. Use synthetic data class and flag any fields that became newly required."},{"title":"Audit study notes schema migration for compatibility","prompt":"I'm migrating my study notes system and need to confirm the schema is backward compatible — before fields were [id, heading, body, author] and after they are [id, heading, body], beforeKinds [assertion] and afterKinds [assertion]. Check this against public data class and tell me what changed."}],"resultDescription":"Returns a structured directionality report listing field removals, type changes, and newly required fields between the before and after schema states, along with a diff of allowed claim kinds — no model inference or generated content, only typed metadata about schema contract changes.","failureModes":["Missing required 'before' array returns validation error","afterKinds or beforeKinds exceeding 3 items rejected","dataClass not set to 'public' or 'synthetic' causes schema error","nonpersonalMetadata not set to true causes rejection","before array with fewer than 1 item rejected","Undeclared fields silently ignored with no guarantee of coverage"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, offline schema diffing tool specifically for study note extraction contracts — particularly when you want to detect request-narrowing risks from field removals or claim kind reductions between schema versions, without triggering any model inference or stateful operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:46:55.542Z","isFirstParty":false,"canonicalSlug":"study-notes-schema-directionality-checker-8bfd6e84"}