{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-upvote-body-schema.json",
  "title": "UpvoteBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-engagement-api-openapi.yml#/components/schemas/UpvoteBody",
  "properties": {
    "page_slug": {
      "type": "string",
      "maxLength": 200,
      "title": "Page Slug"
    },
    "user_id": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "User Id"
    },
    "user_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "User Name"
    },
    "user_email": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "User Email"
    },
    "user_picture": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "User Picture"
    },
    "upvoted": {
      "type": "boolean",
      "title": "Upvoted",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "page_slug",
    "user_id"
  ]
}