{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/plugsurfing/json-schema/plugsurfing-create-user-schema.json",
  "title": "CreateUser",
  "description": "Request payload to create a drive user.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/plugsurfing-users-api-openapi.yml#/components/schemas/CreateUser",
  "required": [
    "id"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "User id, used later to access user info. Max. length is 255. Allowed characters are ASCII letters, numbers and '-', '.', '_', '~'"
    },
    "email": {
      "type": "string",
      "description": "The email format is validated, but it is not verified by sending an email. This field is mandatory when Plugsurfing is the Merchant on Record."
    }
  }
}