Skip to content

Commit

Permalink
[INJICERT-657] Added farmer and registry context schema
Browse files Browse the repository at this point in the history
Signed-off-by: Piyush7034 <[email protected]>
  • Loading branch information
Piyush7034 committed Dec 19, 2024
1 parent 25596f4 commit 5b92bc6
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
25 changes: 25 additions & 0 deletions dev1/farmer-context.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"FarmerCredential": {
"@id": "https://mosip.github.io/inji-config/dev1/farmer-context.json#FarmerCredential"
},
"fullName": "schema:name",
"mobileNumber": "schema:telephone",
"dateOfBirth": "schema:birthDate",
"gender": "schema:gender",
"state": "schema:addressRegion",
"district": "schema:addressLocality",
"villageOrTown": "schema:addressLocality",
"postalCode": "schema:postalCode",
"landArea": "schema:Number",
"landOwnershipType": "schema:Text",
"primaryCropType": "schema:Text",
"secondaryCropType": "schema:Text",
"face": "schema:Text",
"farmerID": "schema:Text"
}
}
47 changes: 47 additions & 0 deletions dev1/land-statement-context.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"LandStatementCredential": {
"@id": "https://mosip.github.io/inji-config/dev1/land-statement-context.json#LandStatementCredential"
},
"NumberOfCAR": "schema:Text",
"RegistrationDate": "schema:DateTime",
"LastModificationDate": "schema:DateTime",
"RuralPropertyArea": "schema:Float",
"Latitude": "schema:Text",
"Longitude": "schema:Text",
"Municipality": "schema:Text",
"ExternalCondition": "schema:Text",
"RegistrationStatus": "schema:Text",
"PRACondition": "schema:Text",
"GroundCoverage": "schema:Text",
"NativeVegetationRemnantArea": "schema:Float",
"ConsolidatedRuralArea": "schema:Float",
"AdministrativeEasementArea": "schema:Float",
"LegalReserveLocation": "schema:Text",
"RegisteredLegalReserveArea": "schema:Float",
"GeoreferencedLegalReserveArea": "schema:Float",
"ApprovedUnregisteredLegalReserveArea": "schema:Float",
"ProposedLegalReserveArea": "schema:Float",
"TotalDeclaredLegalReserve": "schema:Float",
"PermanentPreservationAreas": "schema:Float",
"APPInConsolidatedRuralArea": "schema:Float",
"APPInNativeVegetationRemnantArea": "schema:Float",
"RestrictedUseAreas": "schema:Float",
"LegalReserveDeficitOrExcess": "schema:Float",
"LegalReserveAreaToBeRestored": "schema:Float",
"PermanentPreservationAreasToBeRestored": "schema:Float",
"RestrictedUseAreaToBeRestored": "schema:Float",
"EmbarggedAreaDescription": "schema:Text",
"EmbarggedAreaProcessingDate": "schema:DateTime",
"EmbarggedAreaOverlap": "schema:Float",
"EmbarggedAreaOverlapPercentage": "schema:Float",
"ConservationUnitDescription": "schema:Float",
"ConservationUnitProcessingDate": "schema:DateTime",
"ConservationUnitOverlapArea": "schema:Float",
"ConservationUnitOverlapPercentage": "schema:Float"
}
}
31 changes: 31 additions & 0 deletions dev1/registration-receipt-context.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"RegistrationReceiptCredential": {
"@id": "https://mosip.github.io/inji-config/dev1/registration-receipt-context.json#RegistrationReceiptCredential"
},
"NumberOfCAR": "schema:Text",
"RegistrationDate": "schema:DateTime",
"RuralPropertyName": "schema:Text",
"Municipality": "schema:Text",
"Latitude": "schema:Text",
"Longitude": "schema:Text",
"TotalArea": "schema:Text",
"FiscalModules": "schema:Float",
"ProtocolCode": "schema:Text",
"CPF": "schema:Text",
"HolderName": "schema:Person",
"TotalDeclaredArea": "schema:Float",
"AdministrativeEasementArea": "schema:Float",
"NetArea": "schema:Float",
"ConsolidatedArea": "schema:Float",
"NativeVegetationRemnant": "schema:Float",
"LegalReserveArea": "schema:Float",
"PermanentPreservationArea": "schema:Float",
"RestrictedUseArea": "schema:Float"
}
}

0 comments on commit 5b92bc6

Please sign in to comment.