mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
schema update
This commit is contained in:
@ -31,22 +31,24 @@ Schema:
|
|||||||
"current_height": integer,
|
"current_height": integer,
|
||||||
"maximum_width": integer,
|
"maximum_width": integer,
|
||||||
"maximum_height": integer,
|
"maximum_height": integer,
|
||||||
"devices": {
|
"devices": [
|
||||||
"modes": [
|
{
|
||||||
{
|
"modes": [
|
||||||
"resolution_width": integer,
|
{
|
||||||
"resolution_height": integer,
|
"resolution_width": integer,
|
||||||
"is_high_resolution": boolean,
|
"resolution_height": integer,
|
||||||
"frequencies": [
|
"is_high_resolution": boolean,
|
||||||
{
|
"frequencies": [
|
||||||
"frequency": float,
|
{
|
||||||
"is_current": boolean,
|
"frequency": float,
|
||||||
"is_preferred": boolean
|
"is_current": boolean,
|
||||||
}
|
"is_preferred": boolean
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
},
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"is_connected": boolean,
|
"is_connected": boolean,
|
||||||
"is_primary": boolean,
|
"is_primary": boolean,
|
||||||
"device_name": string,
|
"device_name": string,
|
||||||
@ -78,50 +80,52 @@ Examples:
|
|||||||
"current_height": 1080,
|
"current_height": 1080,
|
||||||
"maximum_width": 32767,
|
"maximum_width": 32767,
|
||||||
"maximum_height": 32767,
|
"maximum_height": 32767,
|
||||||
"devices": {
|
"devices": [
|
||||||
"modes": [
|
{
|
||||||
{
|
"modes": [
|
||||||
"resolution_width": 1920,
|
{
|
||||||
"resolution_height": 1080,
|
"resolution_width": 1920,
|
||||||
"is_high_resolution": false,
|
"resolution_height": 1080,
|
||||||
"frequencies": [
|
"is_high_resolution": false,
|
||||||
{
|
"frequencies": [
|
||||||
"frequency": 60.03,
|
{
|
||||||
"is_current": true,
|
"frequency": 60.03,
|
||||||
"is_preferred": true
|
"is_current": true,
|
||||||
},
|
"is_preferred": true
|
||||||
{
|
},
|
||||||
"frequency": 59.93,
|
{
|
||||||
"is_current": false,
|
"frequency": 59.93,
|
||||||
"is_preferred": false
|
"is_current": false,
|
||||||
}
|
"is_preferred": false
|
||||||
]
|
}
|
||||||
},
|
]
|
||||||
{
|
},
|
||||||
"resolution_width": 1680,
|
{
|
||||||
"resolution_height": 1050,
|
"resolution_width": 1680,
|
||||||
"is_high_resolution": false,
|
"resolution_height": 1050,
|
||||||
"frequencies": [
|
"is_high_resolution": false,
|
||||||
{
|
"frequencies": [
|
||||||
"frequency": 59.88,
|
{
|
||||||
"is_current": false,
|
"frequency": 59.88,
|
||||||
"is_preferred": false
|
"is_current": false,
|
||||||
}
|
"is_preferred": false
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
],
|
}
|
||||||
"is_connected": true,
|
],
|
||||||
"is_primary": true,
|
"is_connected": true,
|
||||||
"device_name": "eDP1",
|
"is_primary": true,
|
||||||
"resolution_width": 1920,
|
"device_name": "eDP1",
|
||||||
"resolution_height": 1080,
|
"resolution_width": 1920,
|
||||||
"offset_width": 0,
|
"resolution_height": 1080,
|
||||||
"offset_height": 0,
|
"offset_width": 0,
|
||||||
"dimension_width": 310,
|
"offset_height": 0,
|
||||||
"dimension_height": 170,
|
"dimension_width": 310,
|
||||||
"rotation": "normal",
|
"dimension_height": 170,
|
||||||
"reflection": "normal"
|
"rotation": "normal",
|
||||||
}
|
"reflection": "normal"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -137,53 +141,55 @@ Examples:
|
|||||||
"current_height": 1080,
|
"current_height": 1080,
|
||||||
"maximum_width": 32767,
|
"maximum_width": 32767,
|
||||||
"maximum_height": 32767,
|
"maximum_height": 32767,
|
||||||
"devices": {
|
"devices": [
|
||||||
"modes": [
|
{
|
||||||
{
|
"modes": [
|
||||||
"resolution_width": 1920,
|
{
|
||||||
"resolution_height": 1080,
|
"resolution_width": 1920,
|
||||||
"is_high_resolution": false,
|
"resolution_height": 1080,
|
||||||
"frequencies": [
|
"is_high_resolution": false,
|
||||||
{
|
"frequencies": [
|
||||||
"frequency": 60.03,
|
{
|
||||||
"is_current": true,
|
"frequency": 60.03,
|
||||||
"is_preferred": true
|
"is_current": true,
|
||||||
},
|
"is_preferred": true
|
||||||
{
|
},
|
||||||
"frequency": 59.93,
|
{
|
||||||
"is_current": false,
|
"frequency": 59.93,
|
||||||
"is_preferred": false
|
"is_current": false,
|
||||||
}
|
"is_preferred": false
|
||||||
]
|
}
|
||||||
},
|
]
|
||||||
{
|
},
|
||||||
"resolution_width": 1680,
|
{
|
||||||
"resolution_height": 1050,
|
"resolution_width": 1680,
|
||||||
"is_high_resolution": false,
|
"resolution_height": 1050,
|
||||||
"frequencies": [
|
"is_high_resolution": false,
|
||||||
{
|
"frequencies": [
|
||||||
"frequency": 59.88,
|
{
|
||||||
"is_current": false,
|
"frequency": 59.88,
|
||||||
"is_preferred": false
|
"is_current": false,
|
||||||
}
|
"is_preferred": false
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
],
|
}
|
||||||
"is_connected": true,
|
],
|
||||||
"is_primary": true,
|
"is_connected": true,
|
||||||
"device_name": "eDP1",
|
"is_primary": true,
|
||||||
"model_name": "ASUS VW193S",
|
"device_name": "eDP1",
|
||||||
"product_id": "54297",
|
"model_name": "ASUS VW193S",
|
||||||
"serial_number": "78L8021107",
|
"product_id": "54297",
|
||||||
"resolution_width": 1920,
|
"serial_number": "78L8021107",
|
||||||
"resolution_height": 1080,
|
"resolution_width": 1920,
|
||||||
"offset_width": 0,
|
"resolution_height": 1080,
|
||||||
"offset_height": 0,
|
"offset_width": 0,
|
||||||
"dimension_width": 310,
|
"offset_height": 0,
|
||||||
"dimension_height": 170,
|
"dimension_width": 310,
|
||||||
"rotation": "normal",
|
"dimension_height": 170,
|
||||||
"reflection": "normal"
|
"rotation": "normal",
|
||||||
}
|
"reflection": "normal"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user