HelpRequestCreatedEventv1
A created help request
Details
HelpRequestCreatedEvent payload
HelpRequestCreatedEvent Schema (json)
{
"$id": "HelpRequestCreatedEventPayloadTSchema",
"type": "object",
"properties": {
"helpRequest": {
"type": "object",
"properties": {
"createdAt": { "format": "datetime", "type": "string" },
"id": { "type": "string" },
"type": {
"anyOf": [
{ "const": "EXPLORATION_PROFESSION", "type": "string" },
{ "const": "EXPLORATION_PURPOSE", "type": "string" },
{ "const": "EXPLORATION_ENVIRONMENT", "type": "string" },
{ "const": "EXPLORATION_REQUIREMENTS", "type": "string" },
{ "const": "DUOS", "type": "string" }
]
},
"body": {
"type": "array",
"items": {
"$id": "EditorJsBlockDTO",
"type": "object",
"properties": {
"id": { "type": "string" },
"type": {
"anyOf": [
{ "const": "header", "type": "string" },
{ "const": "paragraph", "type": "string" },
{ "const": "image", "type": "string" },
{ "const": "list", "type": "string" },
{ "const": "quote", "type": "string" },
{ "const": "code", "type": "string" },
{ "const": "table", "type": "string" },
{ "const": "linkTool", "type": "string" },
{ "const": "checklist", "type": "string" },
{ "const": "delimiter", "type": "string" },
{ "const": "embed", "type": "string" },
{ "const": "warning", "type": "string" },
{ "const": "marker", "type": "string" },
{ "const": "raw", "type": "string" }
]
},
"data": {
"anyOf": [
{ "type": "object", "patternProperties": { "^(.*)$": {} } },
{ "type": "null" }
]
}
},
"required": ["id", "type"]
}
},
"summary": {
"type": "array",
"items": {
"$id": "EditorJsBlockDTO",
"type": "object",
"properties": {
"id": { "type": "string" },
"type": {
"anyOf": [
{ "const": "header", "type": "string" },
{ "const": "paragraph", "type": "string" },
{ "const": "image", "type": "string" },
{ "const": "list", "type": "string" },
{ "const": "quote", "type": "string" },
{ "const": "code", "type": "string" },
{ "const": "table", "type": "string" },
{ "const": "linkTool", "type": "string" },
{ "const": "checklist", "type": "string" },
{ "const": "delimiter", "type": "string" },
{ "const": "embed", "type": "string" },
{ "const": "warning", "type": "string" },
{ "const": "marker", "type": "string" },
{ "const": "raw", "type": "string" }
]
},
"data": {
"anyOf": [
{ "type": "object", "patternProperties": { "^(.*)$": {} } },
{ "type": "null" }
]
}
},
"required": ["id", "type"]
}
},
"jobSectors": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{ "const": "AGRICULTURE_AND_AGRIFOOD", "type": "string" },
{
"const": "ARCHITECTURE_STUDY_AND_STANDARDS",
"type": "string"
},
{ "const": "ART_CRAFTS", "type": "string" },
{ "const": "AUDIOVISUAL_SHOW_AND_CINEMA", "type": "string" },
{ "const": "AUTOMOTIVE", "type": "string" },
{ "const": "BTP", "type": "string" },
{
"const": "COMMERCE_DISTRIBUTION_AND_E_COMMERCE",
"type": "string"
},
{
"const": "COMMUNICATION_MARKETING_AND_ADVERTISEMENT",
"type": "string"
},
{
"const": "ACCOUNTING_MANAGEMENT_AND_HUMAN_RESOURCES",
"type": "string"
},
{ "const": "CULTURE_AND_HERITAGE", "type": "string" },
{ "const": "DEFENSE_AND_SECURITY", "type": "string" },
{ "const": "LAW_AND_JUSTICE", "type": "string" },
{ "const": "EDUCATION_AND_TRAINING", "type": "string" },
{
"const": "ENVIRONMENT_ECOLOGY_AND_SUSTAINABLE_DEVELOPMENT",
"type": "string"
},
{
"const": "FINANCE_BANKING_AND_INSURANCE",
"type": "string"
},
{ "const": "HOTELS_AND_RESTAURANTS", "type": "string" },
{ "const": "REAL_ESTATE", "type": "string" },
{ "const": "CHEMISTRY_AND_PHARMACY", "type": "string" },
{
"const": "ELECTRONICS_AND_ELECTRICAL_ENGINEERING",
"type": "string"
},
{
"const": "COMPUTERS_NUMERIC_AND_TELECOMMUNICATIONS",
"type": "string"
},
{ "const": "JOURNALISM_AND_PUBLISHING", "type": "string" },
{ "const": "LOGISTIC_AND_TRANSPORT", "type": "string" },
{
"const": "MAINTENANCE_UPKEEP_AND_CLEANING",
"type": "string"
},
{ "const": "FASHION_AND_TEXTILE", "type": "string" },
{ "const": "RESEARCH", "type": "string" },
{ "const": "HEALTH_AND_MEDICAL", "type": "string" },
{
"const": "COMMUNITY_SERVICE_AND_PUBLIC_SERVICE",
"type": "string"
},
{ "const": "SERVICE_FOR_INDIVIDUALS", "type": "string" },
{ "const": "SOCIAL", "type": "string" },
{ "const": "SPORT_ANIMATION_AND_LEISURE", "type": "string" },
{ "const": "TOURISM", "type": "string" },
{ "const": "AUDIT_CONSULTING_EXPERTISE", "type": "string" },
{ "const": "CONSTRUCTION", "type": "string" },
{ "const": "ENERGY", "type": "string" },
{ "const": "INDUSTRIES", "type": "string" },
{
"const": "MATERIALS_AND_TRANSFORMATIONS",
"type": "string"
},
{ "const": "MECHANICAL", "type": "string" },
{ "const": "OTHER", "type": "string" },
{ "const": "NO_ANSWER", "type": "string" }
]
}
},
{ "type": "null" }
]
},
"searchedRegions": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{ "const": "AUVERGNE_RHONE_ALPES", "type": "string" },
{ "const": "BOURGOGNE_FRANCHE_COMTE", "type": "string" },
{ "const": "BRETAGNE", "type": "string" },
{ "const": "CENTRE_VAL_DE_LOIRE", "type": "string" },
{ "const": "CORSE", "type": "string" },
{ "const": "GRAND_EST", "type": "string" },
{ "const": "GUADELOUPE", "type": "string" },
{ "const": "GUYANE", "type": "string" },
{ "const": "HAUTS_DE_FRANCE", "type": "string" },
{ "const": "ILE_DE_FRANCE", "type": "string" },
{ "const": "MARTINIQUE", "type": "string" },
{ "const": "MAYOTTE", "type": "string" },
{ "const": "NORMANDIE", "type": "string" },
{ "const": "NOUVELLE_AQUITAINE", "type": "string" },
{ "const": "OCCITANIE", "type": "string" },
{ "const": "PAYS_DE_LA_LOIRE", "type": "string" },
{ "const": "PROVENCE_ALPES_COTE_D_AZUR", "type": "string" },
{ "const": "REUNION", "type": "string" },
{ "const": "ABROAD_INSIDE_UE", "type": "string" },
{ "const": "ABROAD_OUTSIDE_UE", "type": "string" },
{ "const": "NO_ANSWER", "type": "string" }
]
}
},
{ "type": "null" }
]
},
"searchedCity": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"targetedOrganisations": {
"anyOf": [
{ "type": "array", "items": { "type": "string" } },
{ "type": "null" }
]
},
"status": {
"anyOf": [
{ "const": "PENDING_FOR_VALIDATION", "type": "string" },
{ "const": "PENDING_FOR_MATCHING", "type": "string" },
{ "const": "REJECTED", "type": "string" },
{ "const": "MATCHED", "type": "string" },
{ "const": "EXPIRED", "type": "string" }
]
}
},
"required": ["createdAt", "id", "type", "body", "summary", "status"]
},
"helpedUser": {
"type": "object",
"properties": {
"id": { "type": "string" },
"firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"email": { "type": "string" }
},
"required": ["id", "email"]
}
},
"required": ["helpRequest", "helpedUser"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5