{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","description":"SLA service report issued by the provider to its business customer for a reporting period: metrics against the targets of the service level agreement, incidents, overall status and service credits. Every status, actual result and credit is the provider's statement: nothing is computed, coloured or defaulted.","additionalProperties":false,"required":["provider","customer","report","slas","overall_status","service_credits","summary","signatory"],"properties":{"provider":{"type":"object","additionalProperties":false,"description":"The provider that issues the report (company block; Code of economic law art. III.25).","required":["name","address","enterprise_number","iban"],"properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA, BV), as the enterprise writes it."},"address":{"type":"string","description":"Registered office as entered in the KBO/BCE: this is the domiciliation of Code of economic law art. III.25, al. 2."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"vat_number":{"type":"string","description":"Belgian VAT number, written BE0123456789.","pattern":"^BE[01][0-9]{9}$"},"iban":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."},"rpm_court":{"type":"string","description":"Seat of the enterprise court named after the words RPM / RPR (legal persons only)."},"in_liquidation":{"type":"boolean","description":"true when the legal person is in liquidation; printed only when true."}}},"customer":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the customer."},"account_id":{"type":"string","description":"Customer account identifier at the provider."},"contact":{"type":"string","description":"Contact person of the customer."}}},"report":{"type":"object","additionalProperties":false,"required":["reference","date","sla_reference","period"],"properties":{"reference":{"type":"string","description":"Reference of this report."},"date":{"type":"string","description":"Date of the report.","format":"date"},"sla_reference":{"type":"string","description":"Reference of the service level agreement (be.commercial.sla) the report is made under."},"period":{"type":"object","additionalProperties":false,"required":["start","end"],"properties":{"start":{"type":"string","description":"First day of the reporting period.","format":"date"},"end":{"type":"string","description":"Last day of the reporting period.","format":"date"}}},"next_report_date":{"type":"string","description":"Date of the next report.","format":"date"}}},"slas":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["metric_name","target","measurement_method","actual_result","status"],"properties":{"metric_name":{"type":"string","description":"Name of the metric."},"target":{"type":"string","description":"Target of the metric, as stated in the SLA."},"measurement_method":{"type":"string","description":"How the metric is measured."},"actual_result":{"type":"string","description":"Result for the period, as the provider states it."},"status":{"type":"string","description":"Status of the metric, as the provider states it.","enum":["met","missed","at_risk"]},"notes":{"type":"string","description":"Notes on the metric."}}},"description":"The metrics of the period.","minItems":1},"incidents":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["incident_id","severity","root_cause_summary","corrective_action"],"properties":{"incident_id":{"type":"string","description":"Identifier of the incident."},"severity":{"type":"string","description":"Severity, as the service level agreement names it."},"started_on":{"type":"string","description":"Date the incident started.","format":"date"},"duration_minutes":{"type":"number","description":"Duration of the incident in minutes, as the provider states it.","minimum":0},"root_cause_summary":{"type":"string","description":"Summary of the root cause."},"corrective_action":{"type":"string","description":"Corrective action taken."}}},"description":"The incidents of the period."},"overall_status":{"type":"string","description":"Overall status, as the provider states it.","enum":["all_met","mostly_met","significant_breaches"]},"service_credits":{"type":"object","additionalProperties":false,"description":"Service credits for the period.","required":["applies"],"properties":{"applies":{"type":"string","description":"Whether service credits are due for the period.","enum":["yes","no"]},"amount":{"type":"number","description":"Amount of the credit.","minimum":0},"currency":{"type":"string","description":"Currency of the credit, as an ISO 4217 code written by the provider.","pattern":"^[A-Z]{3}$"},"calculation_text":{"type":"string","description":"How the credit is calculated, as the provider words it; nothing is computed by the template."},"applied_how":{"type":"string","description":"How the credit is applied (credit note, deduction from an invoice)."}},"allOf":[{"if":{"properties":{"applies":{"const":"yes"}},"required":["applies"]},"then":{"required":["amount","currency","calculation_text"]}}]},"summary":{"type":"string","description":"Summary of the period, as the provider words it."},"next_steps":{"type":"array","items":{"type":"string"},"description":"Next steps, one item per line."},"signatory":{"type":"object","additionalProperties":false,"required":["name","title","date"],"properties":{"name":{"type":"string","description":"Name of the signatory."},"title":{"type":"string","description":"Capacity of the signatory."},"date":{"type":"string","description":"Date of signature.","format":"date"}}},"customer_acknowledgment":{"type":"object","additionalProperties":false,"required":[],"properties":{"name":{"type":"string","description":"Name of the person who acknowledges."},"title":{"type":"string","description":"Capacity of that person."},"date":{"type":"string","description":"Date of the acknowledgment.","format":"date"}}}}}