Axon Framework · Schema

CreateUserRequest

CQRSEvent SourcingEvent-DrivenJavaMessagingMicroservices

Properties

Name Type Description
userName string
password string
roles array
View JSON Schema on GitHub

JSON Schema

axon-createuserrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreateUserRequest",
  "type": "object",
  "properties": {
    "userName": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "context": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "required": [
    "userName",
    "password"
  ]
}