CORE OBJECTv0.1-draft

ServiceCapability

One service, its price model and required credentials.

Spec → ServiceCapability

What is ServiceCapability? One service a provider can deliver: what, where, at what price model, under which certification.

The pricing model is a three-way honesty contract. fixed means the price is binding and agents may present it as final. from is a floor. quote_only requires price_notes so an agent can set expectations instead of guessing. Required credential types make regulatory reality machine-checkable: a CP12 capability without a Gas Safe reference fails certification.

Fields

FieldTypeNotes
service_codestring · enumREQUIRED Closed list v0.1; extension via 'other' + service_label. New codes via governance process.
service_labelstringHuman/agent-readable name. Required when service_code='other'.
coveragearray<string>Optional narrowing of provider coverage for this service.
pricingobjectREQUIRED model=fixed → price binding; from → price is minimum; quote_only → no price fields.
required_credential_typesarray<string>Credential types that MUST appear in provider.credentials for this capability to be valid, e.g. ['gas_safe'].
lead_time_days_mininteger
duration_minutes_typicalinteger
certificate_issuedbooleanTrue if the job produces a compliance certificate/report deliverable.

Example

{
  "service_code": "cp12_gas_safety",
  "pricing": {
    "model": "fixed",
    "price": {
      "amount": 68.0,
      "currency": "GBP",
      "vat_treatment": "ex_vat"
    }
  },
  "certificate_issued": true,
  "required_credential_types": [
    "gas_safe"
  ],
  "lead_time_days_min": 2
}

Schema: service-capability.schema.json (JSON Schema 2020-12, MIT).