{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revuo-ai/json-schema/revuo-ai-admin-update-product-request-schema.json",
  "title": "AdminUpdateProductRequest",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revuo-ai-openapi.json#/components/schemas/AdminUpdateProductRequest",
  "required": [
    "name",
    "websiteUrl"
  ],
  "type": "object",
  "properties": {
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "tagline": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "websiteUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "logoUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "screenshotUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "foundedYear": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "companyName": {
      "type": [
        "string",
        "null"
      ]
    },
    "companyHq": {
      "type": [
        "string",
        "null"
      ]
    },
    "pricingModel": {
      "$ref": "#/$defs/PricingModel"
    },
    "pricingStartsAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "categoryIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "status": {
      "$ref": "#/$defs/ProductStatus"
    },
    "tldr": {
      "type": [
        "string",
        "null"
      ]
    },
    "ourTake": {
      "type": [
        "string",
        "null"
      ]
    },
    "prosAndCons": {
      "$ref": "#/$defs/ProsAndCons"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PricingModel": {
      "enum": [
        "free",
        "freemium",
        "paid",
        "enterprise",
        "contactUs"
      ],
      "type": "string"
    },
    "ProductStatus": {
      "enum": [
        "draft",
        "published",
        "archived",
        "rejected"
      ],
      "type": "string"
    },
    "ProsAndCons": {
      "type": "object",
      "properties": {
        "pros": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "cons": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    }
  }
}