{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/c1k-me/json-schema/c1k-me-import-rows-schema.json",
  "title": "ImportRows",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/c1k-me-openapi.yml#/components/schemas/ImportRows",
  "type": "array",
  "minItems": 1,
  "maxItems": 25,
  "items": {
    "type": "object",
    "required": [
      "row",
      "destination_url"
    ],
    "properties": {
      "row": {
        "type": "integer",
        "minimum": 1,
        "maximum": 1000000,
        "description": "Number of the row in the file; results use it."
      },
      "destination_url": {
        "type": "string",
        "format": "uri"
      },
      "slug": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{3,48}$"
      },
      "title": {
        "type": "string",
        "maxLength": 120
      },
      "tags": {
        "type": "array",
        "maxItems": 5,
        "items": {
          "type": "string",
          "minLength": 1,
          "maxLength": 24
        }
      },
      "campaign": {
        "type": "string",
        "maxLength": 64
      },
      "starts_at": {
        "type": "string",
        "format": "date-time"
      },
      "expires_at": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}