Skip to content

Legal tool (licenses, public domain dedication, etc.) data for Creative Commons

License

Notifications You must be signed in to change notification settings

creativecommons/cc-legal-tools-data

Repository files navigation

cc-licenses-data

Creative Commons (CC) Licenses and Declarations data (static HTML, internationalization and localization files, etc.)

⚠️ This data is in progress and in flux. Please, DO NOT REFERENCE IT until it is stable (and this warning is removed).

Code of Conduct

CODE_OF_CONDUCT.md:

The Creative Commons team is committed to fostering a welcoming community. This project and all other Creative Commons open source projects are governed by our Code of Conduct. Please report unacceptable behavior to conduct@creativecommons.org per our reporting guidelines.

Contributing

See CONTRIBUTING.md.

Data

The data includes both source files used by creativecommons/cc-licenses and output from it. See that repository for additional instructions on the use of this repository. This section uses project specific terms. Please reference Definitions, below.

  • docs/
  • legacy/
  • legalcode/
    • The immediate subdirectories are Locale Names
    • Contains Gettext Files for Legal Code
    • Each license tool has a custom Django/gettext translation domain that is the same as the Transifex resource slug
  • locale/
    • The immediate subdirectories are Locale Names
    • Contains Gettext Files for Deeds & UX
    • The default Django/gettext translation domain is used (django)
    • The Transifex resource slug is deeds_ux
  • Gettext Files details:
    • .mo machine object Gettext Files
      • generated by cc-licenses compilemessages and load_html_files commands
      • ingested by cc-licenses publish and runserver commands
    • .po portable object Gettext Files
      • generated by cc-licenses check_for_translation_updates command
      • ingested by cc-licenses compilemessages and runserver commands

Legal Tools Namespace

Namespace - Wikipedia, retreived 2021-07-06:

In computing, a namespace is a set of signs (names) that are used to identify and refer to objects of various kinds. A namespace ensures that all of a given set of objects have unique names so that they can be easily identified.

This section uses project specific terms. Please reference Definitions, below.

License Tools

Example: CC BY-SA 4.0

  • Category: licenses
  • Title: Creative Commons Attribution-ShareAlike 4.0 International Public License
  • Identifier: CC BY-SA 4.0
  • Canonical URL: https://creativecommons.org/licenses/by-sa/4.0/
  • Unit: by-sa
  • Version: 4.0
  • Jurisdiction Code: None, (International)
  • Language Code: en

Example: CC BY-NC-SA 3.0

  • Category: licenses
  • Title: Attribution-NonCommercial-ShareAlike 3.0 Unported
  • Identifier: CC BY-NC-SA 3.0
  • Canonical URL: https://creativecommons.org/licenses/by-nc-sa/3.0/
  • Unit: by-nc-sa
  • Version: 3.0
  • Jurisdiction Code: None (International (unported))
  • Language Code: en

Example: CC BY-ND 3.0 NL

Public Domain Tools

Example: CC0 1.0

Definitions

The following terms are used by this dataset and the cc-licenses application that ingests/generates it.

Gettext Files

Gettext Files are are files conveying translations (internationalization and localization files). Django relies on the GNU gettext toolset.

  • machine object files with a .mo file extensions (ex. django.mo)
  • portable object files with a .po file extensions (ex. django.po)
  • GNU gettext utilities: Files

Portable Object File Metadata

The portable object files use the following values for these standard metadata entries:

  • Project-Id-Version: Transifex resource slug
  • Language: Transifex Code

The portable object files use the following values for these custom metadata entries:

  • Language-Django: Langauge Code
  • Language-Transifex: Transifex Code

Jurisdiction Code

Jurisdiction Codes are legal jurisdiction identifiers used for Creative Commons License Tool ports (versions 1.0 - 3.0). They consist of ISO 3166-1 alpha-2 codes.

IETF language tag

IETF language tags are identifiers for human languages.

Locale Name

Locale Names (locale_name) are Django locale names. Django locale names are language/region identifiers programmatically generated by Django based on the Language Code. They are meant to match POSIX locales or Unicode locales.

Language Code

Language Codes (language_code) are Django language codes. They consist of lowercase IETF language tags.

POSIX locale

POSIX locales are language/region identifiers defined by POSIX.

Transifex Code

Transifex Codes (transifex_code) are Transifex language codes. Most consist of POSIX locales or Unicode locales. Some consist of IETF language tags.

Unicode locale

Unicode locales are language/region identifiers defined by the Unicode Consortium.

Copying

CC0 1.0 Universal (CC0 1.0) Public Domain Dedication button COPYING: The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.

Trademark

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.

About

Legal tool (licenses, public domain dedication, etc.) data for Creative Commons

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages