Repository navigation
feat #19: draft Grievance v0.3 with a fixed envelope and a provider slot - #28
Draft
Bhavesh-Suvalaka wants to merge 1 commit into
Draft
Bhavesh-Suvalaka wants to merge 1 commit into
Bhavesh-Suvalaka wants to merge 1 commit into
Conversation
The pack fixes only what a consumer needs to pick a desk and a call. Provider fields live under apiProperties. v0.2 is not touched. - Split the pack into GrievanceCatalog, GrievanceRequest and GrievanceResponse. - Provider contracts point at the pack, never the other way. - Catalog actions link an OpenAPI operation and name the challenge they need. - Replace scheme with about (kind, code, name). - Keep challenge outside apiProperties, with a shape the pack owns. - Close the lists for action, about.kind, suppliedBy and the challenge method. - Add PMFBY and PM-KISAN contracts and examples. PM-KISAN verifies through init. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft for review. Adds Grievance v0.3 next to v0.2. v0.2 is not touched.
The idea. The pack fixes only what the DSS needs to pick a desk and a call.
Everything a Provider owns sits in one slot,
apiProperties.A new Provider writes its own OpenAPI file and fills that slot. The pack does not change.
Decisions
apiProperties.$refeach Provider.actions[].operationis a URI to the OpenAPI operation. One link gives the verb, the request and the response.schemebecomesaboutwithkind,code,name. "Scheme" is an Indian word, so the kind is now a value, not a field name.challengesits outsideapiProperties, with a shape the pack owns. A request carrieschallenge.response. An init reply carrieschallenge.issued, never the secret."challenge": "OTP"on an action points atchallenge.methods. A Provider decides per call.initcannot need one.actions[].actioninit,status,supportabout.kindSchemeOTPsuppliedByApplicant# PM-KISAN status request { "@context": ".../Grievance/v0.3/context.jsonld", "@type": "openagrinet:Grievance", - "scheme": {"code": "PM-KISAN"}, - "informationMode": "OnDemand", - "enrolmentId": "UP12345678A", + "challenge": {"response": {"method": "OTP", "value": "7390"}}, + "apiProperties": {"enrolmentId": "UP12345678A", "case": {"filedOn": "2026-09-28"}} }Evidence
check-api-separation.pypasses (250 checks).test_pages*.pypasses (4 tests).These run from a local script. They are not in this PR.
Not in this PR
profile.json,context.jsonld,vocab.jsonld,renderer.jsonfor v0.3. So the site does not show v0.3, and the v0.3@contextURL does not resolve yet.scripts/.🤖 Generated with Claude Code