LandRegistry/decision-alpha

Name: decision-alpha

Owner: HM Land Registry

Description: null

Created: 2014-08-12 19:00:08.0

Updated: 2015-11-27 10:11:49.0

Pushed: 2014-10-31 13:35:50.0

Homepage: null

Size: 356

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

decision

Build Status

Eventually this wants replacing with something like cucumber tests, but for now it is just a few simple functions that return some codes.

Multiple codes can be returned, up to the client to decide what to do with them.

Request data format

{

"action": "change-name-marriage",
"data": {"iso-country-country": "GB"},
"context": {"session-id":"1234", "transaction-id":"ABCDE"}

}

Response data format

Return codes look like:

{ “decision”:[

{"code":XXX, "message":"YYY"}

] }

Codes
1xx - casework

100 - send to casework

2xx - check list

200 - send for checking

TODO:

Probably needs some kind of signing of the response, maybe a verifiable hash of the data/decision?


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.