Event

General

Event data with dates, venues, and descriptions

Locale
EN
Fields
11
Uses
0
Sign in to use template

Schema fields

id sequence
city city
price currency
title sentence
venue word
capacity integer
category enum
end_date datetime
is_online boolean
start_date datetime
description paragraph

Schema definition

json
{
  "id": {
    "type": "sequence",
    "options": {
      "start": 1
    }
  },
  "city": {
    "type": "city"
  },
  "price": {
    "type": "currency",
    "options": {
      "max": 500,
      "min": 0
    }
  },
  "title": {
    "type": "sentence"
  },
  "venue": {
    "type": "word"
  },
  "capacity": {
    "type": "integer",
    "options": {
      "max": 5000,
      "min": 20
    }
  },
  "category": {
    "type": "enum",
    "options": {
      "values": [
        "Conference",
        "Workshop",
        "Meetup",
        "Concert",
        "Exhibition"
      ]
    }
  },
  "end_date": {
    "type": "datetime",
    "options": {
      "to": "2026-12-31",
      "from": "2025-01-01"
    }
  },
  "is_online": {
    "type": "boolean",
    "options": {
      "true_rate": 0.4
    }
  },
  "start_date": {
    "type": "datetime",
    "options": {
      "to": "2026-12-31",
      "from": "2025-01-01"
    }
  },
  "description": {
    "type": "paragraph",
    "options": {
      "sentences": 3
    }
  }
}

Example API call

terminal
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.apiryner.com/v1/layouts/event?count=5&locale=en"