{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "Appmixer User",
  "description": "A User represents an authenticated account in the Appmixer platform with access to flows, files, data stores, and connected third-party accounts.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the user."
    },
    "username": {
      "type": "string",
      "description": "The user's username, typically an email address."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The user's email address."
    },
    "token": {
      "type": "string",
      "description": "Authentication token for the user session."
    },
    "plan": {
      "type": "string",
      "description": "The subscription plan associated with the user."
    }
  },
  "required": [
    "id",
    "username"
  ]
}