updates to make generic functions work

This commit is contained in:
znetsixe
2025-07-01 17:05:09 +02:00
parent 5ca7889af1
commit a2018509ef
7 changed files with 1307 additions and 1093 deletions

View File

@@ -102,6 +102,14 @@
"description": "A universally unique identifier for this asset. May be null if not assigned."
}
},
"tagCode":{
"default": null,
"rules": {
"type": "string",
"nullable": true,
"description": "Asset tag code which is a unique identifier for this asset. May be null if not assigned."
}
},
"geoLocation": {
"default": {},
"rules": {
@@ -139,14 +147,14 @@
"description": "The supplier or manufacturer of the asset."
}
},
"type": {
"category": {
"default": "pump",
"rules": {
"type": "string",
"description": "A general classification of the asset tied to the specific software. This is not chosen from the asset dropdown menu."
}
},
"subType": {
"type": {
"default": "Centrifugal",
"rules": {
"type": "string",
@@ -160,6 +168,13 @@
"description": "A user-defined or manufacturer-defined model identifier for the asset."
}
},
"unit": {
"default": "unitless",
"rules": {
"type": "string",
"description": "The unit of measurement for this asset (e.g., 'meters', 'seconds', 'unitless')."
}
},
"accuracy": {
"default": null,
"rules": {