{
  "realm": "armature",
  "enabled": true,
  "registrationAllowed": false,
  "loginWithEmailAllowed": true,
  "duplicateEmailsAllowed": false,
  "sslRequired": "none",
  "roles": {
    "realm": [
      {
        "name": "sb-admin",
        "description": "Armature admin role"
      },
      {
        "name": "sb-user",
        "description": "Armature regular user role"
      }
    ]
  },
  "groups": [
    {
      "name": "engineering",
      "path": "/engineering"
    },
    {
      "name": "leads",
      "path": "/leads"
    }
  ],
  "clients": [
    {
      "clientId": "armature",
      "name": "Armature",
      "enabled": true,
      "publicClient": false,
      "secret": "armature-secret",
      "redirectUris": [
        "http://localhost:3000/*",
        "http://localhost:8080/*"
      ],
      "webOrigins": [
        "http://localhost:3000",
        "http://localhost:8080"
      ],
      "standardFlowEnabled": true,
      "directAccessGrantsEnabled": true,
      "serviceAccountsEnabled": false,
      "protocol": "openid-connect",
      "fullScopeAllowed": true,
      "protocolMappers": [
        {
          "name": "groups",
          "protocol": "openid-connect",
          "protocolMapper": "oidc-group-membership-mapper",
          "consentRequired": false,
          "config": {
            "full.path": "false",
            "introspection.token.claim": "true",
            "userinfo.token.claim": "true",
            "id.token.claim": "true",
            "access.token.claim": "true",
            "claim.name": "groups",
            "jsonType.label": "String"
          }
        }
      ]
    }
  ],
  "users": [
    {
      "username": "alice",
      "email": "alice@armature.test",
      "firstName": "Alice",
      "lastName": "Engineer",
      "enabled": true,
      "emailVerified": true,
      "credentials": [
        {
          "type": "password",
          "value": "alice123",
          "temporary": false
        }
      ],
      "realmRoles": [
        "sb-user",
        "default-roles-armature"
      ],
      "groups": [
        "/engineering"
      ]
    },
    {
      "username": "bob",
      "email": "bob@armature.test",
      "firstName": "Bob",
      "lastName": "Lead",
      "enabled": true,
      "emailVerified": true,
      "credentials": [
        {
          "type": "password",
          "value": "bob123",
          "temporary": false
        }
      ],
      "realmRoles": [
        "sb-admin",
        "sb-user",
        "default-roles-armature"
      ],
      "groups": [
        "/engineering",
        "/leads"
      ]
    }
  ]
}
