{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/order-service-api-replaceddevice.json",
  "title": "ReplacedDevice",
  "description": "A device being replaced under a replacement agreement.",
  "type": "object",
  "required": [
    "serialNumber",
    "deviceModel"
  ],
  "properties": {
    "serialNumber": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12,
      "description": "Serial number of the replaced device."
    },
    "deviceModel": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Model name of the replaced device."
    }
  }
}