json icon

Register Customer

v1.0.0commands

Command to register a new customer.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "RegisterCustomer",
4  "description": "Command to register a new customer",
5  "type": "object",
6  "properties": {
7    "email": {
8      "description": "Customer's email address — must be unique",
9      "type": "string",
10      "format": "email"
11    },
12    "name": {
13      "description": "Customer's full name",
14      "type": "string",
15      "minLength": 1
16    },
17    "password": {
18      "description": "Initial password for the customer's credentials",
19      "type": "string",
20      "minLength": 8
21    }
22  },
23  "required": ["email", "password"]
24}
25

Details

Format
JSON Schema
Resource
commands
Filename
schema.json

Versions