{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-workspace/json-schema/google-workspace-user-license-schema.json",
  "title": "UserLicense",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-workspace-appsmarket-user-license-api-openapi.yml#/components/schemas/UserLicense",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The ID of the application corresponding to the license query."
    },
    "id": {
      "type": "string",
      "description": "The ID of the user license."
    },
    "customerId": {
      "type": "string",
      "description": "The domain name of the user."
    },
    "editionId": {
      "type": "string",
      "description": "(Deprecated)",
      "deprecated": true
    },
    "kind": {
      "type": "string",
      "description": "The type of API resource. This is always `appsmarket#userLicense`."
    },
    "userId": {
      "type": "string",
      "description": "The email address of the user."
    },
    "enabled": {
      "description": "The domain administrator has activated the application for this domain.",
      "type": "boolean"
    },
    "state": {
      "description": "The user's licensing status. One of: - `ACTIVE`: The user has a valid license and should be permitted to use the application. - `UNLICENSED`: The administrator of this user's domain never assigned a seat for the application to this user. - `EXPIRED`: The administrator assigned a seat to this user, but the license is expired.",
      "type": "string"
    }
  },
  "type": "object"
}