{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/latest/schemas/daemonLicenseDetail.json",
    "type": "object",
    "title": "Daemon license detail",
    "required": [
        "issuer",
        "audience",
        "subject",
        "issuedAt"
    ],
    "properties": {
        "issuer": {
            "title": "Issuer",
            "description": "Issuer claim.",
            "type": "string",
            "minLength": 1,
            "example": "MICRORISC s.r.o."
        },
        "audience": {
            "type": "array",
            "title": "Audience",
            "description": "Audience claim.",
            "items": {
                "type": "string",
                "minLength": 1
            },
            "example": [
                "IQRF Gateway Daemon"
            ]
        },
        "subject": {
            "title": "Subject",
            "description": "Subject claim",
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "example": 4294967295
        },
        "issuedAt": {
            "title": "Issued at",
            "description": "Issued at claim.",
            "type": "string",
            "format": "date-time",
            "example": "2026-09-25T10:00:00+00:00"
        }
    },
    "additionalProperties": false
}
