{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scoreconso-fr/json-schema/scoreconso-fr-subscription-facts-schema.json",
  "title": "SubscriptionFacts",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scoreconso-fr-openapi.json#/components/schemas/SubscriptionFacts",
  "properties": {
    "buyer_is_consumer": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Buyer Is Consumer",
      "default": "unknown"
    },
    "seller_is_professional": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Seller Is Professional",
      "default": "unknown"
    },
    "contract_kind": {
      "type": "string",
      "enum": [
        "service",
        "digital_service",
        "rental",
        "insurance",
        "other",
        "unknown"
      ],
      "title": "Contract Kind",
      "default": "unknown"
    },
    "contract_duration": {
      "type": "string",
      "enum": [
        "fixed_term",
        "tacit_renewal",
        "indefinite",
        "unknown"
      ],
      "title": "Contract Duration",
      "default": "unknown"
    },
    "contract_concluded_electronically": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Contract Concluded Electronically",
      "default": "unknown"
    },
    "professional_offers_online_subscription_now": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Professional Offers Online Subscription Now",
      "default": "unknown"
    },
    "online_termination_feature_status": {
      "type": "string",
      "enum": [
        "available",
        "unavailable",
        "inaccessible",
        "unknown"
      ],
      "title": "Online Termination Feature Status",
      "default": "unknown"
    },
    "termination_conditions_known": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Termination Conditions Known",
      "default": "unknown"
    },
    "minimum_commitment_active": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Minimum Commitment Active",
      "default": "unknown"
    },
    "legitimate_reason_claimed": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Legitimate Reason Claimed",
      "default": "unknown"
    },
    "renewal_notice_status": {
      "type": "string",
      "enum": [
        "compliant",
        "not_received",
        "outside_window",
        "missing_deadline",
        "not_applicable",
        "unknown"
      ],
      "title": "Renewal Notice Status",
      "default": "unknown"
    },
    "termination_notice_sent": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Termination Notice Sent",
      "default": "unknown"
    },
    "receipt_confirmation_received": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Receipt Confirmation Received",
      "default": "unknown"
    },
    "end_date_communicated": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "End Date Communicated",
      "default": "unknown"
    },
    "contract_document_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Contract Document Present",
      "default": "unknown"
    },
    "renewal_notice_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Renewal Notice Present",
      "default": "unknown"
    },
    "termination_capture_present": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "unknown"
      ],
      "title": "Termination Capture Present",
      "default": "unknown"
    },
    "contract_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contract Date"
    },
    "renewal_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Renewal Date"
    },
    "termination_notice_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Termination Notice 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"
}