{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniffy-com/json-schema/geniffy-com-app-memory-app-dev-api-context-in-schema.json",
  "title": "ContextIn",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geniffy-com-openapi.json#/components/schemas/app__memory_app__dev_api__ContextIn",
  "properties": {
    "question": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Question",
      "description": "What your model is about to answer"
    },
    "limit": {
      "type": "integer",
      "maximum": 50.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 12
    },
    "kind": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "all",
            "people",
            "plan",
            "pref",
            "detail"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind"
    },
    "with_sources": {
      "type": "boolean",
      "title": "With Sources",
      "description": "Put where each memory came from beside it",
      "default": true
    },
    "labels": {
      "anyOf": [
        {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            ]
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Labels",
      "description": "Only what sources carrying these labels said: every name must match, and a list of values is any one of them, such as {\"channel\": [\"email\", \"chat\"]}"
    },
    "space": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Space",
      "description": "One of your own users. Leave it out for your own memory; a blank one is refused."
    }
  },
  "type": "object",
  "required": [
    "question"
  ]
}