{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/useclippy-cc/json-schema/useclippy-cc-item-schema.json",
  "title": "Item",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/useclippy-cc-openapi.yml#/components/schemas/Item",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "device": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "integer",
      "format": "int64",
      "description": "Milliseconds since epoch."
    },
    "updatedAt": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "edited": {
      "type": "boolean"
    },
    "hasImage": {
      "type": "boolean"
    },
    "imageUrl": {
      "type": "string",
      "format": "uri",
      "description": "Present when hasImage is true."
    },
    "imageMime": {
      "type": "string",
      "description": "Present when hasImage is true."
    },
    "imageSize": {
      "type": "integer",
      "description": "Bytes. Present when hasImage is true."
    }
  }
}