action namsor_religion { label: "[USES 10 UNITS PER NAME] Infer the likely religion of a personal Indian full name, provided the Indian state or Union territory (NB/ this can be inferred using the subclassification endpoint)." provider: namsor method: GET path: "/api2/json/religionIndianFull/{subDivisionIso31662}/{personalNameFull}" encoding: json input: { type: "object" properties: { personalNameFull: { type: "string" } subDivisionIso31662: { type: "string" } } required: ["personalNameFull", "subDivisionIso31662"] additionalProperties: false } output: { type: "object" description: "religious-coded names" properties: { id: { type: "string" } name: { type: "string" description: "The input name." } probabilityAltCalibrated: { type: "number" format: "double" description: "The calibrated probability for country OR countryAlt to have been guessed correctly. -1 = still calibrating. " } probabilityCalibrated: { type: "number" format: "double" description: "The calibrated probability for country to have been guessed correctly. -1 = still calibrating. " } religion: { type: "string" description: "Most likely religion" } religionAlt: { type: "string" description: "Second best alternative : religion " } religionsTop: { type: "array" description: "List countries (top 10)" items: { type: "string" description: "List countries (top 10)" } } score: { type: "number" format: "double" description: "Higher score is better, but score is not normalized. Use calibratedProbability if available. " } script: { type: "string" } } } }