{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getlinkintel-com/json-schema/getlinkintel-com-ingest-request-schema.json",
  "title": "IngestRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/getlinkintel-com-api-openapi.json#/components/schemas/IngestRequest",
  "oneOf": [
    {
      "$ref": "#/$defs/IngestPost"
    },
    {
      "type": "object",
      "required": [
        "posts"
      ],
      "properties": {
        "posts": {
          "type": "array",
          "maxItems": 50,
          "items": {
            "oneOf": [
              {
                "$ref": "#/$defs/IngestPost"
              },
              {
                "type": "string",
                "format": "uri"
              }
            ]
          }
        }
      }
    }
  ],
  "$defs": {
    "IngestPost": {
      "type": "object",
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Post URL. Also read from post_url, postUrl, link, permalink, post_link, share_url, releaseURL or externalLink."
        },
        "posted_at": {
          "type": "string",
          "format": "date-time",
          "description": "Also read from postedAt, published_at, publishedAt, publishDate or date."
        },
        "text": {
          "type": "string",
          "description": "Post text. Also read from content, message, body or commentary."
        }
      }
    }
  }
}