Rename the name property in sensor type schema
Documentation uses class_name instead of name and code for loading sensor type
database will convert class_name to name before loading to the database.
@@ -28,7 +28,7 @@ class SensorTypeAPI(BaseAPI):
"id": {"type": "string", "default": None},
"ref": {"type": "string"},
"uid": {"type": "string"},
- "name": {"type": "string", "required": True},
+ "class_name": {"type": "string", "required": True},
"pack": {"type": "string"},
"description": {"type": "string"},
"artifact_uri": {
