{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/eglinfo/brief.json",
  "title": "eglinfo/brief",
  "description": "eglinfo -B, the EGL and OpenGL strings of each platform and device",
  "x-jsonize": {
    "definition": "eglinfo/brief",
    "version": 1
  },
  "type": "object",
  "properties": {
    "platforms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "message"
              ]
            }
          },
          "properties": {
            "type": "object",
            "properties": {},
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "platform",
          "errors",
          "properties"
        ]
      }
    },
    "devices": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "device": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              }
            },
            "required": [
              "index"
            ]
          },
          "platform": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "message"
              ]
            }
          },
          "properties": {
            "type": "object",
            "properties": {},
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "device",
          "platform",
          "errors",
          "properties"
        ]
      }
    }
  },
  "required": [
    "platforms",
    "devices"
  ]
}
