Skip to content

Commit a31812f

Browse files
author
SunMi Lee
committedApr 27, 2021
rename to referenceIDcommandobject
1 parent c16f794 commit a31812f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎dips/dip-10.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dip: 10
33
title: DiemID Spec
44
author: Sunmi Lee (@sunmilee), David Wolinsky (@davidiw), Andrey Chursin(@andll), Kevin Hurley (@kphfb)
55
status: Draft
6-
type: Standard
6+
type: Informational
77
created: 2020-11-03
88
updated: 2021-04-14
99
issue: https://github.com/diem/dip/issues/156
@@ -49,11 +49,11 @@ Example: `alice@avasp`
4949

5050
* `user_identifier` is a reusable identifier that represents either the source or destination end-user of a payment transaction. It is unique to per user at VASP level. Specification:
5151
* Case insensitive
52-
* Valid regular expression: `[a-zA-Z0-9]+`
52+
* Valid regular expression: `^[a-zA-Z0-9][a-zA-Z0-9.]*$`
5353
* Maximum length: 64 characters
5454
* `vasp_domain_identifier` is a unique string that is mapped to a VASP. Specification:
5555
* Case insensitive
56-
* Valid regular expression: `[a-zA-Z0-9]+`
56+
* Valid regular expression: `^[a-zA-Z0-9][a-zA-Z0-9.]*$`
5757
* Maximum length: 63 characters (64 including `@`)
5858

5959

@@ -136,16 +136,16 @@ The format of the command is:
136136
|------- |------ |----------- |------------- |
137137
| _ObjectType | str | Y | Fixed value: `CommandRequestObject`|
138138
| command_type | str | Y | Fixed value: `ReferenceIDCommand`|
139-
| command | Command object | Y | The Command to sequence. |
139+
| command | Command object | Y | The Command to request. In this DIP, refers to ReferenceIDCommandObject |
140140
| cid | str | Y | A unique identifier for the Command. Should be a UUID according to [RFC4122](https://tools.ietf.org/html/rfc4122) with "-"'s included. |
141141

142-
**CommandObject:**
142+
**ReferenceIDCommandObject:**
143143

144144
| Field | Type | Required? | Description |
145145
|------- |------ |----------- |------------- |
146146
| _ObjectType | str | Y | Fixed value: `ReferenceIDCommand`|
147147
| sender | str | Y | Sender's full DiemID |
148-
| sender_address| str | Y | Sender's onchain [account identifier](https://github.com/diem/dip/blob/main/dips/dip-5.md) with subaddress set to `None` or `00000000` |
148+
| sender_address| str | Y | Sender's onchain [account identifier](https://github.com/diem/dip/blob/main/dips/dip-5.md) with subaddress set to `None` or the zero subaddress|
149149
| receiver | str | Y | Receiver's full DiemID |
150150
| reference_id | str | Y | Reference ID of this transaction to be included into payment metadata |
151151

@@ -163,7 +163,7 @@ The format of the success response is:
163163
}
164164
```
165165

166-
**CommandResultObject:**
166+
**ReferenceIDCommandResultObject:**
167167

168168
| Field | Type | Required? | Description |
169169
|------- |------ |----------- |------------- |

0 commit comments

Comments
 (0)