Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
feat: allowSubdomains can have true value (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Shuplenkov authored Aug 25, 2020
1 parent fad0316 commit 975b487
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions schema/dpns-contract-documents.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"pattern": "^((?!-)[a-z0-9-]{0,62}[a-z0-9])$",
"maxLength": 63,
"description": "Domain label in a lower case for case insensitive uniqueness validation. e.g. 'bob'",
"$comment": "This property will be deprecated due to case insensitive indices. Must be equal to label in lowercase."
"$comment": "This property will be deprecated due to case insensitive indices. Must be equal to label in lowercase"
},
"normalizedParentDomainName": {
"type": "string",
"pattern": "^$|^((?!-)[a-z0-9-\\.]{0,189}[a-z0-9])$",
"minLength": 0,
"maxLength": 190,
"description": "A full parent domain name in lower case for case insensitive uniqueness validation. e.g. 'dash'",
"$comment": "Must be equal to existing domain or can be empty if you want to create a top level domain. Only the contract owner can create top level domains."
"$comment": "Must be equal to existing domain or can be empty if you want to create a top level domain. Only the contract owner can create top level domains"
},
"preorderSalt": {
"type": "string",
Expand Down Expand Up @@ -82,8 +82,7 @@
"properties": {
"allowSubdomains": {
"type": "boolean",
"const": false,
"description": "This option defines who can create subdomains. Only domain owner is allowed at the moment"
"description": "This option defines who can create subdomains"
}
},
"description": "Subdomain rules allows to define rules for subdomains",
Expand Down

0 comments on commit 975b487

Please sign in to comment.