{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bettermenu/json-schema/bettermenu-update-org-settings-response-schema.json",
  "title": "UpdateOrgSettingsResponse",
  "description": "The organization's settings after the change.\n\nThe settings object bare, with no envelope — matching the only other org\nroute, ``POST /org/search-token``, whose ``SearchTokenResponse`` is likewise\nreturned unwrapped. It carries the full current settings rather than only\nwhat changed, so a client can render its state from the response without a\nfollow-up read.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bettermenu-org-api-openapi.yml#/components/schemas/UpdateOrgSettingsResponse",
  "properties": {
    "metered_usage_enabled": {
      "type": "boolean",
      "title": "Metered Usage Enabled",
      "description": "Whether the organization accepts charges for usage beyond its plan's included monthly allowance."
    },
    "label_findings_policy": {
      "$ref": "#/$defs/LabelFindingsPolicy",
      "description": "What a label export does when the label has findings nobody has addressed: 'acknowledge' or 'block'."
    }
  },
  "type": "object",
  "required": [
    "metered_usage_enabled",
    "label_findings_policy"
  ],
  "$defs": {
    "LabelFindingsPolicy": {
      "type": "string",
      "enum": [
        "acknowledge",
        "block"
      ],
      "title": "LabelFindingsPolicy",
      "description": "What an export does when the label has findings nobody has addressed."
    }
  }
}