{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-create-license-dto-schema.json",
  "title": "CreateLicenseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ditto-audio-licenses-api-openapi.yml#/components/schemas/CreateLicenseDto",
  "type": "object",
  "properties": {
    "tier": {
      "type": "string",
      "enum": [
        "starter",
        "pro",
        "enterprise"
      ],
      "default": "pro"
    },
    "productId": {
      "type": "string"
    },
    "maxActivations": {
      "type": "number",
      "description": "Max simultaneous hardware activations"
    },
    "expiresAt": {
      "type": "string",
      "description": "Expiry date (null = perpetual)"
    },
    "metadata": {
      "type": "object",
      "description": "Arbitrary app-specific metadata stored on the license"
    }
  }
}