addedOutput schema / properties / gleif
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "capogruppo": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "denominazione": {
+ "type": "string"
+ },
+ "lei": {
+ "type": "string"
+ },
+ "paese": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "lei"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "controllante_diretta": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "denominazione": {
+ "type": "string"
+ },
+ "lei": {
+ "type": "string"
+ },
+ "paese": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "lei"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "denominazione": {
+ "type": "string"
+ },
+ "errore": {
+ "type": "string"
+ },
+ "fonte": {
+ "const": "GLEIF",
+ "type": "string"
+ },
+ "forma_giuridica": {
+ "type": "string"
+ },
+ "lei": {
+ "type": "string"
+ },
+ "lei_aggiornato_al": {
+ "type": "string"
+ },
+ "numero_controllate_dirette": {
+ "type": "number"
+ },
+ "prossimo_rinnovo_lei": {
+ "type": "string"
+ },
+ "sede_legale": {
+ "additionalProperties": {},
+ "properties": {
+ "cap": {
+ "type": "string"
+ },
+ "comune": {
+ "type": "string"
+ },
+ "indirizzo": {
+ "type": "string"
+ },
+ "paese": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "servizio_disponibile": {
+ "type": "boolean"
+ },
+ "stato_entita": {
+ "type": "string"
+ },
+ "stato_registrazione_lei": {
+ "description": "ISSUED = valido; LAPSED = non rinnovato",
+ "type": "string"
+ },
+ "trovato": {
+ "description": "false se il soggetto non ha un LEI (normale per le piccole imprese)",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "fonte",
+ "trovato",
+ "servizio_disponibile"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Dati LEI (GLEIF); null se la P.IVA è formalmente errata"
+}
changedOutput schema / required
Previous value: -[
- "formale",
- "vies",
- "ipa",
- "sanzioni",
- "riepilogo"
-]New value: +[
+ "formale",
+ "vies",
+ "ipa",
+ "gleif",
+ "sanzioni",
+ "riepilogo"
+]