{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-insights-request-schema.json",
  "title": "InsightsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-content-api-openapi.yml#/components/schemas/InsightsRequest",
  "properties": {
    "source": {
      "$ref": "#/$defs/SourceIn"
    },
    "artifacts": {
      "items": {
        "$ref": "#/$defs/ArtifactIn"
      },
      "type": "array",
      "title": "Artifacts"
    }
  },
  "type": "object",
  "required": [
    "source"
  ],
  "$defs": {
    "ArtifactIn": {
      "properties": {
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "artifactType": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Artifacttype"
        },
        "alt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Alt"
        },
        "caption": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Caption"
        },
        "width": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Width"
        },
        "height": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Height"
        }
      },
      "type": "object",
      "required": [
        "filename"
      ],
      "title": "ArtifactIn"
    },
    "SourceIn": {
      "properties": {
        "title": {
          "type": "string",
          "title": "Title"
        },
        "page_url": {
          "type": "string",
          "title": "Page Url",
          "description": "Canonical public URL of the source page",
          "default": ""
        },
        "markdown": {
          "type": "string",
          "title": "Markdown",
          "description": "Clean markdown of the full source"
        }
      },
      "type": "object",
      "required": [
        "title",
        "markdown"
      ],
      "title": "SourceIn"
    }
  }
}