{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sonetel/json-schema/sonetel-view-settings-schema.json",
  "title": "view_settings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sonetel-app-view-settings-api-openapi.yml#/components/schemas/view_settings",
  "type": "object",
  "properties": {
    "version_date": {
      "type": "string"
    },
    "hide": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "layout": {
      "$ref": "#/$defs/layout_response"
    }
  },
  "$defs": {
    "layout_response": {
      "type": "object",
      "title": "Layout_response",
      "properties": {
        "version": {
          "type": "string"
        },
        "cards": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "templateId": {
                "type": "string"
              },
              "templateType": {
                "type": "string",
                "enum": [
                  "banner-with-benefits-info",
                  "card-plain"
                ],
                "description": "Template identifier for rendering.\n- `banner-with-benefits-info`: see BannerWithBenefitsInfoData\n- `card-plain`: see CardPlainData\n"
              },
              "cardData": {
                "type": "object",
                "description": "Object shape varies by `templateType`.\nUse reference definitions for documentation only.\n"
              }
            }
          }
        },
        "metadata": {
          "type": "object",
          "properties": {
            "lastUpdated": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}