Skip to main content
Glama

Search medicines

search_medicine
Read-onlyIdempotent

Search French medicines (BDPM) by name or active substance and show the ANSM shortage linked to each, plus listed shortages not linked to any medicine that match the query. Medicines in rupture or tension come first, then exact brand matches, brand prefixes and active-substance matches; a misspelled name returns the closest names and a spelling suggestion. Information only: never use this to recommend a substitute, an alternative or an equivalent medicine, a dosage change or stopping a treatment. Other medicines in the results are not alternatives.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_medicine"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesMedicine name (brand) or active substance, e.g. "doliprane" or "amoxicilline".
only_in_shortageNoKeep only medicines whose current shortage status is rupture or tension.

Output Schema

NameRequiredDescriptionDefault
dataYes
safetyYes
sourceYes
warningNo
disclaimerYes
coverage_noteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "capped": {
      -        "type": "boolean"
      -      },
      -      "did_you_mean": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "fuzzy": {
      -        "type": "boolean"
      -      },
      -      "invalid_cip13": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "const": "results",
      -        "type": "string"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "cis": {
      -              "pattern": "^\\d{8}$",
      -              "type": "string"
      -            },
      -            "form": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "holder": {
      -              "type": "string"
      -            },
      -            "is_mitm": {
      -              "type": "boolean"
      -            },
      -            "marketing_status": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "shortage": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": {},
      -                  "properties": {
      -                    "ansm_updated_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "ansm_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    },
      -                    "dci": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "expected_return": {
      -                      "additionalProperties": {},
      -                      "properties": {
      -                        "earliest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "latest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "likely_overdue": {
      -                          "const": true,
      -                          "type": "boolean"
      -                        },
      -                        "part": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "debut",
      -                                "mi",
      -                                "fin"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "passed": {
      -                          "type": "boolean"
      -                        },
      -                        "precision": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "day",
      -                                "month",
      -                                "quarter",
      -                                "year",
      -                                "season"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "raw": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "earliest",
      -                        "latest",
      -                        "precision",
      -                        "part",
      -                        "raw",
      -                        "passed"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "match_confidence": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "match_note": {
      -                      "const": "probable match",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "returned_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "scope": {
      -                      "enum": [
      -                        "ville",
      -                        "hopital",
      -                        "ville_hopital",
      -                        "inconnu"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "scope_raw": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "shortage_id": {
      -                      "type": "string"
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "rupture",
      -                        "tension",
      -                        "arret_commercialisation",
      -                        "remise_a_disposition",
      -                        "autre"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "status_label_fr": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "shortage_id",
      -                    "name",
      -                    "dci",
      -                    "status",
      -                    "status_label_fr",
      -                    "scope",
      -                    "scope_raw",
      -                    "expected_return",
      -                    "returned_at",
      -                    "ansm_updated_at",
      -                    "ansm_url",
      -                    "match_confidence"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_note": {
      -              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      -              "type": "string"
      -            },
      -            "substances": {
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "dosage": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "dosage"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "cis",
      -            "name",
      -            "form",
      -            "substances",
      -            "is_mitm",
      -            "shortage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "unmatched_shortages": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "ansm_updated_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "dci": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "expected_return": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "earliest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "latest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "likely_overdue": {
      -                  "const": true,
      -                  "type": "boolean"
      -                },
      -                "part": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "debut",
      -                        "mi",
      -                        "fin"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "passed": {
      -                  "type": "boolean"
      -                },
      -                "precision": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "day",
      -                        "month",
      -                        "quarter",
      -                        "year",
      -                        "season"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "raw": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "earliest",
      -                "latest",
      -                "precision",
      -                "part",
      -                "raw",
      -                "passed"
      -              ],
      -              "type": "object"
      -            },
      -            "match_confidence": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "match_note": {
      -              "const": "probable match",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "returned_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "scope": {
      -              "enum": [
      -                "ville",
      -                "hopital",
      -                "ville_hopital",
      -                "inconnu"
      -              ],
      -              "type": "string"
      -            },
      -            "scope_raw": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "enum": [
      -                "rupture",
      -                "tension",
      -                "arret_commercialisation",
      -                "remise_a_disposition",
      -                "autre"
      -              ],
      -              "type": "string"
      -            },
      -            "status_label_fr": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "shortage_id",
      -            "name",
      -            "dci",
      -            "status",
      -            "status_label_fr",
      -            "scope",
      -            "scope_raw",
      -            "expected_return",
      -            "returned_at",
      -            "ansm_updated_at",
      -            "ansm_url",
      -            "match_confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "results",
      -      "unmatched_shortages",
      -      "total",
      -      "capped",
      -      "fuzzy",
      -      "did_you_mean"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "capped": {
      +        "type": "boolean"
      +      },
      +      "did_you_mean": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fuzzy": {
      +        "type": "boolean"
      +      },
      +      "invalid_cip13": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "results",
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "cis": {
      +              "pattern": "^\\d{8}$",
      +              "type": "string"
      +            },
      +            "form": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "holder": {
      +              "type": "string"
      +            },
      +            "is_mitm": {
      +              "type": "boolean"
      +            },
      +            "marketing_status": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "shortage": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "ansm_updated_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "ansm_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    },
      +                    "dci": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "expected_return": {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "earliest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "latest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "likely_overdue": {
      +                          "const": true,
      +                          "type": "boolean"
      +                        },
      +                        "part": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "debut",
      +                                "mi",
      +                                "fin"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "passed": {
      +                          "type": "boolean"
      +                        },
      +                        "precision": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "day",
      +                                "month",
      +                                "quarter",
      +                                "year",
      +                                "season"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "raw": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "earliest",
      +                        "latest",
      +                        "precision",
      +                        "part",
      +                        "raw",
      +                        "passed"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "match_confidence": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "match_note": {
      +                      "const": "probable match",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "returned_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "scope": {
      +                      "enum": [
      +                        "ville",
      +                        "hopital",
      +                        "ville_hopital",
      +                        "inconnu"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "scope_raw": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "shortage_id": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "rupture",
      +                        "tension",
      +                        "arret_commercialisation",
      +                        "remise_a_disposition",
      +                        "autre"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "status_label_fr": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "shortage_id",
      +                    "name",
      +                    "dci",
      +                    "status",
      +                    "status_label_fr",
      +                    "scope",
      +                    "scope_raw",
      +                    "expected_return",
      +                    "returned_at",
      +                    "ansm_updated_at",
      +                    "ansm_url",
      +                    "match_confidence"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_note": {
      +              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      +              "type": "string"
      +            },
      +            "substances": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "dosage": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "reference": {
      +                    "type": "string"
      +                  },
      +                  "therapeutic_fractions": {
      +                    "items": {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "dosage": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "name": {
      +                          "type": "string"
      +                        },
      +                        "reference": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "name",
      +                        "dosage"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "dosage"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "cis",
      +            "name",
      +            "form",
      +            "substances",
      +            "is_mitm",
      +            "shortage"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "unmatched_shortages": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "ansm_updated_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "dci": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "expected_return": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "earliest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "latest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "likely_overdue": {
      +                  "const": true,
      +                  "type": "boolean"
      +                },
      +                "part": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "debut",
      +                        "mi",
      +                        "fin"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "passed": {
      +                  "type": "boolean"
      +                },
      +                "precision": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "day",
      +                        "month",
      +                        "quarter",
      +                        "year",
      +                        "season"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "raw": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "earliest",
      +                "latest",
      +                "precision",
      +                "part",
      +                "raw",
      +                "passed"
      +              ],
      +              "type": "object"
      +            },
      +            "match_confidence": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "match_note": {
      +              "const": "probable match",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "returned_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "scope": {
      +              "enum": [
      +                "ville",
      +                "hopital",
      +                "ville_hopital",
      +                "inconnu"
      +              ],
      +              "type": "string"
      +            },
      +            "scope_raw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "enum": [
      +                "rupture",
      +                "tension",
      +                "arret_commercialisation",
      +                "remise_a_disposition",
      +                "autre"
      +              ],
      +              "type": "string"
      +            },
      +            "status_label_fr": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "shortage_id",
      +            "name",
      +            "dci",
      +            "status",
      +            "status_label_fr",
      +            "scope",
      +            "scope_raw",
      +            "expected_return",
      +            "returned_at",
      +            "ansm_updated_at",
      +            "ansm_url",
      +            "match_confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "results",
      +      "unmatched_shortages",
      +      "total",
      +      "capped",
      +      "fuzzy",
      +      "did_you_mean"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "capped": {
      -        "type": "boolean"
      -      },
      -      "did_you_mean": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "fuzzy": {
      -        "type": "boolean"
      -      },
      -      "invalid_cip13": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "const": "results",
      -        "type": "string"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "cis": {
      -              "pattern": "^\\d{8}$",
      -              "type": "string"
      -            },
      -            "form": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "is_mitm": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "shortage": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": {},
      -                  "properties": {
      -                    "ansm_updated_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "ansm_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    },
      -                    "dci": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "expected_return": {
      -                      "additionalProperties": {},
      -                      "properties": {
      -                        "earliest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "latest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "part": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "debut",
      -                                "mi",
      -                                "fin"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "passed": {
      -                          "type": "boolean"
      -                        },
      -                        "precision": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "day",
      -                                "month",
      -                                "quarter",
      -                                "year"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "raw": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "earliest",
      -                        "latest",
      -                        "precision",
      -                        "part",
      -                        "raw",
      -                        "passed"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "match_confidence": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "match_note": {
      -                      "const": "probable match",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "returned_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "scope": {
      -                      "enum": [
      -                        "ville",
      -                        "hopital",
      -                        "ville_hopital",
      -                        "inconnu"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "scope_raw": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "shortage_id": {
      -                      "type": "string"
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "rupture",
      -                        "tension",
      -                        "arret_commercialisation",
      -                        "remise_a_disposition",
      -                        "autre"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "status_label_fr": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "shortage_id",
      -                    "name",
      -                    "dci",
      -                    "status",
      -                    "status_label_fr",
      -                    "scope",
      -                    "scope_raw",
      -                    "expected_return",
      -                    "returned_at",
      -                    "ansm_updated_at",
      -                    "ansm_url",
      -                    "match_confidence"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_note": {
      -              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      -              "type": "string"
      -            },
      -            "substances": {
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "dosage": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "dosage"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "cis",
      -            "name",
      -            "form",
      -            "substances",
      -            "is_mitm",
      -            "shortage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "unmatched_shortages": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "ansm_updated_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "dci": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "expected_return": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "earliest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "latest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "part": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "debut",
      -                        "mi",
      -                        "fin"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "passed": {
      -                  "type": "boolean"
      -                },
      -                "precision": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "day",
      -                        "month",
      -                        "quarter",
      -                        "year"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "raw": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "earliest",
      -                "latest",
      -                "precision",
      -                "part",
      -                "raw",
      -                "passed"
      -              ],
      -              "type": "object"
      -            },
      -            "match_confidence": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "match_note": {
      -              "const": "probable match",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "returned_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "scope": {
      -              "enum": [
      -                "ville",
      -                "hopital",
      -                "ville_hopital",
      -                "inconnu"
      -              ],
      -              "type": "string"
      -            },
      -            "scope_raw": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "enum": [
      -                "rupture",
      -                "tension",
      -                "arret_commercialisation",
      -                "remise_a_disposition",
      -                "autre"
      -              ],
      -              "type": "string"
      -            },
      -            "status_label_fr": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "shortage_id",
      -            "name",
      -            "dci",
      -            "status",
      -            "status_label_fr",
      -            "scope",
      -            "scope_raw",
      -            "expected_return",
      -            "returned_at",
      -            "ansm_updated_at",
      -            "ansm_url",
      -            "match_confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "results",
      -      "unmatched_shortages",
      -      "total",
      -      "capped",
      -      "fuzzy",
      -      "did_you_mean"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "capped": {
      +        "type": "boolean"
      +      },
      +      "did_you_mean": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fuzzy": {
      +        "type": "boolean"
      +      },
      +      "invalid_cip13": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "results",
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "cis": {
      +              "pattern": "^\\d{8}$",
      +              "type": "string"
      +            },
      +            "form": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "holder": {
      +              "type": "string"
      +            },
      +            "is_mitm": {
      +              "type": "boolean"
      +            },
      +            "marketing_status": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "shortage": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "ansm_updated_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "ansm_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    },
      +                    "dci": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "expected_return": {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "earliest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "latest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "likely_overdue": {
      +                          "const": true,
      +                          "type": "boolean"
      +                        },
      +                        "part": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "debut",
      +                                "mi",
      +                                "fin"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "passed": {
      +                          "type": "boolean"
      +                        },
      +                        "precision": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "day",
      +                                "month",
      +                                "quarter",
      +                                "year",
      +                                "season"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "raw": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "earliest",
      +                        "latest",
      +                        "precision",
      +                        "part",
      +                        "raw",
      +                        "passed"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "match_confidence": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "match_note": {
      +                      "const": "probable match",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "returned_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "scope": {
      +                      "enum": [
      +                        "ville",
      +                        "hopital",
      +                        "ville_hopital",
      +                        "inconnu"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "scope_raw": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "shortage_id": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "rupture",
      +                        "tension",
      +                        "arret_commercialisation",
      +                        "remise_a_disposition",
      +                        "autre"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "status_label_fr": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "shortage_id",
      +                    "name",
      +                    "dci",
      +                    "status",
      +                    "status_label_fr",
      +                    "scope",
      +                    "scope_raw",
      +                    "expected_return",
      +                    "returned_at",
      +                    "ansm_updated_at",
      +                    "ansm_url",
      +                    "match_confidence"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_note": {
      +              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      +              "type": "string"
      +            },
      +            "substances": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "dosage": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "dosage"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "cis",
      +            "name",
      +            "form",
      +            "substances",
      +            "is_mitm",
      +            "shortage"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "unmatched_shortages": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "ansm_updated_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "dci": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "expected_return": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "earliest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "latest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "likely_overdue": {
      +                  "const": true,
      +                  "type": "boolean"
      +                },
      +                "part": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "debut",
      +                        "mi",
      +                        "fin"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "passed": {
      +                  "type": "boolean"
      +                },
      +                "precision": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "day",
      +                        "month",
      +                        "quarter",
      +                        "year",
      +                        "season"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "raw": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "earliest",
      +                "latest",
      +                "precision",
      +                "part",
      +                "raw",
      +                "passed"
      +              ],
      +              "type": "object"
      +            },
      +            "match_confidence": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "match_note": {
      +              "const": "probable match",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "returned_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "scope": {
      +              "enum": [
      +                "ville",
      +                "hopital",
      +                "ville_hopital",
      +                "inconnu"
      +              ],
      +              "type": "string"
      +            },
      +            "scope_raw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "enum": [
      +                "rupture",
      +                "tension",
      +                "arret_commercialisation",
      +                "remise_a_disposition",
      +                "autre"
      +              ],
      +              "type": "string"
      +            },
      +            "status_label_fr": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "shortage_id",
      +            "name",
      +            "dci",
      +            "status",
      +            "status_label_fr",
      +            "scope",
      +            "scope_raw",
      +            "expected_return",
      +            "returned_at",
      +            "ansm_updated_at",
      +            "ansm_url",
      +            "match_confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "results",
      +      "unmatched_shortages",
      +      "total",
      +      "capped",
      +      "fuzzy",
      +      "did_you_mean"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed3 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "capped": {
      -        "type": "boolean"
      -      },
      -      "did_you_mean": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "fuzzy": {
      -        "type": "boolean"
      -      },
      -      "invalid_cip13": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "const": "results",
      -        "type": "string"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "cis": {
      -              "pattern": "^\\d{8}$",
      -              "type": "string"
      -            },
      -            "form": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "is_mitm": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "shortage": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ansm_updated_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "ansm_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    },
      -                    "dci": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "expected_return": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "earliest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "latest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "part": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "debut",
      -                                "mi",
      -                                "fin"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "passed": {
      -                          "type": "boolean"
      -                        },
      -                        "precision": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "day",
      -                                "month",
      -                                "quarter",
      -                                "year"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "raw": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "earliest",
      -                        "latest",
      -                        "precision",
      -                        "part",
      -                        "raw",
      -                        "passed"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "match_confidence": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "match_note": {
      -                      "const": "probable match",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "returned_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "scope": {
      -                      "enum": [
      -                        "ville",
      -                        "hopital",
      -                        "ville_hopital",
      -                        "inconnu"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "scope_raw": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "shortage_id": {
      -                      "type": "string"
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "rupture",
      -                        "tension",
      -                        "arret_commercialisation",
      -                        "remise_a_disposition",
      -                        "autre"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "status_label_fr": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "shortage_id",
      -                    "name",
      -                    "dci",
      -                    "status",
      -                    "status_label_fr",
      -                    "scope",
      -                    "scope_raw",
      -                    "expected_return",
      -                    "returned_at",
      -                    "ansm_updated_at",
      -                    "ansm_url",
      -                    "match_confidence"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_note": {
      -              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      -              "type": "string"
      -            },
      -            "substances": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "dosage": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "dosage"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "cis",
      -            "name",
      -            "form",
      -            "substances",
      -            "is_mitm",
      -            "shortage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "unmatched_shortages": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ansm_updated_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "dci": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "expected_return": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "earliest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "latest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "part": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "debut",
      -                        "mi",
      -                        "fin"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "passed": {
      -                  "type": "boolean"
      -                },
      -                "precision": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "day",
      -                        "month",
      -                        "quarter",
      -                        "year"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "raw": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "earliest",
      -                "latest",
      -                "precision",
      -                "part",
      -                "raw",
      -                "passed"
      -              ],
      -              "type": "object"
      -            },
      -            "match_confidence": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "match_note": {
      -              "const": "probable match",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "returned_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "scope": {
      -              "enum": [
      -                "ville",
      -                "hopital",
      -                "ville_hopital",
      -                "inconnu"
      -              ],
      -              "type": "string"
      -            },
      -            "scope_raw": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "enum": [
      -                "rupture",
      -                "tension",
      -                "arret_commercialisation",
      -                "remise_a_disposition",
      -                "autre"
      -              ],
      -              "type": "string"
      -            },
      -            "status_label_fr": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "shortage_id",
      -            "name",
      -            "dci",
      -            "status",
      -            "status_label_fr",
      -            "scope",
      -            "scope_raw",
      -            "expected_return",
      -            "returned_at",
      -            "ansm_updated_at",
      -            "ansm_url",
      -            "match_confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "results",
      -      "unmatched_shortages",
      -      "total",
      -      "capped",
      -      "fuzzy",
      -      "did_you_mean"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "capped": {
      +        "type": "boolean"
      +      },
      +      "did_you_mean": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fuzzy": {
      +        "type": "boolean"
      +      },
      +      "invalid_cip13": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "results",
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "cis": {
      +              "pattern": "^\\d{8}$",
      +              "type": "string"
      +            },
      +            "form": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "is_mitm": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "shortage": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "ansm_updated_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "ansm_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    },
      +                    "dci": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "expected_return": {
      +                      "additionalProperties": {},
      +                      "properties": {
      +                        "earliest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "latest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "part": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "debut",
      +                                "mi",
      +                                "fin"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "passed": {
      +                          "type": "boolean"
      +                        },
      +                        "precision": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "day",
      +                                "month",
      +                                "quarter",
      +                                "year"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "raw": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "earliest",
      +                        "latest",
      +                        "precision",
      +                        "part",
      +                        "raw",
      +                        "passed"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "match_confidence": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "match_note": {
      +                      "const": "probable match",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "returned_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "scope": {
      +                      "enum": [
      +                        "ville",
      +                        "hopital",
      +                        "ville_hopital",
      +                        "inconnu"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "scope_raw": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "shortage_id": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "rupture",
      +                        "tension",
      +                        "arret_commercialisation",
      +                        "remise_a_disposition",
      +                        "autre"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "status_label_fr": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "shortage_id",
      +                    "name",
      +                    "dci",
      +                    "status",
      +                    "status_label_fr",
      +                    "scope",
      +                    "scope_raw",
      +                    "expected_return",
      +                    "returned_at",
      +                    "ansm_updated_at",
      +                    "ansm_url",
      +                    "match_confidence"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_note": {
      +              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      +              "type": "string"
      +            },
      +            "substances": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "dosage": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "dosage"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "cis",
      +            "name",
      +            "form",
      +            "substances",
      +            "is_mitm",
      +            "shortage"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "unmatched_shortages": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "ansm_updated_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "dci": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "expected_return": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "earliest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "latest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "part": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "debut",
      +                        "mi",
      +                        "fin"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "passed": {
      +                  "type": "boolean"
      +                },
      +                "precision": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "day",
      +                        "month",
      +                        "quarter",
      +                        "year"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "raw": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "earliest",
      +                "latest",
      +                "precision",
      +                "part",
      +                "raw",
      +                "passed"
      +              ],
      +              "type": "object"
      +            },
      +            "match_confidence": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "match_note": {
      +              "const": "probable match",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "returned_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "scope": {
      +              "enum": [
      +                "ville",
      +                "hopital",
      +                "ville_hopital",
      +                "inconnu"
      +              ],
      +              "type": "string"
      +            },
      +            "scope_raw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "enum": [
      +                "rupture",
      +                "tension",
      +                "arret_commercialisation",
      +                "remise_a_disposition",
      +                "autre"
      +              ],
      +              "type": "string"
      +            },
      +            "status_label_fr": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "shortage_id",
      +            "name",
      +            "dci",
      +            "status",
      +            "status_label_fr",
      +            "scope",
      +            "scope_raw",
      +            "expected_return",
      +            "returned_at",
      +            "ansm_updated_at",
      +            "ansm_url",
      +            "match_confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "results",
      +      "unmatched_shortages",
      +      "total",
      +      "capped",
      +      "fuzzy",
      +      "did_you_mean"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / source / additionalProperties
      Previous value: -falseNew value: +{}
  4. Changed1 schema field changed
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "invalid_cip13": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "kind": {
      -        "const": "results",
      -        "type": "string"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "cis": {
      -              "pattern": "^\\d{8}$",
      -              "type": "string"
      -            },
      -            "form": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "is_mitm": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "shortage": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ansm_updated_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "ansm_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    },
      -                    "dci": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "expected_return": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "earliest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "latest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "part": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "debut",
      -                                "mi",
      -                                "fin"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "passed": {
      -                          "type": "boolean"
      -                        },
      -                        "precision": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "day",
      -                                "month",
      -                                "quarter",
      -                                "year"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "raw": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "earliest",
      -                        "latest",
      -                        "precision",
      -                        "part",
      -                        "raw",
      -                        "passed"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "match_confidence": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "match_note": {
      -                      "const": "probable match",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "returned_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "scope": {
      -                      "enum": [
      -                        "ville",
      -                        "hopital",
      -                        "ville_hopital",
      -                        "inconnu"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "scope_raw": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "shortage_id": {
      -                      "type": "string"
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "rupture",
      -                        "tension",
      -                        "arret_commercialisation",
      -                        "remise_a_disposition",
      -                        "autre"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "status_label_fr": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "shortage_id",
      -                    "name",
      -                    "dci",
      -                    "status",
      -                    "status_label_fr",
      -                    "scope",
      -                    "scope_raw",
      -                    "expected_return",
      -                    "returned_at",
      -                    "ansm_updated_at",
      -                    "ansm_url",
      -                    "match_confidence"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_note": {
      -              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      -              "type": "string"
      -            },
      -            "substances": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "dosage": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "dosage"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "cis",
      -            "name",
      -            "form",
      -            "substances",
      -            "is_mitm",
      -            "shortage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "unmatched_shortages": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ansm_updated_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "dci": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "expected_return": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "earliest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "latest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "part": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "debut",
      -                        "mi",
      -                        "fin"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "passed": {
      -                  "type": "boolean"
      -                },
      -                "precision": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "day",
      -                        "month",
      -                        "quarter",
      -                        "year"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "raw": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "earliest",
      -                "latest",
      -                "precision",
      -                "part",
      -                "raw",
      -                "passed"
      -              ],
      -              "type": "object"
      -            },
      -            "match_confidence": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "match_note": {
      -              "const": "probable match",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "returned_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "scope": {
      -              "enum": [
      -                "ville",
      -                "hopital",
      -                "ville_hopital",
      -                "inconnu"
      -              ],
      -              "type": "string"
      -            },
      -            "scope_raw": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "enum": [
      -                "rupture",
      -                "tension",
      -                "arret_commercialisation",
      -                "remise_a_disposition",
      -                "autre"
      -              ],
      -              "type": "string"
      -            },
      -            "status_label_fr": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "shortage_id",
      -            "name",
      -            "dci",
      -            "status",
      -            "status_label_fr",
      -            "scope",
      -            "scope_raw",
      -            "expected_return",
      -            "returned_at",
      -            "ansm_updated_at",
      -            "ansm_url",
      -            "match_confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "results",
      -      "unmatched_shortages"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "capped": {
      +        "type": "boolean"
      +      },
      +      "did_you_mean": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fuzzy": {
      +        "type": "boolean"
      +      },
      +      "invalid_cip13": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "results",
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "cis": {
      +              "pattern": "^\\d{8}$",
      +              "type": "string"
      +            },
      +            "form": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "is_mitm": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "shortage": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "ansm_updated_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "ansm_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    },
      +                    "dci": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "expected_return": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "earliest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "latest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "part": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "debut",
      +                                "mi",
      +                                "fin"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "passed": {
      +                          "type": "boolean"
      +                        },
      +                        "precision": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "day",
      +                                "month",
      +                                "quarter",
      +                                "year"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "raw": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "earliest",
      +                        "latest",
      +                        "precision",
      +                        "part",
      +                        "raw",
      +                        "passed"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "match_confidence": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "match_note": {
      +                      "const": "probable match",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "returned_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "scope": {
      +                      "enum": [
      +                        "ville",
      +                        "hopital",
      +                        "ville_hopital",
      +                        "inconnu"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "scope_raw": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "shortage_id": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "rupture",
      +                        "tension",
      +                        "arret_commercialisation",
      +                        "remise_a_disposition",
      +                        "autre"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "status_label_fr": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "shortage_id",
      +                    "name",
      +                    "dci",
      +                    "status",
      +                    "status_label_fr",
      +                    "scope",
      +                    "scope_raw",
      +                    "expected_return",
      +                    "returned_at",
      +                    "ansm_updated_at",
      +                    "ansm_url",
      +                    "match_confidence"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_note": {
      +              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      +              "type": "string"
      +            },
      +            "substances": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "dosage": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "dosage"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "cis",
      +            "name",
      +            "form",
      +            "substances",
      +            "is_mitm",
      +            "shortage"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "unmatched_shortages": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "ansm_updated_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "dci": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "expected_return": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "earliest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "latest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "part": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "debut",
      +                        "mi",
      +                        "fin"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "passed": {
      +                  "type": "boolean"
      +                },
      +                "precision": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "day",
      +                        "month",
      +                        "quarter",
      +                        "year"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "raw": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "earliest",
      +                "latest",
      +                "precision",
      +                "part",
      +                "raw",
      +                "passed"
      +              ],
      +              "type": "object"
      +            },
      +            "match_confidence": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "match_note": {
      +              "const": "probable match",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "returned_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "scope": {
      +              "enum": [
      +                "ville",
      +                "hopital",
      +                "ville_hopital",
      +                "inconnu"
      +              ],
      +              "type": "string"
      +            },
      +            "scope_raw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "enum": [
      +                "rupture",
      +                "tension",
      +                "arret_commercialisation",
      +                "remise_a_disposition",
      +                "autre"
      +              ],
      +              "type": "string"
      +            },
      +            "status_label_fr": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "shortage_id",
      +            "name",
      +            "dci",
      +            "status",
      +            "status_label_fr",
      +            "scope",
      +            "scope_raw",
      +            "expected_return",
      +            "returned_at",
      +            "ansm_updated_at",
      +            "ansm_url",
      +            "match_confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "results",
      +      "unmatched_shortages",
      +      "total",
      +      "capped",
      +      "fuzzy",
      +      "did_you_mean"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed1 schema field changed
    • changedOutput schema / properties / data / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "results",
      -        "type": "string"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "cis": {
      -              "pattern": "^\\d{8}$",
      -              "type": "string"
      -            },
      -            "form": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "is_mitm": {
      -              "type": "boolean"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "shortage": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "ansm_updated_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "ansm_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    },
      -                    "dci": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "expected_return": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "earliest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "latest": {
      -                          "anyOf": [
      -                            {
      -                              "format": "date",
      -                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "part": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "debut",
      -                                "mi",
      -                                "fin"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "passed": {
      -                          "type": "boolean"
      -                        },
      -                        "precision": {
      -                          "anyOf": [
      -                            {
      -                              "enum": [
      -                                "day",
      -                                "month",
      -                                "quarter",
      -                                "year"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "raw": {
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "earliest",
      -                        "latest",
      -                        "precision",
      -                        "part",
      -                        "raw",
      -                        "passed"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "match_confidence": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "match_note": {
      -                      "const": "probable match",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "type": "string"
      -                    },
      -                    "returned_at": {
      -                      "anyOf": [
      -                        {
      -                          "format": "date",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "scope": {
      -                      "enum": [
      -                        "ville",
      -                        "hopital",
      -                        "ville_hopital",
      -                        "inconnu"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "scope_raw": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "shortage_id": {
      -                      "type": "string"
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "rupture",
      -                        "tension",
      -                        "arret_commercialisation",
      -                        "remise_a_disposition",
      -                        "autre"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "status_label_fr": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "shortage_id",
      -                    "name",
      -                    "dci",
      -                    "status",
      -                    "status_label_fr",
      -                    "scope",
      -                    "scope_raw",
      -                    "expected_return",
      -                    "returned_at",
      -                    "ansm_updated_at",
      -                    "ansm_url",
      -                    "match_confidence"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "shortage_note": {
      -              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      -              "type": "string"
      -            },
      -            "substances": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "dosage": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "dosage"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "cis",
      -            "name",
      -            "form",
      -            "substances",
      -            "is_mitm",
      -            "shortage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "unmatched_shortages": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ansm_updated_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "ansm_url": {
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "dci": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "expected_return": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "earliest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "latest": {
      -                  "anyOf": [
      -                    {
      -                      "format": "date",
      -                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "part": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "debut",
      -                        "mi",
      -                        "fin"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "passed": {
      -                  "type": "boolean"
      -                },
      -                "precision": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "day",
      -                        "month",
      -                        "quarter",
      -                        "year"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "raw": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "earliest",
      -                "latest",
      -                "precision",
      -                "part",
      -                "raw",
      -                "passed"
      -              ],
      -              "type": "object"
      -            },
      -            "match_confidence": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "match_note": {
      -              "const": "probable match",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "returned_at": {
      -              "anyOf": [
      -                {
      -                  "format": "date",
      -                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "scope": {
      -              "enum": [
      -                "ville",
      -                "hopital",
      -                "ville_hopital",
      -                "inconnu"
      -              ],
      -              "type": "string"
      -            },
      -            "scope_raw": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "shortage_id": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "enum": [
      -                "rupture",
      -                "tension",
      -                "arret_commercialisation",
      -                "remise_a_disposition",
      -                "autre"
      -              ],
      -              "type": "string"
      -            },
      -            "status_label_fr": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "shortage_id",
      -            "name",
      -            "dci",
      -            "status",
      -            "status_label_fr",
      -            "scope",
      -            "scope_raw",
      -            "expected_return",
      -            "returned_at",
      -            "ansm_updated_at",
      -            "ansm_url",
      -            "match_confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "results",
      -      "unmatched_shortages"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "invalid_cip13": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "kind": {
      +        "const": "results",
      +        "type": "string"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "cis": {
      +              "pattern": "^\\d{8}$",
      +              "type": "string"
      +            },
      +            "form": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "is_mitm": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "shortage": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "ansm_updated_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "ansm_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    },
      +                    "dci": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "expected_return": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "earliest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "latest": {
      +                          "anyOf": [
      +                            {
      +                              "format": "date",
      +                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "part": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "debut",
      +                                "mi",
      +                                "fin"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "passed": {
      +                          "type": "boolean"
      +                        },
      +                        "precision": {
      +                          "anyOf": [
      +                            {
      +                              "enum": [
      +                                "day",
      +                                "month",
      +                                "quarter",
      +                                "year"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "raw": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "earliest",
      +                        "latest",
      +                        "precision",
      +                        "part",
      +                        "raw",
      +                        "passed"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "match_confidence": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "match_note": {
      +                      "const": "probable match",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "type": "string"
      +                    },
      +                    "returned_at": {
      +                      "anyOf": [
      +                        {
      +                          "format": "date",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "scope": {
      +                      "enum": [
      +                        "ville",
      +                        "hopital",
      +                        "ville_hopital",
      +                        "inconnu"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "scope_raw": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "shortage_id": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "rupture",
      +                        "tension",
      +                        "arret_commercialisation",
      +                        "remise_a_disposition",
      +                        "autre"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "status_label_fr": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "shortage_id",
      +                    "name",
      +                    "dci",
      +                    "status",
      +                    "status_label_fr",
      +                    "scope",
      +                    "scope_raw",
      +                    "expected_return",
      +                    "returned_at",
      +                    "ansm_updated_at",
      +                    "ansm_url",
      +                    "match_confidence"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "shortage_note": {
      +              "const": "No shortage linked to this medicine. Not listed does not mean available.",
      +              "type": "string"
      +            },
      +            "substances": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "dosage": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "dosage"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "cis",
      +            "name",
      +            "form",
      +            "substances",
      +            "is_mitm",
      +            "shortage"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "unmatched_shortages": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "ansm_updated_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "ansm_url": {
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "dci": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "expected_return": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "earliest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "latest": {
      +                  "anyOf": [
      +                    {
      +                      "format": "date",
      +                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "part": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "debut",
      +                        "mi",
      +                        "fin"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "passed": {
      +                  "type": "boolean"
      +                },
      +                "precision": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "day",
      +                        "month",
      +                        "quarter",
      +                        "year"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "raw": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "earliest",
      +                "latest",
      +                "precision",
      +                "part",
      +                "raw",
      +                "passed"
      +              ],
      +              "type": "object"
      +            },
      +            "match_confidence": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "match_note": {
      +              "const": "probable match",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "returned_at": {
      +              "anyOf": [
      +                {
      +                  "format": "date",
      +                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "scope": {
      +              "enum": [
      +                "ville",
      +                "hopital",
      +                "ville_hopital",
      +                "inconnu"
      +              ],
      +              "type": "string"
      +            },
      +            "scope_raw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "shortage_id": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "enum": [
      +                "rupture",
      +                "tension",
      +                "arret_commercialisation",
      +                "remise_a_disposition",
      +                "autre"
      +              ],
      +              "type": "string"
      +            },
      +            "status_label_fr": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "shortage_id",
      +            "name",
      +            "dci",
      +            "status",
      +            "status_label_fr",
      +            "scope",
      +            "scope_raw",
      +            "expected_return",
      +            "returned_at",
      +            "ansm_updated_at",
      +            "ansm_url",
      +            "match_confidence"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "results",
      +      "unmatched_shortages"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Changed2 schema fields changed
    • addedOutput schema / properties / source / properties / bdpm_imported_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / source / required
      Previous value: -[
      -  "ansm",
      -  "bdpm",
      -  "ansm_last_ingest",
      -  "bdpm_release"
      -]New value: +[
      +  "ansm",
      +  "bdpm",
      +  "ansm_last_ingest",
      +  "bdpm_release",
      +  "bdpm_imported_at"
      +]
  7. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare a safe, idempotent, closed-world read, so the baseline is satisfied; the description goes further by disclosing result ordering (rupture/tension first, then exact brand, brand prefix, active substance), a fuzzy-fallback path with a spelling suggestion for misspellings, and the inclusion of shortages not tied to any medicine. It does not describe pagination or how the limit interacts with the ranking, which is the only real gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with what is searched and returned, then ordering, then the safety constraint; every clause is informative. The closing sentence 'Other medicines in the results are not alternatives' largely restates the earlier prohibition on recommending alternatives, so there is minor redundancy at the tail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present the description need not explain return values, and annotations cover the safety profile, so what remains is usage framing and ranking semantics, both provided. The omissions are the meaning of limit and any note on result-set size, which matter slightly for a search tool capped at 25.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, so the schema documents most of the surface, including the query example and the only_in_shortage semantics. The description reinforces query semantics (brand or active substance, tolerance for misspellings) but says nothing about the limit parameter's role or interaction with ranking, leaving one parameter unexplained in both places. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource (search French BDPM medicines by name or active substance) plus the extra payload (ANSM shortage per medicine and unlinked shortage records). It is clear enough to distinguish from a detail-lookup sibling, but it never names get_medicine_info or list_current_shortages, so the boundary is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition is explicit about a class of use it must not serve: no substitute/alternative/equivalence recommendations, no dosage changes, no stopping treatment, and it pre-empts the misreading that co-returned medicines are alternatives. That is strong when-not-to guidance. What is missing is positive routing guidance, i.e. which sibling to use when the user wants full details on one medicine or a plain shortage listing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.