{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smry-ai/json-schema/smry-ai-library-object-summary-schema.json",
  "title": "LibraryObjectSummary",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smry-ai-openapi.json#/components/schemas/LibraryObjectSummary",
  "type": "object",
  "required": [
    "ref",
    "type",
    "title",
    "snippet",
    "sourceUrl",
    "updatedAt",
    "mimeType",
    "hasAsset",
    "score"
  ],
  "properties": {
    "ref": {
      "type": "string"
    },
    "type": {
      "anyOf": [
        {
          "const": "item",
          "type": "string"
        },
        {
          "const": "note",
          "type": "string"
        },
        {
          "const": "highlight",
          "type": "string"
        }
      ]
    },
    "title": {
      "type": "string"
    },
    "snippet": {
      "type": "string"
    },
    "sourceUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updatedAt": {
      "type": "string"
    },
    "mimeType": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "hasAsset": {
      "type": "boolean"
    },
    "score": {
      "type": "number"
    }
  }
}