{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/influship-com/json-schema/influship-com-ingest-creator-request-schema.json",
  "title": "IngestCreatorRequest",
  "description": "On-demand creator ingest request",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/influship-com-openapi.json#/components/schemas/IngestCreatorRequest",
  "type": "object",
  "properties": {
    "platform": {
      "description": "Platform of the handle to ingest. Use `instagram`.",
      "$ref": "#/$defs/Platform"
    },
    "username": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50,
      "description": "Handle to ingest. A leading `@` is stripped and the handle is lowercased before validation."
    },
    "source_query": {
      "description": "Optional free-text note describing why this creator is being ingested (e.g. the search that surfaced them). Stored for your own attribution; does not affect processing.",
      "type": "string",
      "maxLength": 500
    }
  },
  "required": [
    "platform",
    "username"
  ],
  "$defs": {
    "Platform": {
      "type": "string",
      "enum": [
        "instagram"
      ],
      "description": "Social media platform"
    }
  }
}