{
  "$id": "https://scuroneko.dev/schemas/workstations.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "items": {
    "additionalProperties": false,
    "properties": {
      "actual": {
        "type": "boolean"
      },
      "devices": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "key": {
              "minLength": 1,
              "type": "string"
            },
            "name": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": ["key", "name"],
          "type": "object"
        },
        "type": "array"
      },
      "key": {
        "minLength": 1,
        "type": "string"
      },
      "name": {
        "minLength": 1,
        "type": "string"
      },
      "specs": {
        "properties": {
          "cpu": {
            "minLength": 1,
            "type": "string"
          },
          "gpu": {
            "minLength": 1,
            "type": "string"
          },
          "os": {
            "type": "string"
          },
          "ram": {
            "minLength": 1,
            "type": "string"
          },
          "storage": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "capacity": {
                  "minLength": 1,
                  "type": "string"
                },
                "name": {
                  "minLength": 1,
                  "type": "string"
                },
                "type": {
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": ["name", "capacity"],
              "type": "object"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "tone": {
        "$ref": "./shared.schema.json#/$defs/tone"
      }
    },
    "required": ["key", "name", "tone"],
    "type": "object"
  },
  "title": "Workstations",
  "type": "array"
}
