Files
egfh-website/directus/schema.json
T
jamesp 290ff0bc1e Initial commit
Co-authored-by: Copilot <copilot@github.com>
2026-05-11 15:55:14 -04:00

90 lines
1.4 KiB
JSON

{
"collections": {
"news": {
"fields": [
"title",
"slug",
"body",
"summary",
"featured_image",
"status",
"publish_date",
"author",
"tags"
]
},
"events": {
"fields": [
"title",
"slug",
"description",
"start_datetime",
"end_datetime",
"location_text",
"image",
"registration_link",
"status",
"is_featured",
"tags"
]
},
"notices": {
"fields": [
"title",
"message",
"severity",
"start_date",
"end_date",
"active",
"priority"
]
},
"fuel_prices": {
"fields": [
"fuel_type",
"price_per_litre",
"currency",
"last_updated",
"notes"
]
},
"documents": {
"fields": [
"title",
"file",
"category",
"description",
"uploaded_at"
]
},
"contacts": {
"fields": [
"name",
"role",
"email",
"phone",
"is_public",
"order"
]
},
"tags": {
"fields": [
"name",
"slug"
]
}
},
"relations": {
"news_tags": {
"left": "news",
"right": "tags",
"type": "many-to-many"
},
"events_tags": {
"left": "events",
"right": "tags",
"type": "many-to-many"
}
}
}