{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-service-account-details-schema.json",
  "title": "Service Account Details",
  "description": "Contains details of a service account",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-aps-secure-service-account-openapi.yml#/components/schemas/service-account-details",
  "type": "object",
  "properties": {
    "serviceAccountId": {
      "type": "string",
      "description": "The Autodesk ID of the service account"
    },
    "email": {
      "type": "string",
      "description": "The email address of the service account"
    },
    "createdBy": {
      "type": "string",
      "description": "The client ID used to create the service account"
    },
    "status": {
      "type": "string",
      "description": "The status of the service account",
      "enum": [
        "ENABLED",
        "DISABLED",
        "DEACTIVATED"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The creation time of the service account"
    },
    "accessedAt": {
      "type": "string",
      "format": "date-time",
      "description": "This is the most recent time an access token was generated for this service account"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "The expiration time of the service account"
    }
  }
}