{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ShareInviteMonetaryAccountInquiryListing",
"title": "ShareInviteMonetaryAccountInquiryListing",
"type": "object",
"properties": {
"alias": {
"type": "object",
"description": "The label of the monetary account that's being shared.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelMonetaryAccount"
},
"user_alias_created": {
"type": "object",
"description": "The user who created the share.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelUser"
},
"user_alias_revoked": {
"type": "object",
"description": "The user who revoked the share.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelUser"
},
"counter_user_alias": {
"type": "object",
"description": "The label of the user to share with.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelUser"
},
"monetary_account_id": {
"type": "integer",
"description": "The id of the monetary account the share applies to.",
"readOnly": true,
"writeOnly": false
},
"status": {
"type": "string",
"description": "The status of the share. Can be ACTIVE, REVOKED, REJECTED.",
"readOnly": true,
"writeOnly": false
},
"access_type": {
"type": "string",
"description": "Type of access that is in place.",
"readOnly": true,
"writeOnly": false
},
"relationship": {
"type": "string",
"description": "The relationship: COMPANY_DIRECTOR, COMPANY_EMPLOYEE, etc",
"readOnly": true,
"writeOnly": false
},
"id": {
"type": "integer",
"description": "The id of the newly created share invite.",
"readOnly": true,
"writeOnly": false
}
}
}