{
    "title": "Lithium License",
    "description": "An extensible software licensing format.",
    
    "type": "object",
    "required": [
        "chain",
        "license",
        "signature"
    ],
    "properties": {
        "chain": {
            "description": "The certificates comprising the source path for this license. The first certificate represents the root, with all subsequent certificates being signed by it.",
            "type": "array",
            "items": {
                "type": "string",
                "description": "The PEM (RFC 1421) encoded certificate."
            }
        },
        "license": {
            "$schema": "license.data.schema.json",
            "description": "The license data for this packed license."
        },
        "signature": {
            "description": "The encoded signature of the license",
            "type": "object",
            "properties": {
                "type": {
                    "description": "The signature algorithm used to derive the signature of this license.",
                    "type": "string",
                    "enum": [
                        "DSA",
                        "RSA",
                        "ECDSA"
                    ]
                },
                "data": {
                    "type": "string"
                }
            }
        }
    }
}
{
    "title": "Lithium License",
    "description": "An extensible software licensing format.",
    
    "type": "object",
    "required": [
        "chain",
        "license",
        "signature"
    ],
    "properties": {
        "chain": {
            "description": "The certificates comprising the source path for this license. The first certificate represents the root, with all subsequent certificates being signed by it.",
            "type": "array",
            "items": {
                "type": "string",
                "description": "The PEM (RFC 1421) encoded certificate."
            }
        },
        "certificate": {
            "description": "A signed version of your public key, for use when generating child licenses. This will only be present if your license contains a 'pack' metadata proprety.",
            "type": "string"
        },
        "license": {
            "$schema": "license.data.schema.json",
            "description": "The license data for this packed license."
        },
        "signature": {
            "description": "The encoded signature of the license",
            "type": "object",
            "properties": {
                "type": {
                    "description": "The signature algorithm used to derive the signature of this license.",
                    "type": "string",
                    "enum": [
                        "DSA",
                        "RSA",
                        "ECDSA"
                    ]
                },
                "data": {
                    "type": "string"
                }
            }
        }
    }
}
Add a certificate property to a packed license
feat: Add a certificate property to a packed license

This would contain the signed certificate to be used for generation of child licenses for this node.