{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/imagestep-dev/json-schema/imagestep-dev-from-url-request-schema.json",
  "title": "FromUrlRequest",
  "description": "Images to ingest by URL",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/imagestep-dev-openapi.json#/components/schemas/FromUrlRequest",
  "type": "object",
  "properties": {
    "urls": {
      "type": "array",
      "description": "Public http(s) image URLs, fetched by this service: at least one, at most 20.",
      "items": {
        "type": "string"
      }
    },
    "collection": {
      "type": "string",
      "description": "Collection to put every new asset in (optional; at most 200 characters, and names starting with job: are reserved)."
    },
    "tags": {
      "type": "array",
      "description": "Tags attached to every new asset (optional): your own labels, matched exactly by GET /api/v1/assets?tag= (at most 50, each at most 100 characters)",
      "items": {
        "type": "string"
      }
    },
    "retentionDays": {
      "type": "integer",
      "format": "int32",
      "description": "Keep every new asset this many days instead of your plan's retention — shorter only; more is kept for the plan's time (imagestep#591). Each asset's `expiresAt` says what was stamped.",
      "minimum": 1
    }
  },
  "required": [
    "urls"
  ]
}