mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
fix schema
This commit is contained in:
@ -36,18 +36,21 @@ Schema:
|
|||||||
"maximum_width": integer,
|
"maximum_width": integer,
|
||||||
"maximum_height": integer,
|
"maximum_height": integer,
|
||||||
"associated_device": {
|
"associated_device": {
|
||||||
"associated_modes": [
|
"associated_modes": [
|
||||||
{
|
|
||||||
"resolution_width": integer,
|
|
||||||
"resolution_height": integer,
|
|
||||||
"is_high_resolution": boolean,
|
|
||||||
"frequencies": [
|
|
||||||
{
|
{
|
||||||
"frequency": float,
|
"resolution_width": integer,
|
||||||
"is_current": boolean,
|
"resolution_height": integer,
|
||||||
"is_preferred": boolean
|
"is_high_resolution": boolean,
|
||||||
|
"frequencies": [
|
||||||
|
{
|
||||||
|
"frequency": float,
|
||||||
|
"is_current": boolean,
|
||||||
|
"is_preferred": boolean
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"is_connected": boolean,
|
"is_connected": boolean,
|
||||||
"is_primary": boolean,
|
"is_primary": boolean,
|
||||||
"device_name": string,
|
"device_name": string,
|
||||||
@ -57,7 +60,6 @@ Schema:
|
|||||||
"offset_height": integer,
|
"offset_height": integer,
|
||||||
"dimension_width": integer,
|
"dimension_width": integer,
|
||||||
"dimension_height": integer
|
"dimension_height": integer
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"unassociated_devices": [
|
"unassociated_devices": [
|
||||||
|
@ -31,18 +31,21 @@ Schema:
|
|||||||
"maximum_width": integer,
|
"maximum_width": integer,
|
||||||
"maximum_height": integer,
|
"maximum_height": integer,
|
||||||
"associated_device": {
|
"associated_device": {
|
||||||
"associated_modes": [
|
"associated_modes": [
|
||||||
{
|
|
||||||
"resolution_width": integer,
|
|
||||||
"resolution_height": integer,
|
|
||||||
"is_high_resolution": boolean,
|
|
||||||
"frequencies": [
|
|
||||||
{
|
{
|
||||||
"frequency": float,
|
"resolution_width": integer,
|
||||||
"is_current": boolean,
|
"resolution_height": integer,
|
||||||
"is_preferred": boolean
|
"is_high_resolution": boolean,
|
||||||
|
"frequencies": [
|
||||||
|
{
|
||||||
|
"frequency": float,
|
||||||
|
"is_current": boolean,
|
||||||
|
"is_preferred": boolean
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"is_connected": boolean,
|
"is_connected": boolean,
|
||||||
"is_primary": boolean,
|
"is_primary": boolean,
|
||||||
"device_name": string,
|
"device_name": string,
|
||||||
@ -52,7 +55,6 @@ Schema:
|
|||||||
"offset_height": integer,
|
"offset_height": integer,
|
||||||
"dimension_width": integer,
|
"dimension_width": integer,
|
||||||
"dimension_height": integer
|
"dimension_height": integer
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"unassociated_devices": [
|
"unassociated_devices": [
|
||||||
@ -137,7 +139,6 @@ Examples:
|
|||||||
"""
|
"""
|
||||||
import re
|
import re
|
||||||
from typing import Dict, List, Optional, Union
|
from typing import Dict, List, Optional, Union
|
||||||
|
|
||||||
import jc.utils
|
import jc.utils
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user