changedOutput schema / properties / data / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "counts": {
- "additionalProperties": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "propertyNames": {
- "enum": [
- "new",
- "status_change",
- "return_date_change",
- "delisted",
- "relisted"
- ],
- "type": "string"
- },
- "type": "object"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ansm_url": {
- "format": "uri",
- "type": "string"
- },
- "change": {
- "enum": [
- "new",
- "status_change",
- "return_date_change",
- "delisted",
- "relisted"
- ],
- "type": "string"
- },
- "date": {
- "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"
- },
- "name": {
- "type": "string"
- },
- "new_expected_return": {
- "type": [
- "string",
- "null"
- ]
- },
- "new_status": {
- "anyOf": [
- {
- "enum": [
- "rupture",
- "tension",
- "arret_commercialisation",
- "remise_a_disposition",
- "autre"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "old_expected_return": {
- "type": [
- "string",
- "null"
- ]
- },
- "old_status": {
- "anyOf": [
- {
- "enum": [
- "rupture",
- "tension",
- "arret_commercialisation",
- "remise_a_disposition",
- "autre"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "shortage_id": {
- "type": "string"
- }
- },
- "required": [
- "date",
- "change",
- "shortage_id",
- "name",
- "ansm_url",
- "old_status",
- "new_status",
- "old_expected_return",
- "new_expected_return"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "const": "changes",
- "type": "string"
- },
- "note": {
- "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates.",
- "type": "string"
- },
- "since": {
- "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"
- },
- "tracking_since": {
- "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"
- }
- ]
- }
- },
- "required": [
- "kind",
- "since",
- "counts",
- "tracking_since",
- "items",
- "note"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "counts": {
+ "additionalProperties": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "propertyNames": {
+ "enum": [
+ "new",
+ "status_change",
+ "return_date_change",
+ "delisted",
+ "relisted"
+ ],
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "ansm_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "change": {
+ "enum": [
+ "new",
+ "status_change",
+ "return_date_change",
+ "delisted",
+ "relisted"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "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"
+ },
+ "name": {
+ "type": "string"
+ },
+ "new_expected_return": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "new_status": {
+ "anyOf": [
+ {
+ "enum": [
+ "rupture",
+ "tension",
+ "arret_commercialisation",
+ "remise_a_disposition",
+ "autre"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "old_expected_return": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "old_status": {
+ "anyOf": [
+ {
+ "enum": [
+ "rupture",
+ "tension",
+ "arret_commercialisation",
+ "remise_a_disposition",
+ "autre"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "shortage_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "change",
+ "shortage_id",
+ "name",
+ "ansm_url",
+ "old_status",
+ "new_status",
+ "old_expected_return",
+ "new_expected_return"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "changes",
+ "type": "string"
+ },
+ "note": {
+ "const": "Dates are detection dates by this service (daily cadence), not official ANSM decision dates.",
+ "type": "string"
+ },
+ "since": {
+ "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"
+ },
+ "tracking_since": {
+ "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"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "since",
+ "counts",
+ "tracking_since",
+ "items",
+ "note"
+ ],
+ "type": "object"
+ }
+]