LernApp/src/main/kotlin/com/oliver/kidio/backend/ingestion/ZumOerItem.kt
aldemirm 118677d960
All checks were successful
CI Pipeline / lint-and-test (pull_request) Successful in 4m3s
- fixed sonar issues
- extracted data classes (ZumOerItem, ParsedH5PTask)
- moved hardcoded fallback OER tasks into a dedicated JSON resource file
- removed hardcoded tasks from InMemoryKidioRepository
2026-09-16 10:17:32 +02:00

18 lines
419 B
Kotlin

package com.oliver.kidio.backend.ingestion
import kotlinx.serialization.Serializable
const val DEFAULT_LICENSE: String = "CC BY-SA 4.0"
@Serializable
data class ZumOerItem(
val id: String,
val title: String,
val subject: String,
val grade: Int? = null,
val downloadUrl: String,
val license: String = DEFAULT_LICENSE,
val library: String? = null,
val rawJsonContent: String? = null,
)