{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chrome/json-schema/google-chrome-google-chrome-management-versions-v1-enrollment-token-schema.json",
  "title": "GoogleChromeManagementVersionsV1EnrollmentToken",
  "description": "Enrollment token for a chrome device.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chrome-chromemanagement-customers-api-openapi.yml#/components/schemas/GoogleChromeManagementVersionsV1EnrollmentToken",
  "properties": {
    "token": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The value of the token stored on the device and used to identify it to the management service handling the enrollment request."
    },
    "revokerId": {
      "type": "string",
      "description": "Output only. The id of the user who revoked the token, null if the token is not revoked.",
      "readOnly": true
    },
    "orgUnitId": {
      "description": "Optional. Obfuscated ID of the organization unit this token is associated with. If not set, the token is created for the root organization unit.",
      "type": "string"
    },
    "state": {
      "type": "string",
      "enum": [
        "ENROLLMENT_TOKEN_STATE_UNSPECIFIED",
        "ENROLLMENT_TOKEN_STATE_ACTIVE",
        "ENROLLMENT_TOKEN_STATE_EXPIRED",
        "ENROLLMENT_TOKEN_STATE_REVOKED"
      ],
      "description": "Output only. The state of the token.",
      "readOnly": true
    },
    "customerId": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The obfuscated ID of the customer to whom this token is associated."
    },
    "createTime": {
      "readOnly": true,
      "description": "Output only. The creation time of the token.",
      "type": "string",
      "format": "google-datetime"
    },
    "tokenType": {
      "type": "string",
      "enum": [
        "ENROLLMENT_TOKEN_TYPE_UNSPECIFIED",
        "ENROLLMENT_TOKEN_TYPE_CHROME_BROWSER"
      ],
      "description": "Optional. The device type this token is used for. If not set, defaults to `ENROLLMENT_TOKEN_TYPE_CHROME_BROWSER`."
    },
    "tokenPermanentId": {
      "description": "Output only. Unique identifier of the enrollment token used to access information on tokens.",
      "type": "string",
      "readOnly": true
    },
    "name": {
      "description": "Identifier. The resource name of the enrollment token. Format: customers/{customer}/enrollmentTokens/{token_permanent_id}",
      "type": "string"
    },
    "creatorId": {
      "type": "string",
      "description": "Output only. The id of the user who created the token.",
      "readOnly": true
    },
    "revokeTime": {
      "description": "Output only. The revocation time of the token, null if the token is not revoked.",
      "format": "google-datetime",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}