Raw schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"contact",
"quote",
"health_check"
],
"description": "contact for a general enquiry, quote for pricing, health_check to hand over an assessment."
},
"contact": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"company": {
"type": "string",
"minLength": 1,
"maxLength": 150
},
"phone": {
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"required": [
"name",
"email"
],
"additionalProperties": false,
"description": "The person's own details, as they gave them. Never invent or guess these."
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "What the person wants Tier1 to know, in their words."
},
"consentConfirmed": {
"type": "boolean",
"const": true,
"description": "Set to true only after showing the person these exact details and getting their agreement."
},
"assistantName": {
"description": "Optional label for the assistant preparing this, e.g. the client name.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"quoteContext": {
"description": "Required when kind is quote. Company is also required.",
"type": "object",
"properties": {
"staffCount": {
"type": "integer",
"minimum": 1,
"maximum": 5000
},
"deviceCount": {
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"siteCount": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"coverage": {
"type": "string",
"enum": [
"business-hours",
"extended-hours",
"24x7",
"unsure"
]
},
"currentArrangement": {
"type": "string",
"enum": [
"managed-provider",
"internal-team",
"co-managed",
"ad-hoc",
"none",
"unsure"
]
},
"timeframe": {
"type": "string",
"enum": [
"immediate",
"within-3-months",
"within-12-months",
"exploring"
]
},
"indicativeEstimate": {
"type": "object",
"properties": {
"monthlyTotal": {
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"onboardingTotal": {
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"currency": {
"type": "string",
"const": "NZD"
},
"pricingVersion": {
"type": "string",
"minLength": 1,
"maxLength": 20
}
},
"required": [
"monthlyTotal",
"onboardingTotal",
"currency",
"pricingVersion"
],
"additionalProperties": false
}
},
"additionalProperties": false
},
"healthCheckContext": {
"description": "Required when kind is health_check. Use figures returned by score_it_health_check, not estimates of your own.",
"type": "object",
"properties": {
"overallRiskScore": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"maturityLevel": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"priorityRiskTitles": {
"minItems": 1,
"maxItems": 5,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"mainConcern": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"overallRiskScore",
"maturityLevel",
"priorityRiskTitles",
"mainConcern"
],
"additionalProperties": false
}
},
"required": [
"kind",
"contact",
"message",
"consentConfirmed"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}