-
Notifications
You must be signed in to change notification settings - Fork 5
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
Schema documentation does not show marginal note and correction status #18
Comments
Thanks for flagging this. Think some additional work is needed here as follows (will use this issue to track):
|
@adamconder Currently we have blocked registrations where all the other fields, including the other status fields, are blanked out, leaving just the names and system number. This makes more of those status fields optional and maybe reduces the usefulness of the schema. Does this work for you as a way of handling blocked registrations or can you think of any other ways to handle it that would work better? |
PR created here: |
@timgent Could you please clarify what you mean by this I don't understand your response. |
So if you get a blocked record it will look something like this: {
"location": {
},
"subjects": {
"child": {
"name": {
},
"originalName": {
}
},
"father": {
"name": {
}
},
"mother": {
"name": {
}
},
"informant": {
"name": {
}
}
},
"systemNumber": 123456789,
"id": 123456789,
"status": {
"blockedRegistration": true
},
"previousRegistration": {
}
} |
So you get empty objects for all the required fields, system number is returned, but nothing else comes back |
@timgent Thank you for clarifying this. This is helpful in understanding the variations of data coming back from GRO. Can there be a situation that arises where there is multiple status flags being returned. This is an object on the schema so doesn't indicate if multiple can occur? |
Yes multiple flags can be returned. However if you have blockedRegistration flag come back you won't get any information about the others |
marginalNote
andcorrection
is required yet the schema is missing these values.Also, the schema is showing these additional properties within
status
but they're not shown in the required list. Can you clarify these please?It would also be good if you could expand on
"description": "TBD, what does this mean"
to provide some context as to what these flags indicate.The text was updated successfully, but these errors were encountered: