{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elhub/json-schema/elhub-service-provider-product-suspension-update-request-schema.json",
  "title": "service_provider_product_suspension_update_request",
  "description": "Request schema for update operations - The relation allowing a procuring system operator to temporarily suspend a service provider from delivering them products of the given types.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elhub-service-provider-product-suspension-api-openapi.yml#/components/schemas/service_provider_product_suspension_update_request",
  "summary": "Update - Service Provider Product Suspension",
  "type": "object",
  "properties": {
    "product_type_ids": {
      "description": "References to the suspended product types.",
      "type": "array",
      "items": {
        "format": "bigint",
        "type": "integer"
      }
    },
    "reason": {
      "$ref": "#/$defs/service_provider_product_suspension_reason"
    }
  },
  "$defs": {
    "service_provider_product_suspension_reason": {
      "description": "The reason for the suspension.",
      "format": "text",
      "type": "string",
      "enum": [
        "communication_issues",
        "failing_heartbeat",
        "system_issues",
        "clearing_issues",
        "breach_of_conditions",
        "other"
      ]
    }
  }
}