{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kibo-commerce/main/json-schema/kibo-commerce-create-report-request-schema.json",
  "title": "CreateReportRequest",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kibo-commerce-gdpr-openapi.yml#/components/schemas/CreateReportRequest",
  "properties": {
    "attributeFqns": {
      "$ref": "#/$defs/AttributeFqnsRequest"
    },
    "clearDataNodes": {
      "$ref": "#/$defs/ClearDataNodesRequest"
    },
    "customerAccountId": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "userId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "AttributeFqnsRequest": {
      "properties": {
        "customer": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "order": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "return": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "shipment": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "ClearDataNodesRequest": {
      "properties": {
        "checkouts": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "orders": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "shipments": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "type": "object"
    }
  }
}