Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: json-gold
Upstream-Contact: https://github.com/piprate/json-gold/issues
Source: https://github.com/piprate/json-gold

Files: *
Copyright: 2015-2017 Piprate Limited
License: Apache-2.0
Comment: LICENSE is the Apache License 2.0 text with its appendix left as the
 template ("Copyright [yyyy] [name of copyright owner]"), so it names no
 holder. Holder and years are those of the headers of the Go sources, which
 read "Copyright 2015-2017 Piprate Limited" (34 Go files, ld/api.go among
 them). ld/context_test.go, ld/errors_test.go, ld/options_test.go,
 ld/rdf_compare_test.go and ld/skip_test.go have no header and are covered
 by this stanza.

Files: ld/api_compact.go
       ld/api_expand.go
       ld/context.go
Copyright: 2015-2017 Piprate Limited
           2025 Siemens AG
License: Apache-2.0

Files: ld/rdf_dataset.go
Copyright: 2015-2017 Piprate Limited
           2014 Alex Saskevich
License: Apache-2.0 and Expat
Comment: The file is Apache-2.0. Its URL validation regular expressions carry
 the in-file notice "The URL validation logic below was borrowed from
 github.com/asaskevich/govalidator package. The original code is distributed
 under MIT license. Copyright (c) 2014 Alex Saskevich"; the MIT licence of
 govalidator is the Expat licence reproduced below.

Files: ld/internal/jsoncanonicalizer/*
Copyright: 2006-2019 WebPKI.org (http://webpki.org)
License: Apache-2.0
Comment: Copied unchanged from the Cyberphone JSON Canonicalization Go
 library (https://github.com/cyberphone/json-canonicalization), as the
 README.md in that directory states.

Files: ld/json_canonicalizer_test.go
Copyright: SecureKey Technologies Inc.
License: Apache-2.0

Files: ld/testdata/*
Copyright: World Wide Web Consortium (MIT, ERCIM, Keio, Beihang)
           JSON-LD Community Group <public-linked-json@w3.org>
License: BSD-3-clause
Comment: This directory is the W3C JSON-LD test suite. No file in it outside
 normalization/ carries a copyright line. The holders listed are W3C, which
 publishes the suite under its test-suite licences as LICENSE.md below
 states, and the JSON-LD Community Group, named as author in composer.json;
 no years are given because the files state none. Its LICENSE.md says:
 "The JSON-LD Test Suite is covered by the dual-licensing approach described
 in LICENSES FOR W3C TEST SUITES
 (https://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html)."
 That page (now https://www.w3.org/copyright/test-suites-licenses/) states
 that "W3C makes available test suites under two distinct licenses for two
 mutually exclusive uses: a 3-clause BSD license for software development,
 bug tracking, and other applications that do not require assertions of
 performance to the public or implied claims of conformance to a W3C
 Specification" and "a W3C test suite license [...]", and that "The choice of
 license is up to the licensee for every single use of tests from a W3C Test
 Suite." Debian uses the tests to check this library during the build, so it
 takes the W3C 3-clause BSD License
 (https://www.w3.org/copyright/3-clause-bsd-license-2008/), reproduced below.
 README.md, template.haml and the *-manifest.html pages generated from it
 name only the W3C Test Suite License, one of the two options.
 composer.json, the test suite's package metadata, declares "CC0-1.0",
 which would be at least as permissive.

Files: ld/testdata/normalization/*
Copyright: 2015 World Wide Web Consortium (MIT, ERCIM, Keio, Beihang)
License: BSD-3-clause
Comment: The RDF Dataset Normalization test suite. Its index.html and
 template.haml say: "Distributed under both the W3C Test Suite License and
 the W3C 3-clause BSD License"; Debian uses it under the latter, as for the
 rest of ld/testdata.

Files: ld/testdata/schema.org/*
Copyright: Google Inc.
           Yahoo Inc.
           Microsoft Corporation
           Yandex
License: CC-BY-SA-3.0
Comment: Copy of the schema.org JSON-LD context (served at
 https://schema.org/docs/jsonldcontext.json), used by the Example tests
 through a mock HTTP transport. The schema.org terms of service
 (https://schema.org/docs/terms.html) state: "The Sponsors' copyrights in
 the schema are licensed to website publishers and other third parties under
 the Creative Commons Attribution-ShareAlike License (version 3.0)", the
 Sponsors being "Google, Inc., Yahoo, Inc., Microsoft Corporation and
 Yandex".

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Apache-2.0
Comment: Debian packaging is licensed under the same terms as upstream

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 * Redistributions of works must retain the original copyright notice, this
 list of conditions and the following disclaimer.
 .
 * Redistributions in binary form must reproduce the original copyright
 notice, this list of conditions and the following disclaimer in the
 documentation and/or other materials provided with the distribution.
 .
 * Neither the name of W3C nor the names of its contributors may be used to
 endorse or promote products derived from this work without specific prior
 written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 .
 This is the W3C 3-clause BSD License
 (https://www.w3.org/copyright/3-clause-bsd-license-2008/), in effect since
 20 August 2008 and derived from the OSI 3-clause BSD licence.

License: CC-BY-SA-3.0
 On Debian systems, the complete text of the Creative Commons
 Attribution-ShareAlike 3.0 Unported License can be found in
 "/usr/share/common-licenses/CC-BY-SA-3.0".

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
