1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

fix schema

This commit is contained in:
Kelly Brazil
2022-02-14 15:14:22 -08:00
parent f026a788e5
commit 961968a0fc
2 changed files with 26 additions and 23 deletions

View File

@ -36,18 +36,21 @@ Schema:
"maximum_width": integer,
"maximum_height": integer,
"associated_device": {
"associated_modes": [
{
"resolution_width": integer,
"resolution_height": integer,
"is_high_resolution": boolean,
"frequencies": [
"associated_modes": [
{
"frequency": float,
"is_current": boolean,
"is_preferred": boolean
"resolution_width": integer,
"resolution_height": integer,
"is_high_resolution": boolean,
"frequencies": [
{
"frequency": float,
"is_current": boolean,
"is_preferred": boolean
}
]
}
],
]
},
"is_connected": boolean,
"is_primary": boolean,
"device_name": string,
@ -57,7 +60,6 @@ Schema:
"offset_height": integer,
"dimension_width": integer,
"dimension_height": integer
}
}
],
"unassociated_devices": [

View File

@ -31,18 +31,21 @@ Schema:
"maximum_width": integer,
"maximum_height": integer,
"associated_device": {
"associated_modes": [
{
"resolution_width": integer,
"resolution_height": integer,
"is_high_resolution": boolean,
"frequencies": [
"associated_modes": [
{
"frequency": float,
"is_current": boolean,
"is_preferred": boolean
"resolution_width": integer,
"resolution_height": integer,
"is_high_resolution": boolean,
"frequencies": [
{
"frequency": float,
"is_current": boolean,
"is_preferred": boolean
}
]
}
],
]
},
"is_connected": boolean,
"is_primary": boolean,
"device_name": string,
@ -52,7 +55,6 @@ Schema:
"offset_height": integer,
"dimension_width": integer,
"dimension_height": integer
}
}
],
"unassociated_devices": [
@ -137,7 +139,6 @@ Examples:
"""
import re
from typing import Dict, List, Optional, Union
import jc.utils