http://maasglobal.com/core/personal-document.json
Personal document object
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | core/personal-document.json |
http://maasglobal.com/core/personal-document.json
http://maasglobal.com/core/components/units.json| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| details | object |
Optional | No | personal-document (this schema) |
| documentNumber | string |
Required | No | personal-document (this schema) |
| identityId | complex | Optional | No | personal-document (this schema) |
| issuingCountry | string |
Required | No | personal-document (this schema) |
| media | object[] |
Optional | No | personal-document (this schema) |
| nameOnDocument | string |
Required | No | personal-document (this schema) |
| status | enum |
Required | No | personal-document (this schema) |
| type | string |
Required | No | personal-document (this schema) |
| validFrom | string |
Required | No | personal-document (this schema) |
| validTo | string |
Required | No | personal-document (this schema) |
details
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
category |
string | Optional |
category
stringstring
documentNumber
stringstring
identityId
Any following options needs to be fulfilled.
string
All instances must conform to this regular expression
^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"
issuingCountry
stringstring
Media documents related to user personal document.
media
object[]Array type: object[]
All items must be of the type: object with following properties:
| Property | Type | Required |
|---|---|---|
content |
string | Required |
context |
string | Required |
content
stringstring
context
stringstring
nameOnDocument
stringstring
status
enumThe value of this property must be equal to one of the known values below.
| Value | Description |
|---|---|
PENDING |
|
APPROVED |
|
DECLINED |
|
EXPIRED |
|
RESUBMISSION_REQUESTED |
|
ABANDONED |
type
stringstring
A date in the form YYYY-MM-DD without a time component
validFrom
stringstring
All instances must conform to this regular expression (test examples here):
^\d{4}-\d{2}-\d{2}
A date in the form YYYY-MM-DD without a time component
validTo
stringstring
All instances must conform to this regular expression (test examples here):
^\d{4}-\d{2}-\d{2}