diff --git a/web-app/public/assets/rules.json b/web-app/public/assets/rules.json new file mode 100644 index 000000000..9a742e9af --- /dev/null +++ b/web-app/public/assets/rules.json @@ -0,0 +1,138 @@ +{ + "permissions": [ + { + "name": "commercial-use", + "label": "Commercial use", + "description": "This license allows the software or data to be used for commercial purposes." + }, + { + "name": "modifications", + "label": "Modification", + "description": "This license allows the software or content to be modified." + }, + { + "name": "distribution", + "label": "Distribution", + "description": "This license allows the software or content to be redistributed." + }, + { + "name": "private-use", + "label": "Private use", + "description": "This license allows private use and modification." + }, + { + "name": "patent-use", + "label": "Patent use", + "description": "This license includes an express grant of patent rights from contributors." + }, + { + "name": "data-use", + "label": "Data use", + "description": "This license allows unrestricted use and reuse of data." + }, + { + "name": "text-and-data-mining", + "label": "Text and data mining", + "description": "This license explicitly permits automated analysis such as machine learning and data mining." + }, + { + "name": "create-adaptations", + "label": "Create adaptations", + "description": "This license allows derivative works or adaptations to be created." + } + ], + "conditions": [ + { + "name": "include-copyright", + "label": "Include copyright", + "description": "A copy of the license and copyright notice must be included." + }, + { + "name": "include-copyright--source", + "label": "Include copyright (source only)", + "description": "A copyright notice must be included only in the source form." + }, + { + "name": "document-changes", + "label": "Document changes", + "description": "Changes made must be clearly documented." + }, + { + "name": "disclose-source", + "label": "Disclose source", + "description": "Source code must be made available when the software is distributed." + }, + { + "name": "network-use-disclose", + "label": "Network use disclosure", + "description": "Source must be disclosed when users interact with the software over a network." + }, + { + "name": "same-license", + "label": "Same license", + "description": "Modifications must be released under the same or a compatible license." + }, + { + "name": "same-license--file", + "label": "Same license (file)", + "description": "Modified files must retain the original license." + }, + { + "name": "same-license--library", + "label": "Same license (library)", + "description": "Modifications to libraries must retain the original license, with some exceptions for linking." + }, + { + "name": "attribution", + "label": "Attribution", + "description": "Users must give appropriate credit to the original authors." + }, + { + "name": "mark-changes", + "label": "Mark changes", + "description": "Users must indicate if changes were made." + }, + { + "name": "share-alike", + "label": "Share-alike", + "description": "Derivative works must be distributed under the same or a compatible license." + }, + { + "name": "non-endorsement", + "label": "Non-endorsement", + "description": "The license prohibits implying endorsement by the original authors." + }, + { + "name": "license-linking", + "label": "License linking", + "description": "The license must be referenced or linked clearly in any reuse." + } + ], + "limitations": [ + { + "name": "trademark-use", + "label": "Trademark use", + "description": "The license does not grant rights to use trademarks." + }, + { + "name": "liability", + "label": "Liability disclaimer", + "description": "The license includes a limitation of liability." + }, + { + "name": "warranty", + "label": "No warranty", + "description": "The license explicitly states that no warranty is provided." + }, + { + "name": "no-personal-data-guarantee", + "label": "No personal data guarantee", + "description": "The license disclaims the presence or legality of personal data in the content." + }, + { + "name": "database-rights-disclaimed", + "label": "Database rights disclaimed", + "description": "The license explicitly waives or disclaims sui generis database rights." + } + ] +} diff --git a/web-app/src/app/screens/FeedSubmission/Form/SecondStep.tsx b/web-app/src/app/screens/FeedSubmission/Form/SecondStep.tsx index e3247da25..cb4febd1a 100644 --- a/web-app/src/app/screens/FeedSubmission/Form/SecondStep.tsx +++ b/web-app/src/app/screens/FeedSubmission/Form/SecondStep.tsx @@ -21,7 +21,6 @@ export interface FeedSubmissionFormInputSecondStep { region: string; municipality: string; name: string; - licensePath?: string; } interface FormSecondStepProps { @@ -48,7 +47,6 @@ export default function FormSecondStep({ region: initialValues.region, municipality: initialValues.municipality, name: initialValues.name, - licensePath: initialValues.licensePath, }, }); const onSubmit: SubmitHandler = (data) => { @@ -139,33 +137,7 @@ export default function FormSecondStep({ /> - - - {t('linkToLicense')} - { - if (value === '' || value === undefined) return true; - return /^https?:\/\//.test(value) || t('form.errorUrl'); - }, - }} - control={control} - name='licensePath' - render={({ field }) => ( - - )} - /> - - + {/* License URL moved to Third step to keep all license info together */} diff --git a/web-app/src/app/screens/FeedSubmission/Form/ThirdStep.tsx b/web-app/src/app/screens/FeedSubmission/Form/ThirdStep.tsx index cbfd557ba..b1789f2b4 100644 --- a/web-app/src/app/screens/FeedSubmission/Form/ThirdStep.tsx +++ b/web-app/src/app/screens/FeedSubmission/Form/ThirdStep.tsx @@ -7,7 +7,23 @@ import { MenuItem, Select, FormHelperText, + Typography, + Box, } from '@mui/material'; +import React from 'react'; +import Checkbox from '@mui/material/Checkbox'; +import FormGroup from '@mui/material/FormGroup'; +import FormControlLabel from '@mui/material/FormControlLabel'; +import Radio from '@mui/material/Radio'; +import RadioGroup from '@mui/material/RadioGroup'; +import Dialog from '@mui/material/Dialog'; +import DialogTitle from '@mui/material/DialogTitle'; +import DialogContent from '@mui/material/DialogContent'; +import DialogActions from '@mui/material/DialogActions'; +import Alert from '@mui/material/Alert'; +import Autocomplete from '@mui/material/Autocomplete'; +import Chip from '@mui/material/Chip'; +import Link from '@mui/material/Link'; import { type SubmitHandler, Controller, @@ -24,6 +40,15 @@ export interface FeedSubmissionFormInputThirdStep { authSignupLink?: string; authParameterName?: string; emptyLicenseUsage?: string; + // Selected SPDX license id (or null for no license) + licenseSpdxId?: string | null; + // Optional custom license URL + licensePath?: string; + // Custom license builder fields (mock/demo only) + customLicenseEnabled?: boolean; + customLicensePermissions?: string[]; + customLicenseConditions?: string[]; + customLicenseLimitations?: string[]; } interface FormThirdStepProps { @@ -49,6 +74,12 @@ export default function FormThirdStep({ authType: initialValues.authType, authSignupLink: initialValues.authSignupLink, authParameterName: initialValues.authParameterName, + licenseSpdxId: initialValues.licenseSpdxId ?? null, + licensePath: initialValues.licensePath ?? '', + customLicenseEnabled: initialValues.customLicenseEnabled ?? false, + customLicensePermissions: initialValues.customLicensePermissions ?? [], + customLicenseConditions: initialValues.customLicenseConditions ?? [], + customLicenseLimitations: initialValues.customLicenseLimitations ?? [], }, }); @@ -56,6 +87,30 @@ export default function FormThirdStep({ control, name: 'authType', }); + const licenseSpdxId = useWatch({ + control, + name: 'licenseSpdxId', + }); + const licensePath = useWatch({ + control, + name: 'licensePath', + }); + const customLicenseEnabled = useWatch({ + control, + name: 'customLicenseEnabled', + }); + const customLicensePermissions = useWatch({ + control, + name: 'customLicensePermissions', + }); + const customLicenseConditions = useWatch({ + control, + name: 'customLicenseConditions', + }); + const customLicenseLimitations = useWatch({ + control, + name: 'customLicenseLimitations', + }); const onSubmit: SubmitHandler = ( data, @@ -65,17 +120,687 @@ export default function FormThirdStep({ // Remove unused variables and fix strict boolean expressions const isOfficialProducer = initialValues.isOfficialProducer === 'yes'; - // Fix strict boolean expression for noLicenseProvided in conditional rendering - const noLicenseProvided = - initialValues.licensePath === null || - initialValues.licensePath === undefined || - initialValues.licensePath === ''; + // Consider both a provided license URL (from step 2) and an SPDX ID (this step) + const hasLicenseUrl = (licensePath ?? '').trim().length > 0; + const hasSpdx = (licenseSpdxId ?? '').trim().length > 0; + const hasCustom = + (customLicenseEnabled ?? false) && + ((customLicensePermissions?.length ?? 0) > 0 || + (customLicenseConditions?.length ?? 0) > 0 || + (customLicenseLimitations?.length ?? 0) > 0); + const noLicenseProvided = !(hasLicenseUrl || hasSpdx || hasCustom); + + // Load rules.json (permissions, conditions, limitations) from public assets + interface Rule { + name: string; + label: string; + description: string; + } + const [rules, setRules] = React.useState< + | { + permissions: Rule[]; + conditions: Rule[]; + limitations: Rule[]; + } + | undefined + >(undefined); + React.useEffect(() => { + let mounted = true; + void (async () => { + try { + const r = await fetch('/assets/rules.json'); + const json = await r.json(); + if (mounted) setRules(json); + } catch { + // ignore load error; builder will be disabled + } + })(); + return () => { + mounted = false; + }; + }, []); + + // Custom license builder dialog state + const [builderOpen, setBuilderOpen] = React.useState(false); + const [tmpPerms, setTmpPerms] = React.useState([]); + const [tmpConds, setTmpConds] = React.useState([]); + const [tmpLims, setTmpLims] = React.useState([]); + const [matchLicenseId, setMatchLicenseId] = React.useState( + null, + ); + + const openBuilder = (): void => { + setTmpPerms(customLicensePermissions ?? []); + setTmpConds(customLicenseConditions ?? []); + setTmpLims(customLicenseLimitations ?? []); + setBuilderOpen(true); + }; + const closeBuilder = (): void => { + setBuilderOpen(false); + }; + + const arraysEqualAsSets = (a: string[], b: string[]): boolean => { + if (a.length !== b.length) return false; + const sa = [...a].sort(); + const sb = [...b].sort(); + for (let i = 0; i < sa.length; i++) if (sa[i] !== sb[i]) return false; + return true; + }; + const recomputeMatch = ( + p: string[], + c: string[], + l: string[], + ): string | null => { + const found = LICENSES_DEMO.find( + (lic) => + arraysEqualAsSets(p, lic.permissions) && + arraysEqualAsSets(c, lic.conditions) && + arraysEqualAsSets(l, lic.limitations), + ); + return found?.spdx.licenseId ?? null; + }; + + React.useEffect(() => { + setMatchLicenseId(recomputeMatch(tmpPerms, tmpConds, tmpLims)); + }, [tmpPerms, tmpConds, tmpLims]); + + const copyFromKnown = (licenseId: string): void => { + const lic = LICENSES_DEMO.find((x) => x.spdx.licenseId === licenseId); + if (lic === undefined || lic === null) { + return; + } + setTmpPerms(lic.permissions); + setTmpConds(lic.conditions); + setTmpLims(lic.limitations); + }; + + const saveCustom = (): void => { + setValue('customLicensePermissions', tmpPerms, { + shouldDirty: true, + shouldValidate: false, + }); + setValue('customLicenseConditions', tmpConds, { + shouldDirty: true, + shouldValidate: false, + }); + setValue('customLicenseLimitations', tmpLims, { + shouldDirty: true, + shouldValidate: false, + }); + setBuilderOpen(false); + }; + + // Mock licenses data for the demo (in-memory). In the future, replace with API. + /* eslint-disable max-len, prettier/prettier */ + const LICENSES_DEMO: Array<{ + spdx: { + isDeprecatedLicenseId: boolean; + isFsfLibre: boolean | undefined; + licenseText: string; + standardLicenseHeaderTemplate: string | undefined; + standardLicenseTemplate: string; + licenseComments: string | undefined; + standardLicenseHeader: string | undefined; + standardLicenseHeaderHtml: string | undefined; + comment: string | undefined; + name: string; + licenseId: string; + crossRef: Array<{ + match: string; + url: string; + isValid: boolean; + isLive: boolean; + timestamp: string; + isWayBackLink: boolean; + order: number; + }>; + seeAlso: string[]; + isOsiApproved: boolean; + licenseTextHtml: string; + }; + categorized: boolean; + permissions: string[]; + conditions: string[]; + limitations: string[]; + }> = [ + { + spdx: { + isDeprecatedLicenseId: false, + licenseText: 'Copyright (C) YEAR by AUTHOR EMAIL\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n', + standardLicenseTemplate: '<><>\n\n<> <>\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n', + name: 'BSD Zero Clause License', + licenseId: '0BSD', + crossRef: [ + { + match: 'N/A', + url: 'https://opensource.org/licenses/0BSD', + isValid: true, + isLive: false, + timestamp: '2025-05-29T15:16:18Z', + isWayBackLink: false, + order: 1, + }, + { + match: 'true', + url: 'http://landley.net/toybox/license.html', + isValid: true, + isLive: true, + timestamp: '2025-05-29T15:16:18Z', + isWayBackLink: false, + order: 0, + }, + ], + seeAlso: [ + 'http://landley.net/toybox/license.html', + 'https://opensource.org/licenses/0BSD', + ], + isOsiApproved: true, + licenseTextHtml: '

BSD Zero Clause License

', + isFsfLibre: undefined, + standardLicenseHeaderTemplate: undefined, + licenseComments: undefined, + comment: undefined, + standardLicenseHeader: undefined, + standardLicenseHeaderHtml: undefined, + }, + categorized: true, + permissions: [ + 'commercial-use', + 'distribution', + 'modifications', + 'private-use', + ], + conditions: [], + limitations: ['liability', 'warranty'], + }, + { + spdx: { + isDeprecatedLicenseId: false, + isFsfLibre: true, + licenseText: 'This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.\n\nIn jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.\n\nTHE 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 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.\n\nFor more information, please refer to \n', + standardLicenseTemplate: 'This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.\n\nIn jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.\n\nTHE 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 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.\n\n<>For more information, please refer to \n\n<>', + name: 'The Unlicense', + licenseComments: 'This is a public domain dedication', + comment: 'This is a public domain dedication', + licenseId: 'Unlicense', + crossRef: [ + { + match: 'true', + url: 'https://unlicense.org/', + isValid: true, + isLive: true, + timestamp: '2025-05-29T15:19:58Z', + isWayBackLink: false, + order: 0, + }, + ], + seeAlso: ['https://unlicense.org/'], + isOsiApproved: true, + licenseTextHtml: '\n

This is free and unencumbered software released into the public domain.

\n\n

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in\n source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any\n means.

\n\n

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and\n all copyright interest in the software to the public domain. We make this dedication for the benefit\n of the public at large and to the detriment of our heirs and\n successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all\n present and future rights to this software under copyright law.\n

\n\n

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\n LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n OTHER DEALINGS IN THE SOFTWARE.

\n\n

For more information, please refer to <https://unlicense.org/>

\n
\n ', + standardLicenseHeaderTemplate: undefined, + standardLicenseHeader: undefined, + standardLicenseHeaderHtml: undefined, + }, + categorized: true, + permissions: [ + 'private-use', + 'commercial-use', + 'modifications', + 'distribution', + ], + conditions: [], + limitations: ['liability', 'warranty'], + }, + { + spdx: { + isDeprecatedLicenseId: false, + isFsfLibre: true, + licenseText: 'Creative Commons Attribution 4.0 International\n\n Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.\n\nUsing Creative Commons Public Licenses\n\nCreative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.\n\nConsiderations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.\n\nConsiderations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.\n\nCreative Commons Attribution 4.0 International Public License\n\nBy exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.\n\nSection 1 – Definitions.\n\n a.\tAdapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.\n\n b.\tAdapter\'s License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.\n\n c.\tCopyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.\n\n d.\tEffective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.\n\n e.\tExceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.\n\n f.\tLicensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.\n\n g.\tLicensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.\n\n h.\tLicensor means the individual(s) or entity(ies) granting rights under this Public License.\n\n i.\tShare means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.\n\n j.\tSui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.\n\n k.\tYou means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.\n\nSection 2 – Scope.\n\n a.\tLicense grant.\n\n 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:\n\n A. reproduce and Share the Licensed Material, in whole or in part; and\n\n B. produce, reproduce, and Share Adapted Material.\n\n 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.\n\n 3. Term. The term of this Public License is specified in Section 6(a).\n\n 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.\n\n 5. Downstream recipients.\n\n A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.\n\n B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.\n\n 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).\n\nb. Other rights.\n\n 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.\n\n 2. Patent and trademark rights are not licensed under this Public License.\n\n 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.\n\nSection 3 – License Conditions.\n\nYour exercise of the Licensed Rights is expressly made subject to the following conditions.\n\n a.\tAttribution.\n\n 1. If You Share the Licensed Material (including in modified form), You must:\n\n A. retain the following if it is supplied by the Licensor with the Licensed Material:\n\n i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);\n\n ii. a copyright notice;\n\n iii. a notice that refers to this Public License;\n\n iv.\ta notice that refers to the disclaimer of warranties;\n\n v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;\n\n B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and\n\n C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.\n\n 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.\n\n 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.\n\n 4. If You Share Adapted Material You produce, the Adapter\'s License You apply must not prevent recipients of the Adapted Material from complying with this Public License.\n\nSection 4 – Sui Generis Database Rights.\n\nWhere the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:\n\n a.\tfor the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;\n\n b.\tif You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and\n\n c.\tYou must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.\nFor the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.\n\nSection 5 – Disclaimer of Warranties and Limitation of Liability.\n\n a.\tUnless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.\n\n b.\tTo the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.\n\n c.\tThe disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.\n\nSection 6 – Term and Termination.\n\n a.\tThis Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.\n\n b.\tWhere Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:\n\n 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or\n\n 2. upon express reinstatement by the Licensor.\n\n c.\tFor the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.\n\n d.\tFor the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.\n\n e.\tSections 1, 5, 6, 7, and 8 survive termination of this Public License.\n\nSection 7 – Other Terms and Conditions.\n\n a.\tThe Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.\n\n b.\tAny arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.\n\nSection 8 – Interpretation.\n\n a.\tFor the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.\n\n b.\tTo the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.\n\n c.\tNo term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.\n\n d.\tNothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.\n\nCreative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.\n\nCreative Commons may be contacted at creativecommons.org.\n', + standardLicenseTemplate: '<><>Creative Commons<> Attribution 4.0 International\n\n<><> Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.\n\nUsing Creative Commons Public Licenses\n\nCreative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.\n\nConsiderations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other <> material, or material used under an exception or limitation to copyright. More considerations for licensors <>\n\nConsiderations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor\'s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. <> for the public <>\n\n<><> Creative Commons Attribution 4.0 International Public License\n\n<>\nBy exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.\n\nSection 1 <> Definitions.\n\n <> Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.\n <> Adapter\'s License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.\n <> Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.\n <> Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.\n <> Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.\n <> Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.\n <> Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.\n <> Licensor means the individual(s) or entity(ies) granting rights under this Public License.\n <> Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.\n <> Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.\n <> You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.\nSection 2 <> Scope.\n\n <> License grant.\n <> Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:\n <> reproduce and Share the Licensed Material, in whole or in part; and\n <> produce, reproduce, and Share Adapted Material.\n <> Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.\n <> Term. The term of this Public License is specified in Section 6(a).\n <> Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.\n <> Downstream recipients.\n <> Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.\n <> No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.\n <> No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).\n <> Other rights.\n <> Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.\n <> Patent and trademark rights are not licensed under this Public License.\n <> To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.\nSection 3 <> License Conditions.\n\nYour exercise of the Licensed Rights is expressly made subject to the following conditions.\n\n <> Attribution.\n <> If You Share the Licensed Material (including in modified form), You must:\n <> retain the following if it is supplied by the Licensor with the Licensed Material:\n <> identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);\n <> a copyright notice;\n <> a notice that refers to this Public License;\n <> a notice that refers to the disclaimer of warranties;\n <> a URI or hyperlink to the Licensed Material to the extent reasonably practicable;\n <> indicate if You modified the Licensed Material and retain an indication of any previous modifications; and\n <> indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.\n <> You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.\n <> If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.\n <> If You Share Adapted Material You produce, the Adapter\'s License You apply must not prevent recipients of the Adapted Material from complying with this Public License.\nSection 4 <> Sui Generis Database Rights.\n\nWhere the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:\n\n <> for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;\n <> if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and\n <> You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.\nFor the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.\n\nSection 5 <> Disclaimer of Warranties and Limitation of Liability.\n\n <> Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.\n <> To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.\n <> The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.\nSection 6 <> Term and Termination.\n\n <> This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.\n <> Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:\n <> automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or\n <> upon express reinstatement by the Licensor.\n <> For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.\n <> For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.\n <> Sections 1, 5, 6, 7, and 8 survive termination of this Public License.\nSection 7 <> Other Terms and Conditions.\n\n <> The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.\n <> Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.\nSection 8 <> Interpretation.\n\n <> For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.\n <> To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.\n <> No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.\n <> Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.<> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor."<> The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication.<> Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.\n\nCreative Commons may be contacted at creativecommons.org.\n\n<>', + name: 'Creative Commons Attribution 4.0 International', + licenseId: 'CC-BY-4.0', + crossRef: [ + { + match: 'false', + url: 'https://creativecommons.org/licenses/by/4.0/legalcode', + isValid: true, + isLive: true, + timestamp: '2025-05-29T15:16:49Z', + isWayBackLink: false, + order: 0, + }, + ], + seeAlso: ['https://creativecommons.org/licenses/by/4.0/legalcode'], + isOsiApproved: false, + licenseTextHtml: '\n
\n

Creative Commons Attribution 4.0 International

\n\n
\n
\n

Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services\n or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or\n other relationship. Creative Commons makes its licenses and related information available on an\n "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed\n under their terms and conditions, or any related information. Creative Commons disclaims all liability\n for damages resulting from their use to the fullest extent possible.

\n\n

Using Creative Commons Public Licenses

\n\n

Creative Commons public licenses provide a standard set of terms and conditions that creators and other\n rights holders may use to share original works of authorship and other material subject to copyright\n and certain other rights specified in the public license below. The following considerations are for\n informational purposes only, are not exhaustive, and do not form part of our licenses.

\n\n

Considerations for licensors: Our public licenses are intended for use by those authorized to give the\n public permission to use material in ways otherwise restricted by copyright and certain other rights.\n Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the\n license they choose before applying it. Licensors should also secure all rights necessary before\n applying our licenses so that the public can reuse the material as expected. Licensors should clearly\n mark any material not subject to the license. This includes other material, or material\n used under an exception or limitation to copyright. More considerations for licensors : wiki.creativecommons.org/Considerations_for_licensors

\n\n

Considerations for the public: By using one of our public licenses, a licensor grants the public\n permission to use the licensed material under specified terms and conditions. If the licensor's\n permission is not necessary for any reason–for example, because of any applicable exception or\n limitation to copyright–then that use is not regulated by the license. Our licenses grant only\n permissions under copyright and certain other rights that a licensor has authority to grant. Use of\n the licensed material may still be restricted for other reasons, including because others have\n copyright or other rights in the material. A licensor may make special requests, such as asking that\n all changes be marked or described. Although not required by our licenses, you are encouraged to\n respect those requests where reasonable. More considerations for the public : wiki.creativecommons.org/Considerations_for_licensees

\n\n
\n\n
\n

Creative Commons Attribution 4.0 International Public License

\n\n
\n

By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and\n conditions of this Creative Commons Attribution 4.0 International Public License ("Public License").\n To the extent this Public License may be interpreted as a contract, You are granted the Licensed\n Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You\n such rights in consideration of benefits the Licensor receives from making the Licensed Material\n available under these terms and conditions.

\n\n

Section 1 Definitions.

\n\n
    \n \n
  • \n a.\n Adapted Material means material subject to Copyright and Similar Rights that is derived from\n or based upon the Licensed Material and in which the Licensed Material is translated,\n altered, arranged, transformed, or otherwise modified in a manner requiring permission\n under the Copyright and Similar Rights held by the Licensor. For purposes of this Public\n License, where the Licensed Material is a musical work, performance, or sound recording,\n Adapted Material is always produced where the Licensed Material is synched in timed\n relation with a moving image.\n
  • \n \n
  • \n b.\n Adapter's License means the license You apply to Your Copyright and Similar Rights in Your\n contributions to Adapted Material in accordance with the terms and conditions of this\n Public License.\n
  • \n \n
  • \n c.\n Copyright and Similar Rights means copyright and/or similar rights closely related to\n copyright including, without limitation, performance, broadcast, sound recording, and Sui\n Generis Database Rights, without regard to how the rights are labeled or categorized. For\n purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not\n Copyright and Similar Rights.\n
  • \n \n
  • \n d.\n Effective Technological Measures means those measures that, in the absence of proper\n authority, may not be circumvented under laws fulfilling obligations under Article 11 of\n the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international\n agreements.\n
  • \n \n
  • \n e.\n Exceptions and Limitations means fair use, fair dealing, and/or any other exception or\n limitation to Copyright and Similar Rights that applies to Your use of the Licensed\n Material.\n
  • \n \n
  • \n f.\n Licensed Material means the artistic or literary work, database, or other material to which\n the Licensor applied this Public License.\n
  • \n \n
  • \n g.\n Licensed Rights means the rights granted to You subject to the terms and conditions of this\n Public License, which are limited to all Copyright and Similar Rights that apply to Your\n use of the Licensed Material and that the Licensor has authority to license.\n
  • \n \n
  • \n h.\n Licensor means the individual(s) or entity(ies) granting rights under this Public License.\n
  • \n \n
  • \n i.\n Share means to provide material to the public by any means or process that requires\n permission under the Licensed Rights, such as reproduction, public display, public\n performance, distribution, dissemination, communication, or importation, and to make\n material available to the public including in ways that members of the public may access\n the material from a place and at a time individually chosen by them.\n
  • \n \n
  • \n j.\n Sui Generis Database Rights means rights other than copyright resulting from Directive\n 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal\n protection of databases, as amended and/or succeeded, as well as other essentially\n equivalent rights anywhere in the world.\n
  • \n \n
  • \n k.\n You means the individual or entity exercising the Licensed Rights under this Public License.\n Your has a corresponding meaning.\n
  • \n \n
\n

Section 2 Scope.

\n\n
    \n \n
  • \n a.\n License grant.\n \n
      \n \n
    • \n 1.\n Subject to the terms and conditions of this Public License, the Licensor hereby grants\n You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license\n to exercise the Licensed Rights in the Licensed Material to:\n \n
        \n \n
      • \n A.\n reproduce and Share the Licensed Material, in whole or in part; and\n
      • \n \n
      • \n B.\n produce, reproduce, and Share Adapted Material.\n
      • \n \n
      \n
    • \n \n
    • \n 2.\n Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations\n apply to Your use, this Public License does not apply, and You do not need to comply\n with its terms and conditions.\n
    • \n \n
    • \n 3.\n Term. The term of this Public License is specified in Section 6(a).\n
    • \n \n
    • \n 4.\n Media and formats; technical modifications allowed. The Licensor authorizes You to\n exercise the Licensed Rights in all media and formats whether now known or hereafter\n created, and to make technical modifications necessary to do so. The Licensor waives\n and/or agrees not to assert any right or authority to forbid You from making technical\n modifications necessary to exercise the Licensed Rights, including technical\n modifications necessary to circumvent Effective Technological Measures. For purposes\n of this Public License, simply making modifications authorized by this Section 2(a)(4)\n never produces Adapted Material.\n
    • \n \n
    • \n 5.\n Downstream recipients.\n \n
        \n \n
      • \n A.\n Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material\n automatically receives an offer from the Licensor to exercise the Licensed Rights\n under the terms and conditions of this Public License.\n
      • \n \n
      • \n B.\n No downstream restrictions. You may not offer or impose any additional or different\n terms or conditions on, or apply any Effective Technological Measures to, the\n Licensed Material if doing so restricts exercise of the Licensed Rights by any\n recipient of the Licensed Material.\n
      • \n \n
      \n
    • \n \n
    • \n 6.\n No endorsement. Nothing in this Public License constitutes or may be construed as\n permission to assert or imply that You are, or that Your use of the Licensed Material\n is, connected with, or sponsored, endorsed, or granted official status by, the\n Licensor or others designated to receive attribution as provided in Section\n 3(a)(1)(A)(i).\n
    • \n \n
    \n
  • \n \n
  • \n b.\n Other rights.\n \n
      \n \n
    • \n 1.\n Moral rights, such as the right of integrity, are not licensed under this Public License,\n nor are publicity, privacy, and/or other similar personality rights; however, to the\n extent possible, the Licensor waives and/or agrees not to assert any such rights held\n by the Licensor to the limited extent necessary to allow You to exercise the Licensed\n Rights, but not otherwise.\n
    • \n \n
    • \n 2.\n Patent and trademark rights are not licensed under this Public License.\n
    • \n \n
    • \n 3.\n To the extent possible, the Licensor waives any right to collect royalties from You for\n the exercise of the Licensed Rights, whether directly or through a collecting society\n under any voluntary or waivable statutory or compulsory licensing scheme. In all other\n cases the Licensor expressly reserves any right to collect such royalties.\n
    • \n \n
    \n
  • \n \n
\n

Section 3 License Conditions.

\n\n

Your exercise of the Licensed Rights is expressly made subject to the following conditions.

\n\n
    \n \n
  • \n a.\n Attribution.\n \n
      \n \n
    • \n 1.\n If You Share the Licensed Material (including in modified form), You must:\n \n
        \n \n
      • \n A.\n retain the following if it is supplied by the Licensor with the Licensed Material:\n \n
          \n \n
        • \n i.\n identification of the creator(s) of the Licensed Material and any others\n designated to receive attribution, in any reasonable manner requested by\n the Licensor (including by pseudonym if designated);\n
        • \n \n
        • \n ii.\n a copyright notice;\n
        • \n \n
        • \n iii.\n a notice that refers to this Public License;\n
        • \n \n
        • \n iv.\n a notice that refers to the disclaimer of warranties;\n
        • \n \n
        • \n v.\n a URI or hyperlink to the Licensed Material to the extent reasonably practicable;\n
        • \n \n
        \n
      • \n \n
      • \n B.\n indicate if You modified the Licensed Material and retain an indication of any\n previous modifications; and\n
      • \n \n
      • \n C.\n indicate the Licensed Material is licensed under this Public License, and include the\n text of, or the URI or hyperlink to, this Public License.\n
      • \n \n
      \n
    • \n \n
    • \n 2.\n You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the\n medium, means, and context in which You Share the Licensed Material. For example, it\n may be reasonable to satisfy the conditions by providing a URI or hyperlink to a\n resource that includes the required information.\n
    • \n \n
    • \n 3.\n If requested by the Licensor, You must remove any of the information required by Section\n 3(a)(1)(A) to the extent reasonably practicable.\n
    • \n \n
    • \n 4.\n If You Share Adapted Material You produce, the Adapter's License You apply must not\n prevent recipients of the Adapted Material from complying with this Public\n License.\n
    • \n \n
    \n
  • \n \n
\n

Section 4 Sui Generis Database Rights.

\n\n

Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of\n the Licensed Material:

\n\n
    \n \n
  • \n a.\n for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse,\n reproduce, and Share all or a substantial portion of the contents of the database;\n
  • \n \n
  • \n b.\n if You include all or a substantial portion of the database contents in a database in which\n You have Sui Generis Database Rights, then the database in which You have Sui Generis\n Database Rights (but not its individual contents) is Adapted Material; and\n
  • \n \n
  • \n c.\n You must comply with the conditions in Section 3(a) if You Share all or a substantial portion\n of the contents of the database.\n
  • \n \n
\n

For the avoidance of doubt, this Section 4 supplements and does not replace Your\n obligations under this Public License where the Licensed Rights include other\n Copyright and Similar Rights.\n

\n\n

Section 5 Disclaimer of Warranties and Limitation of Liability.

\n\n
    \n \n
  • \n a.\n Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor\n offers the Licensed Material as-is and as-available, and makes no representations or\n warranties of any kind concerning the Licensed Material, whether express, implied,\n statutory, or other. This includes, without limitation, warranties of title,\n merchantability, fitness for a particular purpose, non-infringement, absence of latent or\n other defects, accuracy, or the presence or absence of errors, whether or not known or\n discoverable. Where disclaimers of warranties are not allowed in full or in part, this\n disclaimer may not apply to You.\n
  • \n \n
  • \n b.\n To the extent possible, in no event will the Licensor be liable to You on any legal theory\n (including, without limitation, negligence) or otherwise for any direct, special,\n indirect, incidental, consequential, punitive, exemplary, or other losses, costs,\n expenses, or damages arising out of this Public License or use of the Licensed Material,\n even if the Licensor has been advised of the possibility of such losses, costs, expenses,\n or damages. Where a limitation of liability is not allowed in full or in part, this\n limitation may not apply to You.\n
  • \n \n
  • \n c.\n The disclaimer of warranties and limitation of liability provided above shall be interpreted\n in a manner that, to the extent possible, most closely approximates an absolute disclaimer\n and waiver of all liability.\n
  • \n \n
\n

Section 6 Term and Termination.

\n\n
    \n \n
  • \n a.\n This Public License applies for the term of the Copyright and Similar Rights licensed here.\n However, if You fail to comply with this Public License, then Your rights under this\n Public License terminate automatically.\n
  • \n \n
  • \n b.\n Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:\n \n
      \n \n
    • \n 1.\n automatically as of the date the violation is cured, provided it is cured within 30 days\n of Your discovery of the violation; or\n
    • \n \n
    • \n 2.\n upon express reinstatement by the Licensor.\n
    • \n \n
    \n
  • \n \n
  • \n c.\n For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have\n to seek remedies for Your violations of this Public License.\n
  • \n \n
  • \n d.\n For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate\n terms or conditions or stop distributing the Licensed Material at any time; however, doing\n so will not terminate this Public License.\n
  • \n \n
  • \n e.\n Sections 1, 5, 6, 7, and 8 survive termination of this Public License.\n
  • \n \n
\n

Section 7 Other Terms and Conditions.

\n\n
    \n \n
  • \n a.\n The Licensor shall not be bound by any additional or different terms or conditions\n communicated by You unless expressly agreed.\n
  • \n \n
  • \n b.\n Any arrangements, understandings, or agreements regarding the Licensed Material not stated\n herein are separate from and independent of the terms and conditions of this Public\n License.\n
  • \n \n
\n

Section 8 Interpretation.

\n\n
    \n \n
  • \n a.\n For the avoidance of doubt, this Public License does not, and shall not be interpreted to,\n reduce, limit, restrict, or impose conditions on any use of the Licensed Material that\n could lawfully be made without permission under this Public License.\n
  • \n \n
  • \n b.\n To the extent possible, if any provision of this Public License is deemed unenforceable, it\n shall be automatically reformed to the minimum extent necessary to make it enforceable. If\n the provision cannot be reformed, it shall be severed from this Public License without\n affecting the enforceability of the remaining terms and conditions.\n
  • \n \n
  • \n c.\n No term or condition of this Public License will be waived and no failure to comply consented\n to unless expressly agreed to by the Licensor.\n
  • \n \n
  • \n d.\n Nothing in this Public License constitutes or may be interpreted as a limitation upon, or\n waiver of, any privileges and immunities that apply to the Licensor or You, including from\n the legal processes of any jurisdiction or authority.\n
  • \n \n
\n
\n

Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to\n apply one of its public licenses to material it publishes and in those instances will be considered\n the "Licensor." The text of the Creative Commons public licenses is dedicated to the public\n domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative\n Commons public license or as otherwise permitted by the Creative Commons policies published at\n creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative\n Commons" or any other trademark or logo of Creative Commons without its prior written consent\n including, without limitation, in connection with any unauthorized modifications to any of its public\n licenses or any other arrangements, understandings, or agreements concerning use of licensed material.\n For the avoidance of doubt, this paragraph does not form part of the public licenses.

\n\n

Creative Commons may be contacted at creativecommons.org.

\n\n
\n ', + standardLicenseHeaderTemplate: undefined, + licenseComments: undefined, + comment: undefined, + standardLicenseHeader: undefined, + standardLicenseHeaderHtml: undefined, + }, + categorized: true, + permissions: [ + 'commercial-use', + 'modifications', + 'distribution', + 'private-use', + ], + conditions: ['include-copyright', 'document-changes'], + limitations: ['liability', 'trademark-use', 'patent-use', 'warranty'], + }, + { + spdx: { + isDeprecatedLicenseId: false, + isFsfLibre: true, + licenseText: + 'Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\n\n"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\n\n"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\n\n"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\n\n"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.\n\n"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\n\n"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\n\n"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\n\n"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\n\n"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\n\n (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and\n\n (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.\n\n You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don\'t include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n', + standardLicenseHeaderTemplate: + 'Copyright <>\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n', + standardLicenseTemplate: + '<>Apache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n\n<><> TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n<>\n <> Definitions.\n \n "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\n\n "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\n\n "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\n\n "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\n\n "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.\n\n "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\n\n "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\n\n "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\n\n "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\n\n "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\n\n <> Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\n <> Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\n <> Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\n <> You must give any other recipients of the Work or Derivative Works a copy of this License; and\n <> You must cause any modified files to carry prominent notices stating that You changed the files; and\n <> You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and\n <> If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.\n You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\n\n <> Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\n <> Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\n <> Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\n <> Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\n <> Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.<> END OF TERMS AND CONDITIONS\n\n<><> APPENDIX: How to apply the Apache License to your work.\n\nTo apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don\'t include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\n\nCopyright <>\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n<>', + name: 'Apache License 2.0', + licenseComments: 'This license was released January 2004', + comment: 'This license was released January 2004', + licenseId: 'Apache-2.0', + standardLicenseHeader: + 'Copyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n', + crossRef: [ + { + match: 'true', + url: 'https://www.apache.org/licenses/LICENSE-2.0', + isValid: true, + isLive: true, + timestamp: '2025-05-29T15:15:58Z', + isWayBackLink: false, + order: 0, + }, + { + match: 'true', + url: 'https://opensource.org/license/apache-2-0', + isValid: true, + isLive: true, + timestamp: '2025-05-29T15:15:58Z', + isWayBackLink: false, + order: 2, + }, + { + match: 'N/A', + url: 'https://opensource.org/licenses/Apache-2.0', + isValid: true, + isLive: true, + timestamp: '2025-05-29T15:15:58Z', + isWayBackLink: false, + order: 1, + }, + ], + seeAlso: [ + 'https://www.apache.org/licenses/LICENSE-2.0', + 'https://opensource.org/licenses/Apache-2.0', + 'https://opensource.org/license/apache-2-0', + ], + isOsiApproved: true, + licenseTextHtml: + '\n
\n

Apache License\n
\nVersion 2.0, January 2004\n
\nhttp://www.apache.org/licenses/\n

\n\n
\n
\n

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

\n\n
\n\n
    \n \n
  • \n 1.\n Definitions.\n \n
      \n \n
    • \n

      "License" shall mean the terms and conditions for use, reproduction, and distribution\n as defined by Sections 1 through 9 of this document.

      \n\n
    • \n \n
    • \n

      "Licensor" shall mean the copyright owner or entity authorized by the copyright owner\n that is granting the License.

      \n\n
    • \n \n
    • \n

      "Legal Entity" shall mean the union of the acting entity and all other entities that\n control, are controlled by, or are under common control with that entity. For the purposes of\n this definition, "control" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or otherwise, or (ii) ownership of\n fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such\n entity.

      \n\n
    • \n \n
    • \n

      "You" (or "Your") shall mean an individual or Legal Entity exercising\n permissions granted by this License.

      \n\n
    • \n \n
    • \n

      "Source" form shall mean the preferred form for making modifications, including but not\n limited to software source code, documentation source, and configuration files.

      \n\n
    • \n \n
    • \n

      "Object" form shall mean any form resulting from mechanical transformation or\n translation of a Source form, including but not limited to compiled object code, generated\n documentation, and conversions to other media types.

      \n\n
    • \n \n
    • \n

      "Work" shall mean the work of authorship, whether in Source or Object form, made\n available under the License, as indicated by a copyright notice that is included in or\n attached to the work (an example is provided in the Appendix below).

      \n\n
    • \n \n
    • \n

      "Derivative Works" shall mean any work, whether in Source or Object form, that is based\n on (or derived from) the Work and for which the editorial revisions, annotations,\n elaborations, or other modifications represent, as a whole, an original work of authorship.\n For the purposes of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative\n Works thereof.

      \n\n
    • \n \n
    • \n

      "Contribution" shall mean any work of authorship, including the original version of the\n Work and any modifications or additions to that Work or Derivative Works thereof, that is\n intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an\n individual or Legal Entity authorized to submit on behalf of the copyright owner. For the\n purposes of this definition, "submitted" means any form of electronic, verbal, or\n written communication sent to the Licensor or its representatives, including but not limited\n to communication on electronic mailing lists, source code control systems, and issue tracking\n systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and\n improving the Work, but excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as "Not a Contribution."

      \n\n
    • \n \n
    • \n

      "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom\n a Contribution has been received by Licensor and subsequently incorporated within the\n Work.

      \n\n
    • \n \n
    \n
  • \n \n
  • \n 2.\n Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor\n hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,\n irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display,\n publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or\n Object form.\n
  • \n \n
  • \n 3.\n Grant of Patent License. Subject to the terms and conditions of this License, each Contributor\n hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,\n irrevocable (except as stated in this section) patent license to make, have made, use, offer\n to sell, sell, import, and otherwise transfer the Work, where such license applies only to\n those patent claims licensable by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s) with the Work to which such\n Contribution(s) was submitted. If You institute patent litigation against any entity\n (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a\n Contribution incorporated within the Work constitutes direct or contributory patent\n infringement, then any patent licenses granted to You under this License for that Work shall\n terminate as of the date such litigation is filed.\n
  • \n \n
  • \n 4.\n Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof\n in any medium, with or without modifications, and in Source or Object form, provided that You\n meet the following conditions:\n \n
      \n \n
    • \n (a)\n You must give any other recipients of the Work or Derivative Works a copy of this License; and\n
    • \n \n
    • \n (b)\n You must cause any modified files to carry prominent notices stating that You changed the files; and\n
    • \n \n
    • \n (c)\n You must retain, in the Source form of any Derivative Works that You distribute, all\n copyright, patent, trademark, and attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of the Derivative Works; and\n
    • \n \n
    • \n (d)\n If the Work includes a "NOTICE" text file as part of its distribution, then any\n Derivative Works that You distribute must include a readable copy of the attribution\n notices contained within such NOTICE file, excluding those notices that do not pertain to\n any part of the Derivative Works, in at least one of the following places: within a NOTICE\n text file distributed as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or, within a display generated\n by the Derivative Works, if and wherever such third-party notices normally appear. The\n contents of the NOTICE file are for informational purposes only and do not modify the\n License. You may add Your own attribution notices within Derivative Works that You\n distribute, alongside or as an addendum to the NOTICE text from the Work, provided that\n such additional attribution notices cannot be construed as modifying the License.\n
    • \n \n
    \n

    You may add Your own copyright statement to Your modifications and may provide additional or\n different license terms and conditions for use, reproduction, or distribution of Your\n modifications, or for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with the conditions stated\n in this License.

    \n\n
  • \n \n
  • \n 5.\n Submission of Contributions. Unless You explicitly state otherwise, any Contribution\n intentionally submitted for inclusion in the Work by You to the Licensor shall be under the\n terms and conditions of this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate\n license agreement you may have executed with Licensor regarding such Contributions.\n
  • \n \n
  • \n 6.\n Trademarks. This License does not grant permission to use the trade names, trademarks, service\n marks, or product names of the Licensor, except as required for reasonable and customary use\n in describing the origin of the Work and reproducing the content of the NOTICE file.\n
  • \n \n
  • \n 7.\n Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor\n provides the Work (and each Contributor provides its Contributions) on an "AS IS"\n BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,\n without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY,\n or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any risks associated with Your\n exercise of permissions under this License.\n
  • \n \n
  • \n 8.\n Limitation of Liability. In no event and under no legal theory, whether in tort (including\n negligence), contract, or otherwise, unless required by applicable law (such as deliberate and\n grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for\n damages, including any direct, indirect, special, incidental, or consequential damages of any\n character arising as a result of this License or out of the use or inability to use the Work\n (including but not limited to damages for loss of goodwill, work stoppage, computer failure or\n malfunction, or any and all other commercial damages or losses), even if such Contributor has\n been advised of the possibility of such damages.\n
  • \n \n
  • \n 9.\n Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works\n thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty,\n indemnity, or other liability obligations and/or rights consistent with this License. However,\n in accepting such obligations, You may act only on Your own behalf and on Your sole\n responsibility, not on behalf of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability incurred by, or claims asserted\n against, such Contributor by reason of your accepting any such warranty or additional\n liability.\n
  • \n \n
\n\n
\n

END OF TERMS AND CONDITIONS

\n\n
\n
\n

APPENDIX: How to apply the Apache License to your work.

\n\n

To apply the Apache License to your work, attach the following boilerplate notice, with the fields\n enclosed by brackets "[]" replaced with your own identifying information. (Don't\n include the brackets!) The text should be enclosed in the appropriate comment syntax for the file\n format. We also recommend that a file or class name and description of purpose be included on the same\n "printed page" as the copyright notice for easier identification within third-party\n archives.

\n\n

Copyright [yyyy] [name of copyright owner]

\n\n

Licensed under the Apache License, Version 2.0 (the "License");\n
\nyou may not use this file except in compliance with the License.\n
\nYou may obtain a copy of the License at\n

\n\n

http://www.apache.org/licenses/LICENSE-2.0

\n\n

Unless required by applicable law or agreed to in writing, software\n
\ndistributed under the License is distributed on an "AS IS" BASIS,\n
\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n
\nSee the License for the specific language governing permissions and\n
\nlimitations under the License.\n

\n\n
\n ', + standardLicenseHeaderHtml: + '\n

Copyright [yyyy] [name of copyright owner]

\n\n

Licensed under the Apache License, Version 2.0 (the "License");\n
\nyou may not use this file except in compliance with the License.\n
\nYou may obtain a copy of the License at\n

\n\n

http://www.apache.org/licenses/LICENSE-2.0

\n\n

Unless required by applicable law or agreed to in writing, software\n
\ndistributed under the License is distributed on an "AS IS" BASIS,\n
\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n
\nSee the License for the specific language governing permissions and\n
\nlimitations under the License.\n

\n\n ', + }, + categorized: true, + permissions: [ + 'commercial-use', + 'modifications', + 'distribution', + 'patent-use', + 'private-use', + ], + conditions: ['include-copyright', 'document-changes'], + limitations: ['trademark-use', 'liability', 'warranty'], + }, + { + spdx: { + isDeprecatedLicenseId: false, + isFsfLibre: true, + licenseText: "## Open Data Commons Open Database License (ODbL)\n\n### Preamble\n\nThe Open Database License (ODbL) is a license agreement intended to\nallow users to freely share, modify, and use this Database while\nmaintaining this same freedom for others. Many databases are covered by\ncopyright, and therefore this document licenses these rights. Some\njurisdictions, mainly in the European Union, have specific rights that\ncover databases, and so the ODbL addresses these rights, too. Finally,\nthe ODbL is also an agreement in contract for users of this Database to\nact in certain ways in return for accessing this Database.\n\nDatabases can contain a wide variety of types of content (images,\naudiovisual material, and sounds all in the same database, for example),\nand so the ODbL only governs the rights over the Database, and not the\ncontents of the Database individually. Licensors should use the ODbL\ntogether with another license for the contents, if the contents have a\nsingle set of rights that uniformly covers all of the contents. If the\ncontents have multiple sets of different rights, Licensors should\ndescribe what rights govern what contents together in the individual\nrecord or in some other way that clarifies what rights apply.\n\nSometimes the contents of a database, or the database itself, can be\ncovered by other rights not addressed here (such as private contracts,\ntrade mark over the name, or privacy rights / data protection rights\nover information in the contents), and so you are advised that you may\nhave to consult other documents or clear other rights before doing\nactivities not covered by this License.\n\n------\n\nThe Licensor (as defined below)\n\nand\n\nYou (as defined below)\n\nagree as follows:\n\n### 1.0 Definitions of Capitalised Words\n\n\"Collective Database\" – Means this Database in unmodified form as part\nof a collection of independent databases in themselves that together are\nassembled into a collective whole. A work that constitutes a Collective\nDatabase will not be considered a Derivative Database.\n\n\"Convey\" – As a verb, means Using the Database, a Derivative Database,\nor the Database as part of a Collective Database in any way that enables\na Person to make or receive copies of the Database or a Derivative\nDatabase. Conveying does not include interaction with a user through a\ncomputer network, or creating and Using a Produced Work, where no\ntransfer of a copy of the Database or a Derivative Database occurs.\n\"Contents\" – The contents of this Database, which includes the\ninformation, independent works, or other material collected into the\nDatabase. For example, the contents of the Database could be factual\ndata or works such as images, audiovisual material, text, or sounds.\n\n\"Database\" – A collection of material (the Contents) arranged in a\nsystematic or methodical way and individually accessible by electronic\nor other means offered under the terms of this License.\n\n\"Database Directive\" – Means Directive 96/9/EC of the European\nParliament and of the Council of 11 March 1996 on the legal protection\nof databases, as amended or succeeded.\n\n\"Database Right\" – Means rights resulting from the Chapter III (\"sui\ngeneris\") rights in the Database Directive (as amended and as transposed\nby member states), which includes the Extraction and Re-utilisation of\nthe whole or a Substantial part of the Contents, as well as any similar\nrights available in the relevant jurisdiction under Section 10.4.\n\n\"Derivative Database\" – Means a database based upon the Database, and\nincludes any translation, adaptation, arrangement, modification, or any\nother alteration of the Database or of a Substantial part of the\nContents. This includes, but is not limited to, Extracting or\nRe-utilising the whole or a Substantial part of the Contents in a new\nDatabase.\n\n\"Extraction\" – Means the permanent or temporary transfer of all or a\nSubstantial part of the Contents to another medium by any means or in\nany form.\n\n\"License\" – Means this license agreement and is both a license of rights\nsuch as copyright and Database Rights and an agreement in contract.\n\n\"Licensor\" – Means the Person that offers the Database under the terms\nof this License.\n\n\"Person\" – Means a natural or legal person or a body of persons\ncorporate or incorporate.\n\n\"Produced Work\" – a work (such as an image, audiovisual material, text,\nor sounds) resulting from using the whole or a Substantial part of the\nContents (via a search or other query) from this Database, a Derivative\nDatabase, or this Database as part of a Collective Database.\n\n\"Publicly\" – means to Persons other than You or under Your control by\neither more than 50% ownership or by the power to direct their\nactivities (such as contracting with an independent consultant).\n\n\"Re-utilisation\" – means any form of making available to the public all\nor a Substantial part of the Contents by the distribution of copies, by\nrenting, by online or other forms of transmission.\n\n\"Substantial\" – Means substantial in terms of quantity or quality or a\ncombination of both. The repeated and systematic Extraction or\nRe-utilisation of insubstantial parts of the Contents may amount to the\nExtraction or Re-utilisation of a Substantial part of the Contents.\n\n\"Use\" – As a verb, means doing any act that is restricted by copyright\nor Database Rights whether in the original medium or any other; and\nincludes without limitation distributing, copying, publicly performing,\npublicly displaying, and preparing derivative works of the Database, as\nwell as modifying the Database as may be technically necessary to use it\nin a different mode or format.\n\n\"You\" – Means a Person exercising rights under this License who has not\npreviously violated the terms of this License with respect to the\nDatabase, or who has received express permission from the Licensor to\nexercise rights under this License despite a previous violation.\n\nWords in the singular include the plural and vice versa.\n\n### 2.0 What this License covers\n\n2.1. Legal effect of this document. This License is:\n\n a. A license of applicable copyright and neighbouring rights;\n\n b. A license of the Database Right; and\n\n c. An agreement in contract between You and the Licensor.\n\n2.2 Legal rights covered. This License covers the legal rights in the\nDatabase, including:\n\n a. Copyright. Any copyright or neighbouring rights in the Database.\n The copyright licensed includes any individual elements of the\n Database, but does not cover the copyright over the Contents\n independent of this Database. See Section 2.4 for details. Copyright\n law varies between jurisdictions, but is likely to cover: the Database\n model or schema, which is the structure, arrangement, and organisation\n of the Database, and can also include the Database tables and table\n indexes; the data entry and output sheets; and the Field names of\n Contents stored in the Database;\n\n b. Database Rights. Database Rights only extend to the Extraction and\n Re-utilisation of the whole or a Substantial part of the Contents.\n Database Rights can apply even when there is no copyright over the\n Database. Database Rights can also apply when the Contents are removed\n from the Database and are selected and arranged in a way that would\n not infringe any applicable copyright; and\n\n c. Contract. This is an agreement between You and the Licensor for\n access to the Database. In return you agree to certain conditions of\n use on this access as outlined in this License.\n\n2.3 Rights not covered.\n\n a. This License does not apply to computer programs used in the making\n or operation of the Database;\n\n b. This License does not cover any patents over the Contents or the\n Database; and\n\n c. This License does not cover any trademarks associated with the\n Database.\n\n2.4 Relationship to Contents in the Database. The individual items of\nthe Contents contained in this Database may be covered by other rights,\nincluding copyright, patent, data protection, privacy, or personality\nrights, and this License does not cover any rights (other than Database\nRights or in contract) in individual Contents contained in the Database.\nFor example, if used on a Database of images (the Contents), this\nLicense would not apply to copyright over individual images, which could\nhave their own separate licenses, or one single license covering all of\nthe rights over the images.\n\n### 3.0 Rights granted\n\n3.1 Subject to the terms and conditions of this License, the Licensor\ngrants to You a worldwide, royalty-free, non-exclusive, terminable (but\nonly under Section 9) license to Use the Database for the duration of\nany applicable copyright and Database Rights. These rights explicitly\ninclude commercial use, and do not exclude any field of endeavour. To\nthe extent possible in the relevant jurisdiction, these rights may be\nexercised in all media and formats whether now known or created in the\nfuture.\n\nThe rights granted cover, for example:\n\n a. Extraction and Re-utilisation of the whole or a Substantial part of\n the Contents;\n\n b. Creation of Derivative Databases;\n\n c. Creation of Collective Databases;\n\n d. Creation of temporary or permanent reproductions by any means and\n in any form, in whole or in part, including of any Derivative\n Databases or as a part of Collective Databases; and\n\n e. Distribution, communication, display, lending, making available, or\n performance to the public by any means and in any form, in whole or in\n part, including of any Derivative Database or as a part of Collective\n Databases.\n\n3.2 Compulsory license schemes. For the avoidance of doubt:\n\n a. Non-waivable compulsory license schemes. In those jurisdictions in\n which the right to collect royalties through any statutory or\n compulsory licensing scheme cannot be waived, the Licensor reserves\n the exclusive right to collect such royalties for any exercise by You\n of the rights granted under this License;\n\n b. Waivable compulsory license schemes. In those jurisdictions in\n which the right to collect royalties through any statutory or\n compulsory licensing scheme can be waived, the Licensor waives the\n exclusive right to collect such royalties for any exercise by You of\n the rights granted under this License; and,\n\n c. Voluntary license schemes. The Licensor waives the right to collect\n royalties, whether individually or, in the event that the Licensor is\n a member of a collecting society that administers voluntary licensing\n schemes, via that society, from any exercise by You of the rights\n granted under this License.\n\n3.3 The right to release the Database under different terms, or to stop\ndistributing or making available the Database, is reserved. Note that\nthis Database may be multiple-licensed, and so You may have the choice\nof using alternative licenses for this Database. Subject to Section\n10.4, all other rights not expressly granted by Licensor are reserved.\n\n### 4.0 Conditions of Use\n\n4.1 The rights granted in Section 3 above are expressly made subject to\nYour complying with the following conditions of use. These are important\nconditions of this License, and if You fail to follow them, You will be\nin material breach of its terms.\n\n4.2 Notices. If You Publicly Convey this Database, any Derivative\nDatabase, or the Database as part of a Collective Database, then You\nmust:\n\n a. Do so only under the terms of this License or another license\n permitted under Section 4.4;\n\n b. Include a copy of this License (or, as applicable, a license\n permitted under Section 4.4) or its Uniform Resource Identifier (URI)\n with the Database or Derivative Database, including both in the\n Database or Derivative Database and in any relevant documentation; and\n\n c. Keep intact any copyright or Database Right notices and notices\n that refer to this License.\n\n d. If it is not possible to put the required notices in a particular\n file due to its structure, then You must include the notices in a\n location (such as a relevant directory) where users would be likely to\n look for it.\n\n4.3 Notice for using output (Contents). Creating and Using a Produced\nWork does not require the notice in Section 4.2. However, if you\nPublicly Use a Produced Work, You must include a notice associated with\nthe Produced Work reasonably calculated to make any Person that uses,\nviews, accesses, interacts with, or is otherwise exposed to the Produced\nWork aware that Content was obtained from the Database, Derivative\nDatabase, or the Database as part of a Collective Database, and that it\nis available under this License.\n\n a. Example notice. The following text will satisfy notice under\n Section 4.3:\n\n Contains information from DATABASE NAME, which is made available\n here under the Open Database License (ODbL).\n\nDATABASE NAME should be replaced with the name of the Database and a\nhyperlink to the URI of the Database. \"Open Database License\" should\ncontain a hyperlink to the URI of the text of this License. If\nhyperlinks are not possible, You should include the plain text of the\nrequired URI's with the above notice.\n\n4.4 Share alike.\n\n a. Any Derivative Database that You Publicly Use must be only under\n the terms of:\n\n i. This License;\n\n ii. A later version of this License similar in spirit to this\n License; or\n\n iii. A compatible license.\n\n If You license the Derivative Database under one of the licenses\n mentioned in (iii), You must comply with the terms of that license.\n\n b. For the avoidance of doubt, Extraction or Re-utilisation of the\n whole or a Substantial part of the Contents into a new database is a\n Derivative Database and must comply with Section 4.4.\n\n c. Derivative Databases and Produced Works. A Derivative Database is\n Publicly Used and so must comply with Section 4.4. if a Produced Work\n created from the Derivative Database is Publicly Used.\n\n d. Share Alike and additional Contents. For the avoidance of doubt,\n You must not add Contents to Derivative Databases under Section 4.4 a\n that are incompatible with the rights granted under this License.\n\n e. Compatible licenses. Licensors may authorise a proxy to determine\n compatible licenses under Section 4.4 a iii. If they do so, the\n authorised proxy's public statement of acceptance of a compatible\n license grants You permission to use the compatible license.\n\n\n4.5 Limits of Share Alike. The requirements of Section 4.4 do not apply\nin the following:\n\n a. For the avoidance of doubt, You are not required to license\n Collective Databases under this License if You incorporate this\n Database or a Derivative Database in the collection, but this License\n still applies to this Database or a Derivative Database as a part of\n the Collective Database;\n\n b. Using this Database, a Derivative Database, or this Database as\n part of a Collective Database to create a Produced Work does not\n create a Derivative Database for purposes of Section 4.4; and\n\n c. Use of a Derivative Database internally within an organisation is\n not to the public and therefore does not fall under the requirements\n of Section 4.4.\n\n4.6 Access to Derivative Databases. If You Publicly Use a Derivative\nDatabase or a Produced Work from a Derivative Database, You must also\noffer to recipients of the Derivative Database or Produced Work a copy\nin a machine readable form of:\n\n a. The entire Derivative Database; or\n\n b. A file containing all of the alterations made to the Database or\n the method of making the alterations to the Database (such as an\n algorithm), including any additional Contents, that make up all the\n differences between the Database and the Derivative Database.\n\nThe Derivative Database (under a.) or alteration file (under b.) must be\navailable at no more than a reasonable production cost for physical\ndistributions and free of charge if distributed over the internet.\n\n4.7 Technological measures and additional terms\n\n a. This License does not allow You to impose (except subject to\n Section 4.7 b.) any terms or any technological measures on the\n Database, a Derivative Database, or the whole or a Substantial part of\n the Contents that alter or restrict the terms of this License, or any\n rights granted under it, or have the effect or intent of restricting\n the ability of any person to exercise those rights.\n\n b. Parallel distribution. You may impose terms or technological\n measures on the Database, a Derivative Database, or the whole or a\n Substantial part of the Contents (a \"Restricted Database\") in\n contravention of Section 4.74 a. only if You also make a copy of the\n Database or a Derivative Database available to the recipient of the\n Restricted Database:\n\n i. That is available without additional fee;\n\n ii. That is available in a medium that does not alter or restrict\n the terms of this License, or any rights granted under it, or have\n the effect or intent of restricting the ability of any person to\n exercise those rights (an \"Unrestricted Database\"); and\n\n iii. The Unrestricted Database is at least as accessible to the\n recipient as a practical matter as the Restricted Database.\n\n c. For the avoidance of doubt, You may place this Database or a\n Derivative Database in an authenticated environment, behind a\n password, or within a similar access control scheme provided that You\n do not alter or restrict the terms of this License or any rights\n granted under it or have the effect or intent of restricting the\n ability of any person to exercise those rights.\n\n4.8 Licensing of others. You may not sublicense the Database. Each time\nYou communicate the Database, the whole or Substantial part of the\nContents, or any Derivative Database to anyone else in any way, the\nLicensor offers to the recipient a license to the Database on the same\nterms and conditions as this License. You are not responsible for\nenforcing compliance by third parties with this License, but You may\nenforce any rights that You have over a Derivative Database. You are\nsolely responsible for any modifications of a Derivative Database made\nby You or another Person at Your direction. You may not impose any\nfurther restrictions on the exercise of the rights granted or affirmed\nunder this License.\n\n### 5.0 Moral rights\n\n5.1 Moral rights. This section covers moral rights, including any rights\nto be identified as the author of the Database or to object to treatment\nthat would otherwise prejudice the author's honour and reputation, or\nany other derogatory treatment:\n\n a. For jurisdictions allowing waiver of moral rights, Licensor waives\n all moral rights that Licensor may have in the Database to the fullest\n extent possible by the law of the relevant jurisdiction under Section\n 10.4;\n\n b. If waiver of moral rights under Section 5.1 a in the relevant\n jurisdiction is not possible, Licensor agrees not to assert any moral\n rights over the Database and waives all claims in moral rights to the\n fullest extent possible by the law of the relevant jurisdiction under\n Section 10.4; and\n\n c. For jurisdictions not allowing waiver or an agreement not to assert\n moral rights under Section 5.1 a and b, the author may retain their\n moral rights over certain aspects of the Database.\n\nPlease note that some jurisdictions do not allow for the waiver of moral\nrights, and so moral rights may still subsist over the Database in some\njurisdictions.\n\n### 6.0 Fair dealing, Database exceptions, and other rights not affected\n\n6.1 This License does not affect any rights that You or anyone else may\nindependently have under any applicable law to make any use of this\nDatabase, including without limitation:\n\n a. Exceptions to the Database Right including: Extraction of Contents\n from non-electronic Databases for private purposes, Extraction for\n purposes of illustration for teaching or scientific research, and\n Extraction or Re-utilisation for public security or an administrative\n or judicial procedure.\n\n b. Fair dealing, fair use, or any other legally recognised limitation\n or exception to infringement of copyright or other applicable laws.\n\n6.2 This License does not affect any rights of lawful users to Extract\nand Re-utilise insubstantial parts of the Contents, evaluated\nquantitatively or qualitatively, for any purposes whatsoever, including\ncreating a Derivative Database (subject to other rights over the\nContents, see Section 2.4). The repeated and systematic Extraction or\nRe-utilisation of insubstantial parts of the Contents may however amount\nto the Extraction or Re-utilisation of a Substantial part of the\nContents.\n\n### 7.0 Warranties and Disclaimer\n\n7.1 The Database is licensed by the Licensor \"as is\" and without any\nwarranty of any kind, either express, implied, or arising by statute,\ncustom, course of dealing, or trade usage. Licensor specifically\ndisclaims any and all implied warranties or conditions of title,\nnon-infringement, accuracy or completeness, the presence or absence of\nerrors, fitness for a particular purpose, merchantability, or otherwise.\nSome jurisdictions do not allow the exclusion of implied warranties, so\nthis exclusion may not apply to You.\n\n### 8.0 Limitation of liability\n\n8.1 Subject to any liability that may not be excluded or limited by law,\nthe Licensor is not liable for, and expressly excludes, all liability\nfor loss or damage however and whenever caused to anyone by any use\nunder this License, whether by You or by anyone else, and whether caused\nby any fault on the part of the Licensor or not. This exclusion of\nliability includes, but is not limited to, any special, incidental,\nconsequential, punitive, or exemplary damages such as loss of revenue,\ndata, anticipated profits, and lost business. This exclusion applies\neven if the Licensor has been advised of the possibility of such\ndamages.\n\n8.2 If liability may not be excluded by law, it is limited to actual and\ndirect financial loss to the extent it is caused by proved negligence on\nthe part of the Licensor.\n\n### 9.0 Termination of Your rights under this License\n\n9.1 Any breach by You of the terms and conditions of this License\nautomatically terminates this License with immediate effect and without\nnotice to You. For the avoidance of doubt, Persons who have received the\nDatabase, the whole or a Substantial part of the Contents, Derivative\nDatabases, or the Database as part of a Collective Database from You\nunder this License will not have their licenses terminated provided\ntheir use is in full compliance with this License or a license granted\nunder Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will\nsurvive any termination of this License.\n\n9.2 If You are not in breach of the terms of this License, the Licensor\nwill not terminate Your rights under it.\n\n9.3 Unless terminated under Section 9.1, this License is granted to You\nfor the duration of applicable rights in the Database.\n\n9.4 Reinstatement of rights. If you cease any breach of the terms and\nconditions of this License, then your full rights under this License\nwill be reinstated:\n\n a. Provisionally and subject to permanent termination until the 60th\n day after cessation of breach;\n\n b. Permanently on the 60th day after cessation of breach unless\n otherwise reasonably notified by the Licensor; or\n\n c. Permanently if reasonably notified by the Licensor of the\n violation, this is the first time You have received notice of\n violation of this License from the Licensor, and You cure the\n violation prior to 30 days after your receipt of the notice.\n\nPersons subject to permanent termination of rights are not eligible to\nbe a recipient and receive a license under Section 4.8.\n\n9.5 Notwithstanding the above, Licensor reserves the right to release\nthe Database under different license terms or to stop distributing or\nmaking available the Database. Releasing the Database under different\nlicense terms or stopping the distribution of the Database will not\nwithdraw this License (or any other license that has been, or is\nrequired to be, granted under the terms of this License), and this\nLicense will continue in full force and effect unless terminated as\nstated above.\n\n### 10.0 General\n\n10.1 If any provision of this License is held to be invalid or\nunenforceable, that must not affect the validity or enforceability of\nthe remainder of the terms and conditions of this License and each\nremaining provision of this License shall be valid and enforced to the\nfullest extent permitted by law.\n\n10.2 This License is the entire agreement between the parties with\nrespect to the rights granted here over the Database. It replaces any\nearlier understandings, agreements or representations with respect to\nthe Database.\n\n10.3 If You are in breach of the terms of this License, You will not be\nentitled to rely on the terms of this License or to complain of any\nbreach by the Licensor.\n\n10.4 Choice of law. This License takes effect in and will be governed by\nthe laws of the relevant jurisdiction in which the License terms are\nsought to be enforced. If the standard suite of rights granted under\napplicable copyright law and Database Rights in the relevant\njurisdiction includes additional rights not granted under this License,\nthese additional rights are granted in this License in order to meet the\nterms of this License.\n", + standardLicenseTemplate: "<><>\nOpen Data Commons Open Database License (ODbL)\n\n<><> <>\nPreamble\n\nThe Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify, and use this Database while maintaining this same freedom for others. Many databases are covered by copyright, and therefore this document licenses these rights. Some jurisdictions, mainly in the European Union, have specific rights that cover databases, and so the ODbL addresses these rights, too. Finally, the ODbL is also an agreement in contract for users of this Database to act in certain ways in return for accessing this Database.\n\nDatabases can contain a wide variety of types of content (images, audiovisual material, and sounds all in the same database, for example), and so the ODbL only governs the rights over the Database, and not the contents of the Database individually. Licensors should use the ODbL together with another license for the contents, if the contents have a single set of rights that uniformly covers all of the contents. If the contents have multiple sets of different rights, Licensors should describe what rights govern what contents together in the individual record or in some other way that clarifies what rights apply.\n\nSometimes the contents of a database, or the database itself, can be covered by other rights not addressed here (such as private contracts, trade mark over the name, or privacy rights / data protection rights over information in the contents), and so you are advised that you may have to consult other documents or clear other rights before doing activities not covered by this License.\n\n------\n\n<>\nThe Licensor (as defined below)\n\nand\n\nYou (as defined below)\n\nagree as follows:\n\n <> Definitions of Capitalised Words\n \"Collective Database\" - Means this Database in unmodified form as part of a collection of independent databases in themselves that together are assembled into a collective whole. A work that constitutes a Collective Database will not be considered a Derivative Database.\n\n \"Convey\" - As a verb, means Using the Database, a Derivative Database, or the Database as part of a Collective Database in any way that enables a Person to make or receive copies of the Database or a Derivative Database. Conveying does not include interaction with a user through a computer network, or creating and Using a Produced Work, where no transfer of a copy of the Database or a Derivative Database occurs.\n\n \"Contents\" - The contents of this Database, which includes the information, independent works, or other material collected into the Database. For example, the contents of the Database could be factual data or works such as images, audiovisual material, text, or sounds.\n\n \"Database\" - A collection of material (the Contents) arranged in a systematic or methodical way and individually accessible by electronic or other means offered under the terms of this License.\n\n \"Database Directive\" - Means Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended or succeeded.\n\n \"Database Right\" - Means rights resulting from the Chapter III (\"sui generis\") rights in the Database Directive (as amended and as transposed by member states), which includes the Extraction and Re-utilisation of the whole or a Substantial part of the Contents, as well as any similar rights available in the relevant jurisdiction under Section 10.4.\n\n \"Derivative Database\" - Means a database based upon the Database, and includes any translation, adaptation, arrangement, modification, or any other alteration of the Database or of a Substantial part of the Contents. This includes, but is not limited to, Extracting or Re-utilising the whole or a Substantial part of the Contents in a new Database.\n\n \"Extraction\" - Means the permanent or temporary transfer of all or a Substantial part of the Contents to another medium by any means or in any form.\n\n \"License\" - Means this license agreement and is both a license of rights such as copyright and Database Rights and an agreement in contract.\n\n \"Licensor\" - Means the Person that offers the Database under the terms of this License.\n\n \"Person\" - Means a natural or legal person or a body of persons corporate or incorporate.\n\n \"Produced Work\" - a work (such as an image, audiovisual material, text, or sounds) resulting from using the whole or a Substantial part of the Contents (via a search or other query) from this Database, a Derivative Database, or this Database as part of a Collective Database.\n\n \"Publicly\" - means to Persons other than You or under Your control by either more than 50% ownership or by the power to direct their activities (such as contracting with an independent consultant).\n\n \"Re-utilisation\" - means any form of making available to the public all or a Substantial part of the Contents by the distribution of copies, by renting, by online or other forms of transmission.\n\n \"Substantial\" - Means substantial in terms of quantity or quality or a combination of both. The repeated and systematic Extraction or Re-utilisation of insubstantial parts of the Contents may amount to the Extraction or Re-utilisation of a Substantial part of the Contents.\n\n \"Use\" - As a verb, means doing any act that is restricted by copyright or Database Rights whether in the original medium or any other; and includes without limitation distributing, copying, publicly performing, publicly displaying, and preparing derivative works of the Database, as well as modifying the Database as may be technically necessary to use it in a different mode or format.\n\n \"You\" - Means a Person exercising rights under this License who has not previously violated the terms of this License with respect to the Database, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.\n\n Words in the singular include the plural and vice versa.\n\n <> What this License covers\n <> Legal effect of this document. This License is:\n <> A license of applicable copyright and neighbouring rights;\n <> A license of the Database Right; and\n <> An agreement in contract between You and the Licensor.\n <> Legal rights covered. This License covers the legal rights in the Database, including:\n <> Copyright. Any copyright or neighbouring rights in the Database. The copyright licensed includes any individual elements of the Database, but does not cover the copyright over the Contents independent of this Database. See Section 2.4 for details. Copyright law varies between jurisdictions, but is likely to cover: the Database model or schema, which is the structure, arrangement, and organisation of the Database, and can also include the Database tables and table indexes; the data entry and output sheets; and the Field names of Contents stored in the Database;\n <> Database Rights. Database Rights only extend to the Extraction and Re-utilisation of the whole or a Substantial part of the Contents. Database Rights can apply even when there is no copyright over the Database. Database Rights can also apply when the Contents are removed from the Database and are selected and arranged in a way that would not infringe any applicable copyright; and\n <> Contract. This is an agreement between You and the Licensor for access to the Database. In return you agree to certain conditions of use on this access as outlined in this License.\n <> Rights not covered.\n <> This License does not apply to computer programs used in the making or operation of the Database;\n <> This License does not cover any patents over the Contents or the Database; and\n <> This License does not cover any trademarks associated with the Database.\n <> Relationship to Contents in the Database. The individual items of the Contents contained in this Database may be covered by other rights, including copyright, patent, data protection, privacy, or personality rights, and this License does not cover any rights (other than Database Rights or in contract) in individual Contents contained in the Database. For example, if used on a Database of images (the Contents), this License would not apply to copyright over individual images, which could have their own separate licenses, or one single license covering all of the rights over the images.\n <> Rights granted\n <> Subject to the terms and conditions of this License, the Licensor grants to You a worldwide, royalty-free, non-exclusive, terminable (but only under Section 9) license to Use the Database for the duration of any applicable copyright and Database Rights. These rights explicitly include commercial use, and do not exclude any field of endeavour. To the extent possible in the relevant jurisdiction, these rights may be exercised in all media and formats whether now known or created in the future.\n The rights granted cover, for example:\n\n <> Extraction and Re-utilisation of the whole or a Substantial part of the Contents;\n <> Creation of Derivative Databases;\n <> Creation of Collective Databases;\n <> Creation of temporary or permanent reproductions by any means and in any form, in whole or in part, including of any Derivative Databases or as a part of Collective Databases; and\n <> Distribution, communication, display, lending, making available, or performance to the public by any means and in any form, in whole or in part, including of any Derivative Database or as a part of Collective Databases.\n <> Compulsory license schemes. For the avoidance of doubt:\n <> Non-waivable compulsory license schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;\n <> Waivable compulsory license schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,\n <> Voluntary license schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.\n <> The right to release the Database under different terms, or to stop distributing or making available the Database, is reserved. Note that this Database may be multiple-licensed, and so You may have the choice of using alternative licenses for this Database. Subject to Section 10.4, all other rights not expressly granted by Licensor are reserved.\n <> Conditions of Use\n <> The rights granted in Section 3 above are expressly made subject to Your complying with the following conditions of use. These are important conditions of this License, and if You fail to follow them, You will be in material breach of its terms.\n <> Notices. If You Publicly Convey this Database, any Derivative Database, or the Database as part of a Collective Database, then You must:\n <> Do so only under the terms of this License or another license permitted under Section 4.4;\n <> Include a copy of this License (or, as applicable, a license permitted under Section 4.4) or its Uniform Resource Identifier (URI) with the Database or Derivative Database, including both in the Database or Derivative Database and in any relevant documentation; and\n <> Keep intact any copyright or Database Right notices and notices that refer to this License.\n <> If it is not possible to put the required notices in a particular file due to its structure, then You must include the notices in a location (such as a relevant directory) where users would be likely to look for it.\n <> Notice for using output (Contents). Creating and Using a Produced Work does not require the notice in Section 4.2. However, if you Publicly Use a Produced Work, You must include a notice associated with the Produced Work reasonably calculated to make any Person that uses, views, accesses, interacts with, or is otherwise exposed to the Produced Work aware that Content was obtained from the Database, Derivative Database, or the Database as part of a Collective Database, and that it is available under this License.\n <> Example notice. The following text will satisfy notice under Section 4.3:\n Contains information from DATABASE NAME, which is made available here under the Open Database License (ODbL).\n\n DATABASE NAME should be replaced with the name of the Database and a hyperlink to the URI of the Database. \"Open Database License\" should contain a hyperlink to the URI of the text of this License. If hyperlinks are not possible, You should include the plain text of the required URI's with the above notice.\n\n <> Share alike.\n <> Any Derivative Database that You Publicly Use must be only under the terms of:\n <> This License;\n <> A later version of this License similar in spirit to this License; or\n <> A compatible license.\n If You license the Derivative Database under one of the licenses mentioned in (iii), You must comply with the terms of that license.\n\n <> For the avoidance of doubt, Extraction or Re-utilisation of the whole or a Substantial part of the Contents into a new database is a Derivative Database and must comply with Section 4.4.\n <> Derivative Databases and Produced Works. A Derivative Database is Publicly Used and so must comply with Section 4.4. if a Produced Work created from the Derivative Database is Publicly Used.\n <> Share Alike and additional Contents. For the avoidance of doubt, You must not add Contents to Derivative Databases under Section 4.4 a that are incompatible with the rights granted under this License.\n <> Compatible licenses. Licensors may authorise a proxy to determine compatible licenses under Section 4.4 a iii. If they do so, the authorised proxy's public statement of acceptance of a compatible license grants You permission to use the compatible license.\n <> Limits of Share Alike. The requirements of Section 4.4 do not apply in the following:\n <> For the avoidance of doubt, You are not required to license Collective Databases under this License if You incorporate this Database or a Derivative Database in the collection, but this License still applies to this Database or a Derivative Database as a part of the Collective Database;\n <> Using this Database, a Derivative Database, or this Database as part of a Collective Database to create a Produced Work does not create a Derivative Database for purposes of Section 4.4; and\n <> Use of a Derivative Database internally within an organisation is not to the public and therefore does not fall under the requirements of Section 4.4.\n <> Access to Derivative Databases. If You Publicly Use a Derivative Database or a Produced Work from a Derivative Database, You must also offer to recipients of the Derivative Database or Produced Work a copy in a machine readable form of:\n <> The entire Derivative Database; or\n <> A file containing all of the alterations made to the Database or the method of making the alterations to the Database (such as an algorithm), including any additional Contents, that make up all the differences between the Database and the Derivative Database.\n The Derivative Database (under a.) or alteration file (under b.) must be available at no more than a reasonable production cost for physical distributions and free of charge if distributed over the internet.\n\n <> Technological measures and additional terms\n <> This License does not allow You to impose (except subject to Section 4.7 b.) any terms or any technological measures on the Database, a Derivative Database, or the whole or a Substantial part of the Contents that alter or restrict the terms of this License, or any rights granted under it, or have the effect or intent of restricting the ability of any person to exercise those rights.\n <> Parallel distribution. You may impose terms or technological measures on the Database, a Derivative Database, or the whole or a Substantial part of the Contents (a \"Restricted Database\") in contravention of Section 4.74 a. only if You also make a copy of the Database or a Derivative Database available to the recipient of the Restricted Database:\n <> That is available without additional fee;\n <> That is available in a medium that does not alter or restrict the terms of this License, or any rights granted under it, or have the effect or intent of restricting the ability of any person to exercise those rights (an \"Unrestricted Database\"); and\n <> The Unrestricted Database is at least as accessible to the recipient as a practical matter as the Restricted Database.\n <> For the avoidance of doubt, You may place this Database or a Derivative Database in an authenticated environment, behind a password, or within a similar access control scheme provided that You do not alter or restrict the terms of this License or any rights granted under it or have the effect or intent of restricting the ability of any person to exercise those rights.\n <> Licensing of others. You may not sublicense the Database. Each time You communicate the Database, the whole or Substantial part of the Contents, or any Derivative Database to anyone else in any way, the Licensor offers to the recipient a license to the Database on the same terms and conditions as this License. You are not responsible for enforcing compliance by third parties with this License, but You may enforce any rights that You have over a Derivative Database. You are solely responsible for any modifications of a Derivative Database made by You or another Person at Your direction. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License.\n <> Moral rights\n <> Moral rights. This section covers moral rights, including any rights to be identified as the author of the Database or to object to treatment that would otherwise prejudice the author's honour and reputation, or any other derogatory treatment:\n <> For jurisdictions allowing waiver of moral rights, Licensor waives all moral rights that Licensor may have in the Database to the fullest extent possible by the law of the relevant jurisdiction under Section 10.4;\n <> If waiver of moral rights under Section 5.1 a in the relevant jurisdiction is not possible, Licensor agrees not to assert any moral rights over the Database and waives all claims in moral rights to the fullest extent possible by the law of the relevant jurisdiction under Section 10.4; and\n <> For jurisdictions not allowing waiver or an agreement not to assert moral rights under Section 5.1 a and b, the author may retain their moral rights over certain aspects of the Database.\n Please note that some jurisdictions do not allow for the waiver of moral rights, and so moral rights may still subsist over the Database in some jurisdictions.\n\n <> Fair dealing, Database exceptions, and other rights not affected\n <> This License does not affect any rights that You or anyone else may independently have under any applicable law to make any use of this Database, including without limitation:\n <> Exceptions to the Database Right including: Extraction of Contents from non-electronic Databases for private purposes, Extraction for purposes of illustration for teaching or scientific research, and Extraction or Re-utilisation for public security or an administrative or judicial procedure.\n <> Fair dealing, fair use, or any other legally recognised limitation or exception to infringement of copyright or other applicable laws.\n <> This License does not affect any rights of lawful users to Extract and Re-utilise insubstantial parts of the Contents, evaluated quantitatively or qualitatively, for any purposes whatsoever, including creating a Derivative Database (subject to other rights over the Contents, see Section 2.4). The repeated and systematic Extraction or Re-utilisation of insubstantial parts of the Contents may however amount to the Extraction or Re-utilisation of a Substantial part of the Contents.\n <> Warranties and Disclaimer\n <> The Database is licensed by the Licensor \"as is\" and without any warranty of any kind, either express, implied, or arising by statute, custom, course of dealing, or trade usage. Licensor specifically disclaims any and all implied warranties or conditions of title, non-infringement, accuracy or completeness, the presence or absence of errors, fitness for a particular purpose, merchantability, or otherwise. Some jurisdictions do not allow the exclusion of implied warranties, so this exclusion may not apply to You.\n <> Limitation of liability\n <> Subject to any liability that may not be excluded or limited by law, the Licensor is not liable for, and expressly excludes, all liability for loss or damage however and whenever caused to anyone by any use under this License, whether by You or by anyone else, and whether caused by any fault on the part of the Licensor or not. This exclusion of liability includes, but is not limited to, any special, incidental, consequential, punitive, or exemplary damages such as loss of revenue, data, anticipated profits, and lost business. This exclusion applies even if the Licensor has been advised of the possibility of such damages.\n <> If liability may not be excluded by law, it is limited to actual and direct financial loss to the extent it is caused by proved negligence on the part of the Licensor.\n <> Termination of Your rights under this License\n <> Any breach by You of the terms and conditions of this License automatically terminates this License with immediate effect and without notice to You. For the avoidance of doubt, Persons who have received the Database, the whole or a Substantial part of the Contents, Derivative Databases, or the Database as part of a Collective Database from You under this License will not have their licenses terminated provided their use is in full compliance with this License or a license granted under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will survive any termination of this License.\n <> If You are not in breach of the terms of this License, the Licensor will not terminate Your rights under it.\n <> Unless terminated under Section 9.1, this License is granted to You for the duration of applicable rights in the Database.\n <> Reinstatement of rights. If you cease any breach of the terms and conditions of this License, then your full rights under this License will be reinstated:\n <> Provisionally and subject to permanent termination until the 60th day after cessation of breach;\n <> Permanently on the 60th day after cessation of breach unless otherwise reasonably notified by the Licensor; or\n <> Permanently if reasonably notified by the Licensor of the violation, this is the first time You have received notice of violation of this License from the Licensor, and You cure the violation prior to 30 days after your receipt of the notice.\n Persons subject to permanent termination of rights are not eligible to be a recipient and receive a license under Section 4.8.\n\n <> Notwithstanding the above, Licensor reserves the right to release the Database under different license terms or to stop distributing or making available the Database. Releasing the Database under different license terms or stopping the distribution of the Database will not withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.\n <> General\n <> If any provision of this License is held to be invalid or unenforceable, that must not affect the validity or enforceability of the remainder of the terms and conditions of this License and each remaining provision of this License shall be valid and enforced to the fullest extent permitted by law.\n <> This License is the entire agreement between the parties with respect to the rights granted here over the Database. It replaces any earlier understandings, agreements or representations with respect to the Database.\n <> If You are in breach of the terms of this License, You will not be entitled to rely on the terms of this License or to complain of any breach by the Licensor.\n <> Choice of law. This License takes effect in and will be governed by the laws of the relevant jurisdiction in which the License terms are sought to be enforced. If the standard suite of rights granted under applicable copyright law and Database Rights in the relevant jurisdiction includes additional rights not granted under this License, these additional rights are granted in this License in order to meet the terms of this License.", + name: "Open Data Commons Open Database License v1.0", + licenseId: "ODbL-1.0", + crossRef: [ + { + match: "true", + url: "http://www.opendatacommons.org/licenses/odbl/1.0/", + isValid: true, + isLive: true, + timestamp: "2025-05-29T15:24:51Z", + isWayBackLink: false, + order: 0 + }, + { + match: "true", + url: "https://opendatacommons.org/licenses/odbl/1-0/", + isValid: true, + isLive: true, + timestamp: "2025-05-29T15:24:52Z", + isWayBackLink: false, + order: 1 + } + ], + seeAlso: [ + "http://www.opendatacommons.org/licenses/odbl/1.0/", + "https://opendatacommons.org/licenses/odbl/1-0/" + ], + isOsiApproved: false, + licenseTextHtml: "\n
\n \n

Open Data Commons Open Database License (ODbL)

\n\n
\n
\n \n

Preamble

\n\n

The Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify,\n and use this Database while maintaining this same freedom for others. Many databases are covered by\n copyright, and therefore this document licenses these rights. Some jurisdictions, mainly in the\n European Union, have specific rights that cover databases, and so the ODbL addresses these rights,\n too. Finally, the ODbL is also an agreement in contract for users of this Database to act in certain\n ways in return for accessing this Database.

\n\n

Databases can contain a wide variety of types of content (images, audiovisual material, and sounds all in\n the same database, for example), and so the ODbL only governs the rights over the Database, and not\n the contents of the Database individually. Licensors should use the ODbL together with another license\n for the contents, if the contents have a single set of rights that uniformly covers all of the\n contents. If the contents have multiple sets of different rights, Licensors should describe what\n rights govern what contents together in the individual record or in some other way that clarifies what\n rights apply.

\n\n

Sometimes the contents of a database, or the database itself, can be covered by other rights not\n addressed here (such as private contracts, trade mark over the name, or privacy rights / data\n protection rights over information in the contents), and so you are advised that you may have to\n consult other documents or clear other rights before doing activities not covered by this License.

\n\n

------

\n\n
\n\n

The Licensor (as defined below)

\n\n

and

\n\n

You (as defined below)

\n\n

agree as follows:

\n\n
    \n \n
  • \n 1.0\n Definitions of Capitalised Words\n

    "Collective Database" - Means this Database in unmodified form as part of a\n collection of independent databases in themselves that together are assembled into a\n collective whole. A work that constitutes a Collective Database will not be considered a\n Derivative Database.

    \n\n

    "Convey" - As a verb, means Using the Database, a Derivative Database, or the\n Database as part of a Collective Database in any way that enables a Person to make or receive\n copies of the Database or a Derivative Database. Conveying does not include interaction with a\n user through a computer network, or creating and Using a Produced Work, where no transfer of a\n copy of the Database or a Derivative Database occurs.

    \n\n

    "Contents" - The\n contents of this Database, which includes the information, independent works, or other\n material collected into the Database. For example, the contents of the Database could be\n factual data or works such as images, audiovisual material, text, or sounds.

    \n\n

    "Database" - A collection of material (the Contents) arranged in a systematic or\n methodical way and individually accessible by electronic or other means offered under the\n terms of this License.

    \n\n

    "Database Directive" - Means Directive 96/9/EC of the European Parliament and of\n the Council of 11 March 1996 on the legal protection of databases, as amended or\n succeeded.

    \n\n

    "Database Right" - Means rights resulting from the Chapter III ("sui\n generis") rights in the Database Directive (as amended and as transposed by member\n states), which includes the Extraction and Re-utilisation of the whole or a Substantial part\n of the Contents, as well as any similar rights available in the relevant jurisdiction under\n Section 10.4.

    \n\n

    "Derivative Database" - Means a database based upon the Database, and includes\n any translation, adaptation, arrangement, modification, or any other alteration of the\n Database or of a Substantial part of the Contents. This includes, but is not limited to,\n Extracting or Re-utilising the whole or a Substantial part of the Contents in a new\n Database.

    \n\n

    "Extraction" - Means the permanent or temporary transfer of all or a Substantial\n part of the Contents to another medium by any means or in any form.

    \n\n

    "License" - Means this license agreement and is both a license of rights such as\n copyright and Database Rights and an agreement in contract.

    \n\n

    "Licensor" - Means the Person that offers the Database under the terms of this\n License.

    \n\n

    "Person" - Means a natural or legal person or a body of persons corporate or\n incorporate.

    \n\n

    "Produced Work" - a work (such as an image, audiovisual material, text, or\n sounds) resulting from using the whole or a Substantial part of the Contents (via a search or\n other query) from this Database, a Derivative Database, or this Database as part of a\n Collective Database.

    \n\n

    "Publicly" - means to Persons other than You or under Your control by either\n more than 50% ownership or by the power to direct their activities (such as contracting with\n an independent consultant).

    \n\n

    "Re-utilisation" - means any form of making available to the public all or a\n Substantial part of the Contents by the distribution of copies, by renting, by online or other\n forms of transmission.

    \n\n

    "Substantial" - Means substantial in terms of quantity or quality or a\n combination of both. The repeated and systematic Extraction or Re-utilisation of insubstantial\n parts of the Contents may amount to the Extraction or Re-utilisation of a Substantial part of\n the Contents.

    \n\n

    "Use" - As a verb, means doing any act that is restricted by copyright or\n Database Rights whether in the original medium or any other; and includes without limitation\n distributing, copying, publicly performing, publicly displaying, and preparing derivative\n works of the Database, as well as modifying the Database as may be technically necessary to\n use it in a different mode or format.

    \n\n

    "You" - Means a Person exercising rights under this License who has not\n previously violated the terms of this License with respect to the Database, or who has\n received express permission from the Licensor to exercise rights under this License despite a\n previous violation.

    \n\n

    Words in the singular include the plural and vice versa.

    \n\n
  • \n \n
  • \n 2.0\n What this License covers\n
  • \n \n
  • \n 2.1.\n Legal effect of this document. This License is:\n \n
      \n \n
    • \n a.\n A license of applicable copyright and neighbouring rights;\n
    • \n \n
    • \n b.\n A license of the Database Right; and\n
    • \n \n
    • \n c.\n An agreement in contract between You and the Licensor.\n
    • \n \n
    \n
  • \n \n
  • \n 2.2\n Legal rights covered. This License covers the legal rights in the Database, including:\n \n
      \n \n
    • \n a.\n Copyright. Any copyright or neighbouring rights in the Database. The copyright licensed\n includes any individual elements of the Database, but does not cover the copyright over\n the Contents independent of this Database. See Section 2.4 for details. Copyright law\n varies between jurisdictions, but is likely to cover: the Database model or schema, which\n is the structure, arrangement, and organisation of the Database, and can also include the\n Database tables and table indexes; the data entry and output sheets; and the Field names\n of Contents stored in the Database;\n
    • \n \n
    • \n b.\n Database Rights. Database Rights only extend to the Extraction and Re-utilisation of the\n whole or a Substantial part of the Contents. Database Rights can apply even when there is\n no copyright over the Database. Database Rights can also apply when the Contents are\n removed from the Database and are selected and arranged in a way that would not infringe\n any applicable copyright; and\n
    • \n \n
    • \n c.\n Contract. This is an agreement between You and the Licensor for access to the Database. In\n return you agree to certain conditions of use on this access as outlined in this\n License.\n
    • \n \n
    \n
  • \n \n
  • \n 2.3\n Rights not covered.\n \n
      \n \n
    • \n a.\n This License does not apply to computer programs used in the making or operation of the Database;\n
    • \n \n
    • \n b.\n This License does not cover any patents over the Contents or the Database; and\n
    • \n \n
    • \n c.\n This License does not cover any trademarks associated with the Database.\n
    • \n \n
    \n
  • \n \n
  • \n 2.4\n Relationship to Contents in the Database. The individual items of the Contents contained in this\n Database may be covered by other rights, including copyright, patent, data protection,\n privacy, or personality rights, and this License does not cover any rights (other than\n Database Rights or in contract) in individual Contents contained in the Database. For example,\n if used on a Database of images (the Contents), this License would not apply to copyright over\n individual images, which could have their own separate licenses, or one single license\n covering all of the rights over the images.\n
  • \n \n
  • \n 3.0\n Rights granted\n
  • \n \n
  • \n 3.1\n Subject to the terms and conditions of this License, the Licensor grants to You a worldwide,\n royalty-free, non-exclusive, terminable (but only under Section 9) license to Use the Database\n for the duration of any applicable copyright and Database Rights. These rights explicitly\n include commercial use, and do not exclude any field of endeavour. To the extent possible in\n the relevant jurisdiction, these rights may be exercised in all media and formats whether now\n known or created in the future.\n

    The rights granted cover, for example:

    \n\n
      \n \n
    • \n a.\n Extraction and Re-utilisation of the whole or a Substantial part of the Contents;\n
    • \n \n
    • \n b.\n Creation of Derivative Databases;\n
    • \n \n
    • \n c.\n Creation of Collective Databases;\n
    • \n \n
    • \n d.\n Creation of temporary or permanent reproductions by any means and in any form, in whole or in\n part, including of any Derivative Databases or as a part of Collective Databases; and\n
    • \n \n
    • \n e.\n Distribution, communication, display, lending, making available, or performance to the public\n by any means and in any form, in whole or in part, including of any Derivative Database or\n as a part of Collective Databases.\n
    • \n \n
    \n
  • \n \n
  • \n 3.2\n Compulsory license schemes. For the avoidance of doubt:\n \n
      \n \n
    • \n a.\n Non-waivable compulsory license schemes. In those jurisdictions in which the right to collect\n royalties through any statutory or compulsory licensing scheme cannot be waived, the\n Licensor reserves the exclusive right to collect such royalties for any exercise by You of\n the rights granted under this License;\n
    • \n \n
    • \n b.\n Waivable compulsory license schemes. In those jurisdictions in which the right to collect\n royalties through any statutory or compulsory licensing scheme can be waived, the Licensor\n waives the exclusive right to collect such royalties for any exercise by You of the rights\n granted under this License; and,\n
    • \n \n
    • \n c.\n Voluntary license schemes. The Licensor waives the right to collect royalties, whether\n individually or, in the event that the Licensor is a member of a collecting society that\n administers voluntary licensing schemes, via that society, from any exercise by You of the\n rights granted under this License.\n
    • \n \n
    \n
  • \n \n
  • \n 3.3\n The right to release the Database under different terms, or to stop distributing or making\n available the Database, is reserved. Note that this Database may be multiple-licensed, and so\n You may have the choice of using alternative licenses for this Database. Subject to Section\n 10.4, all other rights not expressly granted by Licensor are reserved.\n
  • \n \n
  • \n 4.0\n Conditions of Use\n
  • \n \n
  • \n 4.1\n The rights granted in Section 3 above are expressly made subject to Your complying with the\n following conditions of use. These are important conditions of this License, and if You fail\n to follow them, You will be in material breach of its terms.\n
  • \n \n
  • \n 4.2\n Notices. If You Publicly Convey this Database, any Derivative Database, or the Database as part\n of a Collective Database, then You must:\n \n
      \n \n
    • \n a.\n Do so only under the terms of this License or another license permitted under Section 4.4;\n
    • \n \n
    • \n b.\n Include a copy of this License (or, as applicable, a license permitted under Section 4.4) or\n its Uniform Resource Identifier (URI) with the Database or Derivative Database, including\n both in the Database or Derivative Database and in any relevant documentation; and\n
    • \n \n
    • \n c.\n Keep intact any copyright or Database Right notices and notices that refer to this License.\n
    • \n \n
    • \n d.\n If it is not possible to put the required notices in a particular file due to its structure,\n then You must include the notices in a location (such as a relevant directory) where users\n would be likely to look for it.\n
    • \n \n
    \n
  • \n \n
  • \n 4.3\n Notice for using output (Contents). Creating and Using a Produced Work does not require the\n notice in Section 4.2. However, if you Publicly Use a Produced Work, You must include a notice\n associated with the Produced Work reasonably calculated to make any Person that uses, views,\n accesses, interacts with, or is otherwise exposed to the Produced Work aware that Content was\n obtained from the Database, Derivative Database, or the Database as part of a Collective\n Database, and that it is available under this License.\n \n
      \n \n
    • \n a.\n Example notice. The following text will satisfy notice under Section 4.3:\n

      Contains information from DATABASE NAME, which is made available here under the Open Database\n License (ODbL).

      \n\n

      DATABASE NAME should be replaced with the name of the Database and a hyperlink to the URI of\n the Database. "Open Database License" should contain a hyperlink to the URI of\n the text of this License. If hyperlinks are not possible, You should include the plain\n text of the required URI's with the above notice.

      \n\n
    • \n\t \n
    \n\t\t
  • \n\t\t\n
  • \n\t\t\t 4.4\n\t\t\tShare alike.\n\t\t\t\n
      \n \n
    • \n a.\n Any Derivative Database that You Publicly Use must be only under the terms of:\n \n
        \n \n
      • \n i.\n This License;\n
      • \n \n
      • \n ii.\n A later version of this License similar in spirit to this License; or\n
      • \n \n
      • \n iii.\n A compatible license.\n

        If You license the Derivative Database under one of the licenses mentioned in (iii), You\n must comply with the terms of that license.

        \n\n
      • \n \n
      \n
    • \n \n
    • \n b.\n For the avoidance of doubt, Extraction or Re-utilisation of the whole or a Substantial part\n of the Contents into a new database is a Derivative Database and must comply with Section\n 4.4.\n
    • \n \n
    • \n c.\n Derivative Databases and Produced Works. A Derivative Database is Publicly Used and so must\n comply with Section 4.4. if a Produced Work created from the Derivative Database is\n Publicly Used.\n
    • \n \n
    • \n d.\n Share Alike and additional Contents. For the avoidance of doubt, You must not add Contents to\n Derivative Databases under Section 4.4 a that are incompatible with the rights granted\n under this License.\n
    • \n \n
    • \n e.\n Compatible licenses. Licensors may authorise a proxy to determine compatible licenses under\n Section 4.4 a iii. If they do so, the authorised proxy's public statement of\n acceptance of a compatible license grants You permission to use the compatible\n license.\n
    • \n \n
    \n
  • \n \n
  • \n 4.5\n Limits of Share Alike. The requirements of Section 4.4 do not apply in the following:\n \n
      \n \n
    • \n a.\n For the avoidance of doubt, You are not required to license Collective Databases under this\n License if You incorporate this Database or a Derivative Database in the collection, but\n this License still applies to this Database or a Derivative Database as a part of the\n Collective Database;\n
    • \n \n
    • \n b.\n Using this Database, a Derivative Database, or this Database as part of a Collective Database\n to create a Produced Work does not create a Derivative Database for purposes of Section\n 4.4; and\n
    • \n \n
    • \n c.\n Use of a Derivative Database internally within an organisation is not to the public and\n therefore does not fall under the requirements of Section 4.4.\n
    • \n \n
    \n
  • \n \n
  • \n 4.6\n Access to Derivative Databases. If You Publicly Use a Derivative Database or a Produced Work from\n a Derivative Database, You must also offer to recipients of the Derivative Database or\n Produced Work a copy in a machine readable form of:\n \n
      \n \n
    • \n a.\n The entire Derivative Database; or\n
    • \n \n
    • \n b.\n A file containing all of the alterations made to the Database or the method of making the\n alterations to the Database (such as an algorithm), including any additional Contents,\n that make up all the differences between the Database and the Derivative Database.\n

      The Derivative Database (under a.) or alteration file (under b.) must be available at no more\n than a reasonable production cost for physical distributions and free of charge if\n distributed over the internet.

      \n\n
    • \n \n
    \n
  • \n \n
  • \n 4.7\n Technological measures and additional terms\n \n
      \n \n
    • \n a.\n This License does not allow You to impose (except subject to Section 4.7 b.) any terms or any\n technological measures on the Database, a Derivative Database, or the whole or a\n Substantial part of the Contents that alter or restrict the terms of this License, or any\n rights granted under it, or have the effect or intent of restricting the ability of any\n person to exercise those rights.\n
    • \n \n
    • \n b.\n Parallel distribution. You may impose terms or technological measures on the Database, a\n Derivative Database, or the whole or a Substantial part of the Contents (a\n "Restricted Database") in contravention of Section 4.74 a. only if You also make\n a copy of the Database or a Derivative Database available to the recipient of the\n Restricted Database:\n \n
        \n \n
      • \n i.\n That is available without additional fee;\n
      • \n \n
      • \n ii.\n That is available in a medium that does not alter or restrict the terms of this License,\n or any rights granted under it, or have the effect or intent of restricting the\n ability of any person to exercise those rights (an "Unrestricted Database");\n and\n
      • \n \n
      • \n iii.\n The Unrestricted Database is at least as accessible to the recipient as a practical\n matter as the Restricted Database.\n
      • \n \n
      \n
    • \n \n
    • \n c.\n For the avoidance of doubt, You may place this Database or a Derivative Database in an\n authenticated environment, behind a password, or within a similar access control scheme\n provided that You do not alter or restrict the terms of this License or any rights granted\n under it or have the effect or intent of restricting the ability of any person to exercise\n those rights.\n
    • \n \n
    \n
  • \n \n
  • \n 4.8\n Licensing of others. You may not sublicense the Database. Each time You communicate the Database,\n the whole or Substantial part of the Contents, or any Derivative Database to anyone else in\n any way, the Licensor offers to the recipient a license to the Database on the same terms and\n conditions as this License. You are not responsible for enforcing compliance by third parties\n with this License, but You may enforce any rights that You have over a Derivative Database.\n You are solely responsible for any modifications of a Derivative Database made by You or\n another Person at Your direction. You may not impose any further restrictions on the exercise\n of the rights granted or affirmed under this License.\n
  • \n \n
  • \n 5.0\n Moral rights\n
  • \n \n
  • \n 5.1\n Moral rights. This section covers moral rights, including any rights to be identified as the\n author of the Database or to object to treatment that would otherwise prejudice the\n author's honour and reputation, or any other derogatory treatment:\n \n
      \n \n
    • \n a.\n For jurisdictions allowing waiver of moral rights, Licensor waives all moral rights that\n Licensor may have in the Database to the fullest extent possible by the law of the\n relevant jurisdiction under Section 10.4;\n
    • \n \n
    • \n b.\n If waiver of moral rights under Section 5.1 a in the relevant jurisdiction is not possible,\n Licensor agrees not to assert any moral rights over the Database and waives all claims in\n moral rights to the fullest extent possible by the law of the relevant jurisdiction under\n Section 10.4; and\n
    • \n \n
    • \n c.\n For jurisdictions not allowing waiver or an agreement not to assert moral rights under\n Section 5.1 a and b, the author may retain their moral rights over certain aspects of the\n Database.\n

      Please note that some jurisdictions do not allow for the waiver of moral rights, and so moral\n rights may still subsist over the Database in some jurisdictions.

      \n\n
    • \n \n
    \n
  • \n \n
  • \n 6.0\n Fair dealing, Database exceptions, and other rights not affected\n
  • \n \n
  • \n 6.1\n This License does not affect any rights that You or anyone else may independently have under any\n applicable law to make any use of this Database, including without limitation:\n \n
      \n \n
    • \n a.\n Exceptions to the Database Right including: Extraction of Contents from non-electronic\n Databases for private purposes, Extraction for purposes of illustration for teaching or\n scientific research, and Extraction or Re-utilisation for public security or an\n administrative or judicial procedure.\n
    • \n \n
    • \n b.\n Fair dealing, fair use, or any other legally recognised limitation or exception to\n infringement of copyright or other applicable laws.\n
    • \n \n
    \n
  • \n \n
  • \n 6.2\n This License does not affect any rights of lawful users to Extract and Re-utilise insubstantial\n parts of the Contents, evaluated quantitatively or qualitatively, for any purposes whatsoever,\n including creating a Derivative Database (subject to other rights over the Contents, see\n Section 2.4). The repeated and systematic Extraction or Re-utilisation of insubstantial parts\n of the Contents may however amount to the Extraction or Re-utilisation of a Substantial part\n of the Contents.\n
  • \n \n
  • \n 7.0\n Warranties and Disclaimer\n
  • \n \n
  • \n 7.1\n The Database is licensed by the Licensor "as is" and without any warranty of any kind,\n either express, implied, or arising by statute, custom, course of dealing, or trade usage.\n Licensor specifically disclaims any and all implied warranties or conditions of title,\n non-infringement, accuracy or completeness, the presence or absence of errors, fitness for a\n particular purpose, merchantability, or otherwise. Some jurisdictions do not allow the\n exclusion of implied warranties, so this exclusion may not apply to You.\n
  • \n \n
  • \n 8.0\n Limitation of liability\n
  • \n \n
  • \n 8.1\n Subject to any liability that may not be excluded or limited by law, the Licensor is not liable\n for, and expressly excludes, all liability for loss or damage however and whenever caused to\n anyone by any use under this License, whether by You or by anyone else, and whether caused by\n any fault on the part of the Licensor or not. This exclusion of liability includes, but is not\n limited to, any special, incidental, consequential, punitive, or exemplary damages such as\n loss of revenue, data, anticipated profits, and lost business. This exclusion applies even if\n the Licensor has been advised of the possibility of such damages.\n
  • \n \n
  • \n 8.2\n If liability may not be excluded by law, it is limited to actual and direct financial loss to the\n extent it is caused by proved negligence on the part of the Licensor.\n
  • \n \n
  • \n 9.0\n Termination of Your rights under this License\n
  • \n \n
  • \n 9.1\n Any breach by You of the terms and conditions of this License automatically terminates this\n License with immediate effect and without notice to You. For the avoidance of doubt, Persons\n who have received the Database, the whole or a Substantial part of the Contents, Derivative\n Databases, or the Database as part of a Collective Database from You under this License will\n not have their licenses terminated provided their use is in full compliance with this License\n or a license granted under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will\n survive any termination of this License.\n
  • \n \n
  • \n 9.2\n If You are not in breach of the terms of this License, the Licensor will not terminate Your\n rights under it.\n
  • \n \n
  • \n 9.3\n Unless terminated under Section 9.1, this License is granted to You for the duration of\n applicable rights in the Database.\n
  • \n \n
  • \n 9.4\n Reinstatement of rights. If you cease any breach of the terms and conditions of this License,\n then your full rights under this License will be reinstated:\n \n
      \n \n
    • \n a.\n Provisionally and subject to permanent termination until the 60th day after cessation of breach;\n
    • \n \n
    • \n b.\n Permanently on the 60th day after cessation of breach unless otherwise reasonably notified by\n the Licensor; or\n
    • \n \n
    • \n c.\n Permanently if reasonably notified by the Licensor of the violation, this is the first time\n You have received notice of violation of this License from the Licensor, and You cure the\n violation prior to 30 days after your receipt of the notice.\n

      Persons subject to permanent termination of rights are not eligible to be a recipient and\n receive a license under Section 4.8.

      \n\n
    • \n \n
    \n
  • \n \n
  • \n 9.5\n Notwithstanding the above, Licensor reserves the right to release the Database under different\n license terms or to stop distributing or making available the Database. Releasing the Database\n under different license terms or stopping the distribution of the Database will not withdraw\n this License (or any other license that has been, or is required to be, granted under the\n terms of this License), and this License will continue in full force and effect unless\n terminated as stated above.\n
  • \n \n
  • \n 10.0\n General\n
  • \n \n
  • \n 10.1\n If any provision of this License is held to be invalid or unenforceable, that must not affect the\n validity or enforceability of the remainder of the terms and conditions of this License and\n each remaining provision of this License shall be valid and enforced to the fullest extent\n permitted by law.\n
  • \n \n
  • \n 10.2\n This License is the entire agreement between the parties with respect to the rights granted here\n over the Database. It replaces any earlier understandings, agreements or representations with\n respect to the Database.\n
  • \n \n
  • \n 10.3\n If You are in breach of the terms of this License, You will not be entitled to rely on the terms\n of this License or to complain of any breach by the Licensor.\n
  • \n \n
  • \n 10.4\n Choice of law. This License takes effect in and will be governed by the laws of the relevant\n jurisdiction in which the License terms are sought to be enforced. If the standard suite of\n rights granted under applicable copyright law and Database Rights in the relevant jurisdiction\n includes additional rights not granted under this License, these additional rights are granted\n in this License in order to meet the terms of this License.\n
  • \n \n
\n ", + standardLicenseHeaderTemplate: undefined, + licenseComments: undefined, + standardLicenseHeader: undefined, + standardLicenseHeaderHtml: undefined, + comment: undefined + }, + categorized: true, + permissions: [ + "commercial-use", + "distribution", + "modifications", + "private-use" + ], + conditions: [ + "disclose-source", + "include-copyright", + "same-license" + ], + limitations: [ + "liability", + "patent-use", + "trademark-use", + "warranty" + ] + } + ]; + /* eslint-enable max-len, prettier/prettier */ + + const selectedLicense = + LICENSES_DEMO.find((l) => l.spdx.licenseId === licenseSpdxId) ?? null; return ( <> {/* eslint-disable-next-line @typescript-eslint/no-misused-promises */}
+ {/* License mode selection */} + + + License mode + + { + 'Choose whether to use a known SPDX license or build a custom one.' + } + + { + const mode = (e.target as HTMLInputElement).value; + if (mode === 'custom') { + setValue('customLicenseEnabled', true, { + shouldDirty: true, + shouldValidate: false, + }); + // Clear SPDX when switching to custom + setValue('licenseSpdxId', null, { + shouldDirty: true, + shouldValidate: false, + }); + } else { + setValue('customLicenseEnabled', false, { + shouldDirty: true, + shouldValidate: false, + }); + } + }} + > + } + label='Known SPDX license' + /> + } + label='Custom license' + /> + + + + {/* License selector (mock) */} + + + License + + { + 'Select a known SPDX license below or build a custom license. When Custom mode is selected, SPDX selection is disabled. You can still paste a license URL.' + } + + + `${option.spdx.licenseId} — ${option.spdx.name}` + } + disabled={customLicenseEnabled === true} + value={ + LICENSES_DEMO.find( + (opt) => opt.spdx.licenseId === licenseSpdxId, + ) ?? null + } + onChange={(event, value) => { + setValue('licenseSpdxId', value?.spdx.licenseId ?? null, { + shouldDirty: true, + shouldValidate: false, + }); + }} + clearOnEscape + isOptionEqualToValue={(option, value) => + option.spdx.licenseId === value.spdx.licenseId + } + renderInput={(params) => ( + + )} + /> + + + {/* Custom license builder launch */} + + + Custom license + + Build your own set of permissions, conditions and limitations. + You can copy rules from a known license and adjust them. + + + {rules === undefined && ( + + Unable to load rules.json; builder disabled. + + )} + + + {selectedLicense !== null && ( + + + + + {selectedLicense.spdx.licenseId} + {' '} + — {selectedLicense.spdx.name} + + + + + Permissions + + + {selectedLicense.permissions.length > 0 ? ( + selectedLicense.permissions.map((p) => ( + + )) + ) : ( + None + )} + + + + + Conditions + + + {selectedLicense.conditions.length > 0 ? ( + selectedLicense.conditions.map((c) => ( + + )) + ) : ( + None + )} + + + + + Limitations + + + {selectedLicense.limitations.length > 0 ? ( + selectedLicense.limitations.map((l) => ( + + )) + ) : ( + None + )} + + + + + + )} + {/* Custom license summary */} + {hasCustom && ( + + + + Custom license rules + + + + + Permissions + + + {(customLicensePermissions?.length ?? 0) > 0 ? ( + (customLicensePermissions ?? []).map((p) => ( + + )) + ) : ( + None + )} + + + + + Conditions + + + {(customLicenseConditions?.length ?? 0) > 0 ? ( + (customLicenseConditions ?? []).map((c) => ( + + )) + ) : ( + None + )} + + + + + Limitations + + + {(customLicenseLimitations?.length ?? 0) > 0 ? ( + (customLicenseLimitations ?? []).map((l) => ( + + )) + ) : ( + None + )} + + + + + + )} + {/* License URL input (optional) */} + + + License URL + + Optional. Paste a link to the license text/terms (e.g., a page + that describes the license). If you picked an SPDX license, you + can still add a specific URL here if helpful. + + { + if (value === '' || value === undefined) return true; + return /^https?:\/\//.test(value) || t('form.errorUrl'); + }, + }} + render={({ field, fieldState }) => ( + + )} + /> + + + {/* Show required emptyLicenseUsage if official producer and no license provided */} {isOfficialProducer && noLicenseProvided && ( @@ -243,6 +968,153 @@ export default function FormThirdStep({
+ + {/* Dialog: Custom license builder */} + + Custom license builder + + + + Copy rules from a known license + + + `${option.spdx.licenseId} — ${option.spdx.name}` + } + renderInput={(params) => ( + + )} + onChange={(e, value) => { + if (value !== null) copyFromKnown(value.spdx.licenseId); + }} + /> + + {matchLicenseId !== null && ( + + These selected rules match the known license “{matchLicenseId}”. + Consider selecting that SPDX license instead of creating a custom + one. + + + + + )} + + + + + Permissions + + + {rules?.permissions.map((r) => ( + { + const checked = e.target.checked; + setTmpPerms((prev) => { + if (checked) { + return prev.includes(r.name) + ? prev + : [...prev, r.name]; + } + return prev.filter((x) => x !== r.name); + }); + }} + /> + } + label={r.label} + /> + ))} + + + + + Conditions + + + {rules?.conditions.map((r) => ( + { + const checked = e.target.checked; + setTmpConds((prev) => { + if (checked) { + return prev.includes(r.name) + ? prev + : [...prev, r.name]; + } + return prev.filter((x) => x !== r.name); + }); + }} + /> + } + label={r.label} + /> + ))} + + + + + Limitations + + + {rules?.limitations.map((r) => ( + { + const checked = e.target.checked; + setTmpLims((prev) => { + if (checked) { + return prev.includes(r.name) + ? prev + : [...prev, r.name]; + } + return prev.filter((x) => x !== r.name); + }); + }} + /> + } + label={r.label} + /> + ))} + + + + + + + + + ); } diff --git a/web-app/src/app/screens/FeedSubmission/Form/index.tsx b/web-app/src/app/screens/FeedSubmission/Form/index.tsx index 5f598e7ee..3231fa1e9 100644 --- a/web-app/src/app/screens/FeedSubmission/Form/index.tsx +++ b/web-app/src/app/screens/FeedSubmission/Form/index.tsx @@ -32,6 +32,13 @@ export interface FeedSubmissionFormFormInput { oldFeedLink?: string; isUpdatingFeed?: YesNoFormInput; licensePath?: string; + // Selected SPDX license id from ThirdStep selector (mock/demo) + licenseSpdxId?: string | null; + // Custom license builder (mock/demo only, not sent to backend) + customLicenseEnabled?: boolean; + customLicensePermissions?: string[]; + customLicenseConditions?: string[]; + customLicenseLimitations?: string[]; country?: string; region?: string; municipality?: string; @@ -65,6 +72,11 @@ const defaultFormValues: FeedSubmissionFormFormInput = { oldFeedLink: '', isUpdatingFeed: 'no', licensePath: '', + licenseSpdxId: null, + customLicenseEnabled: false, + customLicensePermissions: [], + customLicenseConditions: [], + customLicenseLimitations: [], country: '', region: '', municipality: '', @@ -186,7 +198,15 @@ export default function FeedSubmissionForm(): React.ReactElement { setIsSubmitLoading(true); setFormData(finalData); try { - const requestBody = { ...finalData }; + // Do not send mock/demo-only fields to the backend + const { + licenseSpdxId: _omitLicenseSpdxId, + customLicenseEnabled: _omitCustomEnabled, + customLicensePermissions: _omitCustomPerms, + customLicenseConditions: _omitCustomConds, + customLicenseLimitations: _omitCustomLims, + ...requestBody + } = finalData; await submitNewFeedForm(requestBody); handleNext(); } catch (error) {