Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a json schema that perfectly captures all the details which are changing in each document and hardcode the rest #5

Open
3 tasks
Gautam-Rajeev opened this issue Apr 22, 2024 · 3 comments
Assignees

Comments

@Gautam-Rajeev
Copy link
Contributor

Gautam-Rajeev commented Apr 22, 2024

  • the key should be generic enough that it occurs in all docs
  • it should combine the information captured in all the docs
  • it should define which values keep changing from doc to doc
@AryanPrakhar
Copy link
Contributor

{
"courtDetails": {
"courtName": "string",
"courtLocation": "string",
"courtOfficer": "string"
},
"caseDetails": {
"caseNumber": "string",
"year": "integer",
"sectionUnder": "string"
},
"landDetails": {
"moja": "string",
"pargana": "string",
"tehsil": "string",
"district": "string",
"landAreaHe": "float",
"landAreaSqFt": "float",
"landAreaSqMt": "float",
"khasraNumber": "string"
},
"partyDetails": {
"seller": {
"name": "string",
"address": "string",
"isScheduledCaste": "boolean"
},
"buyer": {
"name": "string",
"address": "string",
"isScheduledCaste": "boolean",
"landOwnershipPostTransaction": "float"
}
},
"transactionDetails": {
"documentNumber": "string",
"documentDate": "string",
"reportBasis": "string",
"registrationNumber": "string",
"declarationIssued": "boolean",
"objectionStatus": "boolean",
"legalProceedingStatus": "boolean"
},
"orderDetails": {
"orderDate": "string",
"orderStatus": "string",
"effectiveDate": "string",
"complaintDate": "string"
},
"legalConditions": {
"landUnderSpecificAct": "boolean",
"landTransferReportMention": "boolean"
},
"annulmentDetails": {
"hasAnnulment": "boolean",
"annulmentOrderDate": "string",
"annulmentEffectiveDate": "string"
},
"reinstatementDetails": {
"hasReinstatement": "boolean",
"reinstatementOrderDate": "string",
"reinstatementEffectiveDate": "string"
},
"transactionCancellation": {
"isCancelled": "boolean",
"cancelledDate": "string",
"reasonForCancellation": "boolean"
},
"evidenceDetails": {
"hasOriginalDocument": "boolean",
"cadastralSurveyNumber": "string",
"affidavitAsPer": "boolean"
},
"legalReferences": {
"specificLawsCited": ["string"]
},
"detailedOutcome": {
"ownershipTransfers": [{
"from": "string",
"to": "string",
"share": "float",
"landDescription": "string"
}],
"orderCancellationDetails": {
"cancelledOrders": [{
"orderNumber": "string",
"cancelDate": "string"
}]
}
},
"documentReferences": {
"saleDeed": "string",
"affidavit": "string",
"additionalDocuments": ["string"]
},
"landSurveyDetails": {
"surveyNumber": "string",
"plotNumber": "string"
},
"registrationDetails": {
"registrationOffice": "string",
"fileNumber": "string"
}
}

@ChakshuGautam
Copy link

@AryanPrakhar can you format this and share as a json snippet. Thanks.

@AryanPrakhar
Copy link
Contributor

AryanPrakhar commented May 11, 2024

#12 PR would conclude this issue. It contains the schema for frozen details and example schema. The common and unique schema have been completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants