1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Update did-ddo.md

This commit is contained in:
Alex Coseru 2022-02-10 13:46:23 +02:00 committed by GitHub
parent 5481e18760
commit ddfbe48b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,6 +388,7 @@ An element looks like:
"label": "Name", "label": "Name",
"required": true, "required": true,
"description":"Please fill your name", "description":"Please fill your name",
"default": "NoName",
"options": [] "options": []
} }
``` ```
@ -409,7 +410,7 @@ Example:
"type": "text", "type": "text",
"label": "Name", "label": "Name",
"required": true, "required": true,
"default': "NoName" "default": "NoName"
"description":"Please fill your name" "description":"Please fill your name"
}, },
{ {
@ -417,7 +418,7 @@ Example:
"type": "number", "type": "number",
"label": "Age", "label": "Age",
"required": false, "required": false,
"default': 0 "default": 0
"description":"Please fill your age" "description":"Please fill your age"
}, },
{ {
@ -425,7 +426,7 @@ Example:
"type": "boolean", "type": "boolean",
"label": "Developer", "label": "Developer",
"required": false, "required": false,
"default': false "default": false
"description":"Are you a developer?" "description":"Are you a developer?"
}, },
{ {
@ -692,7 +693,7 @@ Example:
"type": "text", "type": "text",
"label": "Name", "label": "Name",
"required": true, "required": true,
"default': "NoName" "default": "NoName"
"description":"Please fill your name" "description":"Please fill your name"
}, },
{ {
@ -700,7 +701,7 @@ Example:
"type": "number", "type": "number",
"label": "Age", "label": "Age",
"required": false, "required": false,
"default': 0 "default": 0
"description":"Please fill your age" "description":"Please fill your age"
}] }]
}, },