changedOutput schema / properties / data / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "info",
- "type": "string"
- },
- "medicine": {
- "additionalProperties": false,
- "properties": {
- "cis": {
- "pattern": "^\\d{8}$",
- "type": "string"
- },
- "form": {
- "type": [
- "string",
- "null"
- ]
- },
- "holder": {
- "type": [
- "string",
- "null"
- ]
- },
- "is_mitm": {
- "type": "boolean"
- },
- "marketing_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "routes": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "cis",
- "name",
- "form",
- "routes",
- "holder",
- "marketing_status",
- "is_mitm"
- ],
- "type": "object"
- },
- "presentations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "admin_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "cip13": {
- "pattern": "^\\d{13}$",
- "type": "string"
- },
- "cip7": {
- "type": [
- "string",
- "null"
- ]
- },
- "declared_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"
- }
- ]
- },
- "dispensing_fee_eur": {
- "type": [
- "number",
- "null"
- ]
- },
- "hospital_approval": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "label": {
- "type": "string"
- },
- "marketing_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "price_eur": {
- "type": [
- "number",
- "null"
- ]
- },
- "public_price_eur": {
- "type": [
- "number",
- "null"
- ]
- },
- "reimbursement_indications": {
- "type": [
- "string",
- "null"
- ]
- },
- "reimbursement_rates": {
- "items": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "type": "array"
- }
- },
- "required": [
- "cip13",
- "cip7",
- "label",
- "admin_status",
- "marketing_status",
- "declared_at",
- "hospital_approval",
- "reimbursement_rates",
- "price_eur",
- "public_price_eur",
- "dispensing_fee_eur",
- "reimbursement_indications"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "medicine",
- "presentations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "candidates": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "cis": {
- "pattern": "^\\d{8}$",
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "cis",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "const": "candidates",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "candidates"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "not_found",
- "type": "string"
- },
- "possibly_related_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",
- "possibly_related_shortages"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "info",
+ "type": "string"
+ },
+ "medicine": {
+ "additionalProperties": false,
+ "properties": {
+ "cis": {
+ "pattern": "^\\d{8}$",
+ "type": "string"
+ },
+ "form": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "holder": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "is_mitm": {
+ "type": "boolean"
+ },
+ "marketing_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "routes": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "cis",
+ "name",
+ "form",
+ "routes",
+ "holder",
+ "marketing_status",
+ "is_mitm"
+ ],
+ "type": "object"
+ },
+ "prescription_conditions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "presentations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "admin_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cip13": {
+ "pattern": "^\\d{13}$",
+ "type": "string"
+ },
+ "cip7": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "declared_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"
+ }
+ ]
+ },
+ "dispensing_fee_eur": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "hospital_approval": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "marketing_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "price_eur": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "public_price_eur": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "reimbursement_indications": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reimbursement_rates": {
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "cip13",
+ "cip7",
+ "label",
+ "admin_status",
+ "marketing_status",
+ "declared_at",
+ "hospital_approval",
+ "reimbursement_rates",
+ "price_eur",
+ "public_price_eur",
+ "dispensing_fee_eur",
+ "reimbursement_indications"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "safety_information": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ends_on": {
+ "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"
+ },
+ "starts_on": {
+ "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"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url",
+ "starts_on",
+ "ends_on"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "medicine",
+ "presentations",
+ "prescription_conditions",
+ "safety_information"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "candidates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cis": {
+ "pattern": "^\\d{8}$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "cis",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "candidates",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "candidates"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "not_found",
+ "type": "string"
+ },
+ "possibly_related_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",
+ "possibly_related_shortages"
+ ],
+ "type": "object"
+ }
+]