{
  "$schema" : "https://json-schema.org/draft/2019-09/schema",
  "$defs" : {
    "User" : {
      "type" : "object",
      "properties" : {
        "FullName" : {
          "type" : "string",
          "description" : "Full name, e.g. John Doe"
        },
        "Mail" : {
          "type" : "string",
          "description" : "Mail address, e.g. john.doe@axonivy.com"
        },
        "Name" : {
          "type" : "string",
          "description" : "Unique test user name, e.g. John"
        },
        "Password" : {
          "type" : "string",
          "description" : "Test password as plain text string"
        },
        "Properties" : {
          "description" : "Static user properties",
          "additionalProperties" : {
            "type" : "string"
          },
          "type" : "object",
          "examples" : [ "country: de_CH", "maritalStatus: married", "auth: 2FA" ]
        },
        "Roles" : {
          "description" : "Roles from roles.yaml that this user owns",
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      },
      "required" : [ "Name" ],
      "description" : "Test User to simulate workflows in dev/demo mode.",
      "additionalProperties" : false
    }
  },
  "type" : "object",
  "properties" : {
    "Users" : {
      "type" : "array",
      "items" : {
        "$ref" : "#/$defs/User"
      }
    }
  },
  "additionalProperties" : false
}
