feat: Generate Schema Files - 18113073 (no-changelog) (#12927)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Jon
2025-01-30 14:59:04 +00:00
committed by GitHub
parent cdfa22593b
commit 9d027339fd
661 changed files with 76670 additions and 1 deletions

View 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"
]
}

View 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"
]
}