{
  "description": "Search DeviantArt artwork, browse a tag, read an artist's gallery, collect Daily Deviations, or open specific artwork pages.",
  "properties": {
    "artworkUrls": {
      "description": "Artwork page URLs, /art/... links, or numeric deviation IDs.",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "title": "Artwork URLs or IDs",
      "type": "array"
    },
    "contentType": {
      "default": "all",
      "description": "Limit keyword searches to images or literature.",
      "editor": "select",
      "enum": [
        "all",
        "image",
        "literature"
      ],
      "enumTitles": [
        "All content",
        "Images only",
        "Literature only"
      ],
      "title": "Content type",
      "type": "string"
    },
    "excludeMature": {
      "default": false,
      "description": "Skip artwork flagged as mature or sensitive.",
      "editor": "checkbox",
      "prefill": false,
      "title": "Exclude mature artwork",
      "type": "boolean"
    },
    "includeArtistStats": {
      "default": false,
      "description": "Open each artist profile to add watchers, deviation count, pageviews and join date.",
      "editor": "checkbox",
      "prefill": false,
      "title": "Include artist statistics",
      "type": "boolean"
    },
    "includeDetails": {
      "default": false,
      "description": "Open each artwork page to add tags, description, original dimensions, file size and watermark flag when available.",
      "editor": "checkbox",
      "prefill": false,
      "title": "Include artwork details",
      "type": "boolean"
    },
    "maxItems": {
      "default": 30,
      "description": "Maximum number of artwork records to return.",
      "maximum": 500,
      "minimum": 1,
      "prefill": 3,
      "title": "Maximum records",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "Choose what to collect.",
      "editor": "select",
      "enum": [
        "search",
        "tag",
        "gallery",
        "daily",
        "artwork"
      ],
      "enumTitles": [
        "Search by keyword",
        "Browse a tag",
        "Artist gallery",
        "Daily Deviations",
        "Specific artwork URLs or IDs"
      ],
      "prefill": "tag",
      "title": "Mode",
      "type": "string"
    },
    "order": {
      "default": "recommended",
      "description": "Order used when browsing a tag.",
      "editor": "select",
      "enum": [
        "recommended",
        "most-recent"
      ],
      "enumTitles": [
        "Recommended",
        "Most recent"
      ],
      "title": "Tag order",
      "type": "string"
    },
    "searchQuery": {
      "default": "fantasy art",
      "description": "Keyword or phrase to search for. Supports DeviantArt search syntax.",
      "editor": "textfield",
      "title": "Search query",
      "type": "string"
    },
    "tag": {
      "description": "Tag slug or tag URL, for example fantasy or https://www.deviantart.com/tag/fantasy.",
      "editor": "textfield",
      "prefill": "fantasy",
      "title": "Tag",
      "type": "string"
    },
    "username": {
      "description": "DeviantArt username or profile URL whose gallery should be collected.",
      "editor": "textfield",
      "title": "Artist username",
      "type": "string"
    }
  },
  "required": [
    "mode"
  ],
  "schemaVersion": 1,
  "title": "DeviantArt Scraper Input",
  "type": "object"
}
