{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pendingyou-com/json-schema/pendingyou-com-client-config-schema.json",
  "title": "ClientConfig",
  "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/ClientConfig",
  "type": "object",
  "properties": {
    "client": {
      "type": "object",
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "ios",
                "web"
              ]
            },
            {
              "type": "string"
            }
          ]
        },
        "version": {
          "type": "string"
        },
        "build": {
          "type": "integer"
        }
      },
      "required": [
        "name",
        "version"
      ]
    },
    "status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "ok",
            "update_recommended",
            "update_required"
          ]
        },
        {
          "type": "string"
        }
      ]
    },
    "minimum": {
      "type": "string"
    },
    "recommended": {
      "type": "string"
    },
    "switches": {
      "type": "object",
      "additionalProperties": {
        "type": "boolean"
      }
    },
    "catalog": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version"
      ]
    },
    "presentation": {
      "type": "object",
      "properties": {
        "v": {
          "type": "integer"
        }
      },
      "required": [
        "v"
      ]
    }
  },
  "required": [
    "status",
    "switches",
    "catalog",
    "presentation"
  ]
}