forked from ccm-usp/ccm-website-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalunoCCM.schema.json
19 lines (19 loc) · 922 Bytes
/
alunoCCM.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"type": "object",
"properties": {
"nome": {"type": "string", "minLength": 1},
"turma": {"type": "string", "minLength": 4, "maxLength": 4},
"especializacao": {"type": "array", "items": {"type": "string"}},
"concentracao": {"type": "array", "items": { "type": "string"}},
"origem": {"type": "string"},
"conteudo": {"type": "array", "minItems": 1, "items": {"type": "string"}},
"avancado": {"type": "array", "items": {"type": "string"}},
"extracurricular": {"type": "array", "items": {"type": "object", "minProperties": 2, "maxProperties": 2}},
"conquistas": {"type": "array", "items": {"type": "string"}},
"contact": {"type": "object"},
"hasPhoto": {"type": "boolean"}
},
"required": ["nome", "turma", "conteudo", "hasPhoto"],
"title": "AlunoCCM",
"description": "Um JSON Schema para ajudar a validar páginas do aluno no site cecm.usp.br. Author: Pedro de Freitas @ University of São Paulo"
}