{"components":{"schemas":{"AmlRecord":{"properties":{"citizenship":{"items":{"$ref":"#/components/schemas/Citizenship"},"type":"array"},"deathInformation":{"$ref":"#/components/schemas/DeathInformation"},"domesticContactAddress":{"description":"Domestic contact address(es) -only for secrecy marked persons. Note: not all of them register a contact address","items":{"$ref":"#/components/schemas/DomesticAddress"},"type":"array"},"domesticPostalAddress":{"description":"List of domestic postal addresses for the person","items":{"$ref":"#/components/schemas/DomesticPostalAddress"},"type":"array"},"foreignContactAddress":{"description":"Foreign contact address -only for secrecy marked persons. Note: not all of them register a contact address","items":{"$ref":"#/components/schemas/ForeignContactAddress"},"type":"array"},"foreignPostalAddress":{"description":"List of foreign postal addresses for the person.","items":{"$ref":"#/components/schemas/ForeignPostalAddress"},"type":"array"},"futureGuardianship":{"description":"Information about future guardianship (Edunvalvontavaltuutus/Intressebevakningsfullmakt)","items":{"$ref":"#/components/schemas/FutureGuardianshipAml"},"type":"array"},"guardianOfInterest":{"allOf":[{"$ref":"#/components/schemas/GuardianOfInterestAml"}],"description":"Information about a guardianship of interest (Edunvalvonta/Intressebevakning)"},"maritalStatus":{"allOf":[{"$ref":"#/components/schemas/MaritalStatus"}],"description":"Marital status"},"motherTongue":{"allOf":[{"$ref":"#/components/schemas/MotherTongueAml"}],"description":"Mother tongue/first language"},"municipality":{"allOf":[{"$ref":"#/components/schemas/Municipality"}],"description":"Municipality"},"name":{"allOf":[{"$ref":"#/components/schemas/Name"}],"description":"Name"},"permanentDomesticAddress":{"allOf":[{"$ref":"#/components/schemas/DomesticAddress"}],"description":"Permanent address in Finland"},"permanentForeignAddress":{"description":"Permanent non-Finnish address ","items":{"$ref":"#/components/schemas/ForeignAddressAml"},"type":"array"},"personId":{"$ref":"#/components/schemas/PersonId"},"temporaryDomesticAddress":{"description":"Temporary address(es) in Finland","items":{"$ref":"#/components/schemas/DomesticAddress"},"type":"array"},"temporaryForeignAddress":{"description":"Temporary foreign address(es)","items":{"$ref":"#/components/schemas/ForeignAddressAml"},"type":"array"}},"type":"object"},"AmlResult":{"properties":{"person":{"items":{"$ref":"#/components/schemas/AmlRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/PersonApiStatus"}},"type":"object"},"BadRequest":{"description":"Returned when something is wrong in the request, e.g. failed argument validation or missed argument","properties":{"attributes":{"description":"Invalid attributes","items":{"$ref":"#/components/schemas/RequestAttribute"},"type":"array"},"error":{"default":"BadRequest","description":"Error name","type":"string"},"message":{"default":"Required arguments are missing in the request","description":"Description of the request error","type":"string"}},"type":"object"},"Citizenship":{"properties":{"code":{"description":"Citizenship country code three digits, ISO 3166-1","type":"string"},"descriptionFi":{"description":"Citizenship country in Finnish","type":"string"},"descriptionSe":{"description":"Citizenship country in Swedish","type":"string"},"freeText":{"description":"Citizenship country as free text","type":"string"}},"type":"object"},"CustodyRecord":{"properties":{"deathDeclaration":{"$ref":"#/components/schemas/DeathDeclaration"},"deathInformation":{"$ref":"#/components/schemas/DeathInformation"},"guardianOfCustody":{"items":{"$ref":"#/components/schemas/GuardianOfCustody"},"type":"array"},"guardianOfInterest":{"$ref":"#/components/schemas/GuardianOfInterest"},"name":{"$ref":"#/components/schemas/Name"},"personId":{"$ref":"#/components/schemas/PersonId"}},"type":"object"},"CustodyResult":{"properties":{"person":{"items":{"$ref":"#/components/schemas/CustodyRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/PersonApiStatus"}},"type":"object"},"DeathDeclaration":{"properties":{"date":{"description":"Person was declared dead on this date, 8 digits","type":"string"}},"type":"object"},"DeathInformation":{"properties":{"date":{"description":"Date of death, 8 digits","type":"string"}},"type":"object"},"DeathInformationFatca":{"properties":{"date":{"description":"Date of death, 8  digits","type":"string"},"deceased":{"description":"Flag showing whether the person is deceased","type":"boolean"}},"type":"object"},"DomesticAddress":{"properties":{"addressFi":{"description":"Address in Finnish","type":"string"},"addressSe":{"description":"Address in Swedish","type":"string"},"fromDate":{"description":"Start date,  8 digits","type":"string"},"postalDistrictFi":{"description":"Postal district in Finnish","type":"string"},"postalDistrictSe":{"description":"Postal district in Swedish","type":"string"},"toDate":{"description":"End date,  8 digits","type":"string"},"zipCode":{"description":"Zip code/postal number","type":"string"}},"type":"object"},"DomesticPostalAddress":{"properties":{"fromDate":{"description":"Start date of the domestic postal address's validity, 8 digits","type":"string"},"postalAddressFi":{"description":"Postal address written in in Finnish","type":"string"},"postalAddressSe":{"description":"Postal address written in Swedish","type":"string"},"postalDistrictFi":{"description":"Postal district written in Finnish","type":"string"},"postalDistrictSe":{"description":"Postal district written in Swedish","type":"string"},"postalNumber":{"description":"Postal district written in Finnish","type":"string"},"toDate":{"description":"End date of the address's validity, 8 digits ","type":"string"}},"type":"object"},"FatcaRecord":{"properties":{"deathDeclaration":{"$ref":"#/components/schemas/DeathDeclaration"},"deathInformation":{"$ref":"#/components/schemas/DeathInformationFatca"},"domesticPostalAddress":{"description":"List of domestic postal addresses for the person","items":{"$ref":"#/components/schemas/DomesticPostalAddress"},"type":"array"},"foreignPostalAddress":{"description":"List of foreign postal addresses for the person","items":{"$ref":"#/components/schemas/ForeignPostalAddress"},"type":"array"},"futureGuardianship":{"description":"Information about future guardianship (Edunvalvontavaltuutus/Intressebevakningsfullmakt)","items":{"$ref":"#/components/schemas/FutureGuardianship"},"type":"array"},"guardianOfInterest":{"allOf":[{"$ref":"#/components/schemas/GuardianOfInterestFatca"}],"description":"Information about a guardianship of interest (Edunvalvonta/Intressebevakning)"},"immigrationToFinlandDate":{"description":"Immigration date to Finland","type":"string"},"maritalStatus":{"allOf":[{"$ref":"#/components/schemas/MaritalStatus"}],"description":"Marital status"},"motherTongue":{"allOf":[{"$ref":"#/components/schemas/MotherTongueFatca"}],"description":"Mother tongue/first language"},"municipality":{"allOf":[{"$ref":"#/components/schemas/Municipality"}],"description":"Municipality"},"name":{"allOf":[{"$ref":"#/components/schemas/Name"}],"description":"Name"},"permanentDomesticAddress":{"allOf":[{"$ref":"#/components/schemas/DomesticAddress"}],"description":"Permanent address in Finland"},"permanentForeignAddress":{"description":"Permanent non-Finnish address ","items":{"$ref":"#/components/schemas/ForeignAddress"},"type":"array"},"personId":{"$ref":"#/components/schemas/PersonId"},"temporaryDomesticAddress":{"description":"Temporary address in Finland","items":{"$ref":"#/components/schemas/DomesticAddress"},"type":"array"},"temporaryForeignAddress":{"description":"Temporary foreign address(es)","items":{"$ref":"#/components/schemas/ForeignAddress"},"type":"array"},"unitedStatesInformation":{"$ref":"#/components/schemas/UnitedStatesInformation"}},"type":"object"},"FatcaResult":{"properties":{"person":{"items":{"$ref":"#/components/schemas/FatcaRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/PersonApiStatus"}},"type":"object"},"ForeignAddress":{"properties":{"address":{"description":"Address","type":"string"},"countryCode":{"description":"Country code, three digits, ISO 3166-1","type":"string"},"fromDate":{"description":"Start date, ISO 8601 ","type":"string"},"locationAndCountryFi":{"description":"Location and country details in Finnish","type":"string"},"locationAndCountrySe":{"description":"Location and country details in Swedish","type":"string"},"toDate":{"description":"End date, 8 digits ","type":"string"},"town":{"description":"Town and country, free text","type":"string"}},"type":"object"},"ForeignAddressAml":{"description":"Temporary foreign address(es)","properties":{"address":{"description":"Address","type":"string"},"countryAsFreeText":{"description":"Country free text","type":"string"},"countryCode":{"description":"Country code, three digits, ISO 3166-1","type":"string"},"fromDate":{"description":"Start date, 8 digits","type":"string"},"locationAndCountryFi":{"description":"Country name, Finnish","type":"string"},"locationAndCountrySe":{"description":"Country name, Swedish","type":"string"},"toDate":{"description":"End date, 8 digits","type":"string"},"town":{"description":"Town or location or country of foreign address, free text","type":"string"}},"type":"object"},"ForeignContactAddress":{"description":"Foreign contact address -only for secrecy marked persons. Note: not all of them register a contact address","properties":{"address":{"description":"Address","type":"string"},"city":{"description":"Place","type":"string"},"countryCode":{"description":"Country code three digits, ISO 3166-1","type":"string"},"countryFi":{"description":"Country name in Finnish","type":"string"},"countrySe":{"description":"Country name in Swedish","type":"string"},"fromDate":{"description":"Start date of the foreign contact address's validity, 8 digits","type":"string"},"locationAndCountryFreeText":{"description":"State/Country free text","type":"string"},"toDate":{"description":"End date of the foreign contact address's validity, ISO 8601","type":"string"}},"type":"object"},"ForeignPostalAddress":{"properties":{"address":{"description":"Foreign address","type":"string"},"area":{"description":"Area","type":"string"},"city":{"description":"City","type":"string"},"countryCode":{"description":"Country code three digits, ISO 3166-1","type":"string"},"countryFi":{"description":"Country name in Finnish","type":"string"},"countrySe":{"description":"Country name in Swedish","type":"string"},"fromDate":{"description":"Start date of the address's validity, 8 digits","type":"string"},"toDate":{"description":"End date of the foreign postal address's validity, 8 digits","type":"string"}},"type":"object"},"FutureGuardianship":{"description":"Information about future guardianship (Edunvalvontavaltuutus/Intressebevakningsfullmakt)","properties":{"distributionOfRights":{"description":"Distribution of rights between the guardians has been registered","type":"boolean"},"distributionOfRightsTextFi":{"description":"Distribution of rights text in Finnish","type":"string"},"distributionOfRightsTextSe":{"description":"Distribution of rights text in Swedish","type":"string"},"fromDate":{"description":"Future guardianship start date, 8 digits","type":"string"},"guardianPersons":{"description":"Person(s)  selected as future guardian(s)","items":{"$ref":"#/components/schemas/GuardianPerson"},"type":"array"},"toDate":{"description":"Future guardianship end date, 8 digits","type":"string"}},"type":"object"},"FutureGuardianshipAml":{"description":"Information about future guardianship (Edunvalvontavaltuutus/Intressebevakningsfullmakt)","properties":{"distributionOfRights":{"description":"true = Distribution of rights between the guardians has been registered","type":"boolean"},"distributionOfRightsTextFi":{"type":"string"},"distributionOfRightsTextSe":{"type":"string"},"fromDate":{"description":"Future guardianship start date, 8 digits","type":"string"},"guardianPersons":{"description":"Person(s)  selected as future guardian(s)","items":{"$ref":"#/components/schemas/GuardianPersonAml"},"type":"array"},"toDate":{"description":"Future guardianship end date, 8 digits","type":"string"}},"type":"object"},"GuardianCompany":{"description":"Information about company/organisation as guardian","properties":{"companyId":{"description":"company id (y-tunnus)","type":"string"},"fromDate":{"description":"Start date , 8 digits","type":"string"},"name":{"description":"Name","type":"string"},"toDate":{"description":"End date , 8 digits","type":"string"}},"type":"object"},"GuardianOfCustody":{"properties":{"birthDate":{"type":"string"},"custodySharingCode":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"personalNumber":{"type":"string"}},"type":"object"},"GuardianOfInterest":{"properties":{"information":{"type":"string"}},"type":"object"},"GuardianOfInterestAml":{"description":"Information about a guardianship of interest (Edunvalvonta/Intressebevakning)","properties":{"distributionOfRights":{"description":"true = Distribution of rights between the guardians has been registered","type":"boolean"},"fromDate":{"description":"Guardianship of interest start date, 8 digits","type":"string"},"guardianCompanies":{"description":"Information about company/organisation as guardian","items":{"$ref":"#/components/schemas/GuardianCompany"},"type":"array"},"guardianOfInterestRestriction":{"allOf":[{"$ref":"#/components/schemas/GuardianOfInterestRestriction"}],"description":"Information about restrictions"},"guardianPersons":{"description":"Guardian (Trustee/Intressebevakare/Edunvalvoja)","items":{"$ref":"#/components/schemas/GuardianPersonAml"},"type":"array"},"legalAidOffices":{"description":"Legal aid offices (Rättshjälpsbyråer)","items":{"$ref":"#/components/schemas/LegalAidOffice"},"type":"array"},"toDate":{"description":"End date, 8 digits","type":"string"}},"type":"object"},"GuardianOfInterestFatca":{"description":"Information about a guardianship of interest (Edunvalvonta/Intressebevakning)","properties":{"distributionOfRights":{"description":"Distribution of rights between the guardians has been registered","type":"boolean"},"fromDate":{"description":"Guardianship of interest start date, 8 digits","type":"string"},"guardianCompanies":{"description":"Information about company/organisation as guardian","items":{"$ref":"#/components/schemas/GuardianCompany"},"type":"array"},"guardianOfInterestRestriction":{"allOf":[{"$ref":"#/components/schemas/GuardianOfInterestRestrictionFatca"}],"description":"Information about restrictions"},"guardianPersons":{"description":"Guardian (Trustee/Intressebevakare/Edunvalvoja)","items":{"$ref":"#/components/schemas/GuardianPerson"},"type":"array"},"legalAidOffices":{"description":"Legal aid offices (Rättshjälpsbyråer)","items":{"$ref":"#/components/schemas/LegalAidOffice"},"type":"array"},"toDate":{"description":"End date, 8 digits","type":"string"}},"type":"object"},"GuardianOfInterestRestriction":{"properties":{"code":{"description":"A code indicating the level of restriction on the persons legal capacity","type":"string"}},"type":"object"},"GuardianOfInterestRestrictionFatca":{"description":"Information about restrictions","properties":{"code":{"description":"A code indicating the level of restriction on the persons legal capacity","type":"string"},"textFi":{"description":"Textual description in Finnish","type":"string"},"textSe":{"description":"Textual description in Swedish","type":"string"}},"type":"object"},"GuardianPerson":{"description":"Person(s)  selected as future guardian(s)","properties":{"birthDate":{"description":"Birth date for non-Finnish person, 8 digits","type":"string"},"firstName":{"description":"First name","type":"string"},"fromDate":{"description":"Start date , 8 digits","type":"string"},"lastName":{"description":"Last name","type":"string"},"personId":{"description":"Id from Finnish population register","type":"string"},"toDate":{"description":"End date, 8 digits","type":"string"}},"type":"object"},"GuardianPersonAml":{"description":"Person(s)  selected as future guardian(s)","properties":{"birthDate":{"description":"Birth date for non-Finnish person, 8 digits","type":"string"},"deathDate":{"description":"Date of death","type":"string"},"firstName":{"description":"First name","type":"string"},"fromDate":{"description":"Start date , 8 digits","type":"string"},"lastName":{"description":"Surname/family name","type":"string"},"personId":{"description":"Id from Finnish population register","type":"string"},"toDate":{"description":"End date, 8 digits","type":"string"}},"type":"object"},"LegalAidOffice":{"description":"Legal aid offices (Rättshjälpsbyråer)","properties":{"authorityCode":{"description":"Code for authority, 6 digits","type":"string"},"fromDate":{"description":"Start date, 8 digits","type":"string"},"nameFi":{"description":"Name, Finnish","type":"string"},"nameSe":{"description":"Name, Swedish","type":"string"},"toDate":{"description":"End date, 8 digits","type":"string"}},"type":"object"},"MaritalStatus":{"description":"Marital status","properties":{"maritalStatusCode":{"description":"Marital status code","type":"string"},"maritalStatusFi":{"description":"Textual description, Finnish","type":"string"},"maritalStatusSe":{"description":"Textual description, Swedish","type":"string"}},"type":"object"},"MotherTongue":{"properties":{"code":{"type":"string"}},"type":"object"},"MotherTongueAml":{"description":"Mother tongue/first language","properties":{"code":{"description":"A code for the mother tongue/first language. Note: Make sure to use the correct code table for the specific endpoint!","type":"string"},"text":{"description":"Mother tongue/first language as text, in English","type":"string"},"textFi":{"description":"Mother tongue/first language as text, in Finnish","type":"string"},"textSe":{"description":"Mother tongue/first language as text, in Swedish","type":"string"}},"type":"object"},"MotherTongueFatca":{"description":"Mother tongue/first language","properties":{"code":{"description":"A code for the mother tongue/first language. Note: Make sure to use the correct code table for the specific endpoint!","type":"string"},"text":{"description":"Mother tongue/first language as text, in English","type":"string"}},"type":"object"},"Municipality":{"properties":{"fromDate":{"description":"The start date of the municipality's validity, 8 digits","type":"string"},"municipalityFi":{"description":"The municipality name in Finnish.","type":"string"},"municipalityNumber":{"description":"Municipality code, 3 digits","type":"string"},"municipalitySe":{"description":"Municipality name in Swedish.","type":"string"}},"type":"object"},"Name":{"properties":{"firstName":{"description":"First name","type":"string"},"lastName":{"description":"Last name/surname","type":"string"}},"type":"object"},"PersonApiStatus":{"properties":{"code":{"description":"0 - found, 1 - not found, 2 - personId is passive","format":"int32","type":"integer"},"text":{"description":"search result description","type":"string"}},"type":"object"},"PersonBasicRecord":{"properties":{"deathInformation":{"$ref":"#/components/schemas/DeathInformation"},"domesticPostalAddress":{"items":{"$ref":"#/components/schemas/DomesticPostalAddress"},"type":"array"},"foreignPostalAddress":{"items":{"$ref":"#/components/schemas/ForeignPostalAddress"},"type":"array"},"motherTongue":{"$ref":"#/components/schemas/MotherTongue"},"municipality":{"$ref":"#/components/schemas/Municipality"},"name":{"$ref":"#/components/schemas/Name"},"permanentDomesticAddress":{"$ref":"#/components/schemas/DomesticAddress"},"permanentForeignAddress":{"$ref":"#/components/schemas/ForeignAddress"},"personId":{"$ref":"#/components/schemas/PersonId"},"temporaryDomesticAddress":{"items":{"$ref":"#/components/schemas/DomesticAddress"},"type":"array"},"temporaryForeignAddress":{"items":{"$ref":"#/components/schemas/ForeignAddress"},"type":"array"}},"type":"object"},"PersonBasicResult":{"properties":{"person":{"items":{"$ref":"#/components/schemas/PersonBasicRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/PersonApiStatus"}},"type":"object"},"PersonExtendedRecord":{"properties":{"deathInformation":{"$ref":"#/components/schemas/DeathInformation"},"domesticPostalAddress":{"items":{"$ref":"#/components/schemas/DomesticPostalAddress"},"type":"array"},"foreignPostalAddress":{"items":{"$ref":"#/components/schemas/ForeignPostalAddress"},"type":"array"},"guardianOfInterest":{"$ref":"#/components/schemas/GuardianOfInterest"},"motherTongue":{"$ref":"#/components/schemas/MotherTongue"},"municipality":{"$ref":"#/components/schemas/Municipality"},"name":{"$ref":"#/components/schemas/Name"},"permanentDomesticAddress":{"$ref":"#/components/schemas/DomesticAddress"},"permanentForeignAddress":{"$ref":"#/components/schemas/ForeignAddress"},"personId":{"$ref":"#/components/schemas/PersonId"},"temporaryDomesticAddress":{"items":{"$ref":"#/components/schemas/DomesticAddress"},"type":"array"},"temporaryForeignAddress":{"items":{"$ref":"#/components/schemas/ForeignAddress"},"type":"array"}},"type":"object"},"PersonExtendedResult":{"properties":{"person":{"items":{"$ref":"#/components/schemas/PersonExtendedRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/PersonApiStatus"}},"type":"object"},"PersonFullRecord":{"properties":{"deathDeclaration":{"$ref":"#/components/schemas/DeathDeclaration"},"deathInformation":{"$ref":"#/components/schemas/DeathInformation"},"domesticPostalAddress":{"items":{"$ref":"#/components/schemas/DomesticPostalAddress"},"type":"array"},"foreignPostalAddress":{"items":{"$ref":"#/components/schemas/ForeignPostalAddress"},"type":"array"},"guardianOfInterest":{"$ref":"#/components/schemas/GuardianOfInterest"},"guardianOfInterestRestriction":{"$ref":"#/components/schemas/GuardianOfInterestRestriction"},"motherTongue":{"$ref":"#/components/schemas/MotherTongue"},"municipality":{"$ref":"#/components/schemas/Municipality"},"name":{"$ref":"#/components/schemas/Name"},"permanentDomesticAddress":{"$ref":"#/components/schemas/DomesticAddress"},"permanentForeignAddress":{"$ref":"#/components/schemas/ForeignAddress"},"personId":{"$ref":"#/components/schemas/PersonId"},"temporaryDomesticAddress":{"items":{"$ref":"#/components/schemas/DomesticAddress"},"type":"array"},"temporaryForeignAddress":{"items":{"$ref":"#/components/schemas/ForeignAddress"},"type":"array"}},"type":"object"},"PersonFullResult":{"properties":{"person":{"items":{"$ref":"#/components/schemas/PersonFullRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/PersonApiStatus"}},"type":"object"},"PersonId":{"properties":{"code":{"description":"1 = active personId, 2 = passive personId","type":"string"},"value":{"type":"string"}},"type":"object"},"RequestAttribute":{"description":"Incorrect attribute of request","properties":{"attribute":{"description":"Parameter name","type":"string"},"value":{"description":"Parameter value, subject for validation","type":"string"}},"type":"object"},"ServerError":{"description":"Internal server error","properties":{"error":{"default":"InternalServerError","description":"Error name","type":"string"},"message":{"default":"An internal server error occurred, please contact the system administrator with information on the error","description":"Description of the request error","type":"string"}},"type":"object"},"UnitedStatesInformation":{"properties":{"bornInTheUsa":{"description":"true = person is born in the USA","type":"boolean"},"citizenship":{"description":"true = person is  US citizen","type":"boolean"},"townOfBirth":{"description":"Town of birth (in the USA)","type":"string"}},"type":"object"}},"securitySchemes":{"OAuth2":{"description":"All requests require authentication via OAuth2 client credentials.\n\nBase URL: https://api.roaring.io\n\n1. Obtain a Consumer key and Consumer secret from https://developer.roaring.io/keys\n   (separate sandbox and production pairs).\n2. Request an access token by POSTing to the token endpoint:\n\n   POST https://api.roaring.io/token\n   Content-Type: application/x-www-form-urlencoded\n   Authorization: Basic base64(consumer-key:consumer-secret)\n\n   body: grant_type=client_credentials\n\n   Tokens are valid for 3600 seconds. The response contains an access_token of\n   type Bearer.\n3. Send the access token on every API call:\n\n   Authorization: Bearer <access_token>","flows":{"clientCredentials":{"tokenUrl":"https://api.roaring.io/token","scopes":{}}},"type":"oauth2"}}},"info":{"description":"Information about all persons registered in Finland\n\nAll requests require authentication via OAuth2 client credentials.\n\nBase URL: https://api.roaring.io\n\n1. Obtain a Consumer key and Consumer secret from https://developer.roaring.io/keys\n   (separate sandbox and production pairs).\n2. Request an access token by POSTing to the token endpoint:\n\n   POST https://api.roaring.io/token\n   Content-Type: application/x-www-form-urlencoded\n   Authorization: Basic base64(consumer-key:consumer-secret)\n\n   body: grant_type=client_credentials\n\n   Tokens are valid for 3600 seconds. The response contains an access_token of\n   type Bearer.\n3. Send the access token on every API call:\n\n   Authorization: Bearer <access_token>","title":"Person","version":"1.0","x-logo":{"url":"https://assets.roaring.io/svg/person-v3.1.svg"}},"openapi":"3.0.1","paths":{"/aml/{personalNumber}":{"get":{"operationId":"amlhenk","parameters":[{"description":"Personal number to query for","in":"path","name":"personalNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmlResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"AML","tags":["PersonFi"]}},"/basic/{personalNumber}":{"get":{"operationId":"basic","parameters":[{"description":"Personal number to query for","in":"path","name":"personalNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonBasicResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"Person Basic","tags":["PersonFi"]}},"/custody/{personalNumber}":{"get":{"operationId":"custody","parameters":[{"description":"Personal number to query for","in":"path","name":"personalNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustodyResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"Custody","tags":["PersonFi"]}},"/extended/{personalNumber}":{"get":{"operationId":"extended","parameters":[{"description":"Personal number to query for","in":"path","name":"personalNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonExtendedResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"Person Extended","tags":["PersonFi"]}},"/fatca/{personalNumber}":{"get":{"operationId":"fatca3","parameters":[{"description":"Personal number to query for","in":"path","name":"personalNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FatcaResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"FATCA","tags":["PersonFi"]}},"/full/{personalNumber}":{"get":{"operationId":"full","parameters":[{"description":"Personal number to query for","in":"path","name":"personalNumber","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonFullResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"Person Full","tags":["PersonFi"]}}},"security":[{"OAuth2":[]}],"servers":[{"url":"https://api.roaring.io/fi/person/1.0"}],"x-category":"person","x-countries":["fi"],"x-id":"PersonFi"}