{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-feedback-create-schema.json",
  "title": "FeedbackCreate",
  "description": "Schema for creating a feedback entry.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-feedback-api-openapi.yml#/components/schemas/FeedbackCreate",
  "properties": {
    "description": {
      "type": "string",
      "maxLength": 5000,
      "minLength": 10,
      "title": "Description"
    },
    "category": {
      "type": "string",
      "enum": [
        "bug",
        "feature_request",
        "improvement",
        "other"
      ],
      "title": "Category",
      "default": "bug"
    },
    "app_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "App Version"
    },
    "platform": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Platform"
    },
    "os_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Os Version"
    },
    "device_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Device Model"
    },
    "subscription_tier": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Subscription Tier"
    }
  },
  "type": "object",
  "required": [
    "description"
  ]
}