changedOutput schema / properties / creditor / properties / sps_check / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "conforms": {
- "type": "boolean"
- },
- "findings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "type": "string"
- },
- "rule": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "verdict": {
- "type": "string"
- }
- },
- "required": [
- "rule",
- "verdict",
- "detail",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "note": {
- "type": "string"
- },
- "scheme": {
- "type": "string"
- }
- },
- "required": [
- "scheme",
- "conforms",
- "findings",
- "note"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conforms": {
+ "type": "boolean"
+ },
+ "findings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "rule": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "verdict": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "verdict",
+ "detail",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "postcode_locality": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "as_of": {
+ "description": "Version date of the directory (YYYY-MM-DD).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "detail": {
+ "description": "What was compared and what came out of it.",
+ "type": "string"
+ },
+ "localities": {
+ "description": "The entries the directory gives for this postcode; empty when it has none.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "canton": {
+ "description": "null in Liechtenstein.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "description": "CH | LI",
+ "type": "string"
+ },
+ "municipality": {
+ "type": "string"
+ },
+ "name": {
+ "description": "The locality as the directory writes it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "municipality",
+ "canton",
+ "country"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "description": "The directory, its version and the credit ©swisstopo that its terms require.",
+ "type": "string"
+ },
+ "status": {
+ "description": "match | town_mismatch | other_country | postcode_not_listed | not_verifiable | directory_unavailable. not_verifiable: the postcode is not in the directory, which lists territory only, while the town is listed under other postcodes of the same postal area (a post-office box or business postcode is likely).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "localities",
+ "detail",
+ "source",
+ "as_of"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Swiss and Liechtenstein addresses with a postcode and a town: whether the two go together in the official directory of localities of swisstopo. Informative, beside the format verdicts: it does not change conforms or valid. The street is not checked. null for any other address."
+ },
+ "scheme": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "conforms",
+ "findings",
+ "postcode_locality",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / ultimate_debtor / properties / sps_check / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "conforms": {
- "type": "boolean"
- },
- "findings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "type": "string"
- },
- "rule": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "verdict": {
- "type": "string"
- }
- },
- "required": [
- "rule",
- "verdict",
- "detail",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "note": {
- "type": "string"
- },
- "scheme": {
- "type": "string"
- }
- },
- "required": [
- "scheme",
- "conforms",
- "findings",
- "note"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "conforms": {
+ "type": "boolean"
+ },
+ "findings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "rule": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "verdict": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "verdict",
+ "detail",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "postcode_locality": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "as_of": {
+ "description": "Version date of the directory (YYYY-MM-DD).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "detail": {
+ "description": "What was compared and what came out of it.",
+ "type": "string"
+ },
+ "localities": {
+ "description": "The entries the directory gives for this postcode; empty when it has none.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "canton": {
+ "description": "null in Liechtenstein.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "description": "CH | LI",
+ "type": "string"
+ },
+ "municipality": {
+ "type": "string"
+ },
+ "name": {
+ "description": "The locality as the directory writes it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "municipality",
+ "canton",
+ "country"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "description": "The directory, its version and the credit ©swisstopo that its terms require.",
+ "type": "string"
+ },
+ "status": {
+ "description": "match | town_mismatch | other_country | postcode_not_listed | not_verifiable | directory_unavailable. not_verifiable: the postcode is not in the directory, which lists territory only, while the town is listed under other postcodes of the same postal area (a post-office box or business postcode is likely).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "localities",
+ "detail",
+ "source",
+ "as_of"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Swiss and Liechtenstein addresses with a postcode and a town: whether the two go together in the official directory of localities of swisstopo. Informative, beside the format verdicts: it does not change conforms or valid. The street is not checked. null for any other address."
+ },
+ "scheme": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "conforms",
+ "findings",
+ "postcode_locality",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]