{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/surfingdog-ai/json-schema/surfingdog-ai-schema0-schema.json",
  "title": "__schema0",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/inbox-openapi.json#/components/schemas/__schema0",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "all": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        }
      },
      "required": [
        "all"
      ]
    },
    {
      "type": "object",
      "properties": {
        "any": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        }
      },
      "required": [
        "any"
      ]
    },
    {
      "type": "object",
      "properties": {
        "not": {
          "$ref": "#/$defs/__schema0"
        }
      },
      "required": [
        "not"
      ]
    },
    {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "op": {
          "type": "string",
          "enum": [
            "eq",
            "neq",
            "lt",
            "lte",
            "gt",
            "gte",
            "in",
            "nin",
            "contains",
            "startsWith",
            "exists",
            "empty",
            "between"
          ]
        },
        "value": {}
      },
      "required": [
        "path",
        "op"
      ]
    },
    {
      "type": "object",
      "properties": {
        "fn": {
          "type": "string",
          "enum": [
            "slot_is_free",
            "within_business_hours",
            "party_verified",
            "text_has_keywords",
            "is_sandbox",
            "person_trusted",
            "person_tier_on",
            "customer_known",
            "within_customer_limit",
            "rates_cover",
            "nights_free",
            "nights_closed",
            "ical_hint_overlap",
            "free_cancellation",
            "change_nights_free"
          ]
        },
        "args": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        }
      },
      "required": [
        "fn"
      ]
    }
  ],
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "all": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema0"
              }
            }
          },
          "required": [
            "all"
          ]
        },
        {
          "type": "object",
          "properties": {
            "any": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema0"
              }
            }
          },
          "required": [
            "any"
          ]
        },
        {
          "type": "object",
          "properties": {
            "not": {
              "$ref": "#/$defs/__schema0"
            }
          },
          "required": [
            "not"
          ]
        },
        {
          "type": "object",
          "properties": {
            "path": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "op": {
              "type": "string",
              "enum": [
                "eq",
                "neq",
                "lt",
                "lte",
                "gt",
                "gte",
                "in",
                "nin",
                "contains",
                "startsWith",
                "exists",
                "empty",
                "between"
              ]
            },
            "value": {}
          },
          "required": [
            "path",
            "op"
          ]
        },
        {
          "type": "object",
          "properties": {
            "fn": {
              "type": "string",
              "enum": [
                "slot_is_free",
                "within_business_hours",
                "party_verified",
                "text_has_keywords",
                "is_sandbox",
                "person_trusted",
                "person_tier_on",
                "customer_known",
                "within_customer_limit",
                "rates_cover",
                "nights_free",
                "nights_closed",
                "ical_hint_overlap",
                "free_cancellation",
                "change_nights_free"
              ]
            },
            "args": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "fn"
          ]
        }
      ]
    }
  }
}