{"openapi":"3.1.0","info":{"title":"API [prod Environment]","description":"Third party integrations [prod Environment]","version":"0.0.1"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/amendments":{"put":{"operationId":"api_amendments_put","tags":["Amendment"],"responses":{"200":{"description":"Amendment resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Amendment-amendment.put"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Amendment.jsonld-amendment.put"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Amendment-amendment.put"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Amendment resource.","description":"Replaces the Amendment resource.","parameters":[],"requestBody":{"description":"The updated Amendment resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Amendment-amendment.write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Amendment.jsonld-amendment.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Amendment-amendment.write"}}},"required":true},"deprecated":false}},"\/api\/amendments\/document\/{dealDocumentId}":{"get":{"operationId":"api_amendmentsdocument_dealDocumentId_get","tags":["Amendment"],"responses":{"200":{"description":"Amendment resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Amendment-amendment.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Amendment.jsonld-amendment.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Amendment-amendment.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Amendment resource.","description":"Retrieves a Amendment resource.","parameters":[{"name":"dealDocumentId","in":"path","description":"Amendment identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}},"\/api\/clients\/{id}":{"put":{"operationId":"api_clients_id_put","tags":["Client"],"responses":{"200":{"description":"Client resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Client-client.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Client.jsonld-client.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Client-client.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Client resource.","description":"Replaces the Client resource.","parameters":[{"name":"id","in":"path","description":"Client identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Client resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Client-client.update"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Client.jsonld-client.update"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Client-client.update"}}},"required":true},"deprecated":false}},"\/api\/deals":{"put":{"operationId":"api_deals_put","tags":["Deal"],"responses":{"200":{"description":"Deal resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Deal.jsonld-deal.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Deal resource.","description":"Replaces the Deal resource.","parameters":[],"requestBody":{"description":"The updated Deal resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Deal.jsonld-deal.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.write"}}},"required":true},"deprecated":false},"post":{"operationId":"api_deals_post","tags":["Deal"],"responses":{"201":{"description":"Deal resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Deal.jsonld-deal.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Deal resource.","description":"Creates a Deal resource.","parameters":[],"requestBody":{"description":"The new Deal resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Deal.jsonld-deal.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Deal-deal.write"}}},"required":true},"deprecated":false}},"\/api\/deals\/cancel":{"put":{"operationId":"api_dealscancel_put","tags":["Deal"],"responses":{"200":{"description":"Deal resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Deal"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Deal.jsonld"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Deal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Deal resource.","description":"Replaces the Deal resource.","parameters":[],"requestBody":{"description":"The updated Deal resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Deal.CancelDealDto-deal.cancel"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Deal.CancelDealDto.jsonld-deal.cancel"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Deal.CancelDealDto-deal.cancel"}}},"required":true},"deprecated":false}},"\/api\/proposals":{"get":{"operationId":"api_proposals_get_collection","tags":["ExternalProposal"],"responses":{"200":{"description":"ExternalProposal collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExternalProposal-proposal.read"}}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExternalProposal.jsonld-proposal.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExternalProposal-proposal.read"}}}}}},"summary":"List commercial proposals","description":"Returns proposals filtered by query parameters. Available filters: `status` (queue|readed|sended), `from` + `to` date range (Y-m-d), `contractId`.","parameters":[{"name":"status","in":"query","description":"Filter by proposal status. Allowed values: `queue`, `readed`, `sended`. Defaults to `queue`.","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","enum":["queue","readed","sended"],"example":"queue"},"style":"form","explode":false,"allowReserved":false},{"name":"from","in":"query","description":"Start date of research date range filter (Y-m-d). Must be used together with `to`.","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","format":"date","example":"2025-01-01"},"style":"form","explode":false,"allowReserved":false},{"name":"to","in":"query","description":"End date of research date range filter (Y-m-d). Must be used together with `from`.","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","format":"date","example":"2025-12-31"},"style":"form","explode":false,"allowReserved":false},{"name":"contractId","in":"query","description":"Filter proposals by Gapp contract ID.","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","example":"12345"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false}},"\/api\/proposals\/{idProposal}":{"get":{"operationId":"api_proposals_idProposal_get","tags":["ExternalProposal"],"responses":{"200":{"description":"ExternalProposal resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExternalProposal-proposal.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExternalProposal.jsonld-proposal.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExternalProposal-proposal.read"}}}},"404":{"description":"Resource not found"}},"summary":"Get a proposal by ID","description":"Returns the full detail of a single commercial proposal including all associated risk factors grouped by commercial classification.","parameters":[{"name":"idProposal","in":"path","description":"UUID of the proposal.","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","format":"uuid","example":"01929f4e-1234-6abc-9def-000000000000"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}},"\/api\/proposals\/{idProposal}\/mark-readed":{"patch":{"operationId":"api_proposals_idProposalmark-readed_patch","tags":["ExternalProposal"],"responses":{"200":{"description":"ExternalProposal resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExternalProposal-proposal.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExternalProposal.jsonld-proposal.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExternalProposal-proposal.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Mark proposal as read","description":"Transitions the proposal status from `queue` to `readed`. Returns the updated proposal.","parameters":[{"name":"idProposal","in":"path","description":"UUID of the proposal to mark as read.","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","format":"uuid","example":"01929f4e-1234-6abc-9def-000000000000"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"Empty body \u2014 no payload required.","content":{"application\/merge-patch+json":{"schema":{"type":"object"}}},"required":false},"deprecated":false}},"\/api\/auth":{"post":{"operationId":"login_check_post","tags":["Login Check"],"responses":{"200":{"description":"User token created","content":{"application\/json":{"schema":{"type":"object","properties":{"token":{"readOnly":true,"type":"string","nullable":false}},"required":["token"]}}}}},"summary":"Creates a user token.","description":"Creates a user token.","requestBody":{"description":"The login data","content":{"application\/json":{"schema":{"type":"object","properties":{"username":{"type":"string","nullable":false},"password":{"type":"string","nullable":false}},"required":["username","password"]}}},"required":true}}},"\/api\/security\/generate-login-link\/{username}":{"get":{"operationId":"api_securitygenerate-login-link_username_get","tags":["LoginLink"],"responses":{"200":{"description":"Login link generated successfully","content":{"application\/json":{"schema":{"type":"object","properties":{"loginLink":{"type":"string"},"username":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}}}}}},"404":{"description":"User not found"}},"summary":"Generate login link for user","description":"Generates a temporary login link for the specified user","parameters":[{"name":"username","in":"path","description":"Username of the user","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}},"\/api\/managers\/{id}":{"put":{"operationId":"api_managers_id_put","tags":["Manager"],"responses":{"200":{"description":"Manager resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Manager-manager.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Manager.jsonld-manager.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Manager-manager.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Manager resource.","description":"Replaces the Manager resource.","parameters":[{"name":"id","in":"path","description":"Manager identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Manager resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Manager-manager.write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Manager.jsonld-manager.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Manager-manager.write"}}},"required":true},"deprecated":false}},"\/api\/workers":{"post":{"operationId":"api_workers_post","tags":["Worker"],"responses":{"201":{"description":"Worker resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Worker-worker.read"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Worker.jsonld-worker.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Worker-worker.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Worker resource.","description":"Creates a Worker resource.","parameters":[],"requestBody":{"description":"The new Worker resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Worker-worker.write"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Worker.jsonld-worker.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Worker-worker.write"}}},"required":true},"deprecated":false}}},"components":{"schemas":{"AddressDto-client.update":{"type":"object","description":"","deprecated":false,"required":["street","number","city","zipcode","state"],"properties":{"street":{"minLength":2,"maxLength":255,"type":"string"},"number":{"minLength":1,"maxLength":10,"type":"string"},"city":{"minLength":2,"maxLength":100,"type":"string"},"zipcode":{"pattern":"^(\\d{5})$","type":"string"},"state":{"minLength":2,"maxLength":100,"type":"string"}}},"AddressDto.jsonld-client.update":{"type":"object","description":"","deprecated":false,"required":["street","number","city","zipcode","state"],"properties":{"street":{"minLength":2,"maxLength":255,"type":"string"},"number":{"minLength":1,"maxLength":10,"type":"string"},"city":{"minLength":2,"maxLength":100,"type":"string"},"zipcode":{"pattern":"^(\\d{5})$","type":"string"},"state":{"minLength":2,"maxLength":100,"type":"string"}}},"AgentDto":{"type":"object","description":"","deprecated":false,"required":["firstName","documentNumber","phone"],"properties":{"firstName":{"minLength":2,"maxLength":100,"description":"Agent first name","type":"string"},"lastName":{"description":"Agent last name","type":["string","null"]},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Agent Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"memberNumber":{"maxLength":50,"description":"Agent member number (optional)","type":["string","null"]},"phone":{"description":"Agent phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto"},"fullName":{"readOnly":true,"type":"string"}}},"AgentDto-deal.read":{"type":"object","description":"","deprecated":false,"required":["firstName","documentNumber","phone"],"properties":{"firstName":{"minLength":2,"maxLength":100,"description":"Agent first name","type":"string"},"lastName":{"description":"Agent last name","type":["string","null"]},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Agent Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"memberNumber":{"maxLength":50,"description":"Agent member number (optional)","type":["string","null"]},"phone":{"description":"Agent phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto-deal.read"}}},"AgentDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["firstName","documentNumber","phone"],"properties":{"firstName":{"minLength":2,"maxLength":100,"description":"Agent first name","type":"string"},"lastName":{"description":"Agent last name","type":["string","null"]},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Agent Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"memberNumber":{"maxLength":50,"description":"Agent member number (optional)","type":["string","null"]},"phone":{"description":"Agent phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto-deal.write"}}},"AgentDto-manager.read":{"type":"object","description":"","deprecated":false},"AgentDto.jsonld":{"type":"object","description":"","deprecated":false,"required":["firstName","documentNumber","phone"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"firstName":{"minLength":2,"maxLength":100,"description":"Agent first name","type":"string"},"lastName":{"description":"Agent last name","type":["string","null"]},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Agent Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"memberNumber":{"maxLength":50,"description":"Agent member number (optional)","type":["string","null"]},"phone":{"description":"Agent phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld"},"fullName":{"readOnly":true,"type":"string"}}},"AgentDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"required":["firstName","documentNumber","phone"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"firstName":{"minLength":2,"maxLength":100,"description":"Agent first name","type":"string"},"lastName":{"description":"Agent last name","type":["string","null"]},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Agent Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"memberNumber":{"maxLength":50,"description":"Agent member number (optional)","type":["string","null"]},"phone":{"description":"Agent phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-deal.read"}}},"AgentDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["firstName","documentNumber","phone"],"properties":{"firstName":{"minLength":2,"maxLength":100,"description":"Agent first name","type":"string"},"lastName":{"description":"Agent last name","type":["string","null"]},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Agent Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"memberNumber":{"maxLength":50,"description":"Agent member number (optional)","type":["string","null"]},"phone":{"description":"Agent phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-deal.write"}}},"AgentDto.jsonld-manager.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Amendment-amendment.put":{"type":"object","description":"Create or update amendment document for a deal","deprecated":false,"properties":{"dealDocumentId":{"description":"Deal document identifier","type":["string","null"]},"idService":{"minLength":1,"maxLength":255,"description":"Service identifier","type":"string"},"externalDocumentId":{"minLength":1,"maxLength":255,"description":"External document identifier","type":"string"},"title":{"minLength":1,"maxLength":255,"description":"Document title","type":"string"}},"required":["idService","externalDocumentId","title"]},"Amendment-amendment.read":{"type":"object","description":"Get amendment document by deal document ID","deprecated":false,"properties":{"dealDocumentId":{"description":"Deal document identifier","type":["string","null"]},"idService":{"minLength":1,"maxLength":255,"description":"Service identifier","type":"string"},"externalDocumentId":{"minLength":1,"maxLength":255,"description":"External document identifier","type":"string"},"documentBase64":{"description":"Base64 encoded document content","type":"string"},"title":{"minLength":1,"maxLength":255,"description":"Document title","type":"string"}},"required":["idService","externalDocumentId","documentBase64","title"]},"Amendment-amendment.write":{"type":"object","description":"Create or update amendment document for a deal","deprecated":false,"required":["idService","externalDocumentId","documentBase64","title"],"properties":{"idService":{"minLength":1,"maxLength":255,"description":"Service identifier","type":"string"},"externalDocumentId":{"minLength":1,"maxLength":255,"description":"External document identifier","type":"string"},"documentBase64":{"description":"Base64 encoded document content","type":"string"},"title":{"minLength":1,"maxLength":255,"description":"Document title","type":"string"}}},"Amendment.jsonld-amendment.put":{"type":"object","description":"Create or update amendment document for a deal","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"dealDocumentId":{"description":"Deal document identifier","type":["string","null"]},"idService":{"minLength":1,"maxLength":255,"description":"Service identifier","type":"string"},"externalDocumentId":{"minLength":1,"maxLength":255,"description":"External document identifier","type":"string"},"title":{"minLength":1,"maxLength":255,"description":"Document title","type":"string"}},"required":["idService","externalDocumentId","title"]},"Amendment.jsonld-amendment.read":{"type":"object","description":"Get amendment document by deal document ID","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"dealDocumentId":{"description":"Deal document identifier","type":["string","null"]},"idService":{"minLength":1,"maxLength":255,"description":"Service identifier","type":"string"},"externalDocumentId":{"minLength":1,"maxLength":255,"description":"External document identifier","type":"string"},"documentBase64":{"description":"Base64 encoded document content","type":"string"},"title":{"minLength":1,"maxLength":255,"description":"Document title","type":"string"}},"required":["idService","externalDocumentId","documentBase64","title"]},"Amendment.jsonld-amendment.write":{"type":"object","description":"Create or update amendment document for a deal","deprecated":false,"required":["idService","externalDocumentId","documentBase64","title"],"properties":{"idService":{"minLength":1,"maxLength":255,"description":"Service identifier","type":"string"},"externalDocumentId":{"minLength":1,"maxLength":255,"description":"External document identifier","type":"string"},"documentBase64":{"description":"Base64 encoded document content","type":"string"},"title":{"minLength":1,"maxLength":255,"description":"Document title","type":"string"}}},"BillingDto":{"type":"object","description":"","deprecated":false,"required":["bankAccount"],"properties":{"bankAccount":{"externalDocs":{"url":"https:\/\/schema.org\/identifier"},"type":"string"},"billingZipCode":{"maxLength":10,"type":["string","null"]},"billingDocumentNumber":{"type":["string","null"]},"billingCompanyName":{"type":["string","null"]},"billingAddress":{"type":["string","null"]}}},"BillingDto-deal.read":{"type":"object","description":"","deprecated":false,"required":["bankAccount"],"properties":{"bankAccount":{"externalDocs":{"url":"https:\/\/schema.org\/identifier"},"type":"string"},"billingZipCode":{"maxLength":10,"type":["string","null"]},"billingDocumentNumber":{"type":["string","null"]},"billingCompanyName":{"type":["string","null"]},"billingAddress":{"type":["string","null"]}}},"BillingDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["bankAccount"],"properties":{"bankAccount":{"externalDocs":{"url":"https:\/\/schema.org\/identifier"},"type":"string"},"billingZipCode":{"maxLength":10,"type":["string","null"]},"billingDocumentNumber":{"type":["string","null"]},"billingCompanyName":{"type":["string","null"]},"billingAddress":{"type":["string","null"]}}},"BillingDto.jsonld":{"type":"object","description":"","deprecated":false,"required":["bankAccount"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"bankAccount":{"externalDocs":{"url":"https:\/\/schema.org\/identifier"},"type":"string"},"billingZipCode":{"maxLength":10,"type":["string","null"]},"billingDocumentNumber":{"type":["string","null"]},"billingCompanyName":{"type":["string","null"]},"billingAddress":{"type":["string","null"]}}},"BillingDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"required":["bankAccount"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"bankAccount":{"externalDocs":{"url":"https:\/\/schema.org\/identifier"},"type":"string"},"billingZipCode":{"maxLength":10,"type":["string","null"]},"billingDocumentNumber":{"type":["string","null"]},"billingCompanyName":{"type":["string","null"]},"billingAddress":{"type":["string","null"]}}},"BillingDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["bankAccount"],"properties":{"bankAccount":{"externalDocs":{"url":"https:\/\/schema.org\/identifier"},"type":"string"},"billingZipCode":{"maxLength":10,"type":["string","null"]},"billingDocumentNumber":{"type":["string","null"]},"billingCompanyName":{"type":["string","null"]},"billingAddress":{"type":["string","null"]}}},"Client-client.read":{"type":"object","description":"Update client information","deprecated":false,"properties":{"idClient":{"description":"Internal client identifier","type":["string","null"]},"externalId":{"description":"External client identifier","type":["string","null"]},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":["string","null"]},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]},"contact":{"type":"object","properties":{"name":{"type":"string","description":"Contact person name","example":"Juan P\u00e9rez"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"apartment":{"type":"string","description":"Apartment number or identifier","example":"3A"},"otherInformation":{"type":"string","description":"Additional contact information","example":"Ring the bell twice"}},"required":["name","phone","apartment"]}},"required":["externalId","name","email","documentNumber","address","contact"]},"Client-client.update":{"type":"object","description":"","deprecated":false,"required":["name","address","contact","phone"],"properties":{"name":{"minLength":2,"maxLength":255,"description":"Client name","example":"Empresa Ejemplo S.L.","type":["string","null"]},"address":{"description":"Client full address","example":{"street":"Calle Gran V\u00eda","number":"123","city":"Madrid","zipcode":"28001","state":"Madrid"},"anyOf":[{"$ref":"#\/components\/schemas\/AddressDto-client.update"},{"type":"null"}]},"contact":{"description":"Client contact information","example":{"name":"Juan P\u00e9rez","phone":{"number":"612345678"},"apartment":"3A","otherInformation":"Available weekdays"},"anyOf":[{"$ref":"#\/components\/schemas\/ContactDto-client.update"},{"type":"null"}]},"phone":{"description":"Client phone number","example":{"number":"612345678"},"anyOf":[{"$ref":"#\/components\/schemas\/PhoneDto-client.update"},{"type":"null"}]}}},"Client-client.write":{"type":"object","description":"Update client information","deprecated":false,"required":["name","email","address","contact"],"properties":{"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]},"contact":{"type":"object","properties":{"name":{"type":"string","description":"Contact person name","example":"Juan P\u00e9rez"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"apartment":{"type":"string","description":"Apartment number or identifier","example":"3A"},"otherInformation":{"type":"string","description":"Additional contact information","example":"Ring the bell twice"}},"required":["name","phone","apartment"]}}},"Client.jsonld-client.read":{"type":"object","description":"Update client information","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"idClient":{"description":"Internal client identifier","type":["string","null"]},"externalId":{"description":"External client identifier","type":["string","null"]},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":["string","null"]},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]},"contact":{"type":"object","properties":{"name":{"type":"string","description":"Contact person name","example":"Juan P\u00e9rez"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"apartment":{"type":"string","description":"Apartment number or identifier","example":"3A"},"otherInformation":{"type":"string","description":"Additional contact information","example":"Ring the bell twice"}},"required":["name","phone","apartment"]}},"required":["externalId","name","email","documentNumber","address","contact"]},"Client.jsonld-client.update":{"type":"object","description":"","deprecated":false,"required":["name","address","contact","phone"],"properties":{"name":{"minLength":2,"maxLength":255,"description":"Client name","example":"Empresa Ejemplo S.L.","type":["string","null"]},"address":{"description":"Client full address","example":{"street":"Calle Gran V\u00eda","number":"123","city":"Madrid","zipcode":"28001","state":"Madrid"},"anyOf":[{"$ref":"#\/components\/schemas\/AddressDto.jsonld-client.update"},{"type":"null"}]},"contact":{"description":"Client contact information","example":{"name":"Juan P\u00e9rez","phone":{"number":"612345678"},"apartment":"3A","otherInformation":"Available weekdays"},"anyOf":[{"$ref":"#\/components\/schemas\/ContactDto.jsonld-client.update"},{"type":"null"}]},"phone":{"description":"Client phone number","example":{"number":"612345678"},"anyOf":[{"$ref":"#\/components\/schemas\/PhoneDto.jsonld-client.update"},{"type":"null"}]}}},"Client.jsonld-client.write":{"type":"object","description":"Update client information","deprecated":false,"required":["name","email","address","contact"],"properties":{"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]},"contact":{"type":"object","properties":{"name":{"type":"string","description":"Contact person name","example":"Juan P\u00e9rez"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"apartment":{"type":"string","description":"Apartment number or identifier","example":"3A"},"otherInformation":{"type":"string","description":"Additional contact information","example":"Ring the bell twice"}},"required":["name","phone","apartment"]}}},"ClientDto":{"type":"object","description":"","deprecated":false,"properties":{"idClient":{"readOnly":true,"description":"Internal client identifier","type":"string"},"externalId":{"description":"External client identifier","type":"string"},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"description":"Client full address","anyOf":[{"$ref":"#\/components\/schemas\/Dto.AddressDto"},{"type":"null"}]},"contact":{"description":"Client contact information","anyOf":[{"$ref":"#\/components\/schemas\/Dto.ContactDto"},{"type":"null"}]}},"required":["externalId","name","email","documentNumber","address","contact"]},"ClientDto-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"idClient":{"readOnly":true,"description":"Internal client identifier","type":"string"},"externalId":{"description":"External client identifier","type":"string"},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"description":"Client full address","anyOf":[{"$ref":"#\/components\/schemas\/Dto.AddressDto-deal.read"},{"type":"null"}]},"contact":{"description":"Client contact information","anyOf":[{"$ref":"#\/components\/schemas\/Dto.ContactDto-deal.read"},{"type":"null"}]}},"required":["externalId","name","email","documentNumber","address","contact"]},"ClientDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["externalId","name","email","documentNumber","address","contact"],"properties":{"externalId":{"description":"External client identifier","type":"string"},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"description":"Client full address","anyOf":[{"$ref":"#\/components\/schemas\/Dto.AddressDto-deal.write"},{"type":"null"}]},"contact":{"description":"Client contact information","anyOf":[{"$ref":"#\/components\/schemas\/Dto.ContactDto-deal.write"},{"type":"null"}]}}},"ClientDto.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"idClient":{"readOnly":true,"description":"Internal client identifier","type":"string"},"externalId":{"description":"External client identifier","type":"string"},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"description":"Client full address","anyOf":[{"$ref":"#\/components\/schemas\/Dto.AddressDto.jsonld"},{"type":"null"}]},"contact":{"description":"Client contact information","anyOf":[{"$ref":"#\/components\/schemas\/Dto.ContactDto.jsonld"},{"type":"null"}]}},"required":["externalId","name","email","documentNumber","address","contact"]},"ClientDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"idClient":{"readOnly":true,"description":"Internal client identifier","type":"string"},"externalId":{"description":"External client identifier","type":"string"},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"description":"Client full address","anyOf":[{"$ref":"#\/components\/schemas\/Dto.AddressDto.jsonld-deal.read"},{"type":"null"}]},"contact":{"description":"Client contact information","anyOf":[{"$ref":"#\/components\/schemas\/Dto.ContactDto.jsonld-deal.read"},{"type":"null"}]}},"required":["externalId","name","email","documentNumber","address","contact"]},"ClientDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["externalId","name","email","documentNumber","address","contact"],"properties":{"externalId":{"description":"External client identifier","type":"string"},"name":{"minLength":2,"maxLength":255,"description":"Client name","type":"string"},"email":{"format":"email","pattern":"^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$","description":"Client email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"client@example.com","type":"string"},"documentNumber":{"description":"Spanish CIF\/NIF\/NIE document number","example":"B12345678","type":"string"},"activity":{"description":"Client business activity","type":["string","null"]},"address":{"description":"Client full address","anyOf":[{"$ref":"#\/components\/schemas\/Dto.AddressDto.jsonld-deal.write"},{"type":"null"}]},"contact":{"description":"Client contact information","anyOf":[{"$ref":"#\/components\/schemas\/Dto.ContactDto.jsonld-deal.write"},{"type":"null"}]}}},"ContactDto-client.update":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"name":{"minLength":2,"maxLength":255,"type":"string"},"phone":{"$ref":"#\/components\/schemas\/PhoneDto-client.update"},"apartment":{"type":["string","null"]},"otherInformation":{"type":["string","null"]}}},"ContactDto.jsonld-client.update":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"name":{"minLength":2,"maxLength":255,"type":"string"},"phone":{"$ref":"#\/components\/schemas\/PhoneDto.jsonld-client.update"},"apartment":{"type":["string","null"]},"otherInformation":{"type":["string","null"]}}},"Deal":{"type":"object","description":"Cancel deal service","deprecated":false,"properties":{"client":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientDto"},{"type":"null"}]},"service":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceDto"},{"type":"null"}]},"manager":{"anyOf":[{"$ref":"#\/components\/schemas\/ManagerDto"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingDto"},{"type":"null"}]},"workers":{"type":"array","items":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Spanish DNI\/NIE document number","example":"12345678Z"},"name":{"type":"string","description":"Worker first name","example":"Juan"},"lastname":{"type":"string","description":"Worker last name","example":"P\u00e9rez"},"activity":{"type":"string","description":"Worker activity\/job description","example":"Software Development"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone number","example":"612345678"}}},"email":{"type":"string","format":"email","description":"Worker email address","example":"juan.perez@example.com"}},"required":["documentNumber","name","lastname","activity"]}},"contractDocument":{"type":"object","properties":{"externalDocumentId":{"type":"string","description":"External document identifier","example":"DOC-2025-001"},"content":{"type":"string","description":"Base64 encoded document content","example":"JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCg=="}},"required":["externalDocumentId","content"]},"additionalData":{"type":["array","null"],"items":{"type":"string"}}}},"Deal-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"client":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientDto-deal.read"},{"type":"null"}]},"service":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceDto-deal.read"},{"type":"null"}]},"manager":{"anyOf":[{"$ref":"#\/components\/schemas\/ManagerDto-deal.read"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingDto-deal.read"},{"type":"null"}]},"workers":{"type":"array","items":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Spanish DNI\/NIE document number","example":"12345678Z"},"name":{"type":"string","description":"Worker first name","example":"Juan"},"lastname":{"type":"string","description":"Worker last name","example":"P\u00e9rez"},"activity":{"type":"string","description":"Worker activity\/job description","example":"Software Development"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone number","example":"612345678"}}},"email":{"type":"string","format":"email","description":"Worker email address","example":"juan.perez@example.com"}},"required":["documentNumber","name","lastname","activity"]}},"additionalData":{"type":["array","null"],"items":{"type":"string"}}}},"Deal-deal.write":{"type":"object","description":"","deprecated":false,"properties":{"client":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientDto-deal.write"},{"type":"null"}]},"service":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceDto-deal.write"},{"type":"null"}]},"manager":{"anyOf":[{"$ref":"#\/components\/schemas\/ManagerDto-deal.write"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingDto-deal.write"},{"type":"null"}]},"workers":{"type":"array","items":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Spanish DNI\/NIE document number","example":"12345678Z"},"name":{"type":"string","description":"Worker first name","example":"Juan"},"lastname":{"type":"string","description":"Worker last name","example":"P\u00e9rez"},"activity":{"type":"string","description":"Worker activity\/job description","example":"Software Development"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone number","example":"612345678"}}},"email":{"type":"string","format":"email","description":"Worker email address","example":"juan.perez@example.com"}},"required":["documentNumber","name","lastname","activity"]}},"contractDocument":{"type":"object","properties":{"externalDocumentId":{"type":"string","description":"External document identifier","example":"DOC-2025-001"},"content":{"type":"string","description":"Base64 encoded document content","example":"JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCg=="}},"required":["externalDocumentId","content"]},"additionalData":{"type":["array","null"],"items":{"type":"string"}}}},"Deal.CancelDealDto-deal.cancel":{"type":"object","description":"Cancel deal service","deprecated":false,"required":["externalId","cancelDate"],"properties":{"externalId":{"type":"string"},"cancelDate":{"pattern":"^(.*(^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\+\\d{2}:\\d{2}|Z)?)?$).*)$","type":"string"},"reason":{"type":["string","null"]}}},"Deal.CancelDealDto.jsonld-deal.cancel":{"type":"object","description":"Cancel deal service","deprecated":false,"required":["externalId","cancelDate"],"properties":{"externalId":{"type":"string"},"cancelDate":{"pattern":"^(.*(^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\+\\d{2}:\\d{2}|Z)?)?$).*)$","type":"string"},"reason":{"type":["string","null"]}}},"Deal.jsonld":{"type":"object","description":"Cancel deal service","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"client":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientDto.jsonld"},{"type":"null"}]},"service":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceDto.jsonld"},{"type":"null"}]},"manager":{"anyOf":[{"$ref":"#\/components\/schemas\/ManagerDto.jsonld"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingDto.jsonld"},{"type":"null"}]},"workers":{"type":"array","items":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Spanish DNI\/NIE document number","example":"12345678Z"},"name":{"type":"string","description":"Worker first name","example":"Juan"},"lastname":{"type":"string","description":"Worker last name","example":"P\u00e9rez"},"activity":{"type":"string","description":"Worker activity\/job description","example":"Software Development"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone number","example":"612345678"}}},"email":{"type":"string","format":"email","description":"Worker email address","example":"juan.perez@example.com"}},"required":["documentNumber","name","lastname","activity"]}},"contractDocument":{"type":"object","properties":{"externalDocumentId":{"type":"string","description":"External document identifier","example":"DOC-2025-001"},"content":{"type":"string","description":"Base64 encoded document content","example":"JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCg=="}},"required":["externalDocumentId","content"]},"additionalData":{"type":["array","null"],"items":{"type":"string"}}}},"Deal.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"client":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientDto.jsonld-deal.read"},{"type":"null"}]},"service":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceDto.jsonld-deal.read"},{"type":"null"}]},"manager":{"anyOf":[{"$ref":"#\/components\/schemas\/ManagerDto.jsonld-deal.read"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingDto.jsonld-deal.read"},{"type":"null"}]},"workers":{"type":"array","items":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Spanish DNI\/NIE document number","example":"12345678Z"},"name":{"type":"string","description":"Worker first name","example":"Juan"},"lastname":{"type":"string","description":"Worker last name","example":"P\u00e9rez"},"activity":{"type":"string","description":"Worker activity\/job description","example":"Software Development"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone number","example":"612345678"}}},"email":{"type":"string","format":"email","description":"Worker email address","example":"juan.perez@example.com"}},"required":["documentNumber","name","lastname","activity"]}},"additionalData":{"type":["array","null"],"items":{"type":"string"}}}},"Deal.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"properties":{"client":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientDto.jsonld-deal.write"},{"type":"null"}]},"service":{"anyOf":[{"$ref":"#\/components\/schemas\/ServiceDto.jsonld-deal.write"},{"type":"null"}]},"manager":{"anyOf":[{"$ref":"#\/components\/schemas\/ManagerDto.jsonld-deal.write"},{"type":"null"}]},"billing":{"anyOf":[{"$ref":"#\/components\/schemas\/BillingDto.jsonld-deal.write"},{"type":"null"}]},"workers":{"type":"array","items":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Spanish DNI\/NIE document number","example":"12345678Z"},"name":{"type":"string","description":"Worker first name","example":"Juan"},"lastname":{"type":"string","description":"Worker last name","example":"P\u00e9rez"},"activity":{"type":"string","description":"Worker activity\/job description","example":"Software Development"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Phone number","example":"612345678"}}},"email":{"type":"string","format":"email","description":"Worker email address","example":"juan.perez@example.com"}},"required":["documentNumber","name","lastname","activity"]}},"contractDocument":{"type":"object","properties":{"externalDocumentId":{"type":"string","description":"External document identifier","example":"DOC-2025-001"},"content":{"type":"string","description":"Base64 encoded document content","example":"JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCg=="}},"required":["externalDocumentId","content"]},"additionalData":{"type":["array","null"],"items":{"type":"string"}}}},"Dto.AddressDto":{"type":"object","description":"","deprecated":false,"required":["street","city","zipcode","state"],"properties":{"street":{"minLength":2,"maxLength":255,"description":"Street name","type":"string"},"number":{"description":"Street number","type":["string","null"]},"city":{"minLength":2,"maxLength":100,"description":"City name","type":"string"},"zipcode":{"pattern":"^(\\d{5})$","description":"Postal code (5 digits)","example":"28001","type":"string"},"state":{"minLength":2,"maxLength":100,"description":"State or province","type":"string"},"fullAddress":{"readOnly":true,"description":"Get full formatted address as string","type":"string"}}},"Dto.AddressDto-deal.read":{"type":"object","description":"","deprecated":false,"required":["street","city","zipcode","state"],"properties":{"street":{"minLength":2,"maxLength":255,"description":"Street name","type":"string"},"number":{"description":"Street number","type":["string","null"]},"city":{"minLength":2,"maxLength":100,"description":"City name","type":"string"},"zipcode":{"pattern":"^(\\d{5})$","description":"Postal code (5 digits)","example":"28001","type":"string"},"state":{"minLength":2,"maxLength":100,"description":"State or province","type":"string"}}},"Dto.AddressDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["street","city","zipcode","state"],"properties":{"street":{"minLength":2,"maxLength":255,"description":"Street name","type":"string"},"number":{"description":"Street number","type":["string","null"]},"city":{"minLength":2,"maxLength":100,"description":"City name","type":"string"},"zipcode":{"pattern":"^(\\d{5})$","description":"Postal code (5 digits)","example":"28001","type":"string"},"state":{"minLength":2,"maxLength":100,"description":"State or province","type":"string"}}},"Dto.AddressDto.jsonld":{"type":"object","description":"","deprecated":false,"required":["street","city","zipcode","state"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"street":{"minLength":2,"maxLength":255,"description":"Street name","type":"string"},"number":{"description":"Street number","type":["string","null"]},"city":{"minLength":2,"maxLength":100,"description":"City name","type":"string"},"zipcode":{"pattern":"^(\\d{5})$","description":"Postal code (5 digits)","example":"28001","type":"string"},"state":{"minLength":2,"maxLength":100,"description":"State or province","type":"string"},"fullAddress":{"readOnly":true,"description":"Get full formatted address as string","type":"string"}}},"Dto.AddressDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"required":["street","city","zipcode","state"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"street":{"minLength":2,"maxLength":255,"description":"Street name","type":"string"},"number":{"description":"Street number","type":["string","null"]},"city":{"minLength":2,"maxLength":100,"description":"City name","type":"string"},"zipcode":{"pattern":"^(\\d{5})$","description":"Postal code (5 digits)","example":"28001","type":"string"},"state":{"minLength":2,"maxLength":100,"description":"State or province","type":"string"}}},"Dto.AddressDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["street","city","zipcode","state"],"properties":{"street":{"minLength":2,"maxLength":255,"description":"Street name","type":"string"},"number":{"description":"Street number","type":["string","null"]},"city":{"minLength":2,"maxLength":100,"description":"City name","type":"string"},"zipcode":{"pattern":"^(\\d{5})$","description":"Postal code (5 digits)","example":"28001","type":"string"},"state":{"minLength":2,"maxLength":100,"description":"State or province","type":"string"}}},"Dto.ContactDto":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"name":{"minLength":2,"maxLength":100,"description":"Contact person name","type":"string"},"phone":{"description":"Contact phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto"},"apartment":{"description":"Apartment number or identifier","type":["string","null"]},"otherInformation":{"maxLength":500,"description":"Additional contact information","type":["string","null"]},"fullContact":{"readOnly":true,"description":"Get full contact information as string","type":"string"}}},"Dto.ContactDto-deal.read":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"name":{"minLength":2,"maxLength":100,"description":"Contact person name","type":"string"},"phone":{"description":"Contact phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto-deal.read"},"apartment":{"description":"Apartment number or identifier","type":["string","null"]},"otherInformation":{"maxLength":500,"description":"Additional contact information","type":["string","null"]}}},"Dto.ContactDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"name":{"minLength":2,"maxLength":100,"description":"Contact person name","type":"string"},"phone":{"description":"Contact phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto-deal.write"},"apartment":{"description":"Apartment number or identifier","type":["string","null"]},"otherInformation":{"maxLength":500,"description":"Additional contact information","type":["string","null"]}}},"Dto.ContactDto.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"minLength":2,"maxLength":100,"description":"Contact person name","type":"string"},"phone":{"description":"Contact phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld"},"apartment":{"description":"Apartment number or identifier","type":["string","null"]},"otherInformation":{"maxLength":500,"description":"Additional contact information","type":["string","null"]},"fullContact":{"readOnly":true,"description":"Get full contact information as string","type":"string"}}},"Dto.ContactDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"minLength":2,"maxLength":100,"description":"Contact person name","type":"string"},"phone":{"description":"Contact phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-deal.read"},"apartment":{"description":"Apartment number or identifier","type":["string","null"]},"otherInformation":{"maxLength":500,"description":"Additional contact information","type":["string","null"]}}},"Dto.ContactDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["name","phone"],"properties":{"name":{"minLength":2,"maxLength":100,"description":"Contact person name","type":"string"},"phone":{"description":"Contact phone number","$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-deal.write"},"apartment":{"description":"Apartment number or identifier","type":["string","null"]},"otherInformation":{"maxLength":500,"description":"Additional contact information","type":["string","null"]}}},"Dto.PhoneDto":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"number":{"pattern":"^([6789]\\d{8})$","description":"Spanish mobile phone number (9 digits starting with 6, 7, 8, or 9)","example":"612345678","type":"string"},"formattedNumber":{"readOnly":true,"type":"string"},"validSpanishMobile":{"readOnly":true,"type":"boolean"}}},"Dto.PhoneDto-deal.read":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"number":{"pattern":"^([6789]\\d{8})$","description":"Spanish mobile phone number (9 digits starting with 6, 7, 8, or 9)","example":"612345678","type":"string"}}},"Dto.PhoneDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"number":{"pattern":"^([6789]\\d{8})$","description":"Spanish mobile phone number (9 digits starting with 6, 7, 8, or 9)","example":"612345678","type":"string"}}},"Dto.PhoneDto-worker.read":{"type":"object","description":"","deprecated":false},"Dto.PhoneDto-worker.write":{"type":"object","description":"","deprecated":false},"Dto.PhoneDto.jsonld":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"number":{"pattern":"^([6789]\\d{8})$","description":"Spanish mobile phone number (9 digits starting with 6, 7, 8, or 9)","example":"612345678","type":"string"},"formattedNumber":{"readOnly":true,"type":"string"},"validSpanishMobile":{"readOnly":true,"type":"boolean"}}},"Dto.PhoneDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"number":{"pattern":"^([6789]\\d{8})$","description":"Spanish mobile phone number (9 digits starting with 6, 7, 8, or 9)","example":"612345678","type":"string"}}},"Dto.PhoneDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"number":{"pattern":"^([6789]\\d{8})$","description":"Spanish mobile phone number (9 digits starting with 6, 7, 8, or 9)","example":"612345678","type":"string"}}},"Dto.PhoneDto.jsonld-worker.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Dto.PhoneDto.jsonld-worker.write":{"type":"object","description":"","deprecated":false},"ExternalProposal-proposal.read":{"type":"object","description":"List commercial proposals. Filter by status, date range, or contractId. Defaults to status=queue when no filters provided.","deprecated":false,"properties":{"idProposal":{"description":"Unique identifier of the proposal (UUID v6).","example":"01929f4e-1234-6abc-9def-000000000000","type":"string"},"contractId":{"description":"Gapp contract ID this proposal was generated from.","example":"12345","type":"string"},"communityName":{"description":"Name of the community\/client associated to the contract.","example":"Comunidad de Propietarios Calle Mayor 10","type":"string"},"cif":{"description":"CIF (tax ID) of the community.","example":"H28123456","type":"string"},"communityAddress":{"description":"Community street address.","example":"Calle Mayor 10","type":["string","null"]},"communityLocation":{"description":"Municipality\/city of the community.","example":"Rivas-Vaciamadrid","type":["string","null"]},"communityProvince":{"description":"Province of the community.","example":"Madrid","type":["string","null"]},"communityZipcode":{"description":"Postal code of the community.","example":"28521","type":["string","null"]},"hasPci":{"description":"Whether fire suppression \/ detection risks were detected (PCI).","example":true,"type":"boolean"},"hasSenaletica":{"description":"Whether signage risks were detected (Se\u00f1al\u00e9tica).","type":"boolean"},"hasIluminacion":{"description":"Whether lighting risks were detected (Iluminaci\u00f3n).","type":"boolean"},"hasElectricidad":{"description":"Whether electrical installation risks were detected (Electricidad).","example":true,"type":"boolean"},"hasReformas":{"description":"Whether civil works \/ structural risks were detected (Reformas).","type":"boolean"},"dateResearch":{"description":"Date the PRL risk evaluation was completed (Y-m-d).","example":"2025-06-01","type":"string"},"status":{"type":"string","enum":["queue","readed","sended"]},"createdAt":{"description":"Datetime when this proposal was created (Y-m-d H:i:s).","example":"2025-06-01 14:30:00","type":"string"}}},"ExternalProposal.jsonld-proposal.read":{"type":"object","description":"List commercial proposals. Filter by status, date range, or contractId. Defaults to status=queue when no filters provided.","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"idProposal":{"description":"Unique identifier of the proposal (UUID v6).","example":"01929f4e-1234-6abc-9def-000000000000","type":"string"},"contractId":{"description":"Gapp contract ID this proposal was generated from.","example":"12345","type":"string"},"communityName":{"description":"Name of the community\/client associated to the contract.","example":"Comunidad de Propietarios Calle Mayor 10","type":"string"},"cif":{"description":"CIF (tax ID) of the community.","example":"H28123456","type":"string"},"communityAddress":{"description":"Community street address.","example":"Calle Mayor 10","type":["string","null"]},"communityLocation":{"description":"Municipality\/city of the community.","example":"Rivas-Vaciamadrid","type":["string","null"]},"communityProvince":{"description":"Province of the community.","example":"Madrid","type":["string","null"]},"communityZipcode":{"description":"Postal code of the community.","example":"28521","type":["string","null"]},"hasPci":{"description":"Whether fire suppression \/ detection risks were detected (PCI).","example":true,"type":"boolean"},"hasSenaletica":{"description":"Whether signage risks were detected (Se\u00f1al\u00e9tica).","type":"boolean"},"hasIluminacion":{"description":"Whether lighting risks were detected (Iluminaci\u00f3n).","type":"boolean"},"hasElectricidad":{"description":"Whether electrical installation risks were detected (Electricidad).","example":true,"type":"boolean"},"hasReformas":{"description":"Whether civil works \/ structural risks were detected (Reformas).","type":"boolean"},"dateResearch":{"description":"Date the PRL risk evaluation was completed (Y-m-d).","example":"2025-06-01","type":"string"},"status":{"type":"string","enum":["queue","readed","sended"]},"createdAt":{"description":"Datetime when this proposal was created (Y-m-d H:i:s).","example":"2025-06-01 14:30:00","type":"string"}}},"LoginLink-login_link.read":{"type":"object","description":"","deprecated":false,"properties":{"loginLink":{"type":["string","null"]},"username":{"type":["string","null"]},"expiresAt":{"type":["string","null"]}}},"LoginLink.jsonld-login_link.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"loginLink":{"type":["string","null"]},"username":{"type":["string","null"]},"expiresAt":{"type":["string","null"]}}},"Manager-manager.read":{"type":"object","description":"Update manager information","deprecated":false,"properties":{"id":{"description":"Internal manager identifier","type":["string","null"]},"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]},"agent":{"description":"Manager agent information (read-only)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto-manager.read"},{"type":"null"}]}},"required":["name","email","documentNumber","phone","externalId","address"]},"Manager-manager.write":{"type":"object","description":"Update manager information","deprecated":false,"required":["name","email","phone","address"],"properties":{"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]}}},"Manager.jsonld-manager.read":{"type":"object","description":"Update manager information","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"Internal manager identifier","type":["string","null"]},"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":["string","null"]},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]},"agent":{"description":"Manager agent information (read-only)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto.jsonld-manager.read"},{"type":"null"}]}},"required":["name","email","documentNumber","phone","externalId","address"]},"Manager.jsonld-manager.write":{"type":"object","description":"Update manager information","deprecated":false,"required":["name","email","phone","address"],"properties":{"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"phone":{"type":"object","properties":{"number":{"type":"string","description":"Spanish mobile phone number (9 digits starting with 6, 7, or 9)","example":"612345678"}},"required":["number"]},"address":{"type":"object","properties":{"street":{"type":"string","description":"Street name","example":"Calle Gran V\u00eda"},"number":{"type":"string","description":"Street number","example":"123"},"city":{"type":"string","description":"City name","example":"Madrid"},"zipcode":{"type":"string","description":"Postal code (5 digits)","example":"28001"},"state":{"type":"string","description":"State or province","example":"Madrid"}},"required":["street","number","city","zipcode","state"]}}},"ManagerDto":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"description":"Internal manager identifier","type":"string"},"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":"string"},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"description":"Manager phone number","anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto"},{"type":"null"}]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":"string"},"address":{"description":"Manager address","$ref":"#\/components\/schemas\/Dto.AddressDto"},"agent":{"description":"Manager agent information (optional)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto"},{"type":"null"}]}},"required":["name","email","documentNumber","phone","externalId","address"]},"ManagerDto-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"description":"Internal manager identifier","type":"string"},"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":"string"},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"description":"Manager phone number","anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto-deal.read"},{"type":"null"}]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":"string"},"address":{"description":"Manager address","$ref":"#\/components\/schemas\/Dto.AddressDto-deal.read"},"agent":{"description":"Manager agent information (optional)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto-deal.read"},{"type":"null"}]}},"required":["name","email","documentNumber","phone","externalId","address"]},"ManagerDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["name","email","documentNumber","phone","externalId","address"],"properties":{"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":"string"},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"description":"Manager phone number","anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto-deal.write"},{"type":"null"}]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":"string"},"address":{"description":"Manager address","$ref":"#\/components\/schemas\/Dto.AddressDto-deal.write"},"agent":{"description":"Manager agent information (optional)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto-deal.write"},{"type":"null"}]}}},"ManagerDto.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Internal manager identifier","type":"string"},"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":"string"},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"description":"Manager phone number","anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld"},{"type":"null"}]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":"string"},"address":{"description":"Manager address","$ref":"#\/components\/schemas\/Dto.AddressDto.jsonld"},"agent":{"description":"Manager agent information (optional)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto.jsonld"},{"type":"null"}]}},"required":["name","email","documentNumber","phone","externalId","address"]},"ManagerDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Internal manager identifier","type":"string"},"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":"string"},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"description":"Manager phone number","anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-deal.read"},{"type":"null"}]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":"string"},"address":{"description":"Manager address","$ref":"#\/components\/schemas\/Dto.AddressDto.jsonld-deal.read"},"agent":{"description":"Manager agent information (optional)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto.jsonld-deal.read"},{"type":"null"}]}},"required":["name","email","documentNumber","phone","externalId","address"]},"ManagerDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["name","email","documentNumber","phone","externalId","address"],"properties":{"name":{"description":"Manager name","type":"string"},"email":{"format":"email","description":"Manager email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9A-Z][0-9]{7}[A-Z0-9]$|^[XYZ][0-9]{7}[A-Z]$).*)$","description":"Spanish CIF\/NIF document number (format: 8 digits with letter prefix\/suffix)","example":"B12345678","type":"string"},"department":{"description":"Manager department","type":["string","null"]},"role":{"description":"Manager role","type":["string","null"]},"phone":{"description":"Manager phone number","anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-deal.write"},{"type":"null"}]},"otherInformation":{"maxLength":500,"description":"Additional manager information","type":["string","null"]},"externalId":{"minLength":1,"maxLength":255,"description":"External manager identifier","type":"string"},"address":{"description":"Manager address","$ref":"#\/components\/schemas\/Dto.AddressDto.jsonld-deal.write"},"agent":{"description":"Manager agent information (optional)","anyOf":[{"$ref":"#\/components\/schemas\/AgentDto.jsonld-deal.write"},{"type":"null"}]}}},"PhoneDto-client.update":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"number":{"pattern":"^([6-9]\\d{8})$","type":"string"}}},"PhoneDto.jsonld-client.update":{"type":"object","description":"","deprecated":false,"required":["number"],"properties":{"number":{"pattern":"^([6-9]\\d{8})$","type":"string"}}},"ServiceDto":{"type":"object","description":"","deprecated":false,"properties":{"idService":{"readOnly":true,"type":"string"},"externalId":{"type":"string"},"totalWorker":{"minimum":0,"type":"integer"},"startDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":"string"},"endDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":["string","null"]},"price":{"minimum":0,"type":["number","null"]},"category":{"type":["string","null"]},"serviceType":{"enum":["PRL","CAE","SAT","Default"],"type":"string"},"startDateObject":{"readOnly":true,"description":"Helper method to get start date as DateTime object for validation","type":"string","format":"date-time"},"endDateObject":{"readOnly":true,"description":"Helper method to get end date as DateTime object for validation","type":["string","null"],"format":"date-time"}},"required":["externalId","totalWorker","startDate"]},"ServiceDto-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"idService":{"readOnly":true,"type":"string"},"externalId":{"type":"string"},"totalWorker":{"minimum":0,"type":"integer"},"startDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":"string"},"endDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":["string","null"]},"price":{"minimum":0,"type":["number","null"]},"category":{"type":["string","null"]},"serviceType":{"enum":["PRL","CAE","SAT","Default"],"type":"string"}},"required":["externalId","totalWorker","startDate"]},"ServiceDto-deal.write":{"type":"object","description":"","deprecated":false,"required":["externalId","totalWorker","startDate"],"properties":{"externalId":{"type":"string"},"totalWorker":{"minimum":0,"type":"integer"},"startDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":"string"},"endDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":["string","null"]},"price":{"minimum":0,"type":["number","null"]},"category":{"type":["string","null"]}}},"ServiceDto.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"idService":{"readOnly":true,"type":"string"},"externalId":{"type":"string"},"totalWorker":{"minimum":0,"type":"integer"},"startDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":"string"},"endDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":["string","null"]},"price":{"minimum":0,"type":["number","null"]},"category":{"type":["string","null"]},"serviceType":{"enum":["PRL","CAE","SAT","Default"],"type":"string"},"startDateObject":{"readOnly":true,"description":"Helper method to get start date as DateTime object for validation","type":"string","format":"date-time"},"endDateObject":{"readOnly":true,"description":"Helper method to get end date as DateTime object for validation","type":["string","null"],"format":"date-time"}},"required":["externalId","totalWorker","startDate"]},"ServiceDto.jsonld-deal.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"idService":{"readOnly":true,"type":"string"},"externalId":{"type":"string"},"totalWorker":{"minimum":0,"type":"integer"},"startDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":"string"},"endDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":["string","null"]},"price":{"minimum":0,"type":["number","null"]},"category":{"type":["string","null"]},"serviceType":{"enum":["PRL","CAE","SAT","Default"],"type":"string"}},"required":["externalId","totalWorker","startDate"]},"ServiceDto.jsonld-deal.write":{"type":"object","description":"","deprecated":false,"required":["externalId","totalWorker","startDate"],"properties":{"externalId":{"type":"string"},"totalWorker":{"minimum":0,"type":"integer"},"startDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":"string"},"endDate":{"externalDocs":{"url":"https:\/\/schema.org\/DateTime"},"type":["string","null"]},"price":{"minimum":0,"type":["number","null"]},"category":{"type":["string","null"]}}},"Worker-worker.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"description":"Internal worker identifier","type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9]{8}[A-Za-z]$|^[XYZ][0-9]{7}[A-Za-z]$).*)$","description":"Worker document number (Spanish DNI\/NIE format)","example":"12345678A","type":"string"},"name":{"minLength":2,"maxLength":100,"description":"Worker first name","example":"Juan","type":"string"},"lastname":{"minLength":2,"maxLength":100,"description":"Worker last name","example":"P\u00e9rez Garc\u00eda","type":"string"},"activity":{"minLength":2,"maxLength":200,"description":"Worker professional activity or job role","example":"Electrician","type":"string"},"phone":{"description":"Worker phone number","example":{"number":"612345678"},"anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto-worker.read"},{"type":"null"}]},"email":{"format":"email","description":"Worker email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"juan.perez@example.com","type":["string","null"]}},"required":["documentNumber","name","lastname","activity"]},"Worker-worker.write":{"type":"object","description":"","deprecated":false,"required":["documentNumber","name","lastname","activity"],"properties":{"documentNumber":{"pattern":"^(.*(^[0-9]{8}[A-Za-z]$|^[XYZ][0-9]{7}[A-Za-z]$).*)$","description":"Worker document number (Spanish DNI\/NIE format)","example":"12345678A","type":"string"},"name":{"minLength":2,"maxLength":100,"description":"Worker first name","example":"Juan","type":"string"},"lastname":{"minLength":2,"maxLength":100,"description":"Worker last name","example":"P\u00e9rez Garc\u00eda","type":"string"},"activity":{"minLength":2,"maxLength":200,"description":"Worker professional activity or job role","example":"Electrician","type":"string"},"phone":{"description":"Worker phone number","example":{"number":"612345678"},"anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto-worker.write"},{"type":"null"}]},"email":{"format":"email","description":"Worker email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"juan.perez@example.com","type":["string","null"]}}},"Worker.jsonld-worker.read":{"type":"object","description":"","deprecated":false,"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Internal worker identifier","type":"string"},"documentNumber":{"pattern":"^(.*(^[0-9]{8}[A-Za-z]$|^[XYZ][0-9]{7}[A-Za-z]$).*)$","description":"Worker document number (Spanish DNI\/NIE format)","example":"12345678A","type":"string"},"name":{"minLength":2,"maxLength":100,"description":"Worker first name","example":"Juan","type":"string"},"lastname":{"minLength":2,"maxLength":100,"description":"Worker last name","example":"P\u00e9rez Garc\u00eda","type":"string"},"activity":{"minLength":2,"maxLength":200,"description":"Worker professional activity or job role","example":"Electrician","type":"string"},"phone":{"description":"Worker phone number","example":{"number":"612345678"},"anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-worker.read"},{"type":"null"}]},"email":{"format":"email","description":"Worker email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"juan.perez@example.com","type":["string","null"]}},"required":["documentNumber","name","lastname","activity"]},"Worker.jsonld-worker.write":{"type":"object","description":"","deprecated":false,"required":["documentNumber","name","lastname","activity"],"properties":{"documentNumber":{"pattern":"^(.*(^[0-9]{8}[A-Za-z]$|^[XYZ][0-9]{7}[A-Za-z]$).*)$","description":"Worker document number (Spanish DNI\/NIE format)","example":"12345678A","type":"string"},"name":{"minLength":2,"maxLength":100,"description":"Worker first name","example":"Juan","type":"string"},"lastname":{"minLength":2,"maxLength":100,"description":"Worker last name","example":"P\u00e9rez Garc\u00eda","type":"string"},"activity":{"minLength":2,"maxLength":200,"description":"Worker professional activity or job role","example":"Electrician","type":"string"},"phone":{"description":"Worker phone number","example":{"number":"612345678"},"anyOf":[{"$ref":"#\/components\/schemas\/Dto.PhoneDto.jsonld-worker.write"},{"type":"null"}]},"email":{"format":"email","description":"Worker email address","externalDocs":{"url":"https:\/\/schema.org\/email"},"example":"juan.perez@example.com","type":["string","null"]}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"},"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"security":[{"apiKey":[]}],"tags":[],"webhooks":{}}