apxtrib/adminapi/schema/seeker.json
2023-06-29 10:57:44 +02:00

57 lines
1.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "/schema/seeker",
"title": "Data Profil of a person that is in a seek process",
"description": "All those data have to store any useffull logistical data and profil about a seeker (skill, ...) ",
"type": "object",
"properties": {
"offerseeker": { "type": "string", "emum": ["offerA", "offerB"] },
"emailseek": { "type": "string", "format": "email" },
"seeklocation": {
"type": "array",
"items": {
"type": "object",
"$ref": "https://schema.org/PostalAddress"
}
},
"seekcriterias": {
"type": "array",
"items": { "type": "string", "enum": [] }
},
"skills": {
"type": "array",
"items": { "type": "object", "$ref": "schema/skills.json" }
},
"educations": {
"type": "array",
"items": { "type": "object", "$ref": "schema/educations.json" }
},
"experiences": {
"type": "array",
"items": { "type": "object", "$ref": "schema/experiences.json" }
},
"recommandation": {
"type": "array",
"items": { "type": "object", "$ref": "#/definitions/recommandation"}
}
},
"definitions": {
"recommandation": {
"type": "object",
"properties": {
"email": { "type": "string", "format": "email" },
"phone": { "type": "string", "format": "telephone" },
"fisrtname": { "type": "string" },
"lastname": { "type": "string" },
"jobtitle": { "type": "string" },
"description": {
"title": "Area of recomandation",
"description": "Describe why this recommandation is relevant to confirm your skills",
"type": "string"
}
}
}
},
"required": ["offerseeker", "emailseek", "mainlivinglocation", ""]
}