{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scoreconso-fr/json-schema/scoreconso-fr-enterprise-mediator-evidence-input-schema.json",
  "title": "EnterpriseMediatorEvidenceInput",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scoreconso-fr-openapi.json#/components/schemas/EnterpriseMediatorEvidenceInput",
  "properties": {
    "enterprise_identifier": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Enterprise Identifier"
    },
    "mediator_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Mediator Name"
    },
    "mediator_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Mediator Url"
    },
    "evidence_type": {
      "type": "string",
      "enum": [
        "contract",
        "cgv",
        "order_form",
        "website_mediation_page",
        "website_legal_notice",
        "other"
      ],
      "title": "Evidence Type"
    },
    "evidence_observed_at": {
      "type": "string",
      "format": "date",
      "title": "Evidence Observed At"
    },
    "evidence_reference": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "title": "Evidence Reference"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "enterprise_identifier",
    "evidence_type",
    "evidence_observed_at",
    "evidence_reference"
  ]
}