Entity · tools
Tool Schema
Velden
Tool Schema
Schema for validating tool / Werkzeug entities
name
Tool name / Bezeichnung
1–200 tekens
description
Optional description
max. 2000 tekensnullable
type
TOOL = individual tool, BAG = tool bag containing other tools
Waarden
TOOLBAGcategory
Tool category
Waarden
ElektrowerkzeugHandwerkzeugMesswerkzeugMaschineSonstigesnullable
manufacturer
Manufacturer / Hersteller
max. 100 tekensnullable
model
Model name
max. 100 tekensnullable
serialNumber
Serial number / Seriennummer
max. 100 tekensnullable
status
IN_STORAGE = im Lager, CHECKED_OUT = mitgenommen
Waarden
IN_STORAGECHECKED_OUTDefault: "IN_STORAGE"
checkedOutBy
User ID who checked out the tool
nullable
checkedOutAt
Timestamp when tool was checked out
nullable
toolBagId
Parent tool bag ID (only for type=TOOL)
nullable
location
Storage location / Lagerort (e.g. Regal A3)
max. 200 tekensnullable
purchaseDate
Purchase date
nullable
purchasePrice
Purchase price in EUR
≥ 0nullable
notes
Free-text notes
max. 5000 tekensnullable
tags
Tags for categorization
Default: []
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/tools— Lijst, gepagineerd + filterbaarGET /api/v1/tools/<id>— Enkele entityPOST /api/v1/tools— AanmakenPATCH /api/v1/tools/<id>— Gedeeltelijke updateDELETE /api/v1/tools/<id>— Soft-deleteGET /api/v1/tools/<id>/timeline— Audit + activiteiten