{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/apiKeyModify.json",
    "type": "object",
    "title": "API key to modify",
    "additionalProperties": false,
    "required": [
        "description",
        "expiration"
    ],
    "properties": {
        "description": {
            "type": "string",
            "title": "API key description",
            "example": "My awesome app"
        },
        "expiration": {
            "type": [
                "string",
                "null"
            ],
            "format": "date-time",
            "title": "API key expiration",
            "example": null
        }
    }
}
