{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mend/main/json-schema/mend-library-license-request-dto-schema.json",
  "title": "LibraryLicenseRequestDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mend-library-organization-api-openapi.yml#/components/schemas/LibraryLicenseRequestDTO",
  "required": [
    "assignedByUser",
    "licenseReferences",
    "uuid"
  ],
  "type": "object",
  "properties": {
    "uuid": {
      "title": "License UUID",
      "type": "string"
    },
    "assignedByUser": {
      "title": "Assigned By User",
      "type": "boolean"
    },
    "licenseReferences": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LicenseReferenceRequestDTO"
      }
    }
  },
  "$defs": {
    "LicenseReferenceRequestDTO": {
      "required": [
        "liabilityReference"
      ],
      "type": "object",
      "properties": {
        "liabilityReference": {
          "title": "License Liability Reference",
          "type": "string"
        },
        "customDisclaimer": {
          "title": "Liability Reference",
          "type": "string"
        }
      }
    }
  }
}