changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "instrument_id": {
- "type": "string"
- },
- "legal_status_at_release": {
- "type": "string"
- },
- "lifecycle_events": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": {},
- "properties": {
- "date": {
- "type": "string"
- },
- "scheduled": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "stage": {
- "type": "string"
- }
- },
- "required": [
- "stage",
- "date",
- "scheduled"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "oj_status_check": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "checked_on": {
- "type": "string"
- },
- "oj_reference": {
- "type": [
- "string",
- "null"
- ]
- },
- "stage": {
- "type": "string"
- }
- },
- "required": [
- "checked_on",
- "stage",
- "oj_reference"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "relationships": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": {},
- "properties": {
- "direction": {
- "type": "string"
- },
- "effective_from": {
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "type": "string"
- },
- "operative_cite": {
- "type": [
- "string",
- "null"
- ]
- },
- "operative_locator": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "article": {
- "type": "string"
- },
- "instrument_id": {
- "type": "string"
- },
- "kind": {
- "type": "string"
- }
- },
- "required": [
- "instrument_id",
- "kind",
- "article"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "operative_locator_unavailable": {
- "type": [
- "string",
- "null"
- ]
- },
- "repealed_provisions": {
- "type": "string"
- },
- "source_external": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "celex": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "via_article": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "celex",
- "title",
- "via_article"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "target_external": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "celex": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "celex",
- "title"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "target_instrument_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "target_status": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind",
- "direction",
- "target_status",
- "operative_locator",
- "operative_cite",
- "operative_locator_unavailable"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "text_state": {
- "description": "`consolidated`: a EUR-Lex consolidation. `as_adopted`: a single document's text, amendments not incorporated. Not a legal status: a Council compromise text is `as_adopted` and not yet law; see `legal_status_at_release`.",
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "version_id": {
- "type": "string"
- }
- },
- "required": [
- "instrument_id",
- "title",
- "legal_status_at_release",
- "oj_status_check",
- "version_id",
- "text_state",
- "url",
- "relationships",
- "lifecycle_events"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "instrument_id": {
+ "type": "string"
+ },
+ "legal_status_at_release": {
+ "type": "string"
+ },
+ "lifecycle_events": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "scheduled": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "stage": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "stage",
+ "date",
+ "scheduled"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "oj_status_check": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "checked_on": {
+ "type": "string"
+ },
+ "oj_reference": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "stage": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "checked_on",
+ "stage",
+ "oj_reference"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "relationships": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "direction": {
+ "type": "string"
+ },
+ "effective_from": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "type": "string"
+ },
+ "operative_cite": {
+ "description": "The operative amending or repealing article, where curated; openable with get_provision.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "operative_locator": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "article": {
+ "type": "string"
+ },
+ "instrument_id": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "instrument_id",
+ "kind",
+ "article"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served text's locator for operative_cite. Null when the served text has dropped the article; see operative_locator_unavailable."
+ },
+ "operative_locator_unavailable": {
+ "description": "Why operative_cite has no locator: the article is real but the served text has dropped it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "repealed_provisions": {
+ "type": "string"
+ },
+ "source_external": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "celex": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "via_article": {
+ "description": "The article of an amender outside the corpus that carries the amendment.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "celex",
+ "title",
+ "via_article"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "An instrument outside the corpus, named by CELEX and title rather than guessed at."
+ },
+ "target_external": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "celex": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "celex",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "An instrument outside the corpus, named by CELEX and title rather than guessed at."
+ },
+ "target_instrument_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "direction",
+ "target_status",
+ "operative_locator",
+ "operative_cite",
+ "operative_locator_unavailable"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "text_state": {
+ "description": "`consolidated`: a EUR-Lex consolidation. `as_adopted`: a single document's text, amendments not incorporated. Not a legal status: a Council compromise text is `as_adopted` and not yet law; see `legal_status_at_release`.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "version_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "instrument_id",
+ "title",
+ "legal_status_at_release",
+ "oj_status_check",
+ "version_id",
+ "text_state",
+ "url",
+ "relationships",
+ "lifecycle_events"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]