{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/v2.7.0-rc3/schemas/iqrfInterfaces.json",
    "type": "object",
    "title": "IQRF interfaces",
    "additionalProperties": false,
    "required": [
        "cdc",
        "spi",
        "uart"
    ],
    "properties": {
        "cdc": {
            "type": "array",
            "title": "USB CDC interfaces",
            "example": [
                "/dev/ttyACM0"
            ],
            "items": {
                "type": "string",
                "title": "USB CDC interface",
                "example": "/dev/ttyACM0"
            }
        },
        "spi": {
            "type": "array",
            "title": "SPI interfaces",
            "example": [
                "/dev/spidev1.0"
            ],
            "items": {
                "type": "string",
                "title": "SPI interface",
                "example": "/dev/spidev1.0"
            }
        },
        "uart": {
            "type": "array",
            "title": "UART interfaces",
            "example": [
                "/dev/ttyS0",
                "/dev/ttyS1",
                "/dev/ttyS2"
            ],
            "items": {
                "type": "string",
                "title": "UART interface",
                "example": "/dev/ttyS0"
            }
        }
    }
}
