{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/epicdirectories/json-schema/epicdirectories-bulk-set-attributes-dto-schema.json",
  "title": "BulkSetAttributesDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/epicdirectories-listing-attributes-api-openapi.yml#/components/schemas/BulkSetAttributesDto",
  "type": "object",
  "properties": {
    "listingIds": {
      "description": "Listing IDs to update",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "attributes": {
      "description": "Array of attribute values to set on all listings",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AttributeValueDto"
      }
    }
  },
  "required": [
    "listingIds",
    "attributes"
  ],
  "$defs": {
    "AttributeValueDto": {
      "type": "object",
      "properties": {
        "attributeTemplateId": {
          "type": "string",
          "description": "Attribute template ID"
        },
        "value": {
          "type": "object",
          "description": "Value (type depends on attribute template)"
        }
      },
      "required": [
        "attributeTemplateId",
        "value"
      ]
    }
  }
}