LedeWire SDK API Reference
    Preparing search index...

    Type Alias PurchaseLicense

    PurchaseLicense: components["schemas"]["PurchaseLicense"]

    The licence one purchase was delivered under, exactly as the work's source granted it.

    type is the source's own licence type: ON_DEMAND_LICENSE (partial use), ON_DEMAND_FULL_USE_LICENSE (full use) or public-domain (an SEC filing), and a source may add others. permissions lists what was granted (e.g. PARTIAL_USE), empty for public-domain. document_url points at /v1/purchases/{id}/license_document, which purchases.licenseDocument(id) downloads; it is null until the document is captured.