{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-agent-recommendation-create-schema.json",
  "title": "AgentRecommendationCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-recommendations-api-openapi.yml#/components/schemas/AgentRecommendationCreate",
  "properties": {
    "from_agent_id": {
      "type": "string",
      "title": "From Agent Id"
    },
    "to_agent_id": {
      "type": "string",
      "title": "To Agent Id"
    },
    "subject_type": {
      "type": "string",
      "enum": [
        "signal",
        "activity",
        "space",
        "listing",
        "agent",
        "disclosure"
      ],
      "title": "Subject Type"
    },
    "subject_id": {
      "type": "string",
      "title": "Subject Id"
    },
    "reason": {
      "type": "string",
      "title": "Reason",
      "default": ""
    },
    "payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Payload"
    },
    "confidence": {
      "type": "number",
      "maximum": 1.0,
      "minimum": 0.0,
      "title": "Confidence",
      "default": 0.5
    }
  },
  "type": "object",
  "required": [
    "from_agent_id",
    "to_agent_id",
    "subject_type",
    "subject_id"
  ]
}