MCP Server

ScoreConso — service documentaire

fr.scoreconso/public
Knowledge & Documentation Legal & Compliance Public & reachable MCP 2025-11-25

What this MCP does

Provides French consumer-dispute documentation tools for versioned rules, evidence checklists, case routing, mediator and enterprise checks, and dossier scoring.

scoreconso_build_action_plan
Construire le plan d'action documentaire
Construit l'ordre des démarches documentaires à partir des faits confirmés. Ne transmet rien et n'envoie aucun courrier.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'DeliveryFacts': {'type': 'object', 'title': 'DeliveryFacts', 'properties': {'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'distance_contract': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Distance Contract', 'default': 'unknown'}, 'formal_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Formal Notice Date', 'default': None}, 'formal_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Formal Notice Sent', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'third_party_status': {'enum': ['none', 'designated_received', 'not_designated_received', 'unknown'], 'type': 'string', 'title': 'Third Party Status', 'default': 'unknown'}, 'written_claim_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Claim Sent', 'default': 'unknown'}, 'carrier_selected_by': {'enum': ['seller_or_offered', 'consumer_independent', 'unknown'], 'type': 'string', 'title': 'Carrier Selected By', 'default': 'unknown'}, 'physical_possession': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Physical Possession', 'default': 'unknown'}, 'pickup_point_status': {'enum': ['not_applicable', 'agreed_not_collected', 'agreed_collected', 'not_agreed', 'unknown'], 'type': 'string', 'title': 'Pickup Point Status', 'default': 'unknown'}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'payment_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Payment Proof Present', 'default': 'unknown'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}, 'resolution_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Resolution Notice Date', 'default': None}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'tracking_capture_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Capture Present', 'default': 'unknown'}, 'tracking_marked_delivered': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Marked Delivered', 'default': 'unknown'}, 'carrier_handover_confirmed': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Carrier Handover Confirmed', 'default': 'unknown'}, 'order_confirmation_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Order Confirmation Present', 'default': 'unknown'}, 'delivery_date_was_essential': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Delivery Date Was Essential', 'default': 'unknown'}, 'professional_refused_delivery': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Professional Refused Delivery', 'default': 'unknown'}, 'contract_resolved_under_l216_6': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Resolved Under L216 6', 'default': 'unknown'}, 'performance_clearly_impossible': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Performance Clearly Impossible', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'action_planArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/DeliveryFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_check_deadline
Vérifier le repère de remboursement
Calcule uniquement le repère de quatorze jours après une résolution explicitement confirmée au titre de l'article L216-6. Sans point de départ valide ou RulePack applicable à la date du contrat, aucun délai n'est inventé.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'DeliveryFacts': {'type': 'object', 'title': 'DeliveryFacts', 'properties': {'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'distance_contract': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Distance Contract', 'default': 'unknown'}, 'formal_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Formal Notice Date', 'default': None}, 'formal_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Formal Notice Sent', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'third_party_status': {'enum': ['none', 'designated_received', 'not_designated_received', 'unknown'], 'type': 'string', 'title': 'Third Party Status', 'default': 'unknown'}, 'written_claim_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Claim Sent', 'default': 'unknown'}, 'carrier_selected_by': {'enum': ['seller_or_offered', 'consumer_independent', 'unknown'], 'type': 'string', 'title': 'Carrier Selected By', 'default': 'unknown'}, 'physical_possession': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Physical Possession', 'default': 'unknown'}, 'pickup_point_status': {'enum': ['not_applicable', 'agreed_not_collected', 'agreed_collected', 'not_agreed', 'unknown'], 'type': 'string', 'title': 'Pickup Point Status', 'default': 'unknown'}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'payment_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Payment Proof Present', 'default': 'unknown'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}, 'resolution_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Resolution Notice Date', 'default': None}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'tracking_capture_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Capture Present', 'default': 'unknown'}, 'tracking_marked_delivered': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Marked Delivered', 'default': 'unknown'}, 'carrier_handover_confirmed': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Carrier Handover Confirmed', 'default': 'unknown'}, 'order_confirmation_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Order Confirmation Present', 'default': 'unknown'}, 'delivery_date_was_essential': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Delivery Date Was Essential', 'default': 'unknown'}, 'professional_refused_delivery': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Professional Refused Delivery', 'default': 'unknown'}, 'contract_resolved_under_l216_6': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Resolved Under L216 6', 'default': 'unknown'}, 'performance_clearly_impossible': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Performance Clearly Impossible', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'check_deadlineArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/DeliveryFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}}, 'title': 'DeadlineCheckEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'deadline', 'facts_used', 'facts_missing', 'sources', 'assumptions', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'deadline': {'$ref': '#/$defs/DeadlineResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'deadline_check', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}}, 'additionalProperties': False}
scoreconso_get_evidence_checklist
Lister les preuves du parcours
Retourne les preuves déclarées présentes ou manquantes pour le premier parcours, ainsi que les faits discriminants encore nécessaires.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'DeliveryFacts': {'type': 'object', 'title': 'DeliveryFacts', 'properties': {'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'distance_contract': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Distance Contract', 'default': 'unknown'}, 'formal_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Formal Notice Date', 'default': None}, 'formal_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Formal Notice Sent', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'third_party_status': {'enum': ['none', 'designated_received', 'not_designated_received', 'unknown'], 'type': 'string', 'title': 'Third Party Status', 'default': 'unknown'}, 'written_claim_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Claim Sent', 'default': 'unknown'}, 'carrier_selected_by': {'enum': ['seller_or_offered', 'consumer_independent', 'unknown'], 'type': 'string', 'title': 'Carrier Selected By', 'default': 'unknown'}, 'physical_possession': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Physical Possession', 'default': 'unknown'}, 'pickup_point_status': {'enum': ['not_applicable', 'agreed_not_collected', 'agreed_collected', 'not_agreed', 'unknown'], 'type': 'string', 'title': 'Pickup Point Status', 'default': 'unknown'}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'payment_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Payment Proof Present', 'default': 'unknown'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}, 'resolution_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Resolution Notice Date', 'default': None}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'tracking_capture_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Capture Present', 'default': 'unknown'}, 'tracking_marked_delivered': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Marked Delivered', 'default': 'unknown'}, 'carrier_handover_confirmed': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Carrier Handover Confirmed', 'default': 'unknown'}, 'order_confirmation_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Order Confirmation Present', 'default': 'unknown'}, 'delivery_date_was_essential': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Delivery Date Was Essential', 'default': 'unknown'}, 'professional_refused_delivery': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Professional Refused Delivery', 'default': 'unknown'}, 'contract_resolved_under_l216_6': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Resolved Under L216 6', 'default': 'unknown'}, 'performance_clearly_impossible': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Performance Clearly Impossible', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'evidence_checklistArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/DeliveryFacts'}}}
Output schema
{'type': 'object', '$defs': {'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}}, 'title': 'EvidenceChecklistEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'qualification_status', 'facts_missing', 'evidence', 'sources', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'result_type': {'type': 'string', 'const': 'evidence_checklist', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_get_rule
Consulter une règle versionnée
Retourne une règle canonique, sa période d'application, son statut éditorial et ses sources officielles. applicable_on désigne la date du contrat ou des faits à examiner.
Read only Idempotent
Input schema
{'type': 'object', 'title': 'get_ruleArguments', 'required': ['rule_id'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}}}
Output schema
{'type': 'object', '$defs': {'RuleRecord': {'type': 'object', 'title': 'RuleRecord', 'required': ['rule_id', 'jurisdiction', 'domain', 'topic_id', 'status', 'verified_at', 'title', 'summary', 'applicability', 'exceptions', 'required_facts', 'possible_outcomes', 'evidence_expected', 'next_steps', 'source_ids', 'uncertainty'], 'properties': {'title': {'type': 'string', 'title': 'Title'}, 'domain': {'type': 'string', 'title': 'Domain'}, 'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'topic_id': {'type': 'string', 'title': 'Topic Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To', 'default': None}, 'exceptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Exceptions'}, 'next_steps': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Next Steps'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'supersedes': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Supersedes', 'default': None}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From', 'default': None}, 'uncertainty': {'$ref': '#/$defs/RuleUncertainty'}, 'verified_at': {'type': 'string', 'title': 'Verified At', 'format': 'date'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicability': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Applicability'}, 'required_facts': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Required Facts'}, 'evidence_expected': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Evidence Expected'}, 'possible_outcomes': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Possible Outcomes'}}, 'additionalProperties': False}, 'SourceRecord': {'type': 'object', 'title': 'SourceRecord', 'required': ['source_id', 'title', 'authority', 'source_type', 'jurisdiction', 'url', 'checked_at', 'status', 'summary'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}, 'source_type': {'enum': ['legislation', 'official_guidance'], 'type': 'string', 'title': 'Source Type'}, 'jurisdiction': {'enum': ['FR', 'EU'], 'type': 'string', 'title': 'Jurisdiction'}, 'effective_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Effective From', 'default': None}}, 'additionalProperties': False}, 'RuleUncertainty': {'type': 'object', 'title': 'RuleUncertainty', 'required': ['status'], 'properties': {'note': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Note', 'default': None}, 'status': {'enum': ['none', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}}, 'title': 'RuleLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'applicable_on', 'applicability_status', 'rule', 'sources', 'passport', 'disclaimer_code'], 'properties': {'rule': {'$ref': '#/$defs/RuleRecord'}, 'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceRecord'}, 'title': 'Sources'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'result_type': {'type': 'string', 'const': 'rule_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}
scoreconso_get_template
Consulter une trame générique
Retourne les conditions, avertissements et sources d'une trame ScoreConso. La trame reste générique et aucune expédition n'est possible.
Read only Idempotent
Input schema
{'type': 'object', 'title': 'get_templateArguments', 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'template_id': {'type': 'string', 'title': 'Template Id', 'default': 'delivery_execution_then_resolution'}}}
Output schema
{'type': 'object', '$defs': {'SourceRecord': {'type': 'object', 'title': 'SourceRecord', 'required': ['source_id', 'title', 'authority', 'source_type', 'jurisdiction', 'url', 'checked_at', 'status', 'summary'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}, 'source_type': {'enum': ['legislation', 'official_guidance'], 'type': 'string', 'title': 'Source Type'}, 'jurisdiction': {'enum': ['FR', 'EU'], 'type': 'string', 'title': 'Jurisdiction'}, 'effective_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Effective From', 'default': None}}, 'additionalProperties': False}, 'TemplateRecord': {'type': 'object', 'title': 'TemplateRecord', 'required': ['template_id', 'title', 'route_id', 'status', 'letter_slug', 'path', 'conditions', 'warnings', 'source_ids', 'automation_policy'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'conditions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Conditions'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'letter_slug': {'type': 'string', 'title': 'Letter Slug'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}}, 'title': 'TemplateLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'template', 'sources', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceRecord'}, 'title': 'Sources'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'template': {'$ref': '#/$defs/TemplateRecord'}, 'result_type': {'type': 'string', 'const': 'template_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}}, 'additionalProperties': False}
scoreconso_lookup_enterprise_identity
Vérifier une identité administrative
Recherche exacte d'un SIREN ou SIRET dans l'API Recherche d'entreprises. Seul le numéro est transmis à cette API administrative officielle. Le résultat confirme une identité publiée, jamais la fiabilité, la solvabilité ou la propriété d'un site internet.
Read only Open world Idempotent
Input schema
{'type': 'object', 'title': 'lookup_enterprise_identityArguments', 'required': ['identifier'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'identifier': {'type': 'string', 'title': 'Identifier'}}}
Output schema
{'type': 'object', '$defs': {'EnterpriseIdentity': {'type': 'object', 'title': 'EnterpriseIdentity', 'required': ['identifier_type', 'siren', 'siret', 'legal_name', 'administrative_status', 'establishment_status', 'is_head_office', 'is_entrepreneur_individuel', 'public_address', 'locality', 'address_scope', 'activity_code', 'activity_section', 'legal_nature_code', 'created_on', 'closed_on', 'official_data_updated_at', 'trade_names'], 'properties': {'siren': {'type': 'string', 'title': 'Siren'}, 'siret': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Siret'}, 'locality': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Locality'}, 'closed_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Closed On'}, 'created_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Created On'}, 'legal_name': {'type': 'string', 'title': 'Legal Name'}, 'trade_names': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Trade Names'}, 'activity_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Activity Code'}, 'address_scope': {'enum': ['public_full', 'locality_only_data_minimization', 'unavailable'], 'type': 'string', 'title': 'Address Scope'}, 'is_head_office': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'title': 'Is Head Office'}, 'public_address': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Public Address'}, 'identifier_type': {'enum': ['siren', 'siret'], 'type': 'string', 'title': 'Identifier Type'}, 'activity_section': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Activity Section'}, 'legal_nature_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Legal Nature Code'}, 'establishment_count': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}], 'title': 'Establishment Count', 'default': None}, 'establishment_status': {'anyOf': [{'enum': ['active', 'closed', 'unknown'], 'type': 'string'}, {'type': 'null'}], 'title': 'Establishment Status'}, 'administrative_status': {'enum': ['active', 'closed', 'unknown'], 'type': 'string', 'title': 'Administrative Status'}, 'official_data_updated_at': {'anyOf': [{'type': 'string', 'format': 'date-time'}, {'type': 'null'}], 'title': 'Official Data Updated At'}, 'open_establishment_count': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}], 'title': 'Open Establishment Count', 'default': None}, 'is_entrepreneur_individuel': {'type': 'boolean', 'title': 'Is Entrepreneur Individuel'}}, 'additionalProperties': False}, 'EnterpriseDirectorySource': {'type': 'object', 'title': 'EnterpriseDirectorySource', 'required': ['api_id', 'title', 'authority', 'api_url', 'documentation_url', 'directory_url', 'underlying_sources', 'access', 'verified_at'], 'properties': {'title': {'type': 'string', 'title': 'Title'}, 'access': {'type': 'string', 'const': 'public_open_api', 'title': 'Access'}, 'api_id': {'type': 'string', 'const': 'api-recherche-entreprises', 'title': 'Api Id'}, 'api_url': {'type': 'string', 'title': 'Api Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'authority': {'type': 'string', 'title': 'Authority'}, 'verified_at': {'type': 'string', 'title': 'Verified At', 'format': 'date'}, 'directory_url': {'type': 'string', 'title': 'Directory Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'documentation_url': {'type': 'string', 'title': 'Documentation Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'underlying_sources': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Underlying Sources'}}, 'additionalProperties': False}}, 'title': 'EnterpriseLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'queried_at', 'source', 'normalized_identifier', 'identifier_type', 'format_status', 'lookup_status', 'source_status', 'transmitted_to_official_api', 'identity', 'warnings', 'limitations', 'data_handling_notice', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source': {'$ref': '#/$defs/EnterpriseDirectorySource'}, 'identity': {'anyOf': [{'$ref': '#/$defs/EnterpriseIdentity'}, {'type': 'null'}]}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'queried_at': {'type': 'string', 'title': 'Queried At', 'format': 'date-time'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'result_type': {'type': 'string', 'const': 'enterprise_administrative_identity_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'format_status': {'enum': ['valid', 'luhn_unusual', 'invalid_characters', 'invalid_length', 'placeholder'], 'type': 'string', 'title': 'Format Status'}, 'lookup_status': {'enum': ['matched', 'no_match', 'invalid_input', 'source_unavailable'], 'type': 'string', 'title': 'Lookup Status'}, 'source_status': {'enum': ['live', 'volatile_cache', 'stale_cache', 'unavailable', 'not_called'], 'type': 'string', 'title': 'Source Status'}, 'disclaimer_code': {'type': 'string', 'const': 'ADMINISTRATIVE_IDENTITY_ONLY', 'title': 'Disclaimer Code'}, 'identifier_type': {'enum': ['siren', 'siret', 'unknown'], 'type': 'string', 'title': 'Identifier Type'}, 'source_age_seconds': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}], 'title': 'Source Age Seconds', 'default': None}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}, 'normalized_identifier': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Normalized Identifier'}, 'transmitted_to_official_api': {'type': 'boolean', 'title': 'Transmitted To Official Api'}}, 'additionalProperties': False}
scoreconso_lookup_mediator_reference
Contrôler une référence de médiateur
Recherche localement un nom, un site, un code secteur ou une catégorie dans le snapshot daté de l'annuaire CECMC. Une exploration sectorielle ne prouve jamais que le professionnel a désigné ou rejoint l'un des médiateurs proposés. Un seul sélecteur doit être fourni.
Read only Idempotent
Input schema
{'type': 'object', 'title': 'lookup_mediatorArguments', 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 10}, 'query': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Query', 'default': None}, 'category': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Category', 'default': None}, 'sector_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Sector Code', 'default': None}}}
Output schema
{'type': 'object', '$defs': {'MediatorSector': {'type': 'object', 'title': 'MediatorSector', 'required': ['code', 'label', 'category'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'label': {'type': 'string', 'title': 'Label'}, 'category': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Category'}}, 'additionalProperties': False}, 'MediatorDatasetSource': {'type': 'object', 'title': 'MediatorDatasetSource', 'required': ['dataset_id', 'title', 'authority', 'dataset_page', 'cecmc_page', 'guidance_page', 'license', 'license_url', 'modified_at'], 'properties': {'title': {'type': 'string', 'title': 'Title'}, 'license': {'type': 'string', 'title': 'License'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'cecmc_page': {'type': 'string', 'title': 'Cecmc Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'dataset_id': {'type': 'string', 'const': 'mediation-consommation-annuaire-des-mediateurs', 'title': 'Dataset Id'}, 'license_url': {'type': 'string', 'title': 'License Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'modified_at': {'type': 'string', 'title': 'Modified At', 'format': 'date-time'}, 'dataset_page': {'type': 'string', 'title': 'Dataset Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'guidance_page': {'type': 'string', 'title': 'Guidance Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}}, 'additionalProperties': False}, 'MediatorReferenceMatch': {'type': 'object', 'title': 'MediatorReferenceMatch', 'required': ['mediator_id', 'name', 'type', 'url', 'url_security', 'match_basis', 'sectors', 'sector_count', 'sectors_truncated'], 'properties': {'url': {'anyOf': [{'type': 'string', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, {'type': 'null'}], 'title': 'Url'}, 'name': {'type': 'string', 'title': 'Name'}, 'type': {'type': 'string', 'title': 'Type'}, 'sectors': {'type': 'array', 'items': {'$ref': '#/$defs/MediatorSector'}, 'title': 'Sectors'}, 'match_basis': {'enum': ['exact_name', 'exact_host', 'name_contains', 'sector_code', 'category'], 'type': 'string', 'title': 'Match Basis'}, 'mediator_id': {'type': 'string', 'title': 'Mediator Id'}, 'sector_count': {'type': 'integer', 'title': 'Sector Count', 'minimum': 0}, 'url_security': {'enum': ['https', 'http_only', 'unavailable'], 'type': 'string', 'title': 'Url Security'}, 'sectors_truncated': {'type': 'boolean', 'title': 'Sectors Truncated'}}, 'additionalProperties': False}}, 'title': 'MediatorLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'snapshot_version', 'snapshot_sha256', 'source', 'freshness_status', 'source_age_days', 'selector_type', 'query', 'normalized_query', 'match_status', 'match_count', 'matches', 'results_truncated', 'warnings', 'limitations', 'next_step', 'data_handling_notice', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'query': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Query'}, 'source': {'$ref': '#/$defs/MediatorDatasetSource'}, 'matches': {'type': 'array', 'items': {'$ref': '#/$defs/MediatorReferenceMatch'}, 'title': 'Matches'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'next_step': {'type': 'string', 'title': 'Next Step'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'match_count': {'type': 'integer', 'title': 'Match Count', 'minimum': 0}, 'result_type': {'type': 'string', 'const': 'consumer_mediator_directory_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'match_status': {'enum': ['exact_match', 'possible_matches', 'exploration', 'no_match', 'invalid_input'], 'type': 'string', 'title': 'Match Status'}, 'selector_type': {'enum': ['query', 'sector_code', 'category', 'invalid'], 'type': 'string', 'title': 'Selector Type'}, 'disclaimer_code': {'type': 'string', 'const': 'CECMC_DIRECTORY_LOOKUP_ONLY', 'title': 'Disclaimer Code'}, 'snapshot_sha256': {'type': 'string', 'title': 'Snapshot Sha256', 'pattern': '^[0-9a-f]{64}$'}, 'source_age_days': {'type': 'integer', 'title': 'Source Age Days'}, 'freshness_status': {'enum': ['current', 'aging', 'stale', 'future_snapshot'], 'type': 'string', 'title': 'Freshness Status'}, 'normalized_query': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Normalized Query'}, 'snapshot_version': {'type': 'string', 'title': 'Snapshot Version'}, 'results_truncated': {'type': 'boolean', 'title': 'Results Truncated'}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}}, 'additionalProperties': False}
scoreconso_lookup_product_recall
Vérifier un code-barres dans RappelConso
Recherche exacte d'un GTIN dans le snapshot officiel daté de RappelConso V2. L'outil n'appelle aucun service externe, ne conserve pas le code et retourne l'empreinte du snapshot. Une absence de résultat ne prouve jamais la sécurité du produit et le jeu exclut les rappels sans GTIN.
Read only Idempotent
Input schema
{'type': 'object', 'title': 'lookup_recallArguments', 'required': ['gtin'], 'properties': {'gtin': {'type': 'string', 'title': 'Gtin'}, 'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}}}
Output schema
{'type': 'object', '$defs': {'RecallMatch': {'type': 'object', 'title': 'RecallMatch', 'required': ['recall_id', 'sheet_reference', 'version', 'publication_date', 'title', 'brand', 'category', 'subcategory', 'product_identification', 'packaging', 'sale_started_on', 'sale_ended_on', 'sale_area', 'recall_reason', 'risks', 'health_guidance', 'additional_risk', 'consumer_actions', 'compensation', 'procedure_ended_on', 'procedure_status', 'official_url'], 'properties': {'brand': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Brand'}, 'risks': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Risks'}, 'title': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Title'}, 'version': {'type': 'integer', 'title': 'Version'}, 'category': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Category'}, 'packaging': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Packaging'}, 'recall_id': {'type': 'integer', 'title': 'Recall Id'}, 'sale_area': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Sale Area'}, 'subcategory': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Subcategory'}, 'compensation': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Compensation'}, 'official_url': {'anyOf': [{'type': 'string', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, {'type': 'null'}], 'title': 'Official Url'}, 'recall_reason': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Recall Reason'}, 'sale_ended_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Sale Ended On'}, 'additional_risk': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Additional Risk'}, 'health_guidance': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Health Guidance'}, 'sale_started_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Sale Started On'}, 'sheet_reference': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Sheet Reference'}, 'consumer_actions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Consumer Actions'}, 'procedure_status': {'enum': ['end_date_not_declared', 'announced_ongoing', 'announced_ended'], 'type': 'string', 'title': 'Procedure Status'}, 'publication_date': {'anyOf': [{'type': 'string', 'format': 'date-time'}, {'type': 'null'}], 'title': 'Publication Date'}, 'procedure_ended_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Procedure Ended On'}, 'product_identification': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Product Identification'}}, 'additionalProperties': False}, 'RecallDatasetSource': {'type': 'object', 'title': 'RecallDatasetSource', 'required': ['dataset_id', 'title', 'authority', 'dataset_page', 'license', 'license_url', 'modified_at', 'excludes_products_without_gtin', 'includes_european_rapex'], 'properties': {'title': {'type': 'string', 'title': 'Title'}, 'license': {'type': 'string', 'title': 'License'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'dataset_id': {'type': 'string', 'const': 'rappelconso-v2-gtin-trie', 'title': 'Dataset Id'}, 'license_url': {'type': 'string', 'title': 'License Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'modified_at': {'type': 'string', 'title': 'Modified At', 'format': 'date-time'}, 'dataset_page': {'type': 'string', 'title': 'Dataset Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'includes_european_rapex': {'type': 'boolean', 'const': False, 'title': 'Includes European Rapex'}, 'excludes_products_without_gtin': {'type': 'boolean', 'const': True, 'title': 'Excludes Products Without Gtin'}}, 'additionalProperties': False}}, 'title': 'RecallLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'snapshot_version', 'snapshot_sha256', 'source', 'freshness_status', 'source_age_days', 'normalized_gtin', 'format_status', 'match_status', 'match_count', 'matches', 'warnings', 'limitations', 'data_handling_notice', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source': {'$ref': '#/$defs/RecallDatasetSource'}, 'matches': {'type': 'array', 'items': {'$ref': '#/$defs/RecallMatch'}, 'title': 'Matches'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'match_count': {'type': 'integer', 'title': 'Match Count', 'minimum': 0}, 'result_type': {'type': 'string', 'const': 'product_recall_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'match_status': {'enum': ['matched', 'no_match', 'invalid_input'], 'type': 'string', 'title': 'Match Status'}, 'format_status': {'enum': ['valid_checksum', 'invalid_checksum', 'nonstandard_length', 'invalid_characters', 'invalid_length', 'placeholder'], 'type': 'string', 'title': 'Format Status'}, 'disclaimer_code': {'type': 'string', 'const': 'RAPPELCONSO_DATASET_LOOKUP_ONLY', 'title': 'Disclaimer Code'}, 'normalized_gtin': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Normalized Gtin'}, 'snapshot_sha256': {'type': 'string', 'title': 'Snapshot Sha256', 'pattern': '^[0-9a-f]{64}$'}, 'source_age_days': {'type': 'integer', 'title': 'Source Age Days'}, 'freshness_status': {'enum': ['current', 'aging', 'stale', 'future_snapshot'], 'type': 'string', 'title': 'Freshness Status'}, 'snapshot_version': {'type': 'string', 'title': 'Snapshot Version'}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}}, 'additionalProperties': False}
scoreconso_match_enterprise_mediator_evidence
Rapprocher une entreprise et un médiateur sur preuve
Vérifie l'identité administrative exacte d'une entreprise, puis compare uniquement le nom ou le site du médiateur observé dans un contrat, des CGV, un bon de commande ou une page de médiation avec le snapshot CECMC. N'infère jamais un médiateur depuis le code APE ou le secteur.
Read only Open world Idempotent
Input schema
{'type': 'object', '$defs': {'EnterpriseMediatorEvidenceInput': {'type': 'object', 'title': 'EnterpriseMediatorEvidenceInput', 'required': ['enterprise_identifier', 'evidence_type', 'evidence_observed_at', 'evidence_reference'], 'properties': {'mediator_url': {'anyOf': [{'type': 'string', 'maxLength': 300}, {'type': 'null'}], 'title': 'Mediator Url', 'default': None}, 'evidence_type': {'enum': ['contract', 'cgv', 'order_form', 'website_mediation_page', 'website_legal_notice', 'other'], 'type': 'string', 'title': 'Evidence Type'}, 'mediator_name': {'anyOf': [{'type': 'string', 'maxLength': 300}, {'type': 'null'}], 'title': 'Mediator Name', 'default': None}, 'evidence_reference': {'type': 'string', 'title': 'Evidence Reference', 'maxLength': 500, 'minLength': 1}, 'evidence_observed_at': {'type': 'string', 'title': 'Evidence Observed At', 'format': 'date'}, 'enterprise_identifier': {'type': 'string', 'title': 'Enterprise Identifier', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}}, 'title': 'match_enterprise_mediatorArguments', 'required': ['evidence'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'evidence': {'$ref': '#/$defs/EnterpriseMediatorEvidenceInput'}}}
Output schema
{'type': 'object', '$defs': {'MediatorSector': {'type': 'object', 'title': 'MediatorSector', 'required': ['code', 'label', 'category'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'label': {'type': 'string', 'title': 'Label'}, 'category': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Category'}}, 'additionalProperties': False}, 'EnterpriseIdentity': {'type': 'object', 'title': 'EnterpriseIdentity', 'required': ['identifier_type', 'siren', 'siret', 'legal_name', 'administrative_status', 'establishment_status', 'is_head_office', 'is_entrepreneur_individuel', 'public_address', 'locality', 'address_scope', 'activity_code', 'activity_section', 'legal_nature_code', 'created_on', 'closed_on', 'official_data_updated_at', 'trade_names'], 'properties': {'siren': {'type': 'string', 'title': 'Siren'}, 'siret': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Siret'}, 'locality': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Locality'}, 'closed_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Closed On'}, 'created_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Created On'}, 'legal_name': {'type': 'string', 'title': 'Legal Name'}, 'trade_names': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Trade Names'}, 'activity_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Activity Code'}, 'address_scope': {'enum': ['public_full', 'locality_only_data_minimization', 'unavailable'], 'type': 'string', 'title': 'Address Scope'}, 'is_head_office': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'title': 'Is Head Office'}, 'public_address': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Public Address'}, 'identifier_type': {'enum': ['siren', 'siret'], 'type': 'string', 'title': 'Identifier Type'}, 'activity_section': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Activity Section'}, 'legal_nature_code': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Legal Nature Code'}, 'establishment_count': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}], 'title': 'Establishment Count', 'default': None}, 'establishment_status': {'anyOf': [{'enum': ['active', 'closed', 'unknown'], 'type': 'string'}, {'type': 'null'}], 'title': 'Establishment Status'}, 'administrative_status': {'enum': ['active', 'closed', 'unknown'], 'type': 'string', 'title': 'Administrative Status'}, 'official_data_updated_at': {'anyOf': [{'type': 'string', 'format': 'date-time'}, {'type': 'null'}], 'title': 'Official Data Updated At'}, 'open_establishment_count': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}], 'title': 'Open Establishment Count', 'default': None}, 'is_entrepreneur_individuel': {'type': 'boolean', 'title': 'Is Entrepreneur Individuel'}}, 'additionalProperties': False}, 'MediatorDatasetSource': {'type': 'object', 'title': 'MediatorDatasetSource', 'required': ['dataset_id', 'title', 'authority', 'dataset_page', 'cecmc_page', 'guidance_page', 'license', 'license_url', 'modified_at'], 'properties': {'title': {'type': 'string', 'title': 'Title'}, 'license': {'type': 'string', 'title': 'License'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'cecmc_page': {'type': 'string', 'title': 'Cecmc Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'dataset_id': {'type': 'string', 'const': 'mediation-consommation-annuaire-des-mediateurs', 'title': 'Dataset Id'}, 'license_url': {'type': 'string', 'title': 'License Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'modified_at': {'type': 'string', 'title': 'Modified At', 'format': 'date-time'}, 'dataset_page': {'type': 'string', 'title': 'Dataset Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'guidance_page': {'type': 'string', 'title': 'Guidance Page', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}}, 'additionalProperties': False}, 'MediatorLookupEnvelope': {'type': 'object', 'title': 'MediatorLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'snapshot_version', 'snapshot_sha256', 'source', 'freshness_status', 'source_age_days', 'selector_type', 'query', 'normalized_query', 'match_status', 'match_count', 'matches', 'results_truncated', 'warnings', 'limitations', 'next_step', 'data_handling_notice', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'query': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Query'}, 'source': {'$ref': '#/$defs/MediatorDatasetSource'}, 'matches': {'type': 'array', 'items': {'$ref': '#/$defs/MediatorReferenceMatch'}, 'title': 'Matches'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'next_step': {'type': 'string', 'title': 'Next Step'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'match_count': {'type': 'integer', 'title': 'Match Count', 'minimum': 0}, 'result_type': {'type': 'string', 'const': 'consumer_mediator_directory_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'match_status': {'enum': ['exact_match', 'possible_matches', 'exploration', 'no_match', 'invalid_input'], 'type': 'string', 'title': 'Match Status'}, 'selector_type': {'enum': ['query', 'sector_code', 'category', 'invalid'], 'type': 'string', 'title': 'Selector Type'}, 'disclaimer_code': {'type': 'string', 'const': 'CECMC_DIRECTORY_LOOKUP_ONLY', 'title': 'Disclaimer Code'}, 'snapshot_sha256': {'type': 'string', 'title': 'Snapshot Sha256', 'pattern': '^[0-9a-f]{64}$'}, 'source_age_days': {'type': 'integer', 'title': 'Source Age Days'}, 'freshness_status': {'enum': ['current', 'aging', 'stale', 'future_snapshot'], 'type': 'string', 'title': 'Freshness Status'}, 'normalized_query': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Normalized Query'}, 'snapshot_version': {'type': 'string', 'title': 'Snapshot Version'}, 'results_truncated': {'type': 'boolean', 'title': 'Results Truncated'}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}}, 'additionalProperties': False}, 'MediatorReferenceMatch': {'type': 'object', 'title': 'MediatorReferenceMatch', 'required': ['mediator_id', 'name', 'type', 'url', 'url_security', 'match_basis', 'sectors', 'sector_count', 'sectors_truncated'], 'properties': {'url': {'anyOf': [{'type': 'string', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, {'type': 'null'}], 'title': 'Url'}, 'name': {'type': 'string', 'title': 'Name'}, 'type': {'type': 'string', 'title': 'Type'}, 'sectors': {'type': 'array', 'items': {'$ref': '#/$defs/MediatorSector'}, 'title': 'Sectors'}, 'match_basis': {'enum': ['exact_name', 'exact_host', 'name_contains', 'sector_code', 'category'], 'type': 'string', 'title': 'Match Basis'}, 'mediator_id': {'type': 'string', 'title': 'Mediator Id'}, 'sector_count': {'type': 'integer', 'title': 'Sector Count', 'minimum': 0}, 'url_security': {'enum': ['https', 'http_only', 'unavailable'], 'type': 'string', 'title': 'Url Security'}, 'sectors_truncated': {'type': 'boolean', 'title': 'Sectors Truncated'}}, 'additionalProperties': False}, 'EnterpriseLookupEnvelope': {'type': 'object', 'title': 'EnterpriseLookupEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'queried_at', 'source', 'normalized_identifier', 'identifier_type', 'format_status', 'lookup_status', 'source_status', 'transmitted_to_official_api', 'identity', 'warnings', 'limitations', 'data_handling_notice', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source': {'$ref': '#/$defs/EnterpriseDirectorySource'}, 'identity': {'anyOf': [{'$ref': '#/$defs/EnterpriseIdentity'}, {'type': 'null'}]}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'queried_at': {'type': 'string', 'title': 'Queried At', 'format': 'date-time'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'result_type': {'type': 'string', 'const': 'enterprise_administrative_identity_lookup', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'format_status': {'enum': ['valid', 'luhn_unusual', 'invalid_characters', 'invalid_length', 'placeholder'], 'type': 'string', 'title': 'Format Status'}, 'lookup_status': {'enum': ['matched', 'no_match', 'invalid_input', 'source_unavailable'], 'type': 'string', 'title': 'Lookup Status'}, 'source_status': {'enum': ['live', 'volatile_cache', 'stale_cache', 'unavailable', 'not_called'], 'type': 'string', 'title': 'Source Status'}, 'disclaimer_code': {'type': 'string', 'const': 'ADMINISTRATIVE_IDENTITY_ONLY', 'title': 'Disclaimer Code'}, 'identifier_type': {'enum': ['siren', 'siret', 'unknown'], 'type': 'string', 'title': 'Identifier Type'}, 'source_age_seconds': {'anyOf': [{'type': 'integer', 'minimum': 0}, {'type': 'null'}], 'title': 'Source Age Seconds', 'default': None}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}, 'normalized_identifier': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Normalized Identifier'}, 'transmitted_to_official_api': {'type': 'boolean', 'title': 'Transmitted To Official Api'}}, 'additionalProperties': False}, 'EnterpriseDirectorySource': {'type': 'object', 'title': 'EnterpriseDirectorySource', 'required': ['api_id', 'title', 'authority', 'api_url', 'documentation_url', 'directory_url', 'underlying_sources', 'access', 'verified_at'], 'properties': {'title': {'type': 'string', 'title': 'Title'}, 'access': {'type': 'string', 'const': 'public_open_api', 'title': 'Access'}, 'api_id': {'type': 'string', 'const': 'api-recherche-entreprises', 'title': 'Api Id'}, 'api_url': {'type': 'string', 'title': 'Api Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'authority': {'type': 'string', 'title': 'Authority'}, 'verified_at': {'type': 'string', 'title': 'Verified At', 'format': 'date'}, 'directory_url': {'type': 'string', 'title': 'Directory Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'documentation_url': {'type': 'string', 'title': 'Documentation Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'underlying_sources': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Underlying Sources'}}, 'additionalProperties': False}, 'EnterpriseMediatorEvidenceRecord': {'type': 'object', 'title': 'EnterpriseMediatorEvidenceRecord', 'required': ['evidence_type', 'observed_at', 'reference', 'mediator_name', 'mediator_url', 'content_fetched_by_scoreconso'], 'properties': {'reference': {'type': 'string', 'title': 'Reference'}, 'observed_at': {'type': 'string', 'title': 'Observed At', 'format': 'date'}, 'mediator_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Mediator Url'}, 'evidence_type': {'enum': ['contract', 'cgv', 'order_form', 'website_mediation_page', 'website_legal_notice', 'other'], 'type': 'string', 'title': 'Evidence Type'}, 'mediator_name': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Mediator Name'}, 'content_fetched_by_scoreconso': {'type': 'boolean', 'const': False, 'title': 'Content Fetched By Scoreconso'}}, 'additionalProperties': False}}, 'title': 'EnterpriseMediatorEvidenceEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'evidence', 'enterprise', 'mediator_lookups', 'match_status', 'matched_mediator_id', 'match_basis', 'conclusion', 'warnings', 'limitations', 'next_step', 'data_handling_notice', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'evidence': {'$ref': '#/$defs/EnterpriseMediatorEvidenceRecord'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'next_step': {'type': 'string', 'title': 'Next Step'}, 'conclusion': {'type': 'string', 'title': 'Conclusion'}, 'enterprise': {'$ref': '#/$defs/EnterpriseLookupEnvelope'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'match_basis': {'type': 'array', 'items': {'enum': ['exact_name', 'exact_host'], 'type': 'string'}, 'title': 'Match Basis'}, 'result_type': {'type': 'string', 'const': 'enterprise_mediator_evidence_match', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'match_status': {'enum': ['exact_reference_match', 'possible_reference_match', 'conflicting_reference', 'mediator_not_found', 'enterprise_unverified', 'invalid_evidence_date'], 'type': 'string', 'title': 'Match Status'}, 'disclaimer_code': {'type': 'string', 'const': 'CONTRACTUAL_MEDIATOR_EVIDENCE_ONLY', 'title': 'Disclaimer Code'}, 'mediator_lookups': {'type': 'array', 'items': {'$ref': '#/$defs/MediatorLookupEnvelope'}, 'title': 'Mediator Lookups'}, 'matched_mediator_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Matched Mediator Id'}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}}, 'additionalProperties': False}
scoreconso_render_case_cockpit
Afficher le cockpit du litige
Rend dans un cockpit un résultat complet déjà produit par scoreconso_route_case, scoreconso_route_guarantee_case, scoreconso_route_advance_payment_case, scoreconso_route_subscription_case, scoreconso_route_marketplace_case ou scoreconso_route_payment_fraud_case. Appelez d'abord l'outil de routage adapté, puis transmettez son structuredContent sans le modifier. Sans prise en charge de MCP Apps, retourne le même résultat structuré exploitable en texte.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'ToolEnvelope': {'type': 'object', 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'render_case_cockpitArguments', 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/ToolEnvelope'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_route_advance_payment_case
Structurer une annulation avec arrhes ou acompte
Route une annulation après versement d'arrhes, d'un acompte ou d'une somme non qualifiée. Contrôle l'auteur de l'annulation, l'exclusion des commandes spéciales sur devis, l'éventuelle absence de réciprocité d'une clause et l'inexécution déclarée. Ne déclare jamais automatiquement une clause abusive, un remboursement certain, un solde exigible ou une indemnisation.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'AdvancePaymentFacts': {'type': 'object', 'title': 'AdvancePaymentFacts', 'properties': {'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'contract_type': {'enum': ['service', 'sale', 'other', 'unknown'], 'type': 'string', 'title': 'Contract Type', 'default': 'unknown'}, 'payment_label': {'enum': ['arrhes', 'acompte', 'unspecified', 'other', 'unknown'], 'type': 'string', 'title': 'Payment Label', 'default': 'unknown'}, 'buyer_is_consumer': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Buyer Is Consumer', 'default': 'unknown'}, 'cancellation_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Cancellation Date', 'default': None}, 'formal_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Formal Notice Sent', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'written_claim_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Claim Sent', 'default': 'unknown'}, 'clause_keeps_advance': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Clause Keeps Advance', 'default': 'unknown'}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'clause_claims_balance': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Clause Claims Balance', 'default': 'unknown'}, 'payment_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Payment Proof Present', 'default': 'unknown'}, 'cancellation_initiator': {'enum': ['consumer', 'professional', 'mutual', 'disputed', 'unknown'], 'type': 'string', 'title': 'Cancellation Initiator', 'default': 'unknown'}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'special_order_on_quote': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Special Order On Quote', 'default': 'unknown'}, 'reciprocal_compensation': {'enum': ['equivalent', 'double_arrhes', 'none', 'not_applicable', 'unknown'], 'type': 'string', 'title': 'Reciprocal Compensation', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'contract_document_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Document Present', 'default': 'unknown'}, 'cancellation_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Cancellation Proof Present', 'default': 'unknown'}, 'scheduled_performance_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Scheduled Performance Date', 'default': None}, 'professional_nonperformance': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Professional Nonperformance', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'route_advance_payment_caseArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/AdvancePaymentFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_route_case
Identifier le parcours documentaire
Route un cas de colis indiqué livré mais non reçu à partir de faits structurés. Retourne les faits manquants, règles possibles, contrôle temporel, incertitudes, prochaine étape et frise procédurale. Si facts.contract_date est fournie, aucune règle actuelle n'est appliquée rétroactivement lorsque sa version historique manque.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'DeliveryFacts': {'type': 'object', 'title': 'DeliveryFacts', 'properties': {'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'distance_contract': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Distance Contract', 'default': 'unknown'}, 'formal_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Formal Notice Date', 'default': None}, 'formal_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Formal Notice Sent', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'third_party_status': {'enum': ['none', 'designated_received', 'not_designated_received', 'unknown'], 'type': 'string', 'title': 'Third Party Status', 'default': 'unknown'}, 'written_claim_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Claim Sent', 'default': 'unknown'}, 'carrier_selected_by': {'enum': ['seller_or_offered', 'consumer_independent', 'unknown'], 'type': 'string', 'title': 'Carrier Selected By', 'default': 'unknown'}, 'physical_possession': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Physical Possession', 'default': 'unknown'}, 'pickup_point_status': {'enum': ['not_applicable', 'agreed_not_collected', 'agreed_collected', 'not_agreed', 'unknown'], 'type': 'string', 'title': 'Pickup Point Status', 'default': 'unknown'}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'payment_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Payment Proof Present', 'default': 'unknown'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}, 'resolution_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Resolution Notice Date', 'default': None}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'tracking_capture_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Capture Present', 'default': 'unknown'}, 'tracking_marked_delivered': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Tracking Marked Delivered', 'default': 'unknown'}, 'carrier_handover_confirmed': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Carrier Handover Confirmed', 'default': 'unknown'}, 'order_confirmation_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Order Confirmation Present', 'default': 'unknown'}, 'delivery_date_was_essential': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Delivery Date Was Essential', 'default': 'unknown'}, 'professional_refused_delivery': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Professional Refused Delivery', 'default': 'unknown'}, 'contract_resolved_under_l216_6': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Resolved Under L216 6', 'default': 'unknown'}, 'performance_clearly_impossible': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Performance Clearly Impossible', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'route_caseArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/DeliveryFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_route_guarantee_case
Structurer un refus de garantie légale
Route un refus de garantie légale de conformité ou un renvoi vers le fabricant. Contrôle le vendeur, la période de deux ans, la présomption de vingt-quatre ou douze mois, le repère maximal de trente jours et les conditions possibles des remèdes secondaires. Ne choisit jamais automatiquement un remboursement ou une résolution.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'GuaranteeFacts': {'type': 'object', 'title': 'GuaranteeFacts', 'properties': {'defect_minor': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Defect Minor', 'default': 'unknown'}, 'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'costs_charged': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Costs Charged', 'default': 'unknown'}, 'delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Delivery Date', 'default': None}, 'remedy_status': {'enum': ['not_started', 'in_progress', 'completed_conforming', 'failed_or_persistent', 'refused', 'impossible', 'unknown'], 'type': 'string', 'title': 'Remedy Status', 'default': 'unknown'}, 'sale_contract': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Sale Contract', 'default': 'unknown'}, 'defect_serious': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Defect Serious', 'default': 'unknown'}, 'seller_response': {'enum': ['none', 'redirected_to_manufacturer', 'refused_durable_medium', 'refused_other', 'accepted', 'unknown'], 'type': 'string', 'title': 'Seller Response', 'default': 'unknown'}, 'requested_remedy': {'enum': ['repair', 'replacement', 'none', 'unknown'], 'type': 'string', 'title': 'Requested Remedy', 'default': 'unknown'}, 'buyer_is_consumer': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Buyer Is Consumer', 'default': 'unknown'}, 'dangerous_product': {'type': 'boolean', 'title': 'Dangerous Product', 'default': False}, 'product_condition': {'enum': ['new', 'used', 'unknown'], 'type': 'string', 'title': 'Product Condition', 'default': 'unknown'}, 'formal_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Formal Notice Sent', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'written_claim_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Claim Sent', 'default': 'unknown'}, 'major_inconvenience': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Major Inconvenience', 'default': 'unknown'}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'defect_appearance_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Defect Appearance Date', 'default': None}, 'purchase_proof_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Purchase Proof Present', 'default': 'unknown'}, 'remedy_completion_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Remedy Completion Date', 'default': None}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'conformity_request_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Conformity Request Date', 'default': None}, 'defect_evidence_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Defect Evidence Present', 'default': 'unknown'}, 'seller_exchange_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Exchange Present', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'defect_is_conformity_candidate': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Defect Is Conformity Candidate', 'default': 'unknown'}, 'replacement_after_repair_choice': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Replacement After Repair Choice', 'default': 'unknown'}, 'defect_known_or_disclosed_at_purchase': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Defect Known Or Disclosed At Purchase', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'route_guarantee_caseArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/GuaranteeFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_route_marketplace_case
Identifier vendeur tiers et rôle de la marketplace
Distingue vendeur contractuel, statut professionnel ou particulier, rôle déclaré de la plateforme, émetteur de facture et cible de la réclamation. Ne conclut jamais à la responsabilité ou à l'absence de responsabilité de la plateforme sur son seul intitulé.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'MarketplaceFacts': {'type': 'object', 'title': 'MarketplaceFacts', 'properties': {'dispute_type': {'enum': ['non_delivery', 'conformity', 'refund', 'seller_identity', 'other', 'unknown'], 'type': 'string', 'title': 'Dispute Type', 'default': 'unknown'}, 'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'invoice_issuer': {'enum': ['seller', 'platform', 'none', 'unknown'], 'type': 'string', 'title': 'Invoice Issuer', 'default': 'unknown'}, 'invoice_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Invoice Present', 'default': 'unknown'}, 'seller_location': {'enum': ['france', 'eu_eea', 'outside_eu_eea', 'unknown'], 'type': 'string', 'title': 'Seller Location', 'default': 'unknown'}, 'buyer_is_consumer': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Buyer Is Consumer', 'default': 'unknown'}, 'distance_contract': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Distance Contract', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'written_claim_target': {'enum': ['seller', 'platform', 'both', 'none', 'unknown'], 'type': 'string', 'title': 'Written Claim Target', 'default': 'unknown'}, 'offer_capture_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Offer Capture Present', 'default': 'unknown'}, 'seller_status_declared': {'enum': ['professional', 'private', 'unknown'], 'type': 'string', 'title': 'Seller Status Declared', 'default': 'unknown'}, 'marketplace_transaction': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Marketplace Transaction', 'default': 'unknown'}, 'platform_role_disclosed': {'enum': ['contractual_seller', 'intermediary', 'payment_only', 'mixed_or_unclear', 'unknown'], 'type': 'string', 'title': 'Platform Role Disclosed', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'seller_identifier_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Identifier Present', 'default': 'unknown'}, 'written_exchanges_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Written Exchanges Present', 'default': 'unknown'}, 'order_confirmation_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Order Confirmation Present', 'default': 'unknown'}, 'platform_dispute_role_disclosed': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Platform Dispute Role Disclosed', 'default': 'unknown'}, 'contractual_seller_identity_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contractual Seller Identity Present', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'route_marketplace_caseArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/MarketplaceFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_route_payment_fraud_case
Distinguer opération non autorisée et paiement sous tromperie
Structure un paiement contesté en séparant strictement l'opération jamais autorisée du virement ou paiement validé sous tromperie. Calcule un repère seulement lorsque les faits territoriaux et temporels sont suffisants, sans promettre de remboursement automatique.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'PaymentFraudFacts': {'type': 'object', 'title': 'PaymentFraudFacts', 'properties': {'debit_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Debit Date', 'default': None}, 'bank_notified': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Bank Notified', 'default': 'unknown'}, 'bank_response': {'enum': ['reimbursed', 'refused', 'pending', 'no_response', 'unknown'], 'type': 'string', 'title': 'Bank Response', 'default': 'unknown'}, 'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'consent_status': {'enum': ['not_given', 'given_under_deception', 'given_without_deception', 'unknown'], 'type': 'string', 'title': 'Consent Status', 'default': 'unknown'}, 'payment_method': {'enum': ['card', 'transfer', 'direct_debit', 'wallet', 'other', 'unknown'], 'type': 'string', 'title': 'Payment Method', 'default': 'unknown'}, 'operation_status': {'enum': ['executed', 'pending', 'mal_executed', 'unknown'], 'type': 'string', 'title': 'Operation Status', 'default': 'unknown'}, 'statement_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Statement Present', 'default': 'unknown'}, 'instrument_blocked': {'enum': ['yes', 'no', 'not_applicable', 'unknown'], 'type': 'string', 'title': 'Instrument Blocked', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'bank_exchange_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Bank Exchange Present', 'default': 'unknown'}, 'bank_notification_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Bank Notification Date', 'default': None}, 'user_is_nonprofessional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'User Is Nonprofessional', 'default': 'unknown'}, 'bank_authentication_recorded': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Bank Authentication Recorded', 'default': 'unknown'}, 'manipulation_evidence_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Manipulation Evidence Present', 'default': 'unknown'}, 'authentication_evidence_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Authentication Evidence Present', 'default': 'unknown'}, 'identity_theft_or_account_takeover': {'type': 'boolean', 'title': 'Identity Theft Or Account Takeover', 'default': False}, 'payment_service_providers_location': {'enum': ['both_in_eea', 'at_least_one_outside_eea', 'unknown'], 'type': 'string', 'title': 'Payment Service Providers Location', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'route_payment_fraud_caseArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/PaymentFraudFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_route_subscription_case
Structurer un abonnement impossible à résilier
Distingue l'accès à la résiliation électronique, les conditions du contrat, la reconduction tacite, la preuve de notification et l'éventuel remboursement conditionnel. La résiliation en ligne ne supprime jamais automatiquement préavis, engagement, frais ou justificatifs.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'SubscriptionFacts': {'type': 'object', 'title': 'SubscriptionFacts', 'properties': {'renewal_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Renewal Date', 'default': None}, 'bodily_injury': {'type': 'boolean', 'title': 'Bodily Injury', 'default': False}, 'contract_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Contract Date', 'default': None}, 'contract_kind': {'enum': ['service', 'digital_service', 'rental', 'insurance', 'other', 'unknown'], 'type': 'string', 'title': 'Contract Kind', 'default': 'unknown'}, 'buyer_is_consumer': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Buyer Is Consumer', 'default': 'unknown'}, 'contract_duration': {'enum': ['fixed_term', 'tacit_renewal', 'indefinite', 'unknown'], 'type': 'string', 'title': 'Contract Duration', 'default': 'unknown'}, 'proceeding_started': {'type': 'boolean', 'title': 'Proceeding Started', 'default': False}, 'urgent_deadline_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Urgent Deadline Days', 'default': None}, 'end_date_communicated': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'End Date Communicated', 'default': 'unknown'}, 'renewal_notice_status': {'enum': ['compliant', 'not_received', 'outside_window', 'missing_deadline', 'not_applicable', 'unknown'], 'type': 'string', 'title': 'Renewal Notice Status', 'default': 'unknown'}, 'renewal_notice_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Renewal Notice Present', 'default': 'unknown'}, 'seller_is_professional': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Seller Is Professional', 'default': 'unknown'}, 'termination_notice_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Termination Notice Date', 'default': None}, 'termination_notice_sent': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Termination Notice Sent', 'default': 'unknown'}, 'suspected_criminal_fraud': {'type': 'boolean', 'title': 'Suspected Criminal Fraud', 'default': False}, 'contract_document_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Document Present', 'default': 'unknown'}, 'legitimate_reason_claimed': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Legitimate Reason Claimed', 'default': 'unknown'}, 'minimum_commitment_active': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Minimum Commitment Active', 'default': 'unknown'}, 'termination_capture_present': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Termination Capture Present', 'default': 'unknown'}, 'termination_conditions_known': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Termination Conditions Known', 'default': 'unknown'}, 'receipt_confirmation_received': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Receipt Confirmation Received', 'default': 'unknown'}, 'contract_concluded_electronically': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Contract Concluded Electronically', 'default': 'unknown'}, 'online_termination_feature_status': {'enum': ['available', 'unavailable', 'inaccessible', 'unknown'], 'type': 'string', 'title': 'Online Termination Feature Status', 'default': 'unknown'}, 'professional_offers_online_subscription_now': {'enum': ['yes', 'no', 'unknown'], 'type': 'string', 'title': 'Professional Offers Online Subscription Now', 'default': 'unknown'}}, 'additionalProperties': False}}, 'title': 'route_subscription_caseArguments', 'required': ['facts'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'facts': {'$ref': '#/$defs/SubscriptionFacts'}}}
Output schema
{'type': 'object', '$defs': {'FactResult': {'type': 'object', 'title': 'FactResult', 'required': ['field_id', 'label', 'value'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'value': {'anyOf': [{'type': 'string'}, {'type': 'boolean'}, {'type': 'integer'}], 'title': 'Value'}, 'field_id': {'type': 'string', 'title': 'Field Id'}}, 'additionalProperties': False}, 'RuleResult': {'type': 'object', 'title': 'RuleResult', 'required': ['rule_id', 'status', 'summary', 'applicability', 'source_ids'], 'properties': {'status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Status'}, 'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'applicability': {'enum': ['certain', 'possible', 'uncertain', 'not_applicable'], 'type': 'string', 'title': 'Applicability'}}, 'additionalProperties': False}, 'SourceResult': {'type': 'object', 'title': 'SourceResult', 'required': ['source_id', 'title', 'authority', 'url', 'checked_at', 'status'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}}, 'additionalProperties': False}, 'DeadlineResult': {'type': 'object', 'title': 'DeadlineResult', 'required': ['deadline_id', 'label', 'nature', 'start_event', 'calculated_date', 'calculation_status', 'reason', 'radar_status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'nature': {'enum': ['procedural_step', 'refund_deadline', 'conformity_deadline', 'termination_deadline', 'payment_notification_deadline'], 'type': 'string', 'title': 'Nature'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'deadline_id': {'type': 'string', 'title': 'Deadline Id'}, 'start_event': {'type': 'string', 'title': 'Start Event'}, 'radar_status': {'enum': ['green', 'orange', 'red', 'expired', 'indeterminate'], 'type': 'string', 'title': 'Radar Status'}, 'remaining_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Remaining Days', 'default': None}, 'calculated_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Calculated Date'}, 'calculation_status': {'enum': ['calculated', 'missing_fact', 'not_automatically_quantified', 'not_applicable'], 'type': 'string', 'title': 'Calculation Status'}, 'promised_delivery_date': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Promised Delivery Date', 'default': None}}, 'additionalProperties': False}, 'EvidenceResult': {'type': 'object', 'title': 'EvidenceResult', 'required': ['present', 'missing', 'recommended'], 'properties': {'missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Missing'}, 'present': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Present'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Recommended'}}, 'additionalProperties': False}, 'NextStepResult': {'type': 'object', 'title': 'NextStepResult', 'required': ['step_id', 'label', 'status'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'status': {'enum': ['now', 'next', 'later', 'blocked'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}}, 'additionalProperties': False}, 'TemplateResult': {'type': 'object', 'title': 'TemplateResult', 'required': ['template_id', 'title', 'path', 'status', 'automation_policy', 'warnings'], 'properties': {'path': {'type': 'string', 'title': 'Path'}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Status'}, 'warnings': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Warnings'}, 'template_id': {'type': 'string', 'title': 'Template Id'}, 'automation_policy': {'type': 'string', 'const': 'generic_only_no_send', 'title': 'Automation Policy'}}, 'additionalProperties': False}, 'SituationResult': {'type': 'object', 'title': 'SituationResult', 'required': ['primary_category', 'alternative_categories', 'outcome'], 'properties': {'outcome': {'type': 'string', 'title': 'Outcome'}, 'primary_category': {'type': 'string', 'title': 'Primary Category'}, 'alternative_categories': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Alternative Categories'}}, 'additionalProperties': False}, 'EscalationResult': {'type': 'object', 'title': 'EscalationResult', 'required': ['required', 'reasons', 'message'], 'properties': {'message': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Message'}, 'reasons': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Reasons'}, 'required': {'type': 'boolean', 'title': 'Required'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'TemporalRuleCheck': {'type': 'object', 'title': 'TemporalRuleCheck', 'required': ['rule_id', 'rule_status', 'valid_from', 'valid_to', 'applicable_on', 'applicability_status', 'selected_for_result'], 'properties': {'rule_id': {'type': 'string', 'title': 'Rule Id'}, 'valid_to': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid To'}, 'valid_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Valid From'}, 'rule_status': {'enum': ['in_force', 'future_effective', 'superseded', 'official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain', 'out_of_scope'], 'type': 'string', 'title': 'Rule Status'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'selected_for_result': {'type': 'boolean', 'title': 'Selected For Result'}, 'applicability_status': {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string', 'title': 'Applicability Status'}}, 'additionalProperties': False}, 'UncertaintyResult': {'type': 'object', 'title': 'UncertaintyResult', 'required': ['code', 'status', 'message', 'source_ids'], 'properties': {'code': {'type': 'string', 'title': 'Code'}, 'status': {'enum': ['official_conflict', 'editorial_inference', 'case_law_dependent', 'uncertain'], 'type': 'string', 'title': 'Status'}, 'message': {'type': 'string', 'title': 'Message'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}}, 'additionalProperties': False}, 'ProcedureStepResult': {'type': 'object', 'title': 'ProcedureStepResult', 'required': ['step_id', 'position', 'label', 'status', 'reason'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'reason': {'type': 'string', 'title': 'Reason'}, 'status': {'enum': ['completed', 'current', 'upcoming', 'blocked', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'step_id': {'type': 'string', 'title': 'Step Id'}, 'position': {'type': 'integer', 'title': 'Position', 'maximum': 4, 'minimum': 1}}, 'additionalProperties': False}}, 'title': 'ToolEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'route_id', 'applicable_on', 'applicable_on_basis', 'temporal_status', 'temporal_checks', 'qualification_status', 'situation', 'facts_used', 'facts_missing', 'assumptions', 'rules', 'deadlines', 'evidence', 'next_steps', 'procedure', 'template', 'sources', 'uncertainties', 'escalation', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'rules': {'type': 'array', 'items': {'$ref': '#/$defs/RuleResult'}, 'title': 'Rules'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceResult'}, 'title': 'Sources'}, 'evidence': {'$ref': '#/$defs/EvidenceResult'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'route_id': {'type': 'string', 'title': 'Route Id'}, 'template': {'anyOf': [{'$ref': '#/$defs/TemplateResult'}, {'type': 'null'}]}, 'deadlines': {'type': 'array', 'items': {'$ref': '#/$defs/DeadlineResult'}, 'title': 'Deadlines'}, 'procedure': {'type': 'array', 'items': {'$ref': '#/$defs/ProcedureStepResult'}, 'title': 'Procedure'}, 'situation': {'$ref': '#/$defs/SituationResult'}, 'escalation': {'$ref': '#/$defs/EscalationResult'}, 'facts_used': {'type': 'array', 'items': {'$ref': '#/$defs/FactResult'}, 'title': 'Facts Used'}, 'next_steps': {'type': 'array', 'items': {'$ref': '#/$defs/NextStepResult'}, 'title': 'Next Steps'}, 'assumptions': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Assumptions'}, 'result_type': {'type': 'string', 'const': 'procedural_orientation', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'applicable_on': {'type': 'string', 'title': 'Applicable On', 'format': 'date'}, 'facts_missing': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Facts Missing'}, 'uncertainties': {'type': 'array', 'items': {'$ref': '#/$defs/UncertaintyResult'}, 'title': 'Uncertainties'}, 'disclaimer_code': {'type': 'string', 'const': 'DOCUMENTARY_INFORMATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_checks': {'type': 'array', 'items': {'$ref': '#/$defs/TemporalRuleCheck'}, 'title': 'Temporal Checks'}, 'temporal_status': {'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string', 'title': 'Temporal Status'}, 'applicable_on_basis': {'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string', 'title': 'Applicable On Basis'}, 'qualification_status': {'enum': ['provisional', 'input_required', 'alternative_route', 'out_of_scope', 'human_review_required'], 'type': 'string', 'title': 'Qualification Status'}}, 'additionalProperties': False}
scoreconso_score_dossier
Calculer le Score Dossier
Mesure la préparation matérielle d'un dossier sur 100 et sépare le score du taux de couverture. Ce score ne mesure ni responsabilité, ni indemnisation, ni chance de gagner.
Read only Idempotent
Input schema
{'type': 'object', 'title': 'dossier_scoreArguments', 'required': ['topic_id', 'responses'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'topic_id': {'enum': ['prestataires-evenements', 'achats-en-ligne', 'marketplaces-dropshipping', 'garanties-produits-defectueux', 'abonnements-resiliation', 'pieges-arnaques-en-ligne'], 'type': 'string', 'title': 'Topic Id'}, 'responses': {'type': 'object', 'title': 'Responses', 'additionalProperties': {'enum': ['yes', 'no', 'unknown'], 'type': 'string'}}}}
Output schema
{'type': 'object', '$defs': {'DossierCriterion': {'type': 'object', 'title': 'DossierCriterion', 'required': ['id', 'dimension', 'weight', 'label', 'help', 'action'], 'properties': {'id': {'type': 'string', 'title': 'Id'}, 'help': {'type': 'string', 'title': 'Help'}, 'label': {'type': 'string', 'title': 'Label'}, 'action': {'type': 'string', 'title': 'Action'}, 'weight': {'type': 'integer', 'title': 'Weight', 'maximum': 100, 'exclusiveMinimum': 0}, 'dimension': {'type': 'string', 'title': 'Dimension'}}, 'additionalProperties': False}, 'ResponsePassport': {'type': 'object', 'title': 'ResponsePassport', 'required': ['ruleset_version', 'corpus_status', 'as_of', 'corpus_verified_at', 'oldest_source_checked_at', 'review_interval_days', 'review_recommended_by', 'freshness_status', 'facts_used_count', 'facts_missing_count', 'rule_status_counts', 'source_count', 'uncertainty_count', 'uncertainty_status_counts'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'applicable_on': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Applicable On', 'default': None}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'temporal_status': {'anyOf': [{'enum': ['applicable', 'as_of_fallback', 'historical_ruleset_incomplete', 'invalid_future_date'], 'type': 'string'}, {'enum': ['applicable', 'not_yet_effective', 'no_longer_applicable', 'undated'], 'type': 'string'}, {'type': 'null'}], 'title': 'Temporal Status', 'default': None}, 'facts_used_count': {'type': 'integer', 'title': 'Facts Used Count', 'minimum': 0}, 'freshness_status': {'enum': ['current', 'review_due'], 'type': 'string', 'title': 'Freshness Status'}, 'uncertainty_count': {'type': 'integer', 'title': 'Uncertainty Count', 'minimum': 0}, 'corpus_verified_at': {'type': 'string', 'title': 'Corpus Verified At', 'format': 'date'}, 'rule_status_counts': {'type': 'object', 'title': 'Rule Status Counts', 'additionalProperties': {'type': 'integer'}}, 'applicable_on_basis': {'anyOf': [{'enum': ['contract_date', 'as_of_fallback', 'explicit_query'], 'type': 'string'}, {'type': 'null'}], 'title': 'Applicable On Basis', 'default': None}, 'facts_missing_count': {'type': 'integer', 'title': 'Facts Missing Count', 'minimum': 0}, 'review_interval_days': {'type': 'integer', 'title': 'Review Interval Days'}, 'review_recommended_by': {'type': 'string', 'title': 'Review Recommended By', 'format': 'date'}, 'oldest_source_checked_at': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Oldest Source Checked At'}, 'uncertainty_status_counts': {'type': 'object', 'title': 'Uncertainty Status Counts', 'additionalProperties': {'type': 'integer'}}}, 'additionalProperties': False}, 'DossierDimensionResult': {'type': 'object', 'title': 'DossierDimensionResult', 'required': ['id', 'label', 'maximum', 'earned', 'answered', 'criteria_count'], 'properties': {'id': {'type': 'string', 'title': 'Id'}, 'label': {'type': 'string', 'title': 'Label'}, 'earned': {'type': 'integer', 'title': 'Earned'}, 'maximum': {'type': 'integer', 'title': 'Maximum'}, 'answered': {'type': 'integer', 'title': 'Answered'}, 'criteria_count': {'type': 'integer', 'title': 'Criteria Count'}}, 'additionalProperties': False}}, 'title': 'DossierScoreEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'ruleset_version', 'method_version', 'score', 'maximum', 'answered', 'total_criteria', 'coverage_percent', 'complete', 'provisional', 'level', 'label', 'dimensions', 'missing', 'unanswered', 'next_action', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'label': {'type': 'string', 'title': 'Label'}, 'level': {'enum': ['strong', 'good', 'medium', 'weak', 'critical', 'incomplete'], 'type': 'string', 'title': 'Level'}, 'score': {'type': 'integer', 'title': 'Score'}, 'maximum': {'type': 'integer', 'const': 100, 'title': 'Maximum'}, 'missing': {'type': 'array', 'items': {'$ref': '#/$defs/DossierCriterion'}, 'title': 'Missing'}, 'answered': {'type': 'integer', 'title': 'Answered'}, 'complete': {'type': 'boolean', 'title': 'Complete'}, 'passport': {'$ref': '#/$defs/ResponsePassport'}, 'dimensions': {'type': 'array', 'items': {'$ref': '#/$defs/DossierDimensionResult'}, 'title': 'Dimensions'}, 'unanswered': {'type': 'array', 'items': {'$ref': '#/$defs/DossierCriterion'}, 'title': 'Unanswered'}, 'next_action': {'type': 'string', 'title': 'Next Action'}, 'provisional': {'type': 'boolean', 'title': 'Provisional'}, 'result_type': {'type': 'string', 'const': 'dossier_preparation_score', 'title': 'Result Type'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'method_version': {'type': 'string', 'title': 'Method Version'}, 'total_criteria': {'type': 'integer', 'title': 'Total Criteria'}, 'disclaimer_code': {'type': 'string', 'const': 'DOSSIER_PREPARATION_ONLY', 'title': 'Disclaimer Code'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'coverage_percent': {'type': 'integer', 'title': 'Coverage Percent'}}, 'additionalProperties': False}
scoreconso_score_offer_transparency
Mesurer la transparence visible d'une offre
Applique la méthode ScoreConso Lens à des constats structurés déjà relevés par le client. L'outil ne télécharge aucune page, ne conserve aucun contenu et sépare le score de la couverture. Le résultat privé et daté décrit seulement la page observée; il ne note jamais la réputation, l'honnêteté, la solvabilité ou la qualité générale du vendeur.
Read only Idempotent
Input schema
{'type': 'object', '$defs': {'LensEvidence': {'type': 'object', 'title': 'LensEvidence', 'required': ['kind', 'label', 'excerpt'], 'properties': {'kind': {'enum': ['visible_text', 'link', 'structured_data', 'control', 'manual'], 'type': 'string', 'title': 'Kind'}, 'label': {'type': 'string', 'title': 'Label', 'maxLength': 120, 'minLength': 1}, 'excerpt': {'type': 'string', 'title': 'Excerpt', 'maxLength': 240, 'minLength': 1}}, 'additionalProperties': False}, 'LensAssessmentInput': {'type': 'object', 'title': 'LensAssessmentInput', 'required': ['status'], 'properties': {'status': {'enum': ['observed', 'not_observed', 'review', 'unknown', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'evidence': {'type': 'array', 'items': {'$ref': '#/$defs/LensEvidence'}, 'title': 'Evidence', 'maxItems': 6}}, 'additionalProperties': False}, 'OfferTransparencyInput': {'type': 'object', 'title': 'OfferTransparencyInput', 'required': ['observed_at', 'assessments'], 'properties': {'page_url': {'anyOf': [{'type': 'string', 'maxLength': 2048}, {'type': 'null'}], 'title': 'Page Url', 'default': None}, 'page_kind': {'enum': ['product', 'offer', 'checkout', 'marketplace', 'subscription', 'terms', 'unknown'], 'type': 'string', 'title': 'Page Kind', 'default': 'unknown'}, 'page_title': {'anyOf': [{'type': 'string', 'maxLength': 200}, {'type': 'null'}], 'title': 'Page Title', 'default': None}, 'assessments': {'type': 'object', 'title': 'Assessments', 'additionalProperties': {'$ref': '#/$defs/LensAssessmentInput'}}, 'observed_at': {'type': 'string', 'title': 'Observed At', 'format': 'date-time'}}, 'additionalProperties': False}}, 'title': 'score_offerArguments', 'required': ['observation'], 'properties': {'as_of': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'As Of', 'default': None}, 'observation': {'$ref': '#/$defs/OfferTransparencyInput'}}}
Output schema
{'type': 'object', '$defs': {'LensEvidence': {'type': 'object', 'title': 'LensEvidence', 'required': ['kind', 'label', 'excerpt'], 'properties': {'kind': {'enum': ['visible_text', 'link', 'structured_data', 'control', 'manual'], 'type': 'string', 'title': 'Kind'}, 'label': {'type': 'string', 'title': 'Label', 'maxLength': 120, 'minLength': 1}, 'excerpt': {'type': 'string', 'title': 'Excerpt', 'maxLength': 240, 'minLength': 1}}, 'additionalProperties': False}, 'LensPassport': {'type': 'object', 'title': 'LensPassport', 'required': ['ruleset_version', 'method_version', 'corpus_status', 'as_of', 'observed_at', 'mode', 'page_content_retained', 'result_private', 'criteria_assessed', 'criteria_applicable', 'source_count'], 'properties': {'mode': {'enum': ['local', 'mcp_read_only'], 'type': 'string', 'title': 'Mode'}, 'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'observed_at': {'type': 'string', 'title': 'Observed At', 'format': 'date-time'}, 'source_count': {'type': 'integer', 'title': 'Source Count', 'minimum': 0}, 'corpus_status': {'enum': ['draft', 'reviewed', 'published'], 'type': 'string', 'title': 'Corpus Status'}, 'method_version': {'type': 'string', 'title': 'Method Version'}, 'result_private': {'type': 'boolean', 'const': True, 'title': 'Result Private'}, 'ruleset_version': {'type': 'string', 'title': 'Ruleset Version'}, 'criteria_assessed': {'type': 'integer', 'title': 'Criteria Assessed', 'minimum': 0}, 'criteria_applicable': {'type': 'integer', 'title': 'Criteria Applicable', 'minimum': 0}, 'page_content_retained': {'type': 'boolean', 'const': False, 'title': 'Page Content Retained'}}, 'additionalProperties': False}, 'SourceRecord': {'type': 'object', 'title': 'SourceRecord', 'required': ['source_id', 'title', 'authority', 'source_type', 'jurisdiction', 'url', 'checked_at', 'status', 'summary'], 'properties': {'url': {'type': 'string', 'title': 'Url', 'format': 'uri', 'maxLength': 2083, 'minLength': 1}, 'title': {'type': 'string', 'title': 'Title'}, 'status': {'enum': ['current', 'archived', 'pending'], 'type': 'string', 'title': 'Status'}, 'summary': {'type': 'string', 'title': 'Summary'}, 'authority': {'type': 'string', 'title': 'Authority'}, 'source_id': {'type': 'string', 'title': 'Source Id'}, 'checked_at': {'type': 'string', 'title': 'Checked At', 'format': 'date'}, 'source_type': {'enum': ['legislation', 'official_guidance'], 'type': 'string', 'title': 'Source Type'}, 'jurisdiction': {'enum': ['FR', 'EU'], 'type': 'string', 'title': 'Jurisdiction'}, 'effective_from': {'anyOf': [{'type': 'string', 'format': 'date'}, {'type': 'null'}], 'title': 'Effective From', 'default': None}}, 'additionalProperties': False}, 'LensScoreCapResult': {'type': 'object', 'title': 'LensScoreCapResult', 'required': ['criterion_id', 'maximum', 'reason'], 'properties': {'reason': {'type': 'string', 'title': 'Reason'}, 'maximum': {'type': 'integer', 'title': 'Maximum'}, 'criterion_id': {'type': 'string', 'title': 'Criterion Id'}}, 'additionalProperties': False}, 'LensCriterionResult': {'type': 'object', 'title': 'LensCriterionResult', 'required': ['criterion_id', 'dimension', 'label', 'weight', 'status', 'earned', 'assessed', 'evidence', 'source_ids'], 'properties': {'label': {'type': 'string', 'title': 'Label'}, 'earned': {'type': 'integer', 'title': 'Earned'}, 'status': {'enum': ['observed', 'not_observed', 'review', 'unknown', 'not_applicable'], 'type': 'string', 'title': 'Status'}, 'weight': {'type': 'integer', 'title': 'Weight'}, 'assessed': {'type': 'boolean', 'title': 'Assessed'}, 'evidence': {'type': 'array', 'items': {'$ref': '#/$defs/LensEvidence'}, 'title': 'Evidence'}, 'dimension': {'type': 'string', 'title': 'Dimension'}, 'source_ids': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Source Ids'}, 'criterion_id': {'type': 'string', 'title': 'Criterion Id'}}, 'additionalProperties': False}, 'LensDimensionResult': {'type': 'object', 'title': 'LensDimensionResult', 'required': ['id', 'label', 'maximum', 'applicable_weight', 'assessed_weight', 'earned', 'coverage_percent', 'score'], 'properties': {'id': {'type': 'string', 'title': 'Id'}, 'label': {'type': 'string', 'title': 'Label'}, 'score': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Score'}, 'earned': {'type': 'integer', 'title': 'Earned'}, 'maximum': {'type': 'integer', 'title': 'Maximum'}, 'assessed_weight': {'type': 'integer', 'title': 'Assessed Weight'}, 'coverage_percent': {'type': 'integer', 'title': 'Coverage Percent'}, 'applicable_weight': {'type': 'integer', 'title': 'Applicable Weight'}}, 'additionalProperties': False}}, 'title': 'OfferTransparencyEnvelope', 'required': ['result_type', 'jurisdiction', 'as_of', 'page_url', 'page_title', 'page_kind', 'method_version', 'score_status', 'score', 'maximum', 'coverage_percent', 'label', 'provisional', 'applicable_weight', 'assessed_weight', 'earned', 'dimensions', 'criteria', 'strengths', 'checks', 'unresolved', 'applied_caps', 'sources', 'limitations', 'data_handling_notice', 'passport', 'disclaimer_code'], 'properties': {'as_of': {'type': 'string', 'title': 'As Of', 'format': 'date'}, 'label': {'type': 'string', 'title': 'Label'}, 'score': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Score'}, 'checks': {'type': 'array', 'items': {'$ref': '#/$defs/LensCriterionResult'}, 'title': 'Checks'}, 'earned': {'type': 'integer', 'title': 'Earned'}, 'maximum': {'type': 'integer', 'const': 100, 'title': 'Maximum'}, 'sources': {'type': 'array', 'items': {'$ref': '#/$defs/SourceRecord'}, 'title': 'Sources'}, 'criteria': {'type': 'array', 'items': {'$ref': '#/$defs/LensCriterionResult'}, 'title': 'Criteria'}, 'page_url': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Page Url'}, 'passport': {'$ref': '#/$defs/LensPassport'}, 'page_kind': {'enum': ['product', 'offer', 'checkout', 'marketplace', 'subscription', 'terms', 'unknown'], 'type': 'string', 'title': 'Page Kind'}, 'strengths': {'type': 'array', 'items': {'$ref': '#/$defs/LensCriterionResult'}, 'title': 'Strengths'}, 'dimensions': {'type': 'array', 'items': {'$ref': '#/$defs/LensDimensionResult'}, 'title': 'Dimensions'}, 'page_title': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Page Title'}, 'unresolved': {'type': 'array', 'items': {'$ref': '#/$defs/LensCriterionResult'}, 'title': 'Unresolved'}, 'limitations': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Limitations'}, 'provisional': {'type': 'boolean', 'const': True, 'title': 'Provisional'}, 'result_type': {'type': 'string', 'const': 'offer_transparency_score', 'title': 'Result Type'}, 'applied_caps': {'type': 'array', 'items': {'$ref': '#/$defs/LensScoreCapResult'}, 'title': 'Applied Caps'}, 'jurisdiction': {'type': 'string', 'const': 'FR', 'title': 'Jurisdiction'}, 'score_status': {'enum': ['scored', 'insufficient_coverage'], 'type': 'string', 'title': 'Score Status'}, 'method_version': {'type': 'string', 'title': 'Method Version'}, 'assessed_weight': {'type': 'integer', 'title': 'Assessed Weight'}, 'disclaimer_code': {'type': 'string', 'const': 'OFFER_TRANSPARENCY_ONLY', 'title': 'Disclaimer Code'}, 'coverage_percent': {'type': 'integer', 'title': 'Coverage Percent'}, 'applicable_weight': {'type': 'integer', 'title': 'Applicable Weight'}, 'data_handling_notice': {'type': 'string', 'title': 'Data Handling Notice'}}, 'additionalProperties': False}
Added
scoreconso_lookup_mediator_reference
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_match_enterprise_mediator_evidence
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_lookup_enterprise_identity
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_lookup_product_recall
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_get_template
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_build_action_plan
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_get_evidence_checklist
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_score_offer_transparency
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_score_dossier
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_check_deadline
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_get_rule
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_route_payment_fraud_case
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_route_marketplace_case
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_route_subscription_case
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_route_advance_payment_case
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_route_guarantee_case
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_route_case
Sept. 25, 2026, 2:40 a.m.
Added
scoreconso_render_case_cockpit
Sept. 25, 2026, 2:40 a.m.