...
There are several validations process involved to better serve this service, and these validations are listed below:
- The specification for the endpoint of HLA Validator can be found in the link below:
...
As the doc above it too technique, below is the explanation of the format validation that which are NOT supported in the json schema:
| Rules Loci | Rule of Regular expressionexpression | Length | Valid value examples | Invalid value examples | |||
|---|---|---|---|---|---|---|---|
| a. | dnaser.field1, a. | dnaser.field2 b. | dnaser.field1, b.ser.field2 | ^\\d{1,4}$|^UUUU$ | 4 | 1 | "XXXX" is not allowed for ser value |
| "NNNN" is not allowed for ser value | |||||||
DNA for loci A, B, C, E, DRB1, DPA,DPB,DQA,DQBdna.field2 | ^\\d{2,}:[A-Z0-9:]{1,}$|^NEW$|^UUUU$ | 20 | 01: 01 | "/" is not allowed: for example01:02/01:03 | |||
| "*" is not allowed: A*01:02, A*11:FKFNG | |||||||
| value "new" is not allowedstart with letters: A01:02 | |||||||
| Space is not allowed: 07 :BZEJD | |||||||
| value using small letter "new" is not allowed | |||||||
| Only one letter after first ":" is not allowed: 03:M | |||||||
| DNA for loci DRB3, DRB4, DRB5 | ^\\d{2,}:[A-Z0-9:]{1,}$|^NNNN$|^UUUU$|^XXXX$|^NEW | 20 | All valid value above for DNA | All the invalid value above for DNA | |||
| value below using small letters are not allowed: nnnn, uuuu, xxxx | "XXXX" is not allowed for SER value | "NNNN" is not allowed for SER value |