{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pendingyou-com/json-schema/pendingyou-com-focus-request-schema.json",
  "title": "FocusRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/pendingyou-com-v1-openapi.json#/components/schemas/FocusRequest",
  "type": "object",
  "properties": {
    "place": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "app": {
              "type": "string",
              "const": "herdr"
            },
            "paneId": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]{1,16}:[A-Za-z0-9]{1,16}$",
              "description": "The focused Herdr pane: \"w2:p1\"."
            },
            "server": {
              "type": "string",
              "pattern": "^[0-9a-f]{16}$",
              "description": "Which Herdr server: sha256(hostname + HERDR_SOCKET_PATH), its first 16 hex characters."
            }
          },
          "required": [
            "app",
            "paneId",
            "server"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "activeAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "place",
    "activeAt"
  ],
  "additionalProperties": false
}