{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/witwiki-app/json-schema/witwiki-app-page-feedback-schema.json",
  "title": "PageFeedback",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/witwiki-app-openapi.yaml#/components/schemas/PageFeedback",
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "up": {
      "type": "integer"
    },
    "down": {
      "type": "integer"
    },
    "mine": {
      "description": "Your own vote, or null if you have not voted.",
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "vote": {
          "type": "string",
          "enum": [
            "up",
            "down"
          ]
        },
        "note": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}