{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scoreconso-fr/json-schema/scoreconso-fr-marketplace-facts-schema.json",
  "title": "MarketplaceFacts",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scoreconso-fr-openapi.json#/components/schemas/MarketplaceFacts",
  "properties": {
    "buyer_is_consumer": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Buyer Is Consumer",
      "default": "unknown"
    },
    "marketplace_transaction": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Marketplace Transaction",
      "default": "unknown"
    },
    "distance_contract": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Distance Contract",
      "default": "unknown"
    },
    "seller_status_declared": {
      "type": "string",
      "enum": [
        "professional",
        "private",
        "unknown"
      ],
      "title": "Seller Status Declared",
      "default": "unknown"
    },
    "contractual_seller_identity_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Contractual Seller Identity Present",
      "default": "unknown"
    },
    "seller_identifier_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Seller Identifier Present",
      "default": "unknown"
    },
    "platform_role_disclosed": {
      "type": "string",
      "enum": [
        "contractual_seller",
        "intermediary",
        "payment_only",
        "mixed_or_unclear",
        "unknown"
      ],
      "title": "Platform Role Disclosed",
      "default": "unknown"
    },
    "invoice_issuer": {
      "type": "string",
      "enum": [
        "seller",
        "platform",
        "none",
        "unknown"
      ],
      "title": "Invoice Issuer",
      "default": "unknown"
    },
    "dispute_type": {
      "type": "string",
      "enum": [
        "non_delivery",
        "conformity",
        "refund",
        "seller_identity",
        "other",
        "unknown"
      ],
      "title": "Dispute Type",
      "default": "unknown"
    },
    "seller_location": {
      "type": "string",
      "enum": [
        "france",
        "eu_eea",
        "outside_eu_eea",
        "unknown"
      ],
      "title": "Seller Location",
      "default": "unknown"
    },
    "platform_dispute_role_disclosed": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Platform Dispute Role Disclosed",
      "default": "unknown"
    },
    "written_claim_target": {
      "type": "string",
      "enum": [
        "seller",
        "platform",
        "both",
        "none",
        "unknown"
      ],
      "title": "Written Claim Target",
      "default": "unknown"
    },
    "order_confirmation_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Order Confirmation Present",
      "default": "unknown"
    },
    "invoice_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Invoice Present",
      "default": "unknown"
    },
    "offer_capture_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Offer Capture Present",
      "default": "unknown"
    },
    "written_exchanges_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Written Exchanges Present",
      "default": "unknown"
    },
    "contract_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contract Date"
    },
    "proceeding_started": {
      "type": "boolean",
      "title": "Proceeding Started",
      "default": false
    },
    "bodily_injury": {
      "type": "boolean",
      "title": "Bodily Injury",
      "default": false
    },
    "suspected_criminal_fraud": {
      "type": "boolean",
      "title": "Suspected Criminal Fraud",
      "default": false
    },
    "urgent_deadline_days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 3650.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Urgent Deadline Days"
    }
  },
  "additionalProperties": false,
  "type": "object"
}