{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peopleprincipia-com/json-schema/peopleprincipia-com-recommend-request-schema.json",
  "title": "RecommendRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peopleprincipia-com-analytics-api-openapi.yml#/components/schemas/RecommendRequest",
  "type": "object",
  "required": [
    "intent"
  ],
  "properties": {
    "intent": {
      "type": "object",
      "properties": {
        "outcome_construct_id": {
          "type": "string"
        },
        "free_text": {
          "type": "string"
        },
        "predicate_filter": {
          "$ref": "#/$defs/Predicate"
        },
        "sample_context": {
          "type": "object",
          "properties": {
            "culture": {
              "type": "string"
            },
            "industry": {
              "type": "string"
            },
            "level_of_analysis": {
              "type": "string"
            }
          }
        }
      }
    },
    "top_k": {
      "type": "integer",
      "default": 10,
      "maximum": 50
    },
    "min_informativeness": {
      "type": "string",
      "enum": [
        "weakly_informative",
        "informative",
        "highly_informative"
      ]
    }
  },
  "$defs": {
    "Predicate": {
      "type": "string",
      "enum": [
        "predicts",
        "moderates",
        "mediates",
        "correlates",
        "causes"
      ]
    }
  }
}