{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/0latency-ai/json-schema/0latency-ai-org-memory-request-schema.json",
  "title": "OrgMemoryRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/0latency-ai-openapi.json#/components/schemas/OrgMemoryRequest",
  "properties": {
    "headline": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "title": "Headline"
    },
    "context": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Context"
    },
    "full_content": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ],
      "title": "Full Content"
    },
    "memory_type": {
      "type": "string",
      "maxLength": 32,
      "title": "Memory Type",
      "default": "fact"
    },
    "importance": {
      "type": "number",
      "maximum": 1.0,
      "minimum": 0.0,
      "title": "Importance",
      "default": 0.5
    },
    "entities": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entities"
    },
    "categories": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Categories"
    }
  },
  "type": "object",
  "required": [
    "headline"
  ]
}