{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/notepad-page/json-schema/notepad-page-share-inventory-row-schema.json",
  "title": "ShareInventoryRow",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/notepad-page-openapi.json#/components/schemas/ShareInventoryRow",
  "type": "object",
  "required": [
    "shareId",
    "pageSlug",
    "mode",
    "access",
    "prebound",
    "email",
    "label",
    "state",
    "createdAt",
    "expiresAt",
    "allowedIps",
    "url",
    "urlUsable"
  ],
  "properties": {
    "shareId": {
      "type": "string"
    },
    "pageSlug": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "enum": [
        "public",
        "link"
      ]
    },
    "access": {
      "type": "string",
      "enum": [
        "invite",
        "anyone"
      ]
    },
    "prebound": {
      "type": "boolean"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": "string",
      "enum": [
        "open",
        "waiting",
        "claimed"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "allowedIps": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "urlUsable": {
      "type": "boolean",
      "description": "False for claimed invite URLs and legacy shares whose token is unavailable."
    }
  },
  "additionalProperties": false
}