{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/web3icon-xyz/json-schema/web3icon-xyz-motion-schema.json",
  "title": "Motion",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/web3icon-xyz-openapi.json#/components/schemas/Motion",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "previewUrl": {
      "type": "string"
    },
    "dataUrl": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "updatedAt": {
      "type": "string",
      "format": "date"
    },
    "endpoint": {
      "type": "string"
    },
    "license": {
      "$ref": "#/$defs/AssetLicense"
    }
  },
  "required": [
    "slug",
    "title",
    "description",
    "previewUrl",
    "dataUrl",
    "tags",
    "endpoint"
  ],
  "$defs": {
    "AssetLicense": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "const": "Web3icon Free Use License"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "attribution": {
          "type": "string",
          "const": "not-required"
        },
        "redistribution": {
          "type": "string",
          "const": "prohibited"
        },
        "copyrightHolder": {
          "type": "string",
          "const": "Yuhitsuro"
        },
        "copyrightUrl": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "name",
        "url",
        "attribution",
        "redistribution",
        "copyrightHolder",
        "copyrightUrl"
      ]
    }
  }
}