Skip to main content
Dzaleka Online Services uses Astro’s Content Collections API to organize and manage different types of content. Each collection has a specific purpose and schema that ensures data consistency across the platform.

Collections Overview

The platform includes 23 distinct content collections, each serving a unique purpose in documenting and showcasing life, services, and opportunities in Dzaleka Refugee Camp.

Services

Business and community services available in Dzaleka

Events

Upcoming and past community events and festivals

Jobs

Employment and volunteer opportunities

Resources

Educational materials, reports, and documentation

Primary Collections

Services

Directory: src/content/services/ The services collection catalogs businesses, organizations, and service providers operating in and around Dzaleka Refugee Camp.
Key Features:
  • Location data with coordinates
  • Contact information
  • Business hours
  • Social media links
  • Verification status

Events

Directory: src/content/events/ Documents community events, festivals, workshops, and gatherings - both upcoming and historical.
Features:
  • Panelist information
  • Registration details
  • Multi-day event support
  • Contact information

Jobs

Directory: src/content/jobs/ Employment opportunities including full-time, part-time, contract, volunteer, and internship positions.
Categories: education, healthcare, technology, community, business, arts, services, other

Resources

Directory: src/content/resources/ Educational materials, reports, research papers, and documentation about Dzaleka and refugee services.

Photos

Directory: src/content/photos/ Photo stories and visual documentation of life in Dzaleka, featuring photographer credits and detailed metadata.

Business & Commerce Collections

Stores

Directory: src/content/stores/ Restaurants, cafes, retail shops, and service providers with menus, hours, and pricing.
Store Types: restaurant, cafe, bakery, grocery, retail, salon, workshop, other

Marketplace

Directory: src/content/marketplace/ Products and services for sale, including books, handcrafts, and various goods.
Price Types: fixed, negotiable, free, contact

Community & Stories

Inspirational Stories

Directory: src/content/inspirational-stories/ Personal narratives of resilience, achievement, and hope from Dzaleka residents. Fields: title, name, age, country, description, content, personImage, contact info

Stories

Directory: src/content/stories/ Photo essays and longer narrative pieces with multiple images and captions. Features:
  • Author information with role and bio
  • Photo arrays with captions
  • Cover images
  • Related tags

Community Voices

Directory: src/content/community-voices/ Opinion pieces, reflections, and community perspectives. Fields: title, author, date, category, excerpt, image, featured, tags

Arts & Culture Collections

Artists

Directory: src/content/artists/ Profiles of visual artists working in and around Dzaleka. Fields: artistName, medium, nationality, bio, specialties, achievements, notableWorks

Artworks

Directory: src/content/artworks/ Public art installations and significant works. Features:
  • Installation details
  • Materials used
  • Multiple image galleries (additional, detail, process)
  • Educational resources

Dancers

Directory: src/content/dancers/ Individual dancers and dance groups/crews. Fields: type (individual/group), danceStyles, festivals, members array for groups

Poets

Directory: src/content/poets/ Poets and spoken word artists. Fields: type, nickname, startedPoetry, firstPerformance, poetryGroup, currentStatus

Education & Professional

Courses

Directory: src/content/courses/ Online and offline educational courses. Categories: technology, business, languages, arts, health, science, professional-skills, personal-development Levels: beginner, intermediate, advanced

Profiles

Directory: src/content/profiles/ Skill provider and help seeker profiles. Features:
  • Skills and expertise
  • Charge types (free/paid)
  • Payment methods
  • Request status tracking

Additional Collections

Directory: src/content/news/Categories: business-spotlight, announcement, success-story, business-guide, news, education
Directory: src/content/projects/Community development projects and initiatives with impact metrics.
Directory: src/content/sites/Important locations and facilities in Dzaleka (health centers, schools, etc.)
Directory: src/content/rights/Legal resources and refugee rights documentation.Categories: legislation, analysis, guide, resource
Directory: src/content/pages/Static informational pages.
Directory: src/content/docs/Platform documentation organized by section with ordering.
Directory: src/content/talents/Data files (JSON/YAML) containing arrays of talent profiles by category.

Directory Structure

Common Patterns

Most collections share these common fields:
  • title or name - Primary identifier
  • description - Short summary
  • featured - Boolean for homepage/highlight display
  • tags - Array of categorization tags
  • image or related image fields
  • date fields for temporal organization
  • status - Lifecycle management (active, inactive, draft, etc.)
All collections use Astro’s glob loader pattern to automatically discover and load markdown files from their respective directories.

Next Steps

Schema Reference

Detailed field specifications for each collection

Contribution Guidelines

How to add and format content