{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opoint/json-schema/opoint-patched-customer-detail-schema.json",
  "title": "PatchedCustomerDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opoint-customers-api-openapi.yml#/components/schemas/PatchedCustomerDetail",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Customers name",
      "maxLength": 255
    },
    "partner": {
      "type": "integer",
      "minimum": 0
    },
    "is_active": {
      "type": "boolean",
      "description": "Customers active status. When the customer is inactive, users can no longer login. Currently not enforced"
    },
    "is_educational": {
      "type": "boolean",
      "description": "Whether customer is an educational institution"
    },
    "is_opoint": {
      "type": "boolean",
      "default": false,
      "description": "Specifies if the user is owned by opoint or not"
    },
    "max_num_users": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "navision_id": {
      "type": "string",
      "description": "Customers navision id"
    },
    "salesforce_id": {
      "type": "string",
      "description": "Customers salesforce id"
    },
    "num_users": {
      "type": "integer",
      "readOnly": true,
      "description": "Number of users the customer has signed up"
    }
  }
}