<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>JSON Schema を使えば，自分が欲しい構造の JSON データであるかを簡単に判定できるので，とても便利です． まずは JavaScript で JSON Schema を使ってみます． ajv を使う JSON schema バリデータの実装はたくさんありますが，今回は，Ajv JSON schema validator を使って，以下のようなスクリプトを実行してみます． package.json { &quot;dependencies&quot;: { &quot;ajv&quot;: &quot;^8.12.0&quot; } } main.mjs import Ajv from &quot;ajv&quot;; const ajv = new Ajv()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2023%2F12%2F21%2F143938&quot; title=&quot;JavaScriptでJSON SchemaとMeta-schemaを使ってみる - みーのぺーじ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-21 14:39:38</published>
  <title>JavaScriptでJSON SchemaとMeta-schemaを使ってみる</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2023/12/21/143938</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
