{
  "content": {
    "kind": "document",
    "meta": {
      "closing": "SPDX Identifiers: LicenseRef-PAG-NonCommercial-1.0 | LicenseRef-PAG-Commercial-1.0 | CC-BY-SA-4.0",
      "effectiveDate": "January 2025",
      "emblem": "/static/assets/grammar.mark.asset.png",
      "intro": "Pattern Abstract Grammar (PAG) is available under two licenses, a free non-commercial license and a paid commercial license. The rest of the site's documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0).",
      "lastUpdated": "September 2026",
      "title": "Licensing",
      "version": "1.1.0"
    },
    "sections": [
      {
        "icon": "bi-tags",
        "id": "license-types",
        "subsections": [
          {
            "blocks": [
              {
                "cards": [
                  {
                    "accent": "accent-success",
                    "description": "The non-commercial license is based on MIT and is free for personal projects, education and research.",
                    "files": [
                      {
                        "href": "/static/assets/LICENSE",
                        "icon": "bi-download",
                        "name": "PAG-LICENSE.txt",
                        "title": "Download License"
                      },
                      {
                        "href": "/static/assets/license.header.asset.txt",
                        "icon": "bi-file-code",
                        "name": "PAG-license-header.txt",
                        "title": "Download License Header"
                      }
                    ],
                    "icon": "bi-unlock",
                    "id": "license-non-commercial",
                    "permitted": [
                      "Personal projects and experimentation",
                      "Educational use and academic research",
                      "Open-source projects (non-commercial)",
                      "Forks and modifications under non-commercial terms"
                    ],
                    "restricted": [
                      "Commercial software or products",
                      "Paid services or SaaS offerings",
                      "Internal use by for-profit organizations",
                      "Distribution for revenue"
                    ],
                    "spdx": "LicenseRef-PAG-NonCommercial-1.0",
                    "status": "Free",
                    "title": "Non-Commercial License"
                  },
                  {
                    "accent": "accent-warning",
                    "action": {
                      "href": "mailto:jay@banes-lab.com?subject=PAG Commercial License Inquiry",
                      "text": "Request Commercial License"
                    },
                    "description": "The commercial license covers products, paid services and enterprise applications.",
                    "icon": "bi-briefcase",
                    "id": "license-commercial",
                    "permitted": [
                      "Commercial software and products",
                      "Paid services and SaaS offerings",
                      "Internal business tools",
                      "Distribution for revenue",
                      "Derivative works for commercial purposes",
                      "Optional technical support"
                    ],
                    "restricted": [],
                    "spdx": "LicenseRef-PAG-Commercial-1.0",
                    "status": "Paid",
                    "title": "Commercial License"
                  },
                  {
                    "accent": "accent-info",
                    "action": {
                      "href": "https://creativecommons.org/licenses/by-sa/4.0/",
                      "text": "Read the CC BY-SA 4.0 License"
                    },
                    "description": "The documentation license lets you share and adapt the methodology, architecture, ontology and anatomy pages, including for commercial use.",
                    "icon": "bi-book",
                    "id": "license-documentation",
                    "permitted": [
                      "Sharing and republishing",
                      "Adapting and building on the material",
                      "Commercial use"
                    ],
                    "restricted": [
                      "Use without attribution",
                      "Adaptations under a different license"
                    ],
                    "spdx": "CC-BY-SA-4.0",
                    "status": "Open",
                    "title": "Documentation License"
                  }
                ],
                "kind": "card"
              }
            ],
            "title": "Choose a License"
          }
        ],
        "title": "License Types"
      },
      {
        "icon": "bi-file-earmark-text",
        "id": "license-overview",
        "subsections": [
          {
            "content": "The non-commercial license is the default. Any commercial use requires a separate, paid commercial license.",
            "title": "Dual-License Model"
          },
          {
            "blocks": [
              {
                "entries": [
                  {
                    "description": "Jay Baleine",
                    "term": "Copyright Holder"
                  },
                  {
                    "description": "2025",
                    "term": "Year"
                  },
                  {
                    "description": "Pattern Abstract Grammar (PAG)",
                    "term": "Project"
                  },
                  {
                    "description": "https://banes-lab.com",
                    "term": "Website"
                  },
                  {
                    "description": "https://github.com/Varietyz/pag-lang",
                    "term": "Repository"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "title": "Copyright"
          }
        ],
        "title": "License Overview"
      },
      {
        "icon": "bi-unlock",
        "id": "non-commercial-terms",
        "subsections": [
          {
            "content": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, subject to the commercial restriction below.",
            "title": "Grant of Rights"
          },
          {
            "blocks": [
              {
                "items": [
                  "Use in commercial software or products",
                  "Use in paid services or SaaS offerings",
                  "Internal use by for-profit organizations",
                  "Hosting as a service",
                  "Distribution for revenue"
                ],
                "kind": "list"
              },
              {
                "kind": "text",
                "note": true,
                "text": "Any person who describes, quotes or refers to PAG attributes it to Jay Baleine and cites this site."
              }
            ],
            "content": "Any use of the Software for commercial purposes is expressly prohibited without a separate commercial license. Commercial purposes include:",
            "title": "Commercial Use Restriction"
          },
          {
            "content": "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
            "title": "Warranty Disclaimer"
          }
        ],
        "title": "Non-Commercial License Terms"
      },
      {
        "icon": "bi-briefcase",
        "id": "commercial-terms",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Rights for commercial use, distribution, and hosting",
                  "Rights to create derivative works for commercial purposes",
                  "Optional technical support and maintenance"
                ],
                "kind": "list"
              }
            ],
            "content": "A commercial license grants the following rights:",
            "title": "Commercial Rights"
          },
          {
            "content": "To obtain a commercial license, contact me with your use case details.",
            "title": "Obtaining a Commercial License"
          }
        ],
        "title": "Commercial License Terms"
      },
      {
        "icon": "bi-git",
        "id": "contributions",
        "subsections": [
          {
            "content": "External contributions are not accepted. PAG is open source, and all of it is published on this site. How I implement it in my own systems and workflows is not part of the release. Forking is permitted under the non-commercial terms.",
            "title": "Contribution Terms"
          }
        ],
        "title": "Contributions Policy"
      },
      {
        "icon": "bi-code-square",
        "id": "file-headers",
        "subsections": [
          {
            "blocks": [
              {
                "code": "// 🔒 Copyright 2025 Jay Baleine\n// 🔒 SPDX-License-Identifier: LicenseRef-PAG-NonCommercial-1.0\n// 🔒 https://banes-lab.com/licensing\n// 🔒 Commercial use requires a paid license.",
                "kind": "code",
                "language": "javascript",
                "title": "Non-Commercial Header"
              }
            ],
            "title": "Non-Commercial Header"
          }
        ],
        "title": "File Header Requirements"
      },
      {
        "icon": "bi-envelope",
        "id": "contact",
        "subsections": [
          {
            "blocks": [
              {
                "entries": [
                  {
                    "description": "jay@banes-lab.com",
                    "term": "Email"
                  },
                  {
                    "description": "Responses are best-effort and not guaranteed within a fixed window.",
                    "term": "Note"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "title": "Contact Details"
          },
          {
            "content": "For enterprise licensing, volume discounts, or custom terms, contact me with your organization details and use case.",
            "title": "Enterprise Licensing"
          }
        ],
        "title": "Contact Information"
      }
    ]
  },
  "description": "Pattern Abstract Grammar (PAG) is available under a dual-license model: a free non-commercial license and a commercial license for businesses.",
  "id": "licensing",
  "label": "Licensing",
  "tab": null,
  "title": "Licensing — Bane's Lab",
  "url": "https://banes-lab.com/licensing"
}
