Entité · tools
Tool Schema
Champs
Tool Schema
Schema for validating tool / Werkzeug entities
name
Tool name / Bezeichnung
1–200 caractères
description
Optional description
max. 2000 caractèresnullable
type
TOOL = individual tool, BAG = tool bag containing other tools
Valeurs
TOOLBAGcategory
Tool category
Valeurs
ElektrowerkzeugHandwerkzeugMesswerkzeugMaschineSonstigesnullable
manufacturer
Manufacturer / Hersteller
max. 100 caractèresnullable
model
Model name
max. 100 caractèresnullable
serialNumber
Serial number / Seriennummer
max. 100 caractèresnullable
status
IN_STORAGE = im Lager, CHECKED_OUT = mitgenommen
Valeurs
IN_STORAGECHECKED_OUTPar défaut : "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 caractèresnullable
purchaseDate
Purchase date
nullable
purchasePrice
Purchase price in EUR
≥ 0nullable
notes
Free-text notes
max. 5000 caractèresnullable
tags
Tags for categorization
Par défaut : []
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/tools— Liste, paginée et filtrableGET /api/v1/tools/<id>— Une entitéPOST /api/v1/tools— CréerPATCH /api/v1/tools/<id>— Mise à jour partielleDELETE /api/v1/tools/<id>— Suppression logiqueGET /api/v1/tools/<id>/timeline— Audit et activités