{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/devices-card-reader-schema.json",
  "title": "CardReader",
  "description": "Card reader",
  "type": "object",
  "properties": {
    "Id": {
      "description": "Stripe reader id",
      "type": "string",
      "example": "500123"
    },
    "DeviceSoftwareVersion": {
      "description": "Software version",
      "type": "string",
      "example": "string"
    },
    "SerialNumber": {
      "description": "Device serial number",
      "type": "string",
      "example": "string"
    },
    "Status": {
      "description": "Device status online or offline",
      "type": "string",
      "example": "Active"
    },
    "RegistrationCode": {
      "description": "Registration code",
      "type": "string",
      "example": "string"
    },
    "DeviceType": {
      "description": "Device type",
      "type": "string",
      "example": "string"
    },
    "Deleted": {
      "description": "Indicates that the reader is deleted or not",
      "type": "boolean",
      "nullable": true,
      "example": true
    },
    "Action": {
      "$ref": "#/components/schemas/ReaderActionStateInfo"
    }
  }
}