Raw schema
{
"type": "object",
"properties": {
"audience": {
"default": null,
"description": "Kto pyta: uczeń albo rodzic.",
"anyOf": [
{
"type": "string",
"enum": [
"student",
"parent"
]
},
{
"type": "null"
}
]
},
"school": {
"type": "string",
"enum": [
"primary-school",
"high-school",
"technical-school",
"university",
"other"
],
"description": "Typ szkoły ucznia."
},
"classNumber": {
"default": null,
"description": "Klasa. primary-school: 1, 2, 3, 4, 5, 6, 7, 8; high-school: 1, 2, 3, 4; technical-school: 1, 2, 3, 4, 5.",
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 8
},
{
"type": "null"
}
]
},
"goals": {
"default": [],
"description": "Cele nauki.",
"maxItems": 18,
"type": "array",
"items": {
"type": "string",
"enum": [
"matura",
"matura-prep",
"school-grades",
"exam-e8",
"catch-up",
"curatorial-competition",
"learn-language",
"pass-matura",
"extern-exam",
"matura-retake",
"returning-matura",
"improve-elementary-matura",
"improve-advanced-matura",
"extern-exam-primary",
"extern-exam-secondary",
"university-analysis",
"university-logic",
"university-statistics"
]
}
},
"formula": {
"default": null,
"description": "Formuła matury, tylko przy poprawce lub powrocie do matury.",
"anyOf": [
{
"type": "string",
"enum": [
"2015",
"2023"
]
},
{
"type": "null"
}
]
},
"subjects": {
"default": [],
"description": "Przedmioty.",
"maxItems": 21,
"type": "array",
"items": {
"type": "string",
"enum": [
"mathematics",
"polish",
"english",
"german",
"spanish",
"italian",
"french",
"russian",
"korean",
"japanese",
"chemistry",
"biology",
"physics",
"geography",
"informatics",
"history",
"wos",
"history-art",
"polish-for-foreigners",
"medicine-calculation",
"business-management"
]
}
},
"subjectLevels": {
"default": {},
"description": "Poziom matury per przedmiot: elementary i/lub advanced.",
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"mathematics",
"polish",
"english",
"german",
"spanish",
"italian",
"french",
"russian",
"korean",
"japanese",
"chemistry",
"biology",
"physics",
"geography",
"informatics",
"history",
"wos",
"history-art",
"polish-for-foreigners",
"medicine-calculation",
"business-management"
]
},
"additionalProperties": {
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"elementary",
"advanced"
]
}
}
},
"bookCourseId": {
"default": null,
"description": "Kurs pod podręcznik, gdy uczeń go zna.",
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
}
},
"required": [
"school"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}