{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/keenethics-labs-com/json-schema/keenethics-labs-com-event-schema.json",
  "title": "Event",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/keenethics-entertainment-hub-openapi.yaml#/components/schemas/Event",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "title": {
      "type": "string"
    },
    "organizerName": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "locationLink": {
      "type": "string"
    },
    "price": {
      "type": "integer"
    },
    "isActive": {
      "type": "boolean"
    },
    "linkId": {
      "type": "string",
      "format": "uuid"
    },
    "eventDate": {
      "type": "string",
      "format": "datetime"
    },
    "format": {
      "type": "string",
      "enum": [
        "OFFLINE",
        "ONLINE",
        "BOTH"
      ]
    },
    "priceType": {
      "type": "string",
      "enum": [
        "MIN_PRICE",
        "FIXED_PRICE"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "additionalLink": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "label": {
          "type": "string"
        },
        "link": {
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}