{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stacktr-ee/json-schema/stacktr-ee-share-token-created-schema.json",
  "title": "ShareTokenCreated",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stacktr-ee-openapi.yml#/components/schemas/ShareTokenCreated",
  "type": "object",
  "required": [
    "id",
    "token",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "token": {
      "type": "string",
      "description": "Shown only in this response."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL with ?t=<token> embedded; bypasses any password gate."
    },
    "expires_at": {
      "type": [
        "integer",
        "null"
      ]
    },
    "max_uses": {
      "type": [
        "integer",
        "null"
      ]
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "next": {
      "type": "string",
      "description": "On a labelled link only: what to tell the user about following up on it."
    },
    "feedback": {
      "type": "object",
      "additionalProperties": true,
      "description": "Present when minting this named link also switched client comments on for the page."
    }
  }
}