mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Generate Schema Files - 18113073 (no-changelog) (#12927)
Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
61
packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/get.json
vendored
Normal file
61
packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/get.json
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"attributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"friendly_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"state_class": {
|
||||
"type": "string"
|
||||
},
|
||||
"unit_of_measurement": {
|
||||
"type": "string"
|
||||
},
|
||||
"device_class": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"friendly_name"
|
||||
]
|
||||
},
|
||||
"last_changed": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_reported": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_updated": {
|
||||
"type": "string"
|
||||
},
|
||||
"context": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"parent_id",
|
||||
"user_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"entity_id",
|
||||
"state",
|
||||
"attributes",
|
||||
"last_changed",
|
||||
"last_updated",
|
||||
"context"
|
||||
]
|
||||
}
|
||||
86
packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/getAll.json
vendored
Normal file
86
packages/nodes-base/nodes/HomeAssistant/__schema__/v1.0.0/state/getAll.json
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"attributes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"editable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"device_trackers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"user_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"friendly_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"latitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"longitude": {
|
||||
"type": "number"
|
||||
},
|
||||
"gps_accuracy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"friendly_name"
|
||||
]
|
||||
},
|
||||
"last_changed": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_reported": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_updated": {
|
||||
"type": "string"
|
||||
},
|
||||
"context": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"parent_id": {
|
||||
"type": "null"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "null"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"parent_id",
|
||||
"user_id"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"entity_id",
|
||||
"state",
|
||||
"attributes",
|
||||
"last_changed",
|
||||
"last_reported",
|
||||
"last_updated",
|
||||
"context"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user