{"info":{"_postman_id":"ccf028eb-7e18-4e4f-9ca4-ed50cde0e6ec","name":"Symfoni - EU Digital Wallet Demo","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This local API separates the GUI from the backend logic in the Symfoni - EU Digital Wallet Demo. It handles Veramo agent functionality, as well as database operations. It has also been used as an interface where the developers could easily interact with the different agents and databases.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>The API is not secure, as there is no verification required. Anyone with access to the endpoints could easily do database operations and directly use the different agents with malicious intent.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>The API should only be used in a demo setting, as it is not prepared for production. It has no functionality for verification, as mentioned earlier.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>When using the API, you can expect that most, if not all, errors are handled in some way. Most of the time, the error messages are simply strings stating that something went wrong. However, in other cases, like when using the endpoints for creating credentials, you can expect that the error messages will inform you in a detailed manner as to why it failed. If the error lies on the database client-side or the Veramo client-side, you can expect a server error with the status code of 500.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>There is no rate limit for how many requests you can make to either endpoint besides the limits set by the Infura project, firebase, and the Veramo client.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"14505624","collectionId":"ccf028eb-7e18-4e4f-9ca4-ed50cde0e6ec","publishedId":"UyrAEwgK","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"170c5a"},"publishDate":"2022-04-22T11:28:13.000Z"},"item":[{"name":"State Agent","item":[{"name":"State - Retrieve person data from db","id":"e3d28175-3e5e-467c-a3bd-c23d32bc8ca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/state/person/:id","description":"<p>This endpoint retrieves personal data from the Firestore database with an id parameter.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","person",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"e3d28175-3e5e-467c-a3bd-c23d32bc8ca9"},{"name":"State - List all dids","id":"83de4bc7-576b-4be0-84eb-7b164581c07d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/state/dids","description":"<p>This endpoint lists all DIDs managed by the state agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","dids"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"83de4bc7-576b-4be0-84eb-7b164581c07d"},{"name":"State - Add person data to db","id":"bb4810ab-87af-49ec-9fda-36f03b06cbc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"12345\",\r\n    \"credentialSubject\": {\r\n        \"person\": {\r\n            \"SSN\": \"12345\",\r\n            \"dateOfDeath\": \"2020-01-01T19:23:24Z\",\r\n            \"countryOfDeath\": \"NO\",\r\n            \"placeOfDeath\": \"Gjøvik\",\r\n            \"countryOfBirth\": \"NO\",\r\n            \"placeOfBirth\": \"Addressevegen 22\",\r\n            \"dateOfBirth\": \"2010-01-01T19:23:24Z\",\r\n            \"gender\": \"male\",\r\n            \"name\": {\r\n                \"lastName\": \"Nordmann\",\r\n                \"firstName\": \"Ola\",\r\n                \"middleName\": \"Sten\"\r\n            },\r\n            \"originalName\": \"Ola Nordmann\",\r\n            \"maritalStatus\": \"unmarried\",\r\n            \"citizenship\": \"NO\",\r\n            \"address\": {\r\n                \"countryCode\": \"NO\",\r\n                \"city\": \"Gjøvik\",\r\n                \"zipCode\": 1212,\r\n                \"streetName\": \"veigaten\",\r\n                \"streetNumber\": 12\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/state/person/","description":"<p>This endpoint adds personal data to the Firsetore database. It takes an object with the document's id and a personal data object.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","person",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb4810ab-87af-49ec-9fda-36f03b06cbc8"},{"name":"State - Create business VC","id":"56183058-48ab-43f4-8428-2dab40f67b02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"credentialSubject\": {\r\n\t\t\"id\": \"did:ethr:rinkeby:0x0206bc2d719721519fd7e0ac58224688e1c5cc9be5cf3fc67ec4f937db9585eef6\",\r\n\t\t\"business\": {\r\n\t\t\t\"name\": \"The Business\",\r\n\t\t\t\"industrialCode\": \"12J\",\r\n\t\t\t\"organisationStructure\": \"AS\",\r\n\t\t\t\"organisationNumber\": 12,\r\n\t\t\t\"address\": {\r\n\t\t\t\t\"countryCode\": \"NO\",\r\n\t\t\t\t\"city\": \"Gjøvik\",\r\n\t\t\t\t\"zipCode\": 2827,\r\n\t\t\t\t\"streetName\": \"gateveien\",\r\n\t\t\t\t\"streetNumber\": 22,\r\n\t\t\t\t\"floor\": \"2A\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/state/businessCredential","description":"<p>This endpoint generates a verifiable credential for a business on behalf of the state agent. The request body consists of data that describes the business.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","businessCredential"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"56183058-48ab-43f4-8428-2dab40f67b02"},{"name":"State - Create person VC","id":"45162e09-44c9-4603-bfee-70270e9e107f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"credentialSubject\": {\r\n        \"id\": \"did:ethr:rinkeby:0x...\",\r\n        \"person\": {\r\n            \"SSN\": \"12345\",\r\n            \"dateOfDeath\": \"2020-01-01T19:23:24Z\",\r\n            \"countryOfDeath\": \"NO\",\r\n            \"placeOfDeath\": \"Gjøvik\",\r\n            \"countryOfBirth\": \"NO\",\r\n            \"placeOfBirth\": \"Addressevegen 22\",\r\n            \"dateOfBirth\": \"2010-01-01T19:23:24Z\",\r\n            \"gender\": \"male\",\r\n            \"name\": {\r\n                \"lastName\": \"Nordmann\",\r\n                \"firstName\": \"Ola\",\r\n                \"middleName\": \"Sten\"\r\n            },\r\n            \"originalName\": \"Ola Nordmann\",\r\n            \"maritalStatus\": \"unmarried\",\r\n            \"citizenship\": \"NO\",\r\n            \"address\": {\r\n                \"countryCode\": \"NO\",\r\n                \"city\": \"Gjøvik\",\r\n                \"zipCode\": 1212,\r\n                \"streetName\": \"veigaten\",\r\n                \"streetNumber\": 12\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/state/personCredential","description":"<p>This endpoint generates a verifiable credential based on the personal data from the JSON body.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","personCredential"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"45162e09-44c9-4603-bfee-70270e9e107f"},{"name":"State - Create DID","id":"a15fdb1b-c19d-42aa-99df-b595faad6d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"test\",\r\n    \"provider\": \"did:ethr:rinkeby\",\r\n    \"kms\": \"local\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/state/did","description":"<p>This endpoint creates a DID for the state agent. The request body consists of three parts, an optional alias for the DID, the DID method, and where the keys should be stored.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","did"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a15fdb1b-c19d-42aa-99df-b595faad6d8d"},{"name":"State - Delete person data from db","id":"dd29c2ca-0885-46ac-90be-f2922fd0b6cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:6060/state/person/:id","description":"<p>This endpoint deletes a person's data from the cloud database. It takes a parameter which is the id of the document that should be deleted.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["state","person",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"dd29c2ca-0885-46ac-90be-f2922fd0b6cb"}],"id":"e361af23-f678-4c52-9c05-5c02095e6227","description":"<p>The state agent endpoints are used to interact with the Veramo client and the Firestore database. It mainly operates as an issuer in the SSI flow. Its purpose is to create, fetch, update, and delete personal data from its cloud database and issue verifiable credentials that will be used to verify a person.</p>\n","_postman_id":"e361af23-f678-4c52-9c05-5c02095e6227"},{"name":"User Agent","item":[{"name":"User - Get main identifier","id":"f9da2f61-205a-49ce-b98e-1901d1a36945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/mainIdentifier","description":"<p>This endpoint retrieves the main identifier document for the user agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","mainIdentifier"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9da2f61-205a-49ce-b98e-1901d1a36945"},{"name":"User - Get credential on type","id":"70e144e8-d1c9-4725-8f13-c1274a65e568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/credential/:type","description":"<p>This endpoint retrieves a specific credential based on its type. The request parameter is the type of the credential you want to retrieve, e.g, \"personVC\".</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","credential",":type"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"EmploymentVC","key":"type"}]}},"response":[],"_postman_id":"70e144e8-d1c9-4725-8f13-c1274a65e568"},{"name":"User - List all credentials","id":"4933080a-afdc-4979-82d8-e70dfe62b92e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/credentials","description":"<p>This endpoint lists all the locally stored credentials for the user agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","credentials"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4933080a-afdc-4979-82d8-e70dfe62b92e"},{"name":"User - Retrieve DID on DID ID","id":"fb75c389-5856-4377-9ff4-74ac1d90683b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/did/:did-address","description":"<p>This endpoint retrieves a DID document that is managed by the user agent. The request parameter is the DID address of the DID you want to retrieve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","did",":did-address"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":"","key":"did-address"}]}},"response":[],"_postman_id":"fb75c389-5856-4377-9ff4-74ac1d90683b"},{"name":"User - Resolve DID on DID ID","id":"57bd6167-fe4b-4eee-a5bd-c5f0d6e5599b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/resolve/:did","description":"<p>This endpoint resolves a DID document that persists on the blockchain. The request parameter is the DID address of the DID you want to resolve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","resolve",":did"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"did"}]}},"response":[],"_postman_id":"57bd6167-fe4b-4eee-a5bd-c5f0d6e5599b"},{"name":"User - List all dids","id":"32174d75-de88-4f06-b190-bb58d3b61a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/dids","description":"<p>This endpoint lists all DIDs managed by the user agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","dids"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"32174d75-de88-4f06-b190-bb58d3b61a73"},{"name":"User - Get all messages","id":"73a4cf93-1751-458b-9887-4e8e24aa7634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/messages","description":"<p>This endpoint lists all messages received by the user agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","messages"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"73a4cf93-1751-458b-9887-4e8e24aa7634"},{"name":"User - Get message on ID","id":"933d9f83-5382-46ef-9c4c-c42593bf458e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/message/:id","description":"<p>This endpoint retrieves the message details of a specific message. The request parameter is the id of the message you want to see.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","message",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"933d9f83-5382-46ef-9c4c-c42593bf458e"},{"name":"User - Handle message token","id":"dd3fe122-bf1d-4181-98a0-971d37d5ff0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/user/handleMessageToken/:token","description":"<p>This endpoint resolves a message token to read its content. The request parameter is the token you want to resolve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","handleMessageToken",":token"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"token"}]}},"response":[],"_postman_id":"dd3fe122-bf1d-4181-98a0-971d37d5ff0f"},{"name":"User - Create DID","id":"8faa70e9-2465-4cf3-8198-5a0cf776faf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"test\",\r\n    \"provider\": \"did:ethr:rinkeby\",\r\n    \"kms\": \"local\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/user/did","description":"<p>This endpoint creates a DID for the user agent. The request body consists of three parts, an optional alias for the DID, the DID method, and where the keys should be stored.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","did"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8faa70e9-2465-4cf3-8198-5a0cf776faf0"},{"name":"User - Add credential to database","id":"6987ca94-f24a-4a73-be1f-5ac907f9f972","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"credential\": {\r\n        \"credentialSubject\": {\r\n            \"person\": {\r\n                \"SSN\": \"12345\",\r\n                \"dateOfDeath\": \"2020-01-01T19:23:24Z\",\r\n                \"countryOfDeath\": \"NO\",\r\n                \"placeOfDeath\": \"Gjøvik\",\r\n                \"countryOfBirth\": \"NO\",\r\n                \"placeOfBirth\": \"Addressevegen 22\",\r\n                \"dateOfBirth\": \"2010-01-01T19:23:24Z\",\r\n                \"gender\": \"male\",\r\n                \"name\": {\r\n                    \"lastName\": \"Nordmann\",\r\n                    \"firstName\": \"Ola\",\r\n                    \"middleName\": \"Sten\"\r\n                },\r\n                \"originalName\": \"Ola Nordmann\",\r\n                \"maritalStatus\": \"unmarried\",\r\n                \"citizenship\": \"NO\",\r\n                \"address\": {\r\n                    \"countryCode\": \"NO\",\r\n                    \"city\": \"Gjøvik\",\r\n                    \"zipCode\": 1212,\r\n                    \"streetName\": \"veigaten\",\r\n                    \"streetNumber\": 12\r\n                }\r\n            },\r\n            \"id\": \"did:ethr:rinkeby:0x...\"\r\n        },\r\n        \"issuer\": {\r\n            \"id\": \"did:ethr:rinkeby:0x02c600d668cba482f771b95c3e15332f1500818a88714ddd0cc0d3628b3fab9076\"\r\n        },\r\n        \"type\": [\r\n            \"VerifiableCredential\",\r\n            \"PersonVC\"\r\n        ],\r\n        \"@context\": [\r\n            \"https://www.w3.org/2018/credentials/v1\",\r\n            \"https://raw.githubusercontent.com/symfoni/bachelor/dev/schemas/tempJSON/personSchema.json\"\r\n        ],\r\n        \"issuanceDate\": \"2022-04-22T12:34:15.000Z\",\r\n        \"proof\": {\r\n            \"type\": \"JwtProof2020\",\r\n            \"jwt\": \"eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSIsImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9zeW1mb25pL2JhY2hlbG9yL2Rldi9zY2hlbWFzL3RlbXBKU09OL3BlcnNvblNjaGVtYS5qc29uIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQZXJzb25WQyJdLCJjcmVkZW50aWFsU3ViamVjdCI6eyJwZXJzb24iOnsiU1NOIjoiMTIzNDUiLCJkYXRlT2ZEZWF0aCI6IjIwMjAtMDEtMDFUMTk6MjM6MjRaIiwiY291bnRyeU9mRGVhdGgiOiJOTyIsInBsYWNlT2ZEZWF0aCI6Ikdqw7h2aWsiLCJjb3VudHJ5T2ZCaXJ0aCI6Ik5PIiwicGxhY2VPZkJpcnRoIjoiQWRkcmVzc2V2ZWdlbiAyMiIsImRhdGVPZkJpcnRoIjoiMjAxMC0wMS0wMVQxOToyMzoyNFoiLCJnZW5kZXIiOiJtYWxlIiwibmFtZSI6eyJsYXN0TmFtZSI6Ik5vcmRtYW5uIiwiZmlyc3ROYW1lIjoiT2xhIiwibWlkZGxlTmFtZSI6IlN0ZW4ifSwib3JpZ2luYWxOYW1lIjoiT2xhIE5vcmRtYW5uIiwibWFyaXRhbFN0YXR1cyI6InVubWFycmllZCIsImNpdGl6ZW5zaGlwIjoiTk8iLCJhZGRyZXNzIjp7ImNvdW50cnlDb2RlIjoiTk8iLCJjaXR5IjoiR2rDuHZpayIsInppcENvZGUiOjEyMTIsInN0cmVldE5hbWUiOiJ2ZWlnYXRlbiIsInN0cmVldE51bWJlciI6MTJ9fX19LCJzdWIiOiJkaWQ6ZXRocjpyaW5rZWJ5OjB4Li4uIiwibmJmIjoxNjUwNjMwODU1LCJpc3MiOiJkaWQ6ZXRocjpyaW5rZWJ5OjB4MDJjNjAwZDY2OGNiYTQ4MmY3NzFiOTVjM2UxNTMzMmYxNTAwODE4YTg4NzE0ZGRkMGNjMGQzNjI4YjNmYWI5MDc2In0.eUUBLnR6TBML52144jWtkr3STRXF2QfcfEy4vucimJSQVoK0QpWMD4R0lq56y5579byHWNsYaRAJ3_nBfp4bjg\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/user/credential","description":"<p>This endpoint saves a credential to the user's local database. The request body must be a verifiable credential of any kind.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","credential"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6987ca94-f24a-4a73-be1f-5ac907f9f972"},{"name":"User - Create VP","id":"151401e9-8ed5-4d61-8ff3-758e1b1d421f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"listOfCredentials\": [\r\n        {\r\n            \"hash\": \"46bafdb9a8f3b25a4562fcebdf042835b7635c4d0c5937ef707ce8b3c0940e1cb75fb5c19f2bec4c82578a016d829fe9fad4a9c581b53ff00157bbd5da1f4b57\",\r\n            \"verifiableCredential\": {\r\n                \"@context\": [\r\n                    \"https://www.w3.org/2018/credentials/v1\",\r\n                    \"https://raw.githubusercontent.com/symfoni/bachelor/dev/schemas/tempJSON/personSchema.json\"\r\n                ],\r\n                \"type\": [\r\n                    \"VerifiableCredential\",\r\n                    \"PersonVC\"\r\n                ],\r\n                \"issuer\": {\r\n                    \"id\": \"did:ethr:rinkeby:0x02c600d668cba482f771b95c3e15332f1500818a88714ddd0cc0d3628b3fab9076\"\r\n                },\r\n                \"credentialSubject\": {\r\n                    \"person\": {\r\n                        \"dateOfdDeath\": \"2020-01-01T19:23:24Z\",\r\n                        \"countryOfDeath\": \"NO\",\r\n                        \"placeOfDeath\": \"Gjøvik\",\r\n                        \"countryOfBirth\": \"NO\",\r\n                        \"placeOfBirth\": \"Addressevegen 22\",\r\n                        \"dateOfBirth\": \"2010-01-01T19:23:24Z\",\r\n                        \"gender\": \"male\",\r\n                        \"name\": {\r\n                            \"lastName\": \"Swedishman\",\r\n                            \"firstName\": \"Ola\",\r\n                            \"middleName\": \"Gromp\"\r\n                        },\r\n                        \"originalName\": \"Ola Normann\",\r\n                        \"maritalStatus\": \"unmarried\",\r\n                        \"citizenship\": \"US\",\r\n                        \"address\": {\r\n                            \"countryCode\": \"NO\",\r\n                            \"city\": \"gjøvik\",\r\n                            \"zipCode\": 1212,\r\n                            \"streetName\": \"veigaten\",\r\n                            \"streetNumber\": 12\r\n                        }\r\n                    },\r\n                    \"id\": \"did:ethr:rinkeby:0x0206bc2d719721519fd7e0ac58224688e1c5cc9be5cf3fc67ec4f937db9585eef6\"\r\n                },\r\n                \"proof\": {\r\n                    \"type\": \"JwtProof2020\",\r\n                    \"jwt\": \"eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSIsImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9zeW1mb25pL2JhY2hlbG9yL2Rldi9zY2hlbWFzL3RlbXBKU09OL3BlcnNvblNjaGVtYS5qc29uIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJQZXJzb25WQyJdLCJjcmVkZW50aWFsU3ViamVjdCI6eyJwZXJzb24iOnsiZGF0ZU9mZERlYXRoIjoiMjAyMC0wMS0wMVQxOToyMzoyNFoiLCJjb3VudHJ5T2ZEZWF0aCI6Ik5PIiwicGxhY2VPZkRlYXRoIjoiR2rDuHZpayIsImNvdW50cnlPZkJpcnRoIjoiTk8iLCJwbGFjZU9mQmlydGgiOiJBZGRyZXNzZXZlZ2VuIDIyIiwiZGF0ZU9mQmlydGgiOiIyMDEwLTAxLTAxVDE5OjIzOjI0WiIsImdlbmRlciI6Im1hbGUiLCJuYW1lIjp7Imxhc3ROYW1lIjoiU3dlZGlzaG1hbiIsImZpcnN0TmFtZSI6Ik9sYSIsIm1pZGRsZU5hbWUiOiJHcm9tcCJ9LCJvcmlnaW5hbE5hbWUiOiJPbGEgTm9ybWFubiIsIm1hcml0YWxTdGF0dXMiOiJ1bm1hcnJpZWQiLCJjaXRpemVuc2hpcCI6IlVTIiwiYWRkcmVzcyI6eyJjb3VudHJ5Q29kZSI6Ik5PIiwiY2l0eSI6Imdqw7h2aWsiLCJ6aXBDb2RlIjoxMjEyLCJzdHJlZXROYW1lIjoidmVpZ2F0ZW4iLCJzdHJlZXROdW1iZXIiOjEyfX19fSwic3ViIjoiZGlkOmV0aHI6cmlua2VieToweDAyMDZiYzJkNzE5NzIxNTE5ZmQ3ZTBhYzU4MjI0Njg4ZTFjNWNjOWJlNWNmM2ZjNjdlYzRmOTM3ZGI5NTg1ZWVmNiIsIm5iZiI6MTY0ODczNTc0OCwiaXNzIjoiZGlkOmV0aHI6cmlua2VieToweDAyYzYwMGQ2NjhjYmE0ODJmNzcxYjk1YzNlMTUzMzJmMTUwMDgxOGE4ODcxNGRkZDBjYzBkMzYyOGIzZmFiOTA3NiJ9.zYTEz6coXoaUjBWzgOdEz0F9q1Eg2EjkNN2W3dSJAZFg5x2YphuKhZL9mZbiIbE5m9YGt899iO-omkZyTiTqZA\"\r\n                },\r\n                \"issuanceDate\": \"2022-03-31T14:09:08.000Z\"\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/user/presentation","description":"<p>This endpoint creates a verifiable presentation on behalf of the user agent. The request body consists of a holder key which is the DID address managed by the user and will be used to present the presentation. The second part of the body is a list of verifiable credentials managed by the user agent that will be combined into one presentation.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","presentation"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"151401e9-8ed5-4d61-8ff3-758e1b1d421f"},{"name":"User - Send message","id":"31bfdbe0-3b79-45c0-a6cd-4e29df64967b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"toDid\": \"did:ethr:rinkeby:0x...\",\r\n    \"type\": \"test\",\r\n    \"message\": {\r\n        \"data\": \"Hello\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/user/sendMessage","description":"<p>This endpoint sends a message from the user agent to another DID address over DIDComm. It requires that the recipient's DID address has a key for a Diffie-Hellman key exchange and a service endpoint for handling incoming messages. The request body specifies to whom the message should be sent, message type, and message data.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","sendMessage"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"31bfdbe0-3b79-45c0-a6cd-4e29df64967b"},{"name":"User - Delete a credential","id":"7301a259-2b90-47e5-8aa9-af367fc0efad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:6060/user/credential/:hash","description":"<p>This endpoint deletes a credential from the users local storage. The request parameter is the hash of the credential you wish to delete.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["user","credential",":hash"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"hash"}]}},"response":[],"_postman_id":"7301a259-2b90-47e5-8aa9-af367fc0efad"}],"id":"3792ebdd-44d7-4803-bca6-817cca33531e","description":"<p>The user agent is mainly the holder in this SSI flow. Its main functionality is to receive verifiable credentials, store them, and use them later to verify itself.</p>\n","_postman_id":"3792ebdd-44d7-4803-bca6-817cca33531e"},{"name":"NAV Agent","item":[{"name":"NAV - List all stored DIDs","id":"2a1b1ebd-fc9c-4172-beae-893cce06a53a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/nav/dids","description":"<p>This endpoint lists all DIDs managed by the NAV agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["nav","dids"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a1b1ebd-fc9c-4172-beae-893cce06a53a"},{"name":"NAV - Resolve DID on DID ID","id":"b9054f5b-5baa-4ee2-b57d-04fff30a1d8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/nav/resolve/:did","description":"<p>This endpoint resolves a DID document that persists on the blockchain. The request parameter is the DID address of the DID you want to resolve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["nav","resolve",":did"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"did"}]}},"response":[],"_postman_id":"b9054f5b-5baa-4ee2-b57d-04fff30a1d8a"},{"name":"NAV - Get main identifier","id":"e69cba62-bbdb-4383-ad96-af4e6abe7d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/nav/mainIdentifier","description":"<p>This endpoint retrieves the main identifier document for the NAV agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["nav","mainIdentifier"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e69cba62-bbdb-4383-ad96-af4e6abe7d4c"},{"name":"NAV - Create DID","id":"76b235a6-57d0-4656-93ed-b4886e6bf6b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"test\",\r\n    \"provider\": \"did:ethr:rinkeby\",\r\n    \"kms\": \"local\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/nav/did","description":"<p>This endpoint creates a DID for the NAV agent. The request body consists of three parts, an optional alias for the DID, the DID method, and where the keys should be stored.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["nav","did"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"76b235a6-57d0-4656-93ed-b4886e6bf6b9"},{"name":"NAV - Verify JWT","id":"c477025c-c22e-4e27-8365-876c45de3562","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"jwt\": \"eyJhbGciOiJFUzI1NksiLCJ0eXAiOiJKV1QifQ.eyJ2YyI6eyJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSIsImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9zeW1mb25pL2JhY2hlbG9yL2Rldi9zY2hlbWFzL2VtcGxveW1lbnRDb250cmFjdFNjaGVtYS5qc29uIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJFbXBsb3ltZW50VkMiXSwiY3JlZGVudGlhbFN1YmplY3QiOnsiZW1wbG95bWVudCI6eyJlbXBsb3llZSI6eyJlbXBsb3llZUlkIjoiMTVmNTYiLCJqb2JUaXRsZSI6IkVuZ2luZWVyIiwicGxhY2VPZldvcmsiOiJTeW1mb25pIEFTIiwiaG91cnNPZldvcmsiOjYsInN0YXJ0RGF0ZSI6IjIwMjAtMDYtMDYiLCJlbmREYXRlIjoiMjAyMS0wNi0wNiIsImVtcGxveW1lbnRTdGF0dXMiOnsiZW1wbG95bWVudFR5cGUiOiJwYXJ0IHRpbWUiLCJwYXJ0VGltZVBlcmNlbnRhZ2UiOjgwfSwic2FsYXJ5Ijp7ImZyZXF1ZW5jeSI6Im1vbnRobHkiLCJhbW91bnQiOjM3MDAwLCJjdXJyZW5jeSI6Ik5PSyJ9LCJ0cmlhbFBlcmlvZCI6eyJzdGFydERhdGUiOiIyMDIwLTA2LTA2IiwiZW5kRGF0ZSI6IjIwMjEtMDYtMDYifSwicmlnaHRGb3JQZW5zaW9uIjp0cnVlLCJub25Db21wZXRlQ2xhdXNlIjpmYWxzZSwicmVxdWlyZW1lbnRUb1dvcmtPdmVyc2VhcyI6dHJ1ZX0sImVtcGxveWVySWQiOiJzdHJpbmciLCJjb250cmFjdFBERiI6eyJVUkwiOiJodHRwczovL3N5bWZvbmljb250cmFjdHMvY29udHJhY3QucGRmIiwiaGFzaCI6IjQ4ZDc3NzFlY2I3ZjRlY2E5MjBjYTQ2OTU3NTA2YTE3ZDhmZWE5NjMwMzFmOGE4ZGRkYzViZTQwYjczNjY5NjEifX19fSwic3ViIjoiZGlkOmV0aHI6cmlua2VieToweDAyMDZiYzJkNzE5NzIxNTE5ZmQ3ZTBhYzU4MjI0Njg4ZTFjNWNjOWJlNWNmM2ZjNjdlYzRmOTM3ZGI5NTg1ZWVmNiIsIm5iZiI6MTY0ODcyMjE3OCwiaXNzIjoiZGlkOmV0aHI6cmlua2VieToweDAzZjlkOGY5YzEwZmY3MDhiNDlmMzljNjk5YzNkMmQ5NDMyMzhjNmUyZmJmZDVjMDI2YTllMjQxNzM5YjBjYmYzOCJ9.-NkJ6sg_YwXS7xe3SfgJYmwTkPRLfHjyb1oHH3z3AiSYUhJCQaYlvFX4Qsi7t0K0zymnx-r_VHCVDMZYbjK3Mg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/nav/verifyJWT","description":"<p>This endpoint checks if JSON Web Token is valid.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["nav","verifyJWT"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c477025c-c22e-4e27-8365-876c45de3562"}],"id":"e1109c93-f3ce-445b-9e61-528a90b37b73","description":"<p>The NAV agent mainly acts as a verifier in the SSI flow. Its main purpose is to receive verifiable presentations and determine if the presentation qualifies for unemployment benefits.</p>\n","_postman_id":"e1109c93-f3ce-445b-9e61-528a90b37b73"},{"name":"Symfoni Agent","item":[{"name":"Symfoni - Get main identifier","id":"7ce83210-df3c-41f6-b08c-a2ac68ceaea0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/symfoni/mainIdentifier","description":"<p>This endpoint retrieves the main identifier document for the Symfoni agent.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","mainIdentifier"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ce83210-df3c-41f6-b08c-a2ac68ceaea0"},{"name":"Symfoni - Resolve DID on DID ID","id":"2ba8841d-a77c-4ea9-a0b0-3a3f8b842e9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/symfoni/resolve/:did","description":"<p>This endpoint resolves a DID document that persists on the blockchain. The request parameter is the DID address of the DID you want to resolve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","resolve",":did"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"did"}]}},"response":[],"_postman_id":"2ba8841d-a77c-4ea9-a0b0-3a3f8b842e9b"},{"name":"Symfoni - Retrieve employment contract from db","id":"46595c1c-d082-40ad-bf76-d9db769d7b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/symfoni/employmentContract/:id","description":"<p>This endpoint retrieves employment contract data from the cloud database. The request parameter is the id of the document you want to retrieve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","employmentContract",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"46595c1c-d082-40ad-bf76-d9db769d7b46"},{"name":"Symfoni - Retrieve termination contract from db","id":"9a72af21-dfe0-42be-b091-31044a9de786","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:6060/symfoni/employmentContract/:id","description":"<p>This endpoint retrieves termination contract data from the cloud database. The request parameter is the id of the document you want to retrieve.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","employmentContract",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"9a72af21-dfe0-42be-b091-31044a9de786"},{"name":"Symfoni - Create termination VC","id":"397ff251-e25b-4416-ba2e-5b94b1224a0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"credentialSubject\": {\r\n        \"id\": \"did:ethr:rinkeby:0x026e205a3fefa81f8e51cf7c284ec234fa667280740ca8e394ec608edad3680bfe\",\r\n        \"termination\": {\r\n            \"employee\": {\r\n                \"terminationNoticeReceived\": \"2021-02-02\",\r\n                \"terminationReason\": \"Employee was not preforming to the expected standard\",\r\n                \"lastDayAtWork\": \"2021-02-02\",\r\n                \"lastPayday\": \"2021-02-02\",\r\n                \"terminationStatus\": \"resigned\",\r\n                \"terminatedDuringTrialPeriod\": true\r\n            },\r\n            \"contractPDF\": {\r\n                \"URL\": \"https://pdfs.com/pdf0.pdf\",\r\n                \"hash\": \"8743b52063cd84097a65d1633f5c74f5\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/symfoni/terminationCredential","description":"<p>This endpoint creates a verifiable credential for a termination contract on behalf of the Symfoni agent. The request body consists of the data that should be present in the credential.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","terminationCredential"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"397ff251-e25b-4416-ba2e-5b94b1224a0b"},{"name":"Symfoni - Create employment VC","event":[{"listen":"test","script":{"id":"333ea16d-80b6-4174-9419-ce45f20bec4f","exec":[""],"type":"text/javascript"}}],"id":"941abc04-645f-4556-887d-dfe65c79b8e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"credentialSubject\": {\r\n        \"id\": \"did:ethr:rinkeby:0x026e205a3fefa81f8e51cf7c284ec234fa667280740ca8e394ec608edad3680bfe\",\r\n        \"employment\": {\r\n            \"employee\": {\r\n                \"employeeId\": \"did:ethr:rinkeby:0x026e205a3fefa81f8e51cf7c284ec234fa667280740ca8e394ec608edad3680bfe\",\r\n                \"jobTitle\": \"Ingeniør\",\r\n                \"placeOfWork\": \"Rådhusplassen 10\",\r\n                \"hoursOfWork\": 20,\r\n                \"startDate\": \"2021-06-01\",\r\n                \"employerTerminationNotice\": 30,\r\n                \"employeeTerminationNotice\": 30,\r\n                \"employmentStatus\": {\r\n                    \"employmentType\": \"full time employee\",\r\n                    \"temporaryContractEndDate\": \"2021-12-12\"\r\n                },\r\n                \"salary\": {\r\n                    \"workPercentage\": 100,\r\n                    \"monthlySalary\": 40700,\r\n                    \"currency\": \"NOK\"\r\n                },\r\n                \"trialPeriod\": {\r\n                    \"startDate\": \"2021-06-20\",\r\n                    \"endDate\": \"2021-12-12\",\r\n                    \"trialPeriodTerminationNotice\": 14\r\n                },\r\n                \"rightForPension\": true,\r\n                \"nonCompeteClause\": false,\r\n                \"requirementToWorkOverseas\": true\r\n            },\r\n            \"contractPDF\": {\r\n                \"URL\": \"www.pdfs.com/pdf0.pdf\",\r\n                \"hash\": \"8743b52063cd84097a65d1633f5c74f5\"\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/symfoni/employmentCredential","description":"<p>This endpoint creates a verifiable credential for an employment contract on behalf of the Symfoni agent. The request body consists of the data that should be present in the credential.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","employmentCredential"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"941abc04-645f-4556-887d-dfe65c79b8e3"},{"name":"Symfoni - Create DID","id":"0f58d2d8-3009-4659-b3ac-8ec4111da232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"test\",\r\n    \"provider\": \"did:ethr:rinkeby\",\r\n    \"kms\": \"local\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/symfoni/did","description":"<p>This endpoint creates a DID for the NAV agent. The request body consists of three parts, an optional alias for the DID, the DID method, and where the keys should be stored.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","did"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f58d2d8-3009-4659-b3ac-8ec4111da232"},{"name":"Symfoni - Add employment contract to DB","id":"351a8761-9cff-4e84-9b23-9cd33106df73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"12345\",\r\n\t\"credentialSubject\": {\r\n\t\t\"id\": \"did:ethr:rinkeby:0x0206bc2d719721519fd7e0ac58224688e1c5cc9be5cf3fc67ec4f937db9585eef6\",\r\n\t\t\"employment\": {\r\n            \"employee\": {\r\n                \"employeeId\": \"did:ethr:rinkeby:0x026e205a3fefa81f8e51cf7c284ec234fa667280740ca8e394ec608edad3680bfe\",\r\n                \"jobTitle\": \"Ingeniør\",\r\n                \"placeOfWork\": \"Rådhusplassen 10\",\r\n                \"hoursOfWork\": 20,\r\n                \"startDate\": \"2021-06-01\",\r\n                \"employerTerminationNotice\": 30,\r\n                \"employeeTerminationNotice\": 30,\r\n                \"employmentStatus\": {\r\n                    \"employmentType\": \"full time employee\",\r\n                    \"temporaryContractEndDate\": \"2021-12-12\"\r\n                },\r\n                \"salary\": {\r\n                    \"workPercentage\": 100,\r\n                    \"monthlySalary\": 40700,\r\n                    \"currency\": \"NOK\"\r\n                },\r\n                \"trialPeriod\": {\r\n                    \"startDate\": \"2021-06-20\",\r\n                    \"endDate\": \"2021-12-12\",\r\n                    \"trialPeriodTerminationNotice\": 14\r\n                },\r\n                \"rightForPension\": true,\r\n                \"nonCompeteClause\": false,\r\n                \"requirementToWorkOverseas\": true\r\n            },\r\n            \"contractPDF\": {\r\n                \"URL\": \"www.pdfs.com/pdf0.pdf\",\r\n                \"hash\": \"8743b52063cd84097a65d1633f5c74f5\"\r\n            }\r\n        }\r\n\t}\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/symfoni/employmentContract","description":"<p>This endpoint adds employment contract data to the cloud database. The request body consists of two parts, the first being the id of the document, and the second being the data that should be stored within the document.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","employmentContract"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"351a8761-9cff-4e84-9b23-9cd33106df73"},{"name":"Symfoni - Add termination contract to DB","id":"0364e130-638c-4f00-8409-1f9ee983e63a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"idid\",\r\n\t\"credentialSubject\": {\r\n\t\t\"id\": \"did:ethr:rinkeby:0x0206bc2d719721519fd7e0ac58224688e1c5cc9be5cf3fc67ec4f937db9585eef6\",\r\n\t\t\"termination\": {\r\n\t\t\t\"employee\": {\r\n\t\t\t\t\"lastDayAtWork\": \"2021-02-02\",\r\n\t\t\t\t\"lastPayday\": \"2021-02-02\",\r\n\t\t\t\t\"terminationStatus\": \"resigned\",\r\n\t\t\t\t\"terminatedDuringTrialPeriod\": true,\r\n\t\t\t\t\"WeeklyWorkHours\": 22,\r\n                \"terminationNoticeReceived\": \"2021-02-02\"\r\n\t\t\t},\r\n\t\t\t\"contractPDF\": {\r\n\t\t\t\t\"URL\": \"https://pdfs.com/pdf0.pdf\",\r\n\t\t\t\t\"hash\": \"8743b52063cd84097a65d1633f5c74f5\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:6060/symfoni/terminationContract","description":"<p>This endpoint adds termination contract data to the cloud database. The request body consists of two parts, the first being the id of the document, and the second being the data that should be stored within the document.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","terminationContract"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0364e130-638c-4f00-8409-1f9ee983e63a"},{"name":"Symfoni - Delete employment contract from db","id":"b4cd9753-5788-4a7d-807d-6311a776ceb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:6060/symfoni/employmentContract/:id","description":"<p>This endpoint deletes employment contract data from the cloud database. The request parameter is the id of the document you want to delete.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","employmentContract",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"b4cd9753-5788-4a7d-807d-6311a776ceb6"},{"name":"Symfoni - Delete termination contract from db","id":"ecf425af-3514-47b2-9b52-371c58278256","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:6060/symfoni/employmentContract/:id","description":"<p>This endpoint deletes termination contract data from the cloud database. The request parameter is the id of the document you want to delete.</p>\n","urlObject":{"protocol":"http","port":"6060","path":["symfoni","employmentContract",":id"],"host":["localhost"],"query":[],"variable":[{"type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"ecf425af-3514-47b2-9b52-371c58278256"}],"id":"2164da54-3abc-4bec-98e3-d190909b8a93","description":"<p>The Symfoni agent acts as an issuer and a verifier the SSI flow. Its main purpose is to receive verifiable presentations and determine if the entity that sent the presentation has been employed and or terminated by the company. The second purpose of the Symfoni agent is to issue employment and termination verifiable credentials to people that has been hired and or terminated by the company.</p>\n","_postman_id":"2164da54-3abc-4bec-98e3-d190909b8a93"}],"variable":[{"key":"did","value":"1234"}]}