Server definition
- Hash
- sha256:7e43913cf103655cfc8d781115cf49831a6dd415912fbcc226b7e86b4787c2ff
- What it is
- What a remote MCP server returned when asked what it offers: 18 tools
The blob, as servednamed by its sha256
{
"instructions": "Utilisez les outils pour structurer une situation, jamais pour annoncer une responsabilité, une indemnisation ou une probabilité de succès. Conservez les faits manquants, hypothèses, incertitudes, dates et sources dans toute restitution. Aucune action externe n'est disponible.",
"tools": [
{
"description": "Construit l'ordre des démarches documentaires à partir des faits confirmés. Ne transmet rien et n'envoie aucun courrier.",
"inputSchema": {
"$defs": {
"DeliveryFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"carrier_handover_confirmed": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Carrier Handover Confirmed",
"type": "string"
},
"carrier_selected_by": {
"default": "unknown",
"enum": [
"seller_or_offered",
"consumer_independent",
"unknown"
],
"title": "Carrier Selected By",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contract_resolved_under_l216_6": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Resolved Under L216 6",
"type": "string"
},
"delivery_date_was_essential": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Delivery Date Was Essential",
"type": "string"
},
"distance_contract": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Distance Contract",
"type": "string"
},
"formal_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Formal Notice Date"
},
"formal_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Formal Notice Sent",
"type": "string"
},
"order_confirmation_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Order Confirmation Present",
"type": "string"
},
"payment_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Payment Proof Present",
"type": "string"
},
"performance_clearly_impossible": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Performance Clearly Impossible",
"type": "string"
},
"physical_possession": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Physical Possession",
"type": "string"
},
"pickup_point_status": {
"default": "unknown",
"enum": [
"not_applicable",
"agreed_not_collected",
"agreed_collected",
"not_agreed",
"unknown"
],
"title": "Pickup Point Status",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"professional_refused_delivery": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Professional Refused Delivery",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"resolution_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Resolution Notice Date"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"third_party_status": {
"default": "unknown",
"enum": [
"none",
"designated_received",
"not_designated_received",
"unknown"
],
"title": "Third Party Status",
"type": "string"
},
"tracking_capture_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Capture Present",
"type": "string"
},
"tracking_marked_delivered": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Marked Delivered",
"type": "string"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Claim Sent",
"type": "string"
}
},
"title": "DeliveryFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/DeliveryFacts"
}
},
"required": [
"facts"
],
"title": "action_planArguments",
"type": "object"
},
"name": "scoreconso_build_action_plan",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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é.",
"inputSchema": {
"$defs": {
"DeliveryFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"carrier_handover_confirmed": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Carrier Handover Confirmed",
"type": "string"
},
"carrier_selected_by": {
"default": "unknown",
"enum": [
"seller_or_offered",
"consumer_independent",
"unknown"
],
"title": "Carrier Selected By",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contract_resolved_under_l216_6": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Resolved Under L216 6",
"type": "string"
},
"delivery_date_was_essential": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Delivery Date Was Essential",
"type": "string"
},
"distance_contract": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Distance Contract",
"type": "string"
},
"formal_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Formal Notice Date"
},
"formal_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Formal Notice Sent",
"type": "string"
},
"order_confirmation_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Order Confirmation Present",
"type": "string"
},
"payment_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Payment Proof Present",
"type": "string"
},
"performance_clearly_impossible": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Performance Clearly Impossible",
"type": "string"
},
"physical_possession": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Physical Possession",
"type": "string"
},
"pickup_point_status": {
"default": "unknown",
"enum": [
"not_applicable",
"agreed_not_collected",
"agreed_collected",
"not_agreed",
"unknown"
],
"title": "Pickup Point Status",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"professional_refused_delivery": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Professional Refused Delivery",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"resolution_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Resolution Notice Date"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"third_party_status": {
"default": "unknown",
"enum": [
"none",
"designated_received",
"not_designated_received",
"unknown"
],
"title": "Third Party Status",
"type": "string"
},
"tracking_capture_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Capture Present",
"type": "string"
},
"tracking_marked_delivered": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Marked Delivered",
"type": "string"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Claim Sent",
"type": "string"
}
},
"title": "DeliveryFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/DeliveryFacts"
}
},
"required": [
"facts"
],
"title": "check_deadlineArguments",
"type": "object"
},
"name": "scoreconso_check_deadline",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadline": {
"$ref": "#/$defs/DeadlineResult"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"result_type": {
"const": "deadline_check",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "DeadlineCheckEnvelope",
"type": "object"
}
},
{
"description": "Retourne les preuves déclarées présentes ou manquantes pour le premier parcours, ainsi que les faits discriminants encore nécessaires.",
"inputSchema": {
"$defs": {
"DeliveryFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"carrier_handover_confirmed": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Carrier Handover Confirmed",
"type": "string"
},
"carrier_selected_by": {
"default": "unknown",
"enum": [
"seller_or_offered",
"consumer_independent",
"unknown"
],
"title": "Carrier Selected By",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contract_resolved_under_l216_6": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Resolved Under L216 6",
"type": "string"
},
"delivery_date_was_essential": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Delivery Date Was Essential",
"type": "string"
},
"distance_contract": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Distance Contract",
"type": "string"
},
"formal_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Formal Notice Date"
},
"formal_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Formal Notice Sent",
"type": "string"
},
"order_confirmation_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Order Confirmation Present",
"type": "string"
},
"payment_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Payment Proof Present",
"type": "string"
},
"performance_clearly_impossible": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Performance Clearly Impossible",
"type": "string"
},
"physical_possession": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Physical Possession",
"type": "string"
},
"pickup_point_status": {
"default": "unknown",
"enum": [
"not_applicable",
"agreed_not_collected",
"agreed_collected",
"not_agreed",
"unknown"
],
"title": "Pickup Point Status",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"professional_refused_delivery": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Professional Refused Delivery",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"resolution_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Resolution Notice Date"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"third_party_status": {
"default": "unknown",
"enum": [
"none",
"designated_received",
"not_designated_received",
"unknown"
],
"title": "Third Party Status",
"type": "string"
},
"tracking_capture_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Capture Present",
"type": "string"
},
"tracking_marked_delivered": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Marked Delivered",
"type": "string"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Claim Sent",
"type": "string"
}
},
"title": "DeliveryFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/DeliveryFacts"
}
},
"required": [
"facts"
],
"title": "evidence_checklistArguments",
"type": "object"
},
"name": "scoreconso_get_evidence_checklist",
"outputSchema": {
"$defs": {
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "evidence_checklist",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
}
},
"required": [
"result_type",
"jurisdiction",
"as_of",
"ruleset_version",
"route_id",
"qualification_status",
"facts_missing",
"evidence",
"sources",
"passport",
"disclaimer_code"
],
"title": "EvidenceChecklistEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
}
},
"required": [
"rule_id"
],
"title": "get_ruleArguments",
"type": "object"
},
"name": "scoreconso_get_rule",
"outputSchema": {
"$defs": {
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleRecord": {
"additionalProperties": false,
"properties": {
"applicability": {
"items": {
"type": "string"
},
"title": "Applicability",
"type": "array"
},
"domain": {
"title": "Domain",
"type": "string"
},
"evidence_expected": {
"items": {
"type": "string"
},
"title": "Evidence Expected",
"type": "array"
},
"exceptions": {
"items": {
"type": "string"
},
"title": "Exceptions",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"type": "string"
},
"title": "Next Steps",
"type": "array"
},
"possible_outcomes": {
"items": {
"type": "string"
},
"title": "Possible Outcomes",
"type": "array"
},
"required_facts": {
"items": {
"type": "string"
},
"title": "Required Facts",
"type": "array"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
},
"supersedes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Supersedes"
},
"title": {
"title": "Title",
"type": "string"
},
"topic_id": {
"title": "Topic Id",
"type": "string"
},
"uncertainty": {
"$ref": "#/$defs/RuleUncertainty"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Valid To"
},
"verified_at": {
"format": "date",
"title": "Verified At",
"type": "string"
}
},
"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"
],
"title": "RuleRecord",
"type": "object"
},
"RuleUncertainty": {
"additionalProperties": false,
"properties": {
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
},
"status": {
"enum": [
"none",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"status"
],
"title": "RuleUncertainty",
"type": "object"
},
"SourceRecord": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"effective_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Effective From"
},
"jurisdiction": {
"enum": [
"FR",
"EU"
],
"title": "Jurisdiction",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"source_type": {
"enum": [
"legislation",
"official_guidance"
],
"title": "Source Type",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"source_type",
"jurisdiction",
"url",
"checked_at",
"status",
"summary"
],
"title": "SourceRecord",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"result_type": {
"const": "rule_lookup",
"title": "Result Type",
"type": "string"
},
"rule": {
"$ref": "#/$defs/RuleRecord"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceRecord"
},
"title": "Sources",
"type": "array"
}
},
"required": [
"result_type",
"jurisdiction",
"as_of",
"ruleset_version",
"applicable_on",
"applicability_status",
"rule",
"sources",
"passport",
"disclaimer_code"
],
"title": "RuleLookupEnvelope",
"type": "object"
}
},
{
"description": "Retourne les conditions, avertissements et sources d'une trame ScoreConso. La trame reste générique et aucune expédition n'est possible.",
"inputSchema": {
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"template_id": {
"default": "delivery_execution_then_resolution",
"title": "Template Id",
"type": "string"
}
},
"title": "get_templateArguments",
"type": "object"
},
"name": "scoreconso_get_template",
"outputSchema": {
"$defs": {
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"SourceRecord": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"effective_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Effective From"
},
"jurisdiction": {
"enum": [
"FR",
"EU"
],
"title": "Jurisdiction",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"source_type": {
"enum": [
"legislation",
"official_guidance"
],
"title": "Source Type",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"source_type",
"jurisdiction",
"url",
"checked_at",
"status",
"summary"
],
"title": "SourceRecord",
"type": "object"
},
"TemplateRecord": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"conditions": {
"items": {
"type": "string"
},
"title": "Conditions",
"type": "array"
},
"letter_slug": {
"title": "Letter Slug",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"route_id",
"status",
"letter_slug",
"path",
"conditions",
"warnings",
"source_ids",
"automation_policy"
],
"title": "TemplateRecord",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"result_type": {
"const": "template_lookup",
"title": "Result Type",
"type": "string"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceRecord"
},
"title": "Sources",
"type": "array"
},
"template": {
"$ref": "#/$defs/TemplateRecord"
}
},
"required": [
"result_type",
"jurisdiction",
"as_of",
"ruleset_version",
"template",
"sources",
"passport",
"disclaimer_code"
],
"title": "TemplateLookupEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"identifier": {
"title": "Identifier",
"type": "string"
}
},
"required": [
"identifier"
],
"title": "lookup_enterprise_identityArguments",
"type": "object"
},
"name": "scoreconso_lookup_enterprise_identity",
"outputSchema": {
"$defs": {
"EnterpriseDirectorySource": {
"additionalProperties": false,
"properties": {
"access": {
"const": "public_open_api",
"title": "Access",
"type": "string"
},
"api_id": {
"const": "api-recherche-entreprises",
"title": "Api Id",
"type": "string"
},
"api_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Api Url",
"type": "string"
},
"authority": {
"title": "Authority",
"type": "string"
},
"directory_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Directory Url",
"type": "string"
},
"documentation_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Documentation Url",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"underlying_sources": {
"items": {
"type": "string"
},
"title": "Underlying Sources",
"type": "array"
},
"verified_at": {
"format": "date",
"title": "Verified At",
"type": "string"
}
},
"required": [
"api_id",
"title",
"authority",
"api_url",
"documentation_url",
"directory_url",
"underlying_sources",
"access",
"verified_at"
],
"title": "EnterpriseDirectorySource",
"type": "object"
},
"EnterpriseIdentity": {
"additionalProperties": false,
"properties": {
"activity_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity Code"
},
"activity_section": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity Section"
},
"address_scope": {
"enum": [
"public_full",
"locality_only_data_minimization",
"unavailable"
],
"title": "Address Scope",
"type": "string"
},
"administrative_status": {
"enum": [
"active",
"closed",
"unknown"
],
"title": "Administrative Status",
"type": "string"
},
"closed_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Closed On"
},
"created_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Created On"
},
"establishment_count": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Establishment Count"
},
"establishment_status": {
"anyOf": [
{
"enum": [
"active",
"closed",
"unknown"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Establishment Status"
},
"identifier_type": {
"enum": [
"siren",
"siret"
],
"title": "Identifier Type",
"type": "string"
},
"is_entrepreneur_individuel": {
"title": "Is Entrepreneur Individuel",
"type": "boolean"
},
"is_head_office": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Head Office"
},
"legal_name": {
"title": "Legal Name",
"type": "string"
},
"legal_nature_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Legal Nature Code"
},
"locality": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Locality"
},
"official_data_updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Official Data Updated At"
},
"open_establishment_count": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Open Establishment Count"
},
"public_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Public Address"
},
"siren": {
"title": "Siren",
"type": "string"
},
"siret": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Siret"
},
"trade_names": {
"items": {
"type": "string"
},
"title": "Trade Names",
"type": "array"
}
},
"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"
],
"title": "EnterpriseIdentity",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"disclaimer_code": {
"const": "ADMINISTRATIVE_IDENTITY_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"format_status": {
"enum": [
"valid",
"luhn_unusual",
"invalid_characters",
"invalid_length",
"placeholder"
],
"title": "Format Status",
"type": "string"
},
"identifier_type": {
"enum": [
"siren",
"siret",
"unknown"
],
"title": "Identifier Type",
"type": "string"
},
"identity": {
"anyOf": [
{
"$ref": "#/$defs/EnterpriseIdentity"
},
{
"type": "null"
}
]
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"lookup_status": {
"enum": [
"matched",
"no_match",
"invalid_input",
"source_unavailable"
],
"title": "Lookup Status",
"type": "string"
},
"normalized_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Normalized Identifier"
},
"queried_at": {
"format": "date-time",
"title": "Queried At",
"type": "string"
},
"result_type": {
"const": "enterprise_administrative_identity_lookup",
"title": "Result Type",
"type": "string"
},
"source": {
"$ref": "#/$defs/EnterpriseDirectorySource"
},
"source_age_seconds": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Age Seconds"
},
"source_status": {
"enum": [
"live",
"volatile_cache",
"stale_cache",
"unavailable",
"not_called"
],
"title": "Source Status",
"type": "string"
},
"transmitted_to_official_api": {
"title": "Transmitted To Official Api",
"type": "boolean"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"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"
],
"title": "EnterpriseLookupEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Query"
},
"sector_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sector Code"
}
},
"title": "lookup_mediatorArguments",
"type": "object"
},
"name": "scoreconso_lookup_mediator_reference",
"outputSchema": {
"$defs": {
"MediatorDatasetSource": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"cecmc_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Cecmc Page",
"type": "string"
},
"dataset_id": {
"const": "mediation-consommation-annuaire-des-mediateurs",
"title": "Dataset Id",
"type": "string"
},
"dataset_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Dataset Page",
"type": "string"
},
"guidance_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Guidance Page",
"type": "string"
},
"license": {
"title": "License",
"type": "string"
},
"license_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "License Url",
"type": "string"
},
"modified_at": {
"format": "date-time",
"title": "Modified At",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"dataset_id",
"title",
"authority",
"dataset_page",
"cecmc_page",
"guidance_page",
"license",
"license_url",
"modified_at"
],
"title": "MediatorDatasetSource",
"type": "object"
},
"MediatorReferenceMatch": {
"additionalProperties": false,
"properties": {
"match_basis": {
"enum": [
"exact_name",
"exact_host",
"name_contains",
"sector_code",
"category"
],
"title": "Match Basis",
"type": "string"
},
"mediator_id": {
"title": "Mediator Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"sector_count": {
"minimum": 0,
"title": "Sector Count",
"type": "integer"
},
"sectors": {
"items": {
"$ref": "#/$defs/MediatorSector"
},
"title": "Sectors",
"type": "array"
},
"sectors_truncated": {
"title": "Sectors Truncated",
"type": "boolean"
},
"type": {
"title": "Type",
"type": "string"
},
"url": {
"anyOf": [
{
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"title": "Url"
},
"url_security": {
"enum": [
"https",
"http_only",
"unavailable"
],
"title": "Url Security",
"type": "string"
}
},
"required": [
"mediator_id",
"name",
"type",
"url",
"url_security",
"match_basis",
"sectors",
"sector_count",
"sectors_truncated"
],
"title": "MediatorReferenceMatch",
"type": "object"
},
"MediatorSector": {
"additionalProperties": false,
"properties": {
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Category"
},
"code": {
"title": "Code",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
}
},
"required": [
"code",
"label",
"category"
],
"title": "MediatorSector",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"disclaimer_code": {
"const": "CECMC_DIRECTORY_LOOKUP_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"freshness_status": {
"enum": [
"current",
"aging",
"stale",
"future_snapshot"
],
"title": "Freshness Status",
"type": "string"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"match_count": {
"minimum": 0,
"title": "Match Count",
"type": "integer"
},
"match_status": {
"enum": [
"exact_match",
"possible_matches",
"exploration",
"no_match",
"invalid_input"
],
"title": "Match Status",
"type": "string"
},
"matches": {
"items": {
"$ref": "#/$defs/MediatorReferenceMatch"
},
"title": "Matches",
"type": "array"
},
"next_step": {
"title": "Next Step",
"type": "string"
},
"normalized_query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Normalized Query"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query"
},
"result_type": {
"const": "consumer_mediator_directory_lookup",
"title": "Result Type",
"type": "string"
},
"results_truncated": {
"title": "Results Truncated",
"type": "boolean"
},
"selector_type": {
"enum": [
"query",
"sector_code",
"category",
"invalid"
],
"title": "Selector Type",
"type": "string"
},
"snapshot_sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Snapshot Sha256",
"type": "string"
},
"snapshot_version": {
"title": "Snapshot Version",
"type": "string"
},
"source": {
"$ref": "#/$defs/MediatorDatasetSource"
},
"source_age_days": {
"title": "Source Age Days",
"type": "integer"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"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"
],
"title": "MediatorLookupEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"gtin": {
"title": "Gtin",
"type": "string"
}
},
"required": [
"gtin"
],
"title": "lookup_recallArguments",
"type": "object"
},
"name": "scoreconso_lookup_product_recall",
"outputSchema": {
"$defs": {
"RecallDatasetSource": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"dataset_id": {
"const": "rappelconso-v2-gtin-trie",
"title": "Dataset Id",
"type": "string"
},
"dataset_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Dataset Page",
"type": "string"
},
"excludes_products_without_gtin": {
"const": true,
"title": "Excludes Products Without Gtin",
"type": "boolean"
},
"includes_european_rapex": {
"const": false,
"title": "Includes European Rapex",
"type": "boolean"
},
"license": {
"title": "License",
"type": "string"
},
"license_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "License Url",
"type": "string"
},
"modified_at": {
"format": "date-time",
"title": "Modified At",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"dataset_id",
"title",
"authority",
"dataset_page",
"license",
"license_url",
"modified_at",
"excludes_products_without_gtin",
"includes_european_rapex"
],
"title": "RecallDatasetSource",
"type": "object"
},
"RecallMatch": {
"additionalProperties": false,
"properties": {
"additional_risk": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Additional Risk"
},
"brand": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Brand"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Category"
},
"compensation": {
"items": {
"type": "string"
},
"title": "Compensation",
"type": "array"
},
"consumer_actions": {
"items": {
"type": "string"
},
"title": "Consumer Actions",
"type": "array"
},
"health_guidance": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Health Guidance"
},
"official_url": {
"anyOf": [
{
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"title": "Official Url"
},
"packaging": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Packaging"
},
"procedure_ended_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Procedure Ended On"
},
"procedure_status": {
"enum": [
"end_date_not_declared",
"announced_ongoing",
"announced_ended"
],
"title": "Procedure Status",
"type": "string"
},
"product_identification": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Product Identification"
},
"publication_date": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Publication Date"
},
"recall_id": {
"title": "Recall Id",
"type": "integer"
},
"recall_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Recall Reason"
},
"risks": {
"items": {
"type": "string"
},
"title": "Risks",
"type": "array"
},
"sale_area": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sale Area"
},
"sale_ended_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Sale Ended On"
},
"sale_started_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Sale Started On"
},
"sheet_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sheet Reference"
},
"subcategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subcategory"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title"
},
"version": {
"title": "Version",
"type": "integer"
}
},
"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"
],
"title": "RecallMatch",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"disclaimer_code": {
"const": "RAPPELCONSO_DATASET_LOOKUP_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"format_status": {
"enum": [
"valid_checksum",
"invalid_checksum",
"nonstandard_length",
"invalid_characters",
"invalid_length",
"placeholder"
],
"title": "Format Status",
"type": "string"
},
"freshness_status": {
"enum": [
"current",
"aging",
"stale",
"future_snapshot"
],
"title": "Freshness Status",
"type": "string"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"match_count": {
"minimum": 0,
"title": "Match Count",
"type": "integer"
},
"match_status": {
"enum": [
"matched",
"no_match",
"invalid_input"
],
"title": "Match Status",
"type": "string"
},
"matches": {
"items": {
"$ref": "#/$defs/RecallMatch"
},
"title": "Matches",
"type": "array"
},
"normalized_gtin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Normalized Gtin"
},
"result_type": {
"const": "product_recall_lookup",
"title": "Result Type",
"type": "string"
},
"snapshot_sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Snapshot Sha256",
"type": "string"
},
"snapshot_version": {
"title": "Snapshot Version",
"type": "string"
},
"source": {
"$ref": "#/$defs/RecallDatasetSource"
},
"source_age_days": {
"title": "Source Age Days",
"type": "integer"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"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"
],
"title": "RecallLookupEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"EnterpriseMediatorEvidenceInput": {
"additionalProperties": false,
"properties": {
"enterprise_identifier": {
"maxLength": 64,
"minLength": 1,
"title": "Enterprise Identifier",
"type": "string"
},
"evidence_observed_at": {
"format": "date",
"title": "Evidence Observed At",
"type": "string"
},
"evidence_reference": {
"maxLength": 500,
"minLength": 1,
"title": "Evidence Reference",
"type": "string"
},
"evidence_type": {
"enum": [
"contract",
"cgv",
"order_form",
"website_mediation_page",
"website_legal_notice",
"other"
],
"title": "Evidence Type",
"type": "string"
},
"mediator_name": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mediator Name"
},
"mediator_url": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mediator Url"
}
},
"required": [
"enterprise_identifier",
"evidence_type",
"evidence_observed_at",
"evidence_reference"
],
"title": "EnterpriseMediatorEvidenceInput",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"evidence": {
"$ref": "#/$defs/EnterpriseMediatorEvidenceInput"
}
},
"required": [
"evidence"
],
"title": "match_enterprise_mediatorArguments",
"type": "object"
},
"name": "scoreconso_match_enterprise_mediator_evidence",
"outputSchema": {
"$defs": {
"EnterpriseDirectorySource": {
"additionalProperties": false,
"properties": {
"access": {
"const": "public_open_api",
"title": "Access",
"type": "string"
},
"api_id": {
"const": "api-recherche-entreprises",
"title": "Api Id",
"type": "string"
},
"api_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Api Url",
"type": "string"
},
"authority": {
"title": "Authority",
"type": "string"
},
"directory_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Directory Url",
"type": "string"
},
"documentation_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Documentation Url",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"underlying_sources": {
"items": {
"type": "string"
},
"title": "Underlying Sources",
"type": "array"
},
"verified_at": {
"format": "date",
"title": "Verified At",
"type": "string"
}
},
"required": [
"api_id",
"title",
"authority",
"api_url",
"documentation_url",
"directory_url",
"underlying_sources",
"access",
"verified_at"
],
"title": "EnterpriseDirectorySource",
"type": "object"
},
"EnterpriseIdentity": {
"additionalProperties": false,
"properties": {
"activity_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity Code"
},
"activity_section": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity Section"
},
"address_scope": {
"enum": [
"public_full",
"locality_only_data_minimization",
"unavailable"
],
"title": "Address Scope",
"type": "string"
},
"administrative_status": {
"enum": [
"active",
"closed",
"unknown"
],
"title": "Administrative Status",
"type": "string"
},
"closed_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Closed On"
},
"created_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Created On"
},
"establishment_count": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Establishment Count"
},
"establishment_status": {
"anyOf": [
{
"enum": [
"active",
"closed",
"unknown"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Establishment Status"
},
"identifier_type": {
"enum": [
"siren",
"siret"
],
"title": "Identifier Type",
"type": "string"
},
"is_entrepreneur_individuel": {
"title": "Is Entrepreneur Individuel",
"type": "boolean"
},
"is_head_office": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Head Office"
},
"legal_name": {
"title": "Legal Name",
"type": "string"
},
"legal_nature_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Legal Nature Code"
},
"locality": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Locality"
},
"official_data_updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Official Data Updated At"
},
"open_establishment_count": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Open Establishment Count"
},
"public_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Public Address"
},
"siren": {
"title": "Siren",
"type": "string"
},
"siret": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Siret"
},
"trade_names": {
"items": {
"type": "string"
},
"title": "Trade Names",
"type": "array"
}
},
"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"
],
"title": "EnterpriseIdentity",
"type": "object"
},
"EnterpriseLookupEnvelope": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"disclaimer_code": {
"const": "ADMINISTRATIVE_IDENTITY_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"format_status": {
"enum": [
"valid",
"luhn_unusual",
"invalid_characters",
"invalid_length",
"placeholder"
],
"title": "Format Status",
"type": "string"
},
"identifier_type": {
"enum": [
"siren",
"siret",
"unknown"
],
"title": "Identifier Type",
"type": "string"
},
"identity": {
"anyOf": [
{
"$ref": "#/$defs/EnterpriseIdentity"
},
{
"type": "null"
}
]
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"lookup_status": {
"enum": [
"matched",
"no_match",
"invalid_input",
"source_unavailable"
],
"title": "Lookup Status",
"type": "string"
},
"normalized_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Normalized Identifier"
},
"queried_at": {
"format": "date-time",
"title": "Queried At",
"type": "string"
},
"result_type": {
"const": "enterprise_administrative_identity_lookup",
"title": "Result Type",
"type": "string"
},
"source": {
"$ref": "#/$defs/EnterpriseDirectorySource"
},
"source_age_seconds": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Age Seconds"
},
"source_status": {
"enum": [
"live",
"volatile_cache",
"stale_cache",
"unavailable",
"not_called"
],
"title": "Source Status",
"type": "string"
},
"transmitted_to_official_api": {
"title": "Transmitted To Official Api",
"type": "boolean"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"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"
],
"title": "EnterpriseLookupEnvelope",
"type": "object"
},
"EnterpriseMediatorEvidenceRecord": {
"additionalProperties": false,
"properties": {
"content_fetched_by_scoreconso": {
"const": false,
"title": "Content Fetched By Scoreconso",
"type": "boolean"
},
"evidence_type": {
"enum": [
"contract",
"cgv",
"order_form",
"website_mediation_page",
"website_legal_notice",
"other"
],
"title": "Evidence Type",
"type": "string"
},
"mediator_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mediator Name"
},
"mediator_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mediator Url"
},
"observed_at": {
"format": "date",
"title": "Observed At",
"type": "string"
},
"reference": {
"title": "Reference",
"type": "string"
}
},
"required": [
"evidence_type",
"observed_at",
"reference",
"mediator_name",
"mediator_url",
"content_fetched_by_scoreconso"
],
"title": "EnterpriseMediatorEvidenceRecord",
"type": "object"
},
"MediatorDatasetSource": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"cecmc_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Cecmc Page",
"type": "string"
},
"dataset_id": {
"const": "mediation-consommation-annuaire-des-mediateurs",
"title": "Dataset Id",
"type": "string"
},
"dataset_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Dataset Page",
"type": "string"
},
"guidance_page": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Guidance Page",
"type": "string"
},
"license": {
"title": "License",
"type": "string"
},
"license_url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "License Url",
"type": "string"
},
"modified_at": {
"format": "date-time",
"title": "Modified At",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"dataset_id",
"title",
"authority",
"dataset_page",
"cecmc_page",
"guidance_page",
"license",
"license_url",
"modified_at"
],
"title": "MediatorDatasetSource",
"type": "object"
},
"MediatorLookupEnvelope": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"disclaimer_code": {
"const": "CECMC_DIRECTORY_LOOKUP_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"freshness_status": {
"enum": [
"current",
"aging",
"stale",
"future_snapshot"
],
"title": "Freshness Status",
"type": "string"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"match_count": {
"minimum": 0,
"title": "Match Count",
"type": "integer"
},
"match_status": {
"enum": [
"exact_match",
"possible_matches",
"exploration",
"no_match",
"invalid_input"
],
"title": "Match Status",
"type": "string"
},
"matches": {
"items": {
"$ref": "#/$defs/MediatorReferenceMatch"
},
"title": "Matches",
"type": "array"
},
"next_step": {
"title": "Next Step",
"type": "string"
},
"normalized_query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Normalized Query"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query"
},
"result_type": {
"const": "consumer_mediator_directory_lookup",
"title": "Result Type",
"type": "string"
},
"results_truncated": {
"title": "Results Truncated",
"type": "boolean"
},
"selector_type": {
"enum": [
"query",
"sector_code",
"category",
"invalid"
],
"title": "Selector Type",
"type": "string"
},
"snapshot_sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Snapshot Sha256",
"type": "string"
},
"snapshot_version": {
"title": "Snapshot Version",
"type": "string"
},
"source": {
"$ref": "#/$defs/MediatorDatasetSource"
},
"source_age_days": {
"title": "Source Age Days",
"type": "integer"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"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"
],
"title": "MediatorLookupEnvelope",
"type": "object"
},
"MediatorReferenceMatch": {
"additionalProperties": false,
"properties": {
"match_basis": {
"enum": [
"exact_name",
"exact_host",
"name_contains",
"sector_code",
"category"
],
"title": "Match Basis",
"type": "string"
},
"mediator_id": {
"title": "Mediator Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"sector_count": {
"minimum": 0,
"title": "Sector Count",
"type": "integer"
},
"sectors": {
"items": {
"$ref": "#/$defs/MediatorSector"
},
"title": "Sectors",
"type": "array"
},
"sectors_truncated": {
"title": "Sectors Truncated",
"type": "boolean"
},
"type": {
"title": "Type",
"type": "string"
},
"url": {
"anyOf": [
{
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"title": "Url"
},
"url_security": {
"enum": [
"https",
"http_only",
"unavailable"
],
"title": "Url Security",
"type": "string"
}
},
"required": [
"mediator_id",
"name",
"type",
"url",
"url_security",
"match_basis",
"sectors",
"sector_count",
"sectors_truncated"
],
"title": "MediatorReferenceMatch",
"type": "object"
},
"MediatorSector": {
"additionalProperties": false,
"properties": {
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Category"
},
"code": {
"title": "Code",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
}
},
"required": [
"code",
"label",
"category"
],
"title": "MediatorSector",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"conclusion": {
"title": "Conclusion",
"type": "string"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"disclaimer_code": {
"const": "CONTRACTUAL_MEDIATOR_EVIDENCE_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"enterprise": {
"$ref": "#/$defs/EnterpriseLookupEnvelope"
},
"evidence": {
"$ref": "#/$defs/EnterpriseMediatorEvidenceRecord"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"match_basis": {
"items": {
"enum": [
"exact_name",
"exact_host"
],
"type": "string"
},
"title": "Match Basis",
"type": "array"
},
"match_status": {
"enum": [
"exact_reference_match",
"possible_reference_match",
"conflicting_reference",
"mediator_not_found",
"enterprise_unverified",
"invalid_evidence_date"
],
"title": "Match Status",
"type": "string"
},
"matched_mediator_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Matched Mediator Id"
},
"mediator_lookups": {
"items": {
"$ref": "#/$defs/MediatorLookupEnvelope"
},
"title": "Mediator Lookups",
"type": "array"
},
"next_step": {
"title": "Next Step",
"type": "string"
},
"result_type": {
"const": "enterprise_mediator_evidence_match",
"title": "Result Type",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"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"
],
"title": "EnterpriseMediatorEvidenceEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"ToolEnvelope": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"properties": {
"result": {
"$ref": "#/$defs/ToolEnvelope"
}
},
"required": [
"result"
],
"title": "render_case_cockpitArguments",
"type": "object"
},
"name": "scoreconso_render_case_cockpit",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"AdvancePaymentFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"buyer_is_consumer": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Buyer Is Consumer",
"type": "string"
},
"cancellation_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cancellation Date"
},
"cancellation_initiator": {
"default": "unknown",
"enum": [
"consumer",
"professional",
"mutual",
"disputed",
"unknown"
],
"title": "Cancellation Initiator",
"type": "string"
},
"cancellation_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Cancellation Proof Present",
"type": "string"
},
"clause_claims_balance": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Clause Claims Balance",
"type": "string"
},
"clause_keeps_advance": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Clause Keeps Advance",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contract_document_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Document Present",
"type": "string"
},
"contract_type": {
"default": "unknown",
"enum": [
"service",
"sale",
"other",
"unknown"
],
"title": "Contract Type",
"type": "string"
},
"formal_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Formal Notice Sent",
"type": "string"
},
"payment_label": {
"default": "unknown",
"enum": [
"arrhes",
"acompte",
"unspecified",
"other",
"unknown"
],
"title": "Payment Label",
"type": "string"
},
"payment_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Payment Proof Present",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"professional_nonperformance": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Professional Nonperformance",
"type": "string"
},
"reciprocal_compensation": {
"default": "unknown",
"enum": [
"equivalent",
"double_arrhes",
"none",
"not_applicable",
"unknown"
],
"title": "Reciprocal Compensation",
"type": "string"
},
"scheduled_performance_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Scheduled Performance Date"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"special_order_on_quote": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Special Order On Quote",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Claim Sent",
"type": "string"
}
},
"title": "AdvancePaymentFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/AdvancePaymentFacts"
}
},
"required": [
"facts"
],
"title": "route_advance_payment_caseArguments",
"type": "object"
},
"name": "scoreconso_route_advance_payment_case",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"DeliveryFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"carrier_handover_confirmed": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Carrier Handover Confirmed",
"type": "string"
},
"carrier_selected_by": {
"default": "unknown",
"enum": [
"seller_or_offered",
"consumer_independent",
"unknown"
],
"title": "Carrier Selected By",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contract_resolved_under_l216_6": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Resolved Under L216 6",
"type": "string"
},
"delivery_date_was_essential": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Delivery Date Was Essential",
"type": "string"
},
"distance_contract": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Distance Contract",
"type": "string"
},
"formal_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Formal Notice Date"
},
"formal_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Formal Notice Sent",
"type": "string"
},
"order_confirmation_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Order Confirmation Present",
"type": "string"
},
"payment_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Payment Proof Present",
"type": "string"
},
"performance_clearly_impossible": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Performance Clearly Impossible",
"type": "string"
},
"physical_possession": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Physical Possession",
"type": "string"
},
"pickup_point_status": {
"default": "unknown",
"enum": [
"not_applicable",
"agreed_not_collected",
"agreed_collected",
"not_agreed",
"unknown"
],
"title": "Pickup Point Status",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"professional_refused_delivery": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Professional Refused Delivery",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"resolution_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Resolution Notice Date"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"third_party_status": {
"default": "unknown",
"enum": [
"none",
"designated_received",
"not_designated_received",
"unknown"
],
"title": "Third Party Status",
"type": "string"
},
"tracking_capture_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Capture Present",
"type": "string"
},
"tracking_marked_delivered": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Tracking Marked Delivered",
"type": "string"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Claim Sent",
"type": "string"
}
},
"title": "DeliveryFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/DeliveryFacts"
}
},
"required": [
"facts"
],
"title": "route_caseArguments",
"type": "object"
},
"name": "scoreconso_route_case",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"GuaranteeFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"buyer_is_consumer": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Buyer Is Consumer",
"type": "string"
},
"conformity_request_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Conformity Request Date"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"costs_charged": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Costs Charged",
"type": "string"
},
"dangerous_product": {
"default": false,
"title": "Dangerous Product",
"type": "boolean"
},
"defect_appearance_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Defect Appearance Date"
},
"defect_evidence_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Defect Evidence Present",
"type": "string"
},
"defect_is_conformity_candidate": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Defect Is Conformity Candidate",
"type": "string"
},
"defect_known_or_disclosed_at_purchase": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Defect Known Or Disclosed At Purchase",
"type": "string"
},
"defect_minor": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Defect Minor",
"type": "string"
},
"defect_serious": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Defect Serious",
"type": "string"
},
"delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Delivery Date"
},
"formal_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Formal Notice Sent",
"type": "string"
},
"major_inconvenience": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Major Inconvenience",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"product_condition": {
"default": "unknown",
"enum": [
"new",
"used",
"unknown"
],
"title": "Product Condition",
"type": "string"
},
"purchase_proof_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Purchase Proof Present",
"type": "string"
},
"remedy_completion_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Remedy Completion Date"
},
"remedy_status": {
"default": "unknown",
"enum": [
"not_started",
"in_progress",
"completed_conforming",
"failed_or_persistent",
"refused",
"impossible",
"unknown"
],
"title": "Remedy Status",
"type": "string"
},
"replacement_after_repair_choice": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Replacement After Repair Choice",
"type": "string"
},
"requested_remedy": {
"default": "unknown",
"enum": [
"repair",
"replacement",
"none",
"unknown"
],
"title": "Requested Remedy",
"type": "string"
},
"sale_contract": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Sale Contract",
"type": "string"
},
"seller_exchange_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Exchange Present",
"type": "string"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"seller_response": {
"default": "unknown",
"enum": [
"none",
"redirected_to_manufacturer",
"refused_durable_medium",
"refused_other",
"accepted",
"unknown"
],
"title": "Seller Response",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Claim Sent",
"type": "string"
}
},
"title": "GuaranteeFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/GuaranteeFacts"
}
},
"required": [
"facts"
],
"title": "route_guarantee_caseArguments",
"type": "object"
},
"name": "scoreconso_route_guarantee_case",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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é.",
"inputSchema": {
"$defs": {
"MarketplaceFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"buyer_is_consumer": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Buyer Is Consumer",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contractual_seller_identity_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contractual Seller Identity Present",
"type": "string"
},
"dispute_type": {
"default": "unknown",
"enum": [
"non_delivery",
"conformity",
"refund",
"seller_identity",
"other",
"unknown"
],
"title": "Dispute Type",
"type": "string"
},
"distance_contract": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Distance Contract",
"type": "string"
},
"invoice_issuer": {
"default": "unknown",
"enum": [
"seller",
"platform",
"none",
"unknown"
],
"title": "Invoice Issuer",
"type": "string"
},
"invoice_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Invoice Present",
"type": "string"
},
"marketplace_transaction": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Marketplace Transaction",
"type": "string"
},
"offer_capture_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Offer Capture Present",
"type": "string"
},
"order_confirmation_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Order Confirmation Present",
"type": "string"
},
"platform_dispute_role_disclosed": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Platform Dispute Role Disclosed",
"type": "string"
},
"platform_role_disclosed": {
"default": "unknown",
"enum": [
"contractual_seller",
"intermediary",
"payment_only",
"mixed_or_unclear",
"unknown"
],
"title": "Platform Role Disclosed",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"seller_identifier_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Identifier Present",
"type": "string"
},
"seller_location": {
"default": "unknown",
"enum": [
"france",
"eu_eea",
"outside_eu_eea",
"unknown"
],
"title": "Seller Location",
"type": "string"
},
"seller_status_declared": {
"default": "unknown",
"enum": [
"professional",
"private",
"unknown"
],
"title": "Seller Status Declared",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"written_claim_target": {
"default": "unknown",
"enum": [
"seller",
"platform",
"both",
"none",
"unknown"
],
"title": "Written Claim Target",
"type": "string"
},
"written_exchanges_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Written Exchanges Present",
"type": "string"
}
},
"title": "MarketplaceFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/MarketplaceFacts"
}
},
"required": [
"facts"
],
"title": "route_marketplace_caseArguments",
"type": "object"
},
"name": "scoreconso_route_marketplace_case",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"PaymentFraudFacts": {
"additionalProperties": false,
"properties": {
"authentication_evidence_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Authentication Evidence Present",
"type": "string"
},
"bank_authentication_recorded": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Bank Authentication Recorded",
"type": "string"
},
"bank_exchange_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Bank Exchange Present",
"type": "string"
},
"bank_notification_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Bank Notification Date"
},
"bank_notified": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Bank Notified",
"type": "string"
},
"bank_response": {
"default": "unknown",
"enum": [
"reimbursed",
"refused",
"pending",
"no_response",
"unknown"
],
"title": "Bank Response",
"type": "string"
},
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"consent_status": {
"default": "unknown",
"enum": [
"not_given",
"given_under_deception",
"given_without_deception",
"unknown"
],
"title": "Consent Status",
"type": "string"
},
"debit_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Debit Date"
},
"identity_theft_or_account_takeover": {
"default": false,
"title": "Identity Theft Or Account Takeover",
"type": "boolean"
},
"instrument_blocked": {
"default": "unknown",
"enum": [
"yes",
"no",
"not_applicable",
"unknown"
],
"title": "Instrument Blocked",
"type": "string"
},
"manipulation_evidence_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Manipulation Evidence Present",
"type": "string"
},
"operation_status": {
"default": "unknown",
"enum": [
"executed",
"pending",
"mal_executed",
"unknown"
],
"title": "Operation Status",
"type": "string"
},
"payment_method": {
"default": "unknown",
"enum": [
"card",
"transfer",
"direct_debit",
"wallet",
"other",
"unknown"
],
"title": "Payment Method",
"type": "string"
},
"payment_service_providers_location": {
"default": "unknown",
"enum": [
"both_in_eea",
"at_least_one_outside_eea",
"unknown"
],
"title": "Payment Service Providers Location",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"statement_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Statement Present",
"type": "string"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
},
"user_is_nonprofessional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "User Is Nonprofessional",
"type": "string"
}
},
"title": "PaymentFraudFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/PaymentFraudFacts"
}
},
"required": [
"facts"
],
"title": "route_payment_fraud_caseArguments",
"type": "object"
},
"name": "scoreconso_route_payment_fraud_case",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"SubscriptionFacts": {
"additionalProperties": false,
"properties": {
"bodily_injury": {
"default": false,
"title": "Bodily Injury",
"type": "boolean"
},
"buyer_is_consumer": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Buyer Is Consumer",
"type": "string"
},
"contract_concluded_electronically": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Concluded Electronically",
"type": "string"
},
"contract_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contract Date"
},
"contract_document_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Contract Document Present",
"type": "string"
},
"contract_duration": {
"default": "unknown",
"enum": [
"fixed_term",
"tacit_renewal",
"indefinite",
"unknown"
],
"title": "Contract Duration",
"type": "string"
},
"contract_kind": {
"default": "unknown",
"enum": [
"service",
"digital_service",
"rental",
"insurance",
"other",
"unknown"
],
"title": "Contract Kind",
"type": "string"
},
"end_date_communicated": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "End Date Communicated",
"type": "string"
},
"legitimate_reason_claimed": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Legitimate Reason Claimed",
"type": "string"
},
"minimum_commitment_active": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Minimum Commitment Active",
"type": "string"
},
"online_termination_feature_status": {
"default": "unknown",
"enum": [
"available",
"unavailable",
"inaccessible",
"unknown"
],
"title": "Online Termination Feature Status",
"type": "string"
},
"proceeding_started": {
"default": false,
"title": "Proceeding Started",
"type": "boolean"
},
"professional_offers_online_subscription_now": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Professional Offers Online Subscription Now",
"type": "string"
},
"receipt_confirmation_received": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Receipt Confirmation Received",
"type": "string"
},
"renewal_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Renewal Date"
},
"renewal_notice_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Renewal Notice Present",
"type": "string"
},
"renewal_notice_status": {
"default": "unknown",
"enum": [
"compliant",
"not_received",
"outside_window",
"missing_deadline",
"not_applicable",
"unknown"
],
"title": "Renewal Notice Status",
"type": "string"
},
"seller_is_professional": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Seller Is Professional",
"type": "string"
},
"suspected_criminal_fraud": {
"default": false,
"title": "Suspected Criminal Fraud",
"type": "boolean"
},
"termination_capture_present": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Termination Capture Present",
"type": "string"
},
"termination_conditions_known": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Termination Conditions Known",
"type": "string"
},
"termination_notice_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Termination Notice Date"
},
"termination_notice_sent": {
"default": "unknown",
"enum": [
"yes",
"no",
"unknown"
],
"title": "Termination Notice Sent",
"type": "string"
},
"urgent_deadline_days": {
"anyOf": [
{
"maximum": 3650,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Urgent Deadline Days"
}
},
"title": "SubscriptionFacts",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"facts": {
"$ref": "#/$defs/SubscriptionFacts"
}
},
"required": [
"facts"
],
"title": "route_subscription_caseArguments",
"type": "object"
},
"name": "scoreconso_route_subscription_case",
"outputSchema": {
"$defs": {
"DeadlineResult": {
"additionalProperties": false,
"properties": {
"calculated_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Calculated Date"
},
"calculation_status": {
"enum": [
"calculated",
"missing_fact",
"not_automatically_quantified",
"not_applicable"
],
"title": "Calculation Status",
"type": "string"
},
"deadline_id": {
"title": "Deadline Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"nature": {
"enum": [
"procedural_step",
"refund_deadline",
"conformity_deadline",
"termination_deadline",
"payment_notification_deadline"
],
"title": "Nature",
"type": "string"
},
"promised_delivery_date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Promised Delivery Date"
},
"radar_status": {
"enum": [
"green",
"orange",
"red",
"expired",
"indeterminate"
],
"title": "Radar Status",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"remaining_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Remaining Days"
},
"start_event": {
"title": "Start Event",
"type": "string"
}
},
"required": [
"deadline_id",
"label",
"nature",
"start_event",
"calculated_date",
"calculation_status",
"reason",
"radar_status"
],
"title": "DeadlineResult",
"type": "object"
},
"EscalationResult": {
"additionalProperties": false,
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"reasons": {
"items": {
"type": "string"
},
"title": "Reasons",
"type": "array"
},
"required": {
"title": "Required",
"type": "boolean"
}
},
"required": [
"required",
"reasons",
"message"
],
"title": "EscalationResult",
"type": "object"
},
"EvidenceResult": {
"additionalProperties": false,
"properties": {
"missing": {
"items": {
"type": "string"
},
"title": "Missing",
"type": "array"
},
"present": {
"items": {
"type": "string"
},
"title": "Present",
"type": "array"
},
"recommended": {
"items": {
"type": "string"
},
"title": "Recommended",
"type": "array"
}
},
"required": [
"present",
"missing",
"recommended"
],
"title": "EvidenceResult",
"type": "object"
},
"FactResult": {
"additionalProperties": false,
"properties": {
"field_id": {
"title": "Field Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "integer"
}
],
"title": "Value"
}
},
"required": [
"field_id",
"label",
"value"
],
"title": "FactResult",
"type": "object"
},
"NextStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"status": {
"enum": [
"now",
"next",
"later",
"blocked"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"label",
"status"
],
"title": "NextStepResult",
"type": "object"
},
"ProcedureStepResult": {
"additionalProperties": false,
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"position": {
"maximum": 4,
"minimum": 1,
"title": "Position",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
},
"status": {
"enum": [
"completed",
"current",
"upcoming",
"blocked",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"step_id": {
"title": "Step Id",
"type": "string"
}
},
"required": [
"step_id",
"position",
"label",
"status",
"reason"
],
"title": "ProcedureStepResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
},
"RuleResult": {
"additionalProperties": false,
"properties": {
"applicability": {
"enum": [
"certain",
"possible",
"uncertain",
"not_applicable"
],
"title": "Applicability",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"rule_id",
"status",
"summary",
"applicability",
"source_ids"
],
"title": "RuleResult",
"type": "object"
},
"SituationResult": {
"additionalProperties": false,
"properties": {
"alternative_categories": {
"items": {
"type": "string"
},
"title": "Alternative Categories",
"type": "array"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"primary_category": {
"title": "Primary Category",
"type": "string"
}
},
"required": [
"primary_category",
"alternative_categories",
"outcome"
],
"title": "SituationResult",
"type": "object"
},
"SourceResult": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"url",
"checked_at",
"status"
],
"title": "SourceResult",
"type": "object"
},
"TemplateResult": {
"additionalProperties": false,
"properties": {
"automation_policy": {
"const": "generic_only_no_send",
"title": "Automation Policy",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Status",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"template_id",
"title",
"path",
"status",
"automation_policy",
"warnings"
],
"title": "TemplateResult",
"type": "object"
},
"TemporalRuleCheck": {
"additionalProperties": false,
"properties": {
"applicability_status": {
"enum": [
"applicable",
"not_yet_effective",
"no_longer_applicable",
"undated"
],
"title": "Applicability Status",
"type": "string"
},
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"rule_id": {
"title": "Rule Id",
"type": "string"
},
"rule_status": {
"enum": [
"in_force",
"future_effective",
"superseded",
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain",
"out_of_scope"
],
"title": "Rule Status",
"type": "string"
},
"selected_for_result": {
"title": "Selected For Result",
"type": "boolean"
},
"valid_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid From"
},
"valid_to": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Valid To"
}
},
"required": [
"rule_id",
"rule_status",
"valid_from",
"valid_to",
"applicable_on",
"applicability_status",
"selected_for_result"
],
"title": "TemporalRuleCheck",
"type": "object"
},
"UncertaintyResult": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"official_conflict",
"editorial_inference",
"case_law_dependent",
"uncertain"
],
"title": "Status",
"type": "string"
}
},
"required": [
"code",
"status",
"message",
"source_ids"
],
"title": "UncertaintyResult",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_on": {
"format": "date",
"title": "Applicable On",
"type": "string"
},
"applicable_on_basis": {
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"title": "Applicable On Basis",
"type": "string"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assumptions": {
"items": {
"type": "string"
},
"title": "Assumptions",
"type": "array"
},
"deadlines": {
"items": {
"$ref": "#/$defs/DeadlineResult"
},
"title": "Deadlines",
"type": "array"
},
"disclaimer_code": {
"const": "DOCUMENTARY_INFORMATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"escalation": {
"$ref": "#/$defs/EscalationResult"
},
"evidence": {
"$ref": "#/$defs/EvidenceResult"
},
"facts_missing": {
"items": {
"type": "string"
},
"title": "Facts Missing",
"type": "array"
},
"facts_used": {
"items": {
"$ref": "#/$defs/FactResult"
},
"title": "Facts Used",
"type": "array"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"next_steps": {
"items": {
"$ref": "#/$defs/NextStepResult"
},
"title": "Next Steps",
"type": "array"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"procedure": {
"items": {
"$ref": "#/$defs/ProcedureStepResult"
},
"title": "Procedure",
"type": "array"
},
"qualification_status": {
"enum": [
"provisional",
"input_required",
"alternative_route",
"out_of_scope",
"human_review_required"
],
"title": "Qualification Status",
"type": "string"
},
"result_type": {
"const": "procedural_orientation",
"title": "Result Type",
"type": "string"
},
"route_id": {
"title": "Route Id",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/$defs/RuleResult"
},
"title": "Rules",
"type": "array"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"situation": {
"$ref": "#/$defs/SituationResult"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceResult"
},
"title": "Sources",
"type": "array"
},
"template": {
"anyOf": [
{
"$ref": "#/$defs/TemplateResult"
},
{
"type": "null"
}
]
},
"temporal_checks": {
"items": {
"$ref": "#/$defs/TemporalRuleCheck"
},
"title": "Temporal Checks",
"type": "array"
},
"temporal_status": {
"enum": [
"applicable",
"as_of_fallback",
"historical_ruleset_incomplete",
"invalid_future_date"
],
"title": "Temporal Status",
"type": "string"
},
"uncertainties": {
"items": {
"$ref": "#/$defs/UncertaintyResult"
},
"title": "Uncertainties",
"type": "array"
}
},
"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"
],
"title": "ToolEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"responses": {
"additionalProperties": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"title": "Responses",
"type": "object"
},
"topic_id": {
"enum": [
"prestataires-evenements",
"achats-en-ligne",
"marketplaces-dropshipping",
"garanties-produits-defectueux",
"abonnements-resiliation",
"pieges-arnaques-en-ligne"
],
"title": "Topic Id",
"type": "string"
}
},
"required": [
"topic_id",
"responses"
],
"title": "dossier_scoreArguments",
"type": "object"
},
"name": "scoreconso_score_dossier",
"outputSchema": {
"$defs": {
"DossierCriterion": {
"additionalProperties": false,
"properties": {
"action": {
"title": "Action",
"type": "string"
},
"dimension": {
"title": "Dimension",
"type": "string"
},
"help": {
"title": "Help",
"type": "string"
},
"id": {
"title": "Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"weight": {
"exclusiveMinimum": 0,
"maximum": 100,
"title": "Weight",
"type": "integer"
}
},
"required": [
"id",
"dimension",
"weight",
"label",
"help",
"action"
],
"title": "DossierCriterion",
"type": "object"
},
"DossierDimensionResult": {
"additionalProperties": false,
"properties": {
"answered": {
"title": "Answered",
"type": "integer"
},
"criteria_count": {
"title": "Criteria Count",
"type": "integer"
},
"earned": {
"title": "Earned",
"type": "integer"
},
"id": {
"title": "Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"maximum": {
"title": "Maximum",
"type": "integer"
}
},
"required": [
"id",
"label",
"maximum",
"earned",
"answered",
"criteria_count"
],
"title": "DossierDimensionResult",
"type": "object"
},
"ResponsePassport": {
"additionalProperties": false,
"properties": {
"applicable_on": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On"
},
"applicable_on_basis": {
"anyOf": [
{
"enum": [
"contract_date",
"as_of_fallback",
"explicit_query"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Applicable On Basis"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"corpus_verified_at": {
"format": "date",
"title": "Corpus Verified At",
"type": "string"
},
"facts_missing_count": {
"minimum": 0,
"title": "Facts Missing Count",
"type": "integer"
},
"facts_used_count": {
"minimum": 0,
"title": "Facts Used Count",
"type": "integer"
},
"freshness_status": {
"enum": [
"current",
"review_due"
],
"title": "Freshness Status",
"type": "string"
},
"oldest_source_checked_at": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Source Checked At"
},
"review_interval_days": {
"title": "Review Interval Days",
"type": "integer"
},
"review_recommended_by": {
"format": "date",
"title": "Review Recommended By",
"type": "string"
},
"rule_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Rule Status Counts",
"type": "object"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
},
"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"
}
],
"default": null,
"title": "Temporal Status"
},
"uncertainty_count": {
"minimum": 0,
"title": "Uncertainty Count",
"type": "integer"
},
"uncertainty_status_counts": {
"additionalProperties": {
"type": "integer"
},
"title": "Uncertainty Status Counts",
"type": "object"
}
},
"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"
],
"title": "ResponsePassport",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"answered": {
"title": "Answered",
"type": "integer"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"complete": {
"title": "Complete",
"type": "boolean"
},
"coverage_percent": {
"title": "Coverage Percent",
"type": "integer"
},
"dimensions": {
"items": {
"$ref": "#/$defs/DossierDimensionResult"
},
"title": "Dimensions",
"type": "array"
},
"disclaimer_code": {
"const": "DOSSIER_PREPARATION_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"level": {
"enum": [
"strong",
"good",
"medium",
"weak",
"critical",
"incomplete"
],
"title": "Level",
"type": "string"
},
"maximum": {
"const": 100,
"title": "Maximum",
"type": "integer"
},
"method_version": {
"title": "Method Version",
"type": "string"
},
"missing": {
"items": {
"$ref": "#/$defs/DossierCriterion"
},
"title": "Missing",
"type": "array"
},
"next_action": {
"title": "Next Action",
"type": "string"
},
"passport": {
"$ref": "#/$defs/ResponsePassport"
},
"provisional": {
"title": "Provisional",
"type": "boolean"
},
"result_type": {
"const": "dossier_preparation_score",
"title": "Result Type",
"type": "string"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"score": {
"title": "Score",
"type": "integer"
},
"total_criteria": {
"title": "Total Criteria",
"type": "integer"
},
"unanswered": {
"items": {
"$ref": "#/$defs/DossierCriterion"
},
"title": "Unanswered",
"type": "array"
}
},
"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"
],
"title": "DossierScoreEnvelope",
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"$defs": {
"LensAssessmentInput": {
"additionalProperties": false,
"properties": {
"evidence": {
"items": {
"$ref": "#/$defs/LensEvidence"
},
"maxItems": 6,
"title": "Evidence",
"type": "array"
},
"status": {
"enum": [
"observed",
"not_observed",
"review",
"unknown",
"not_applicable"
],
"title": "Status",
"type": "string"
}
},
"required": [
"status"
],
"title": "LensAssessmentInput",
"type": "object"
},
"LensEvidence": {
"additionalProperties": false,
"properties": {
"excerpt": {
"maxLength": 240,
"minLength": 1,
"title": "Excerpt",
"type": "string"
},
"kind": {
"enum": [
"visible_text",
"link",
"structured_data",
"control",
"manual"
],
"title": "Kind",
"type": "string"
},
"label": {
"maxLength": 120,
"minLength": 1,
"title": "Label",
"type": "string"
}
},
"required": [
"kind",
"label",
"excerpt"
],
"title": "LensEvidence",
"type": "object"
},
"OfferTransparencyInput": {
"additionalProperties": false,
"properties": {
"assessments": {
"additionalProperties": {
"$ref": "#/$defs/LensAssessmentInput"
},
"title": "Assessments",
"type": "object"
},
"observed_at": {
"format": "date-time",
"title": "Observed At",
"type": "string"
},
"page_kind": {
"default": "unknown",
"enum": [
"product",
"offer",
"checkout",
"marketplace",
"subscription",
"terms",
"unknown"
],
"title": "Page Kind",
"type": "string"
},
"page_title": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Page Title"
},
"page_url": {
"anyOf": [
{
"maxLength": 2048,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Page Url"
}
},
"required": [
"observed_at",
"assessments"
],
"title": "OfferTransparencyInput",
"type": "object"
}
},
"properties": {
"as_of": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"observation": {
"$ref": "#/$defs/OfferTransparencyInput"
}
},
"required": [
"observation"
],
"title": "score_offerArguments",
"type": "object"
},
"name": "scoreconso_score_offer_transparency",
"outputSchema": {
"$defs": {
"LensCriterionResult": {
"additionalProperties": false,
"properties": {
"assessed": {
"title": "Assessed",
"type": "boolean"
},
"criterion_id": {
"title": "Criterion Id",
"type": "string"
},
"dimension": {
"title": "Dimension",
"type": "string"
},
"earned": {
"title": "Earned",
"type": "integer"
},
"evidence": {
"items": {
"$ref": "#/$defs/LensEvidence"
},
"title": "Evidence",
"type": "array"
},
"label": {
"title": "Label",
"type": "string"
},
"source_ids": {
"items": {
"type": "string"
},
"title": "Source Ids",
"type": "array"
},
"status": {
"enum": [
"observed",
"not_observed",
"review",
"unknown",
"not_applicable"
],
"title": "Status",
"type": "string"
},
"weight": {
"title": "Weight",
"type": "integer"
}
},
"required": [
"criterion_id",
"dimension",
"label",
"weight",
"status",
"earned",
"assessed",
"evidence",
"source_ids"
],
"title": "LensCriterionResult",
"type": "object"
},
"LensDimensionResult": {
"additionalProperties": false,
"properties": {
"applicable_weight": {
"title": "Applicable Weight",
"type": "integer"
},
"assessed_weight": {
"title": "Assessed Weight",
"type": "integer"
},
"coverage_percent": {
"title": "Coverage Percent",
"type": "integer"
},
"earned": {
"title": "Earned",
"type": "integer"
},
"id": {
"title": "Id",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"maximum": {
"title": "Maximum",
"type": "integer"
},
"score": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Score"
}
},
"required": [
"id",
"label",
"maximum",
"applicable_weight",
"assessed_weight",
"earned",
"coverage_percent",
"score"
],
"title": "LensDimensionResult",
"type": "object"
},
"LensEvidence": {
"additionalProperties": false,
"properties": {
"excerpt": {
"maxLength": 240,
"minLength": 1,
"title": "Excerpt",
"type": "string"
},
"kind": {
"enum": [
"visible_text",
"link",
"structured_data",
"control",
"manual"
],
"title": "Kind",
"type": "string"
},
"label": {
"maxLength": 120,
"minLength": 1,
"title": "Label",
"type": "string"
}
},
"required": [
"kind",
"label",
"excerpt"
],
"title": "LensEvidence",
"type": "object"
},
"LensPassport": {
"additionalProperties": false,
"properties": {
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"corpus_status": {
"enum": [
"draft",
"reviewed",
"published"
],
"title": "Corpus Status",
"type": "string"
},
"criteria_applicable": {
"minimum": 0,
"title": "Criteria Applicable",
"type": "integer"
},
"criteria_assessed": {
"minimum": 0,
"title": "Criteria Assessed",
"type": "integer"
},
"method_version": {
"title": "Method Version",
"type": "string"
},
"mode": {
"enum": [
"local",
"mcp_read_only"
],
"title": "Mode",
"type": "string"
},
"observed_at": {
"format": "date-time",
"title": "Observed At",
"type": "string"
},
"page_content_retained": {
"const": false,
"title": "Page Content Retained",
"type": "boolean"
},
"result_private": {
"const": true,
"title": "Result Private",
"type": "boolean"
},
"ruleset_version": {
"title": "Ruleset Version",
"type": "string"
},
"source_count": {
"minimum": 0,
"title": "Source Count",
"type": "integer"
}
},
"required": [
"ruleset_version",
"method_version",
"corpus_status",
"as_of",
"observed_at",
"mode",
"page_content_retained",
"result_private",
"criteria_assessed",
"criteria_applicable",
"source_count"
],
"title": "LensPassport",
"type": "object"
},
"LensScoreCapResult": {
"additionalProperties": false,
"properties": {
"criterion_id": {
"title": "Criterion Id",
"type": "string"
},
"maximum": {
"title": "Maximum",
"type": "integer"
},
"reason": {
"title": "Reason",
"type": "string"
}
},
"required": [
"criterion_id",
"maximum",
"reason"
],
"title": "LensScoreCapResult",
"type": "object"
},
"SourceRecord": {
"additionalProperties": false,
"properties": {
"authority": {
"title": "Authority",
"type": "string"
},
"checked_at": {
"format": "date",
"title": "Checked At",
"type": "string"
},
"effective_from": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Effective From"
},
"jurisdiction": {
"enum": [
"FR",
"EU"
],
"title": "Jurisdiction",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"source_type": {
"enum": [
"legislation",
"official_guidance"
],
"title": "Source Type",
"type": "string"
},
"status": {
"enum": [
"current",
"archived",
"pending"
],
"title": "Status",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"url": {
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"source_id",
"title",
"authority",
"source_type",
"jurisdiction",
"url",
"checked_at",
"status",
"summary"
],
"title": "SourceRecord",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"applicable_weight": {
"title": "Applicable Weight",
"type": "integer"
},
"applied_caps": {
"items": {
"$ref": "#/$defs/LensScoreCapResult"
},
"title": "Applied Caps",
"type": "array"
},
"as_of": {
"format": "date",
"title": "As Of",
"type": "string"
},
"assessed_weight": {
"title": "Assessed Weight",
"type": "integer"
},
"checks": {
"items": {
"$ref": "#/$defs/LensCriterionResult"
},
"title": "Checks",
"type": "array"
},
"coverage_percent": {
"title": "Coverage Percent",
"type": "integer"
},
"criteria": {
"items": {
"$ref": "#/$defs/LensCriterionResult"
},
"title": "Criteria",
"type": "array"
},
"data_handling_notice": {
"title": "Data Handling Notice",
"type": "string"
},
"dimensions": {
"items": {
"$ref": "#/$defs/LensDimensionResult"
},
"title": "Dimensions",
"type": "array"
},
"disclaimer_code": {
"const": "OFFER_TRANSPARENCY_ONLY",
"title": "Disclaimer Code",
"type": "string"
},
"earned": {
"title": "Earned",
"type": "integer"
},
"jurisdiction": {
"const": "FR",
"title": "Jurisdiction",
"type": "string"
},
"label": {
"title": "Label",
"type": "string"
},
"limitations": {
"items": {
"type": "string"
},
"title": "Limitations",
"type": "array"
},
"maximum": {
"const": 100,
"title": "Maximum",
"type": "integer"
},
"method_version": {
"title": "Method Version",
"type": "string"
},
"page_kind": {
"enum": [
"product",
"offer",
"checkout",
"marketplace",
"subscription",
"terms",
"unknown"
],
"title": "Page Kind",
"type": "string"
},
"page_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Page Title"
},
"page_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Page Url"
},
"passport": {
"$ref": "#/$defs/LensPassport"
},
"provisional": {
"const": true,
"title": "Provisional",
"type": "boolean"
},
"result_type": {
"const": "offer_transparency_score",
"title": "Result Type",
"type": "string"
},
"score": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Score"
},
"score_status": {
"enum": [
"scored",
"insufficient_coverage"
],
"title": "Score Status",
"type": "string"
},
"sources": {
"items": {
"$ref": "#/$defs/SourceRecord"
},
"title": "Sources",
"type": "array"
},
"strengths": {
"items": {
"$ref": "#/$defs/LensCriterionResult"
},
"title": "Strengths",
"type": "array"
},
"unresolved": {
"items": {
"$ref": "#/$defs/LensCriterionResult"
},
"title": "Unresolved",
"type": "array"
}
},
"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"
],
"title": "OfferTransparencyEnvelope",
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:7e43913cf103655cfc8d781115cf49831a6dd415912fbcc226b7e86b4787c2ff | sha256sum