{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/storecove/json-schema/storecove-c5-deactivation-request-schema.json",
  "title": "C5 Deactivation Request",
  "description": "The C5 deactivation request",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/storecove-c5activation-api-openapi.yml#/components/schemas/C5DeactivationRequest",
  "type": "object",
  "properties": {
    "client_redirect_fail_url": {
      "title": "Client Redirect Fail URL",
      "description": "The URL to redirect to in case of a C5 authorization fail.",
      "type": "string"
    },
    "client_redirect_success_url": {
      "title": "Client Redirect Success URL",
      "description": "The URL to redirect to in case of a C5 authorization success.",
      "type": "string"
    },
    "flow_type": {
      "title": "Flow Type",
      "description": "The flow type.",
      "type": "string",
      "enum": [
        "flow_redirect"
      ]
    },
    "simulate": {
      "title": "Simulate",
      "description": "Whether to simulate the C5 deactivation.",
      "type": "boolean"
    },
    "identifier": {
      "title": "Identifier",
      "description": "The identifier.",
      "type": "string"
    },
    "scheme": {
      "title": "Scheme",
      "description": "The scheme.",
      "type": "string",
      "enum": [
        "SG:UEN"
      ]
    },
    "superscheme": {
      "title": "Superscheme",
      "description": "The superscheme of the identifier. Should always be 'iso6523-actorid-upis'.",
      "type": "string",
      "enum": [
        "iso6523-actorid-upis"
      ]
    }
  },
  "required": [
    "client_redirect_fail_url",
    "client_redirect_success_url",
    "flow_type",
    "simulate",
    "identifier",
    "scheme",
    "superscheme"
  ]
}