diff options
Diffstat (limited to 'src/components/FlowLicense.astro')
| -rw-r--r-- | src/components/FlowLicense.astro | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/components/FlowLicense.astro b/src/components/FlowLicense.astro new file mode 100644 index 0000000..9aef9b9 --- /dev/null +++ b/src/components/FlowLicense.astro @@ -0,0 +1,47 @@ +--- +// いじめ重大事態対応フロー図のライセンスを、検索エンジンやAI向けに構造化データで示す。 +// 公立学校版・私立学校版のどちらも同じライセンスであることを、hasPart でも明示する。 +const siteUrl = Astro.site ?? new URL(Astro.url.origin); +const pageUrl = new URL(Astro.url.pathname, siteUrl).href; +const svgUrl = (name: string) => new URL(`/ijime-judai-jitai/images/${name}`, siteUrl).href; +const LICENSE_URL = 'https://creativecommons.org/licenses/by-nd/4.0/'; + +const data = { + '@context': 'https://schema.org', + '@type': 'CreativeWork', + name: 'いじめ重大事態対応フロー図(公立学校版・私立学校版)', + description: + '文部科学省「いじめの重大事態の調査に関するガイドライン」に基づき、いじめ重大事態への対応を誰が・いつ・何をするのか整理したフロー図です。公立学校版と私立学校版があり、どちらも同じライセンスです。', + url: pageUrl, + license: LICENSE_URL, + usageInfo: pageUrl, + creator: { + '@type': 'Person', + name: '安竹洋平', + jobTitle: '小平市議会議員', + url: new URL('/', siteUrl).href, + }, + copyrightHolder: { '@type': 'Person', name: '安竹洋平' }, + copyrightYear: 2026, + isBasedOn: + '文部科学省「いじめの重大事態の調査に関するガイドライン」(令和6年8月改訂版)', + creditText: + '安竹洋平(小平市議会議員)/いじめ重大事態対応フロー図 https://yasutakeyohei.com/ijime-judai-jitai/flow/', + hasPart: [ + { + '@type': 'CreativeWork', + name: 'いじめ重大事態対応フロー図(公立学校版)', + url: svgUrl('ijime-judai-flow.svg'), + license: LICENSE_URL, + }, + { + '@type': 'CreativeWork', + name: 'いじめ重大事態対応フロー図(私立学校版)', + url: svgUrl('ijime-judai-flow-private.svg'), + license: LICENSE_URL, + }, + ], +}; +--- + +<script type="application/ld+json" is:inline set:html={JSON.stringify(data)} /> |
