{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snow-software/json-schema/snow-software-computer-display-adapter-schema.json",
  "title": "ComputerDisplayAdapter",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snow-software-computer-display-adapter-api-openapi.yml#/components/schemas/ComputerDisplayAdapter",
  "allOf": [
    {
      "$ref": "#/$defs/BaseResponse"
    },
    {
      "type": "object",
      "description": "Response representing display adapter of a computer.",
      "additionalProperties": false,
      "required": [
        "computerId"
      ],
      "properties": {
        "computerId": {
          "type": "string",
          "description": "The unique ID of the computer.",
          "format": "guid"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the display adapter."
        },
        "currentResolution": {
          "type": [
            "string",
            "null"
          ],
          "description": "The current resolution of the computer's display adapter."
        },
        "maxResolution": {
          "type": [
            "string",
            "null"
          ],
          "description": "The maximum resolution of the computer's display adapter."
        },
        "isUpdated": {
          "type": "boolean",
          "description": "```true``` if the display adapter is updated; otherwise, ```false```."
        }
      }
    }
  ],
  "$defs": {
    "BaseResponse": {
      "type": "object",
      "description": "Base response class.",
      "additionalProperties": false,
      "required": [
        "_links"
      ],
      "properties": {
        "_links": {
          "type": "array",
          "description": "A collection of links to related resources.",
          "items": {
            "$ref": "#/$defs/Link"
          }
        }
      }
    },
    "Link": {
      "type": "object",
      "required": [
        "href",
        "rel",
        "method"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "The associated relative URL."
        },
        "rel": {
          "type": "string",
          "description": "Specifies the relationship between the current document and the linked document/resource."
        },
        "method": {
          "type": "string",
          "description": "The method to access related resources."
        }
      }
    }
  }
}