リファレンス · データの入口(自分で用意した地球の地図や軌道データを、ライセンスと出典つきのソースとして渡し、いま画面にあるのは誰のデータかを示します)
Licence型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A licence: its name and a link are always shown beside the credit. *
インポート
import type { Licence } from "@johnmorrisdotca/chikyu-earth/door";
定義
interface Licence {
name: string;
nameJa?: string;
url: string;
spdx?: string;
nonCommercial?: boolean;
shareAlike?: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
name | string | |
nameJa (省略可) | string | undefined | The name in Japanese, for a Japanese credit line: a source's own terms ( |
url | string | |
spdx (省略可) | string | undefined | An SPDX identifier, when there is one. |
nonCommercial (省略可) | boolean | undefined | |
shareAlike (省略可) | boolean | undefined |
例
import type { Licence } from "./data-door.ts";
const licence: Licence = { name: "CC BY 4.0", url: "https://creativecommons.org/licenses/by/4.0/", spdx: "CC-BY-4.0" };この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。