removedInput schema / properties / action / const
Removed value: -"create"
changedInput schema / properties / action / description
Previous value: -"The maintenance operation to perform (currently only create is supported)"New value: +"The maintenance operation to perform"
addedInput schema / properties / action / enum
Added value: +[
+ "create",
+ "list",
+ "get",
+ "update",
+ "delete",
+ "complete"
+]
addedInput schema / properties / asset_id / anyOf
Added value: +[
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / asset_id / default
Added value: +null
changedInput schema / properties / asset_id / description
Previous value: -"Asset ID"New value: +"Asset ID (required for create; optional filter for list)"
removedInput schema / properties / asset_id / type
Removed value: -"integer"
addedInput schema / properties / completed
Added value: +{
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Filter by completion state (for list action)"
+}
addedInput schema / properties / limit
Added value: +{
+ "default": 50,
+ "description": "Number of results to return (for list action)",
+ "type": "integer"
+}
addedInput schema / properties / maintenance_data / anyOf
Added value: +[
+ {
+ "description": "Model for asset maintenance records.",
+ "properties": {
+ "asset_improvement": {
+ "description": "Type of maintenance/improvement",
+ "type": "string"
+ },
+ "completion_date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Completion date (YYYY-MM-DD)"
+ },
+ "cost": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maintenance cost"
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maintenance notes"
+ },
+ "start_date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Start date (YYYY-MM-DD)"
+ },
+ "supplier_id": {
+ "description": "Supplier ID",
+ "type": "integer"
+ },
+ "title": {
+ "description": "Maintenance title",
+ "type": "string"
+ }
+ },
+ "required": [
+ "asset_improvement",
+ "supplier_id",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / properties / maintenance_data / default
Added value: +null
removedInput schema / properties / maintenance_data / properties
Removed value: -{
- "asset_improvement": {
- "description": "Type of maintenance/improvement",
- "type": "string"
- },
- "completion_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Completion date (YYYY-MM-DD)"
- },
- "cost": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Maintenance cost"
- },
- "notes": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Maintenance notes"
- },
- "start_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Start date (YYYY-MM-DD)"
- },
- "supplier_id": {
- "description": "Supplier ID",
- "type": "integer"
- },
- "title": {
- "description": "Maintenance title",
- "type": "string"
- }
-}
removedInput schema / properties / maintenance_data / required
Removed value: -[
- "asset_improvement",
- "supplier_id",
- "title"
-]
removedInput schema / properties / maintenance_data / type
Removed value: -"object"
addedInput schema / properties / maintenance_id
Added value: +{
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maintenance record ID (required for get, update, delete, complete)"
+}
addedInput schema / properties / note
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Completion note (for complete action)"
+}
addedInput schema / properties / offset
Added value: +{
+ "default": 0,
+ "description": "Number of results to skip (for list action)",
+ "type": "integer"
+}
addedInput schema / properties / search
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Search query (for list action)"
+}
addedInput schema / properties / update_data
Added value: +{
+ "anyOf": [
+ {
+ "description": "Model for partial updates to maintenance records (all fields optional).",
+ "properties": {
+ "asset_improvement": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Type of maintenance/improvement"
+ },
+ "completion_date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Completion date (YYYY-MM-DD)"
+ },
+ "cost": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maintenance cost"
+ },
+ "is_warranty": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Whether covered under warranty"
+ },
+ "notes": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maintenance notes"
+ },
+ "start_date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Start date (YYYY-MM-DD)"
+ },
+ "supplier_id": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Supplier ID"
+ },
+ "title": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maintenance title"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Fields to change (required for update action)"
+}
changedInput schema / required
Previous value: -[
- "action",
- "asset_id",
- "maintenance_data"
-]New value: +[
+ "action"
+]