{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/socialperks-app/json-schema/socialperks-app-action-schema.json",
  "title": "Action",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/socialperks-app-openapi.yml#/components/schemas/Action",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "content",
        "review",
        "engage",
        "share",
        "referral"
      ]
    },
    "effort": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5
    },
    "value": {
      "type": "number",
      "description": "Estimated USD value"
    },
    "incentivizable": {
      "type": "boolean"
    },
    "platformId": {
      "type": "string"
    },
    "platformName": {
      "type": "string"
    },
    "platformIcon": {
      "type": "string"
    },
    "platformColor": {
      "type": "string"
    }
  }
}