import pytest


@pytest.fixture
def mapping_response():
    return {
        "responseHeader": {
            "QTime": 0,
            "params": {
                "mm": "100%",
                "q": "*:*",
                "defType": "edismax",
                "facet_min_count": "1",
                "hl": "false",
                "start": "0",
                "q.op": "AND",
                "fq": 'subject_id:"MONDO\\:0020121" OR object_id:"MONDO\\:0020121"',
                "facet.mincount": "1",
                "rows": "20",
                "facet": "true",
            },
        },
        "response": {
            "num_found": 9,
            "start": 0,
            "docs": [
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "DOID:9884",
                    "object_label": "muscular dystrophy",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "d6f4912e-e8d2-47dd-b14a-f2efd84a3b36",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "ICD10CM:G71.0",
                    "object_label": "Muscular dystrophy",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "17f6c4c5-70cf-4001-8914-b8f288645676",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "MEDGEN:44527",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "4e470e9e-b905-4a09-b987-de84f2ee762b",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "NCIT:C84910",
                    "object_label": "Muscular Dystrophy",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "d3ba48e4-2ec1-4e34-8c4d-fa072bcb41fa",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "Orphanet:98473",
                    "object_label": "Muscular dystrophy",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "a1ea5870-f75d-423a-b622-95cfa54898e8",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "SCTID:73297009",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "a12abca5-8f84-487d-90db-c99acfcadfc0",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "UMLS:C0026850",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "1e4de186-708f-4f8a-b042-cfbb13ec6350",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "icd11.foundation:1464662404",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "f9d8aea9-dd23-4131-b003-0833cdc60b5a",
                    "highlighting": None,
                },
                {
                    "subject_id": "MONDO:0020121",
                    "subject_label": "muscular dystrophy",
                    "predicate_id": "skos:exactMatch",
                    "object_id": "MESH:D009136",
                    "mapping_justification": "semapv:UnspecifiedMatching",
                    "id": "dae0a57e-5336-4c25-9c45-af869077be29",
                    "highlighting": None,
                },
            ],
        },
        "facet_counts": {"facet_fields": {}, "facet_queries": {}},
        "highlighting": {},
    }
