diff --git a/matsen-tool/openapi.json b/matsen-tool/openapi.json index 405ff30..55e611e 100644 --- a/matsen-tool/openapi.json +++ b/matsen-tool/openapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"Matsen API Platform","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/comments":{"get":{"operationId":"api_comments_get_collection","tags":["Comment"],"responses":{"200":{"description":"Comment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Comment resources.","description":"Retrieves the collection of Comment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_comments_post","tags":["Comment"],"responses":{"201":{"description":"Comment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Comment resource.","description":"Creates a Comment resource.","parameters":[],"requestBody":{"description":"The new Comment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/comments\/{id}":{"get":{"operationId":"api_comments_id_get","tags":["Comment"],"responses":{"200":{"description":"Comment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Comment resource.","description":"Retrieves a Comment resource.","parameters":[{"name":"id","in":"path","description":"Comment identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_comments_id_patch","tags":["Comment"],"responses":{"200":{"description":"Comment resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Comment resource.","description":"Updates the Comment resource.","parameters":[{"name":"id","in":"path","description":"Comment identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Comment resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/contact_partner_products":{"get":{"operationId":"api_contact_partner_products_get_collection","tags":["ContactPartnerProduct"],"responses":{"200":{"description":"ContactPartnerProduct collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of ContactPartnerProduct resources.","description":"Retrieves the collection of ContactPartnerProduct resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"contact","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"contact[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_contact_partner_products_post","tags":["ContactPartnerProduct"],"responses":{"201":{"description":"ContactPartnerProduct resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ContactPartnerProduct resource.","description":"Creates a ContactPartnerProduct resource.","parameters":[],"requestBody":{"description":"The new ContactPartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/contact_partner_products\/{id}":{"get":{"operationId":"api_contact_partner_products_id_get","tags":["ContactPartnerProduct"],"responses":{"200":{"description":"ContactPartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ContactPartnerProduct resource.","description":"Retrieves a ContactPartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"ContactPartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_contact_partner_products_id_delete","tags":["ContactPartnerProduct"],"responses":{"204":{"description":"ContactPartnerProduct resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ContactPartnerProduct resource.","description":"Removes the ContactPartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"ContactPartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/contacts":{"get":{"operationId":"api_contacts_get_collection","tags":["Contact"],"responses":{"200":{"description":"Contact collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Contact resources.","description":"Retrieves the collection of Contact resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_contacts_post","tags":["Contact"],"responses":{"201":{"description":"Contact resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Contact resource.","description":"Creates a Contact resource.","parameters":[],"requestBody":{"description":"The new Contact resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/contacts\/{id}":{"get":{"operationId":"api_contacts_id_get","tags":["Contact"],"responses":{"200":{"description":"Contact resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Contact resource.","description":"Retrieves a Contact resource.","parameters":[{"name":"id","in":"path","description":"Contact identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_contacts_id_patch","tags":["Contact"],"responses":{"200":{"description":"Contact resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Contact resource.","description":"Updates the Contact resource.","parameters":[{"name":"id","in":"path","description":"Contact identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Contact resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/document_objects":{"get":{"operationId":"api_document_objects_get_collection","tags":["DocumentObject"],"responses":{"200":{"description":"DocumentObject collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject.jsonld-document_object.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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject.jsonhal-document_object.read"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of DocumentObject resources.","description":"Retrieves the collection of DocumentObject resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_document_objects_post","tags":["DocumentObject"],"responses":{"201":{"description":"DocumentObject resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonld-document_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonhal-document_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a DocumentObject resource.","description":"Creates a DocumentObject resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/document_objects\/{id}":{"get":{"operationId":"api_document_objects_id_get","tags":["DocumentObject"],"responses":{"200":{"description":"DocumentObject resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonld-document_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonhal-document_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a DocumentObject resource.","description":"Retrieves a DocumentObject resource.","parameters":[{"name":"id","in":"path","description":"DocumentObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_document_objects_id_delete","tags":["DocumentObject"],"responses":{"204":{"description":"DocumentObject resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the DocumentObject resource.","description":"Removes the DocumentObject resource.","parameters":[{"name":"id","in":"path","description":"DocumentObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/documents":{"get":{"operationId":"api_documents_get_collection","tags":["Document"],"responses":{"200":{"description":"Document collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Document resources.","description":"Retrieves the collection of Document resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"product[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_documents_post","tags":["Document"],"responses":{"201":{"description":"Document resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Document resource.","description":"Creates a Document resource.","parameters":[],"requestBody":{"description":"The new Document resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/documents\/{id}":{"get":{"operationId":"api_documents_id_get","tags":["Document"],"responses":{"200":{"description":"Document resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Document resource.","description":"Retrieves a Document resource.","parameters":[{"name":"id","in":"path","description":"Document identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_documents_id_patch","tags":["Document"],"responses":{"200":{"description":"Document resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Document resource.","description":"Updates the Document resource.","parameters":[{"name":"id","in":"path","description":"Document identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Document resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Document"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/media_objects":{"get":{"operationId":"api_media_objects_get_collection","tags":["MediaObject"],"responses":{"200":{"description":"MediaObject collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of MediaObject resources.","description":"Retrieves the collection of MediaObject resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_media_objects_post","tags":["MediaObject"],"responses":{"201":{"description":"MediaObject resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a MediaObject resource.","description":"Creates a MediaObject resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/media_objects\/{id}":{"get":{"operationId":"api_media_objects_id_get","tags":["MediaObject"],"responses":{"200":{"description":"MediaObject resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a MediaObject resource.","description":"Retrieves a MediaObject resource.","parameters":[{"name":"id","in":"path","description":"MediaObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_media_objects_id_delete","tags":["MediaObject"],"responses":{"204":{"description":"MediaObject resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the MediaObject resource.","description":"Removes the MediaObject resource.","parameters":[{"name":"id","in":"path","description":"MediaObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partner_follows":{"get":{"operationId":"api_partner_follows_get_collection","tags":["PartnerFollow"],"responses":{"200":{"description":"PartnerFollow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of PartnerFollow resources.","description":"Retrieves the collection of PartnerFollow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"user","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"user[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partner_follows_post","tags":["PartnerFollow"],"responses":{"201":{"description":"PartnerFollow resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a PartnerFollow resource.","description":"Creates a PartnerFollow resource.","parameters":[],"requestBody":{"description":"The new PartnerFollow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partner_follows\/{id}":{"get":{"operationId":"api_partner_follows_id_get","tags":["PartnerFollow"],"responses":{"200":{"description":"PartnerFollow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PartnerFollow resource.","description":"Retrieves a PartnerFollow resource.","parameters":[{"name":"id","in":"path","description":"PartnerFollow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_partner_follows_id_delete","tags":["PartnerFollow"],"responses":{"204":{"description":"PartnerFollow resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the PartnerFollow resource.","description":"Removes the PartnerFollow resource.","parameters":[{"name":"id","in":"path","description":"PartnerFollow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partner_products":{"get":{"operationId":"api_partner_products_get_collection","tags":["PartnerProduct"],"responses":{"200":{"description":"PartnerProduct collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of PartnerProduct resources.","description":"Retrieves the collection of PartnerProduct resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"product[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product.name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partner_products_post","tags":["PartnerProduct"],"responses":{"201":{"description":"PartnerProduct resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a PartnerProduct resource.","description":"Creates a PartnerProduct resource.","parameters":[],"requestBody":{"description":"The new PartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partner_products\/{id}":{"get":{"operationId":"api_partner_products_id_get","tags":["PartnerProduct"],"responses":{"200":{"description":"PartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PartnerProduct resource.","description":"Retrieves a PartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"PartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_partner_products_id_delete","tags":["PartnerProduct"],"responses":{"204":{"description":"PartnerProduct resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the PartnerProduct resource.","description":"Removes the PartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"PartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partners":{"get":{"operationId":"api_partners_get_collection","tags":["Partner"],"responses":{"200":{"description":"Partner collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Partner resources.","description":"Retrieves the collection of Partner resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"type[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"order[name]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[city]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[website]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partners_post","tags":["Partner"],"responses":{"201":{"description":"Partner resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Partner resource.","description":"Creates a Partner resource.","parameters":[],"requestBody":{"description":"The new Partner resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partners\/{id}":{"get":{"operationId":"api_partners_id_get","tags":["Partner"],"responses":{"200":{"description":"Partner resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Partner resource.","description":"Retrieves a Partner resource.","parameters":[{"name":"id","in":"path","description":"Partner identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_partners_id_patch","tags":["Partner"],"responses":{"200":{"description":"Partner resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Partner resource.","description":"Updates the Partner resource.","parameters":[{"name":"id","in":"path","description":"Partner identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Partner resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/posts":{"get":{"operationId":"api_posts_get_collection","tags":["Post"],"responses":{"200":{"description":"Post collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Post resources.","description":"Retrieves the collection of Post resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"contact","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"contact[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"sale","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"sale[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"owner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"owner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"exists[contact]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"exists[sale]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_posts_post","tags":["Post"],"responses":{"201":{"description":"Post resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Post resource.","description":"Creates a Post resource.","parameters":[],"requestBody":{"description":"The new Post resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld-posting.create"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post-posting.create"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post-posting.create"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal-posting.create"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/posts\/{id}":{"get":{"operationId":"api_posts_id_get","tags":["Post"],"responses":{"200":{"description":"Post resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Post resource.","description":"Retrieves a Post resource.","parameters":[{"name":"id","in":"path","description":"Post identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_posts_id_patch","tags":["Post"],"responses":{"200":{"description":"Post resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Post resource.","description":"Updates the Post resource.","parameters":[{"name":"id","in":"path","description":"Post identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Post resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Post-posting.patch"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/products":{"get":{"operationId":"api_products_get_collection","tags":["Product"],"responses":{"200":{"description":"Product collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Product resources.","description":"Retrieves the collection of Product resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"order[name]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_products_post","tags":["Product"],"responses":{"201":{"description":"Product resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Product resource.","description":"Creates a Product resource.","parameters":[],"requestBody":{"description":"The new Product resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/products\/{id}":{"get":{"operationId":"api_products_id_get","tags":["Product"],"responses":{"200":{"description":"Product resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Product resource.","description":"Retrieves a Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_products_id_patch","tags":["Product"],"responses":{"200":{"description":"Product resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Product resource.","description":"Updates the Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Product resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Product"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sale_summaries":{"get":{"operationId":"api_sale_summaries_get_collection","tags":["SaleSummary"],"responses":{"200":{"description":"SaleSummary collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of SaleSummary resources.","description":"Retrieves the collection of SaleSummary resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/sales":{"get":{"operationId":"api_sales_get_collection","tags":["Sale"],"responses":{"200":{"description":"Sale collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Sale resources.","description":"Retrieves the collection of Sale resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"owner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"owner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_sales_post","tags":["Sale"],"responses":{"201":{"description":"Sale resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Sale resource.","description":"Creates a Sale resource.","parameters":[],"requestBody":{"description":"The new Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sales\/{id}":{"get":{"operationId":"api_sales_id_get","tags":["Sale"],"responses":{"200":{"description":"Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Sale resource.","description":"Retrieves a Sale resource.","parameters":[{"name":"id","in":"path","description":"Sale identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_sales_id_patch","tags":["Sale"],"responses":{"200":{"description":"Sale resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Sale resource.","description":"Updates the Sale resource.","parameters":[{"name":"id","in":"path","description":"Sale identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Sale resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/task_notes":{"get":{"operationId":"api_task_notes_get_collection","tags":["TaskNote"],"responses":{"200":{"description":"TaskNote collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of TaskNote resources.","description":"Retrieves the collection of TaskNote resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"task","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"task[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_task_notes_post","tags":["TaskNote"],"responses":{"201":{"description":"TaskNote resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a TaskNote resource.","description":"Creates a TaskNote resource.","parameters":[],"requestBody":{"description":"The new TaskNote resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/task_notes\/{id}":{"get":{"operationId":"api_task_notes_id_get","tags":["TaskNote"],"responses":{"200":{"description":"TaskNote resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a TaskNote resource.","description":"Retrieves a TaskNote resource.","parameters":[{"name":"id","in":"path","description":"TaskNote identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_task_notes_id_patch","tags":["TaskNote"],"responses":{"200":{"description":"TaskNote resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the TaskNote resource.","description":"Updates the TaskNote resource.","parameters":[{"name":"id","in":"path","description":"TaskNote identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated TaskNote resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/tasks":{"get":{"operationId":"api_tasks_get_collection","tags":["Task"],"responses":{"200":{"description":"Task collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Task resources.","description":"Retrieves the collection of Task resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"assignedTo","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"assignedTo[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"contact","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"contact[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_tasks_post","tags":["Task"],"responses":{"201":{"description":"Task resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Task resource.","description":"Creates a Task resource.","parameters":[],"requestBody":{"description":"The new Task resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/tasks\/{id}":{"get":{"operationId":"api_tasks_id_get","tags":["Task"],"responses":{"200":{"description":"Task resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Task resource.","description":"Retrieves a Task resource.","parameters":[{"name":"id","in":"path","description":"Task identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_tasks_id_patch","tags":["Task"],"responses":{"200":{"description":"Task resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Task resource.","description":"Updates the Task resource.","parameters":[{"name":"id","in":"path","description":"Task identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Task resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Task"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/user_products":{"get":{"operationId":"api_user_products_get_collection","tags":["UserProduct"],"responses":{"200":{"description":"UserProduct collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of UserProduct resources.","description":"Retrieves the collection of UserProduct resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"user","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"user[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"product[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_user_products_post","tags":["UserProduct"],"responses":{"201":{"description":"UserProduct resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserProduct resource.","description":"Creates a UserProduct resource.","parameters":[],"requestBody":{"description":"The new UserProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/user_products\/{id}":{"get":{"operationId":"api_user_products_id_get","tags":["UserProduct"],"responses":{"200":{"description":"UserProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserProduct resource.","description":"Retrieves a UserProduct resource.","parameters":[{"name":"id","in":"path","description":"UserProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_user_products_id_delete","tags":["UserProduct"],"responses":{"204":{"description":"UserProduct resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserProduct resource.","description":"Removes the UserProduct resource.","parameters":[{"name":"id","in":"path","description":"UserProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/users":{"get":{"operationId":"api_users_get_collection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"firstName","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"lastName","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_users_post","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/users\/{id}":{"get":{"operationId":"api_users_id_get","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/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":{"email":{"type":"string","nullable":false},"password":{"type":"string","nullable":false}},"required":["email","password"]}}},"required":true}},"parameters":[]}},"components":{"schemas":{"Comment":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Comment.jsonhal":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Comment.jsonld":{"type":"object","description":"","deprecated":false,"required":["message"],"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"},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partner"],"properties":{"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"posts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact.jsonhal":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partner"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"posts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact.jsonld":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partner"],"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":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"posts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct":{"type":"object","description":"","deprecated":false,"required":["contact","partnerProduct"],"properties":{"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProduct":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct.jsonhal":{"type":"object","description":"","deprecated":false,"required":["contact","partnerProduct"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProduct":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct.jsonld":{"type":"object","description":"","deprecated":false,"required":["contact","partnerProduct"],"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"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProduct":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document":{"type":"object","description":"","deprecated":false,"required":["name","documentObject"],"properties":{"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name","documentObject"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","documentObject"],"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":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"DocumentObject-document_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"DocumentObject.jsonhal-document_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"DocumentObject.jsonld-document_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"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"},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"MediaObject-media_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"MediaObject.jsonhal-media_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"MediaObject.jsonld-media_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"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"},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"Partner":{"type":"object","description":"","deprecated":false,"required":["name","partnerType"],"properties":{"name":{"type":"string"},"partnerType":{"type":"string","enum":["customer","supplier","service"]},"description":{"type":["string","null"]},"street":{"type":["string","null"]},"streetNo":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"website":{"type":["string","null"]},"logo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}},"contacts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"partnerProducts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name","partnerType"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":"string"},"partnerType":{"type":"string","enum":["customer","supplier","service"]},"description":{"type":["string","null"]},"street":{"type":["string","null"]},"streetNo":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"website":{"type":["string","null"]},"logo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}},"contacts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"partnerProducts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","partnerType"],"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":{"type":"string"},"partnerType":{"type":"string","enum":["customer","supplier","service"]},"description":{"type":["string","null"]},"street":{"type":["string","null"]},"streetNo":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"website":{"type":["string","null"]},"logo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}},"contacts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"partnerProducts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"PartnerFollow":{"type":"object","description":"","deprecated":false,"properties":{"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partner"]},"PartnerFollow.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partner"]},"PartnerFollow.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"},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partner"]},"PartnerProduct":{"type":"object","description":"","deprecated":false,"required":["partner","product"],"properties":{"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"PartnerProduct.jsonhal":{"type":"object","description":"","deprecated":false,"required":["partner","product"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"PartnerProduct.jsonld":{"type":"object","description":"","deprecated":false,"required":["partner","product"],"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"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post-posting.create":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}}},"Post-posting.patch":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]}}},"Post.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post.jsonhal-posting.create":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}}},"Post.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"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"},"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post.jsonld-posting.create":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}}},"Product":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Product.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Product.jsonld":{"type":"object","description":"","deprecated":false,"required":["name"],"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":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Sale":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerType":{"readOnly":true,"type":"string","enum":["customer","supplier","service"]},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"quantity":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover","profit","quantity"]},"Sale.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerType":{"readOnly":true,"type":"string","enum":["customer","supplier","service"]},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"quantity":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover","profit","quantity"]},"Sale.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"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerType":{"readOnly":true,"type":"string","enum":["customer","supplier","service"]},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"quantity":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover","profit","quantity"]},"SaleSummary":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"Task":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"assignedToName":{"readOnly":true,"type":["string","null"]},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",null]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"assignedToName":{"readOnly":true,"type":["string","null"]},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",null]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"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"},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"assignedToName":{"readOnly":true,"type":["string","null"]},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",null]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote.jsonhal":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote.jsonld":{"type":"object","description":"","deprecated":false,"required":["message"],"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"},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"User":{"type":"object","description":"","deprecated":false,"required":["email","firstName","lastName"],"properties":{"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"User.jsonhal":{"type":"object","description":"","deprecated":false,"required":["email","firstName","lastName"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"User.jsonld":{"type":"object","description":"","deprecated":false,"required":["email","firstName","lastName"],"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"},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"UserProduct":{"type":"object","description":"","deprecated":false,"properties":{"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["product"]},"UserProduct.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["product"]},"UserProduct.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"},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["product"]}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"security":[{"JWT":[]}],"tags":[]} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"Matsen API Platform","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/comments":{"get":{"operationId":"api_comments_get_collection","tags":["Comment"],"responses":{"200":{"description":"Comment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Comment resources.","description":"Retrieves the collection of Comment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_comments_post","tags":["Comment"],"responses":{"201":{"description":"Comment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Comment resource.","description":"Creates a Comment resource.","parameters":[],"requestBody":{"description":"The new Comment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/comments\/{id}":{"get":{"operationId":"api_comments_id_get","tags":["Comment"],"responses":{"200":{"description":"Comment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Comment resource.","description":"Retrieves a Comment resource.","parameters":[{"name":"id","in":"path","description":"Comment identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_comments_id_patch","tags":["Comment"],"responses":{"200":{"description":"Comment resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Comment resource.","description":"Updates the Comment resource.","parameters":[{"name":"id","in":"path","description":"Comment identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Comment resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/contact_partner_products":{"get":{"operationId":"api_contact_partner_products_get_collection","tags":["ContactPartnerProduct"],"responses":{"200":{"description":"ContactPartnerProduct collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of ContactPartnerProduct resources.","description":"Retrieves the collection of ContactPartnerProduct resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"contact","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"contact[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_contact_partner_products_post","tags":["ContactPartnerProduct"],"responses":{"201":{"description":"ContactPartnerProduct resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ContactPartnerProduct resource.","description":"Creates a ContactPartnerProduct resource.","parameters":[],"requestBody":{"description":"The new ContactPartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/contact_partner_products\/{id}":{"get":{"operationId":"api_contact_partner_products_id_get","tags":["ContactPartnerProduct"],"responses":{"200":{"description":"ContactPartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/ContactPartnerProduct.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ContactPartnerProduct resource.","description":"Retrieves a ContactPartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"ContactPartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_contact_partner_products_id_delete","tags":["ContactPartnerProduct"],"responses":{"204":{"description":"ContactPartnerProduct resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ContactPartnerProduct resource.","description":"Removes the ContactPartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"ContactPartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/contacts":{"get":{"operationId":"api_contacts_get_collection","tags":["Contact"],"responses":{"200":{"description":"Contact collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Contact resources.","description":"Retrieves the collection of Contact resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_contacts_post","tags":["Contact"],"responses":{"201":{"description":"Contact resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Contact resource.","description":"Creates a Contact resource.","parameters":[],"requestBody":{"description":"The new Contact resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/contacts\/{id}":{"get":{"operationId":"api_contacts_id_get","tags":["Contact"],"responses":{"200":{"description":"Contact resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Contact resource.","description":"Retrieves a Contact resource.","parameters":[{"name":"id","in":"path","description":"Contact identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_contacts_id_patch","tags":["Contact"],"responses":{"200":{"description":"Contact resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Contact.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Contact resource.","description":"Updates the Contact resource.","parameters":[{"name":"id","in":"path","description":"Contact identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Contact resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/document_objects":{"get":{"operationId":"api_document_objects_get_collection","tags":["DocumentObject"],"responses":{"200":{"description":"DocumentObject collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject.jsonld-document_object.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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentObject.jsonhal-document_object.read"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of DocumentObject resources.","description":"Retrieves the collection of DocumentObject resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_document_objects_post","tags":["DocumentObject"],"responses":{"201":{"description":"DocumentObject resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonld-document_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonhal-document_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a DocumentObject resource.","description":"Creates a DocumentObject resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/document_objects\/{id}":{"get":{"operationId":"api_document_objects_id_get","tags":["DocumentObject"],"responses":{"200":{"description":"DocumentObject resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonld-document_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject-document_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentObject.jsonhal-document_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a DocumentObject resource.","description":"Retrieves a DocumentObject resource.","parameters":[{"name":"id","in":"path","description":"DocumentObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_document_objects_id_delete","tags":["DocumentObject"],"responses":{"204":{"description":"DocumentObject resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the DocumentObject resource.","description":"Removes the DocumentObject resource.","parameters":[{"name":"id","in":"path","description":"DocumentObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/documents":{"get":{"operationId":"api_documents_get_collection","tags":["Document"],"responses":{"200":{"description":"Document collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Document resources.","description":"Retrieves the collection of Document resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"product[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_documents_post","tags":["Document"],"responses":{"201":{"description":"Document resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Document resource.","description":"Creates a Document resource.","parameters":[],"requestBody":{"description":"The new Document resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/documents\/{id}":{"get":{"operationId":"api_documents_id_get","tags":["Document"],"responses":{"200":{"description":"Document resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Document resource.","description":"Retrieves a Document resource.","parameters":[{"name":"id","in":"path","description":"Document identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_documents_id_patch","tags":["Document"],"responses":{"200":{"description":"Document resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Document resource.","description":"Updates the Document resource.","parameters":[{"name":"id","in":"path","description":"Document identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Document resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Document"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/media_objects":{"get":{"operationId":"api_media_objects_get_collection","tags":["MediaObject"],"responses":{"200":{"description":"MediaObject collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of MediaObject resources.","description":"Retrieves the collection of MediaObject resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_media_objects_post","tags":["MediaObject"],"responses":{"201":{"description":"MediaObject resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a MediaObject resource.","description":"Creates a MediaObject resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/media_objects\/{id}":{"get":{"operationId":"api_media_objects_id_get","tags":["MediaObject"],"responses":{"200":{"description":"MediaObject resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a MediaObject resource.","description":"Retrieves a MediaObject resource.","parameters":[{"name":"id","in":"path","description":"MediaObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_media_objects_id_delete","tags":["MediaObject"],"responses":{"204":{"description":"MediaObject resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the MediaObject resource.","description":"Removes the MediaObject resource.","parameters":[{"name":"id","in":"path","description":"MediaObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partner_follows":{"get":{"operationId":"api_partner_follows_get_collection","tags":["PartnerFollow"],"responses":{"200":{"description":"PartnerFollow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of PartnerFollow resources.","description":"Retrieves the collection of PartnerFollow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"user","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"user[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partner_follows_post","tags":["PartnerFollow"],"responses":{"201":{"description":"PartnerFollow resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a PartnerFollow resource.","description":"Creates a PartnerFollow resource.","parameters":[],"requestBody":{"description":"The new PartnerFollow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partner_follows\/{id}":{"get":{"operationId":"api_partner_follows_id_get","tags":["PartnerFollow"],"responses":{"200":{"description":"PartnerFollow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PartnerFollow resource.","description":"Retrieves a PartnerFollow resource.","parameters":[{"name":"id","in":"path","description":"PartnerFollow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_partner_follows_id_delete","tags":["PartnerFollow"],"responses":{"204":{"description":"PartnerFollow resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the PartnerFollow resource.","description":"Removes the PartnerFollow resource.","parameters":[{"name":"id","in":"path","description":"PartnerFollow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partner_products":{"get":{"operationId":"api_partner_products_get_collection","tags":["PartnerProduct"],"responses":{"200":{"description":"PartnerProduct collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of PartnerProduct resources.","description":"Retrieves the collection of PartnerProduct resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"product[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product.name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partner_products_post","tags":["PartnerProduct"],"responses":{"201":{"description":"PartnerProduct resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a PartnerProduct resource.","description":"Creates a PartnerProduct resource.","parameters":[],"requestBody":{"description":"The new PartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partner_products\/{id}":{"get":{"operationId":"api_partner_products_id_get","tags":["PartnerProduct"],"responses":{"200":{"description":"PartnerProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerProduct.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PartnerProduct resource.","description":"Retrieves a PartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"PartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_partner_products_id_delete","tags":["PartnerProduct"],"responses":{"204":{"description":"PartnerProduct resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the PartnerProduct resource.","description":"Removes the PartnerProduct resource.","parameters":[{"name":"id","in":"path","description":"PartnerProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partners":{"get":{"operationId":"api_partners_get_collection","tags":["Partner"],"responses":{"200":{"description":"Partner collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Partner resources.","description":"Retrieves the collection of Partner resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"type[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"order[name]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[city]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[website]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partners_post","tags":["Partner"],"responses":{"201":{"description":"Partner resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Partner resource.","description":"Creates a Partner resource.","parameters":[],"requestBody":{"description":"The new Partner resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partners\/{id}":{"get":{"operationId":"api_partners_id_get","tags":["Partner"],"responses":{"200":{"description":"Partner resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Partner resource.","description":"Retrieves a Partner resource.","parameters":[{"name":"id","in":"path","description":"Partner identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_partners_id_patch","tags":["Partner"],"responses":{"200":{"description":"Partner resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Partner"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Partner.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Partner resource.","description":"Updates the Partner resource.","parameters":[{"name":"id","in":"path","description":"Partner identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Partner resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Partner"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/posts":{"get":{"operationId":"api_posts_get_collection","tags":["Post"],"responses":{"200":{"description":"Post collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Post.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Post resources.","description":"Retrieves the collection of Post resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"contact","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"contact[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"sale","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"sale[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"owner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"owner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"exists[contact]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"exists[sale]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_posts_post","tags":["Post"],"responses":{"201":{"description":"Post resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Post resource.","description":"Creates a Post resource.","parameters":[],"requestBody":{"description":"The new Post resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld-posting.create"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post-posting.create"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post-posting.create"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal-posting.create"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/posts\/{id}":{"get":{"operationId":"api_posts_id_get","tags":["Post"],"responses":{"200":{"description":"Post resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Post resource.","description":"Retrieves a Post resource.","parameters":[{"name":"id","in":"path","description":"Post identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_posts_id_patch","tags":["Post"],"responses":{"200":{"description":"Post resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Post resource.","description":"Updates the Post resource.","parameters":[{"name":"id","in":"path","description":"Post identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Post resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Post-posting.patch"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/products":{"get":{"operationId":"api_products_get_collection","tags":["Product"],"responses":{"200":{"description":"Product collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Product resources.","description":"Retrieves the collection of Product resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"order[name]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_products_post","tags":["Product"],"responses":{"201":{"description":"Product resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Product resource.","description":"Creates a Product resource.","parameters":[],"requestBody":{"description":"The new Product resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/products\/{id}":{"get":{"operationId":"api_products_id_get","tags":["Product"],"responses":{"200":{"description":"Product resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Product resource.","description":"Retrieves a Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_products_id_patch","tags":["Product"],"responses":{"200":{"description":"Product resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Product"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Product.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Product resource.","description":"Updates the Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Product resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Product"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sale_summaries":{"get":{"operationId":"api_sale_summaries_get_collection","tags":["SaleSummary"],"responses":{"200":{"description":"SaleSummary collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of SaleSummary resources.","description":"Retrieves the collection of SaleSummary resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/sales":{"get":{"operationId":"api_sales_get_collection","tags":["Sale"],"responses":{"200":{"description":"Sale collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Sale resources.","description":"Retrieves the collection of Sale resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"owner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"owner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_sales_post","tags":["Sale"],"responses":{"201":{"description":"Sale resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Sale resource.","description":"Creates a Sale resource.","parameters":[],"requestBody":{"description":"The new Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sales\/{id}":{"get":{"operationId":"api_sales_id_get","tags":["Sale"],"responses":{"200":{"description":"Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Sale resource.","description":"Retrieves a Sale resource.","parameters":[{"name":"id","in":"path","description":"Sale identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_sales_id_patch","tags":["Sale"],"responses":{"200":{"description":"Sale resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Sale resource.","description":"Updates the Sale resource.","parameters":[{"name":"id","in":"path","description":"Sale identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Sale resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/task_notes":{"get":{"operationId":"api_task_notes_get_collection","tags":["TaskNote"],"responses":{"200":{"description":"TaskNote collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of TaskNote resources.","description":"Retrieves the collection of TaskNote resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"task","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"task[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_task_notes_post","tags":["TaskNote"],"responses":{"201":{"description":"TaskNote resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a TaskNote resource.","description":"Creates a TaskNote resource.","parameters":[],"requestBody":{"description":"The new TaskNote resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/task_notes\/{id}":{"get":{"operationId":"api_task_notes_id_get","tags":["TaskNote"],"responses":{"200":{"description":"TaskNote resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a TaskNote resource.","description":"Retrieves a TaskNote resource.","parameters":[{"name":"id","in":"path","description":"TaskNote identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_task_notes_id_patch","tags":["TaskNote"],"responses":{"200":{"description":"TaskNote resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the TaskNote resource.","description":"Updates the TaskNote resource.","parameters":[{"name":"id","in":"path","description":"TaskNote identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated TaskNote resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/TaskNote"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/tasks":{"get":{"operationId":"api_tasks_get_collection","tags":["Task"],"responses":{"200":{"description":"Task collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Task.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Task resources.","description":"Retrieves the collection of Task resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"assignedTo","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"assignedTo[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"contact","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"contact[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_tasks_post","tags":["Task"],"responses":{"201":{"description":"Task resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Task resource.","description":"Creates a Task resource.","parameters":[],"requestBody":{"description":"The new Task resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/tasks\/{id}":{"get":{"operationId":"api_tasks_id_get","tags":["Task"],"responses":{"200":{"description":"Task resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Task resource.","description":"Retrieves a Task resource.","parameters":[{"name":"id","in":"path","description":"Task identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_tasks_id_patch","tags":["Task"],"responses":{"200":{"description":"Task resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Task"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Task.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Task resource.","description":"Updates the Task resource.","parameters":[{"name":"id","in":"path","description":"Task identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Task resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Task"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/user_products":{"get":{"operationId":"api_user_products_get_collection","tags":["UserProduct"],"responses":{"200":{"description":"UserProduct collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of UserProduct resources.","description":"Retrieves the collection of UserProduct resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"user","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"user[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"product","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"product[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_user_products_post","tags":["UserProduct"],"responses":{"201":{"description":"UserProduct resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserProduct resource.","description":"Creates a UserProduct resource.","parameters":[],"requestBody":{"description":"The new UserProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/user_products\/{id}":{"get":{"operationId":"api_user_products_id_get","tags":["UserProduct"],"responses":{"200":{"description":"UserProduct resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserProduct"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/UserProduct.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserProduct resource.","description":"Retrieves a UserProduct resource.","parameters":[{"name":"id","in":"path","description":"UserProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_user_products_id_delete","tags":["UserProduct"],"responses":{"204":{"description":"UserProduct resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserProduct resource.","description":"Removes the UserProduct resource.","parameters":[{"name":"id","in":"path","description":"UserProduct identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/users":{"get":{"operationId":"api_users_get_collection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"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"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"firstName","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"lastName","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_users_post","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/users\/{id}":{"get":{"operationId":"api_users_id_get","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/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":{"email":{"type":"string","nullable":false},"password":{"type":"string","nullable":false}},"required":["email","password"]}}},"required":true}},"parameters":[]}},"components":{"schemas":{"Comment":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Comment.jsonhal":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Comment.jsonld":{"type":"object","description":"","deprecated":false,"required":["message"],"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"},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partner"],"properties":{"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"posts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact.jsonhal":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partner"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"posts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact.jsonld":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partner"],"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":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"posts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct":{"type":"object","description":"","deprecated":false,"required":["contact","partnerProduct"],"properties":{"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProduct":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct.jsonhal":{"type":"object","description":"","deprecated":false,"required":["contact","partnerProduct"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProduct":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct.jsonld":{"type":"object","description":"","deprecated":false,"required":["contact","partnerProduct"],"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"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProduct":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document":{"type":"object","description":"","deprecated":false,"required":["name","documentObject"],"properties":{"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name","documentObject"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","documentObject"],"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":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"DocumentObject-document_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"DocumentObject.jsonhal-document_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"DocumentObject.jsonld-document_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"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"},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"MediaObject-media_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"MediaObject.jsonhal-media_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"MediaObject.jsonld-media_object.read":{"type":"object","description":"","deprecated":false,"externalDocs":{"url":"https:\/\/schema.org\/MediaObject"},"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"},"contentUrl":{"externalDocs":{"url":"https:\/\/schema.org\/contentUrl"},"type":["string","null"]}}},"Partner":{"type":"object","description":"","deprecated":false,"required":["name","partnerType"],"properties":{"name":{"type":"string"},"partnerType":{"type":"string","enum":["customer","supplier","service"]},"description":{"type":["string","null"]},"street":{"type":["string","null"]},"streetNo":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"website":{"type":["string","null"]},"logo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}},"contacts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"partnerProducts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name","partnerType"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":"string"},"partnerType":{"type":"string","enum":["customer","supplier","service"]},"description":{"type":["string","null"]},"street":{"type":["string","null"]},"streetNo":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"website":{"type":["string","null"]},"logo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}},"contacts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"partnerProducts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","partnerType"],"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":{"type":"string"},"partnerType":{"type":"string","enum":["customer","supplier","service"]},"description":{"type":["string","null"]},"street":{"type":["string","null"]},"streetNo":{"type":["string","null"]},"zip":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]},"website":{"type":["string","null"]},"logo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}},"contacts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"partnerProducts":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"PartnerFollow":{"type":"object","description":"","deprecated":false,"properties":{"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partner"]},"PartnerFollow.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partner"]},"PartnerFollow.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"},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partner"]},"PartnerProduct":{"type":"object","description":"","deprecated":false,"required":["partner","product"],"properties":{"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"PartnerProduct.jsonhal":{"type":"object","description":"","deprecated":false,"required":["partner","product"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"PartnerProduct.jsonld":{"type":"object","description":"","deprecated":false,"required":["partner","product"],"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"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post-posting.create":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}}},"Post-posting.patch":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]}}},"Post.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post.jsonhal-posting.create":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}}},"Post.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"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"},"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Post.jsonld-posting.create":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}}},"Product":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Product.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Product.jsonld":{"type":"object","description":"","deprecated":false,"required":["name"],"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":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Sale":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerType":{"readOnly":true,"type":"string","enum":["customer","supplier","service"]},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"quantity":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["partner","product","turnover","profit","quantity"]},"Sale.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerType":{"readOnly":true,"type":"string","enum":["customer","supplier","service"]},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"quantity":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["partner","product","turnover","profit","quantity"]},"Sale.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"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerType":{"readOnly":true,"type":"string","enum":["customer","supplier","service"]},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"quantity":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["partner","product","turnover","profit","quantity"]},"SaleSummary":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"Task":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"assignedToName":{"readOnly":true,"type":["string","null"]},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",null]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"assignedToName":{"readOnly":true,"type":["string","null"]},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",null]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"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"},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"assignedToName":{"readOnly":true,"type":["string","null"]},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",null]},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonld"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote.jsonhal":{"type":"object","description":"","deprecated":false,"required":["message"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote.jsonld":{"type":"object","description":"","deprecated":false,"required":["message"],"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"},"message":{"type":["string","null"]},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"User":{"type":"object","description":"","deprecated":false,"required":["email","firstName","lastName"],"properties":{"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"User.jsonhal":{"type":"object","description":"","deprecated":false,"required":["email","firstName","lastName"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"User.jsonld":{"type":"object","description":"","deprecated":false,"required":["email","firstName","lastName"],"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"},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":["string","null"]},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"UserProduct":{"type":"object","description":"","deprecated":false,"properties":{"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["product"]},"UserProduct.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["product"]},"UserProduct.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"},"user":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["product"]}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"security":[{"JWT":[]}],"tags":[]} \ No newline at end of file diff --git a/matsen-tool/openapi.yaml b/matsen-tool/openapi.yaml index 7a8c5ed..515710b 100644 --- a/matsen-tool/openapi.yaml +++ b/matsen-tool/openapi.yaml @@ -6074,6 +6074,8 @@ components: items: type: string required: + - partner + - product - turnover - profit - quantity @@ -6161,6 +6163,8 @@ components: items: type: string required: + - partner + - product - turnover - profit - quantity @@ -6262,6 +6266,8 @@ components: items: type: string required: + - partner + - product - turnover - profit - quantity diff --git a/matsen-tool/src/app/_forms/apiForms.ts b/matsen-tool/src/app/_forms/apiForms.ts index 1d68660..0b427e9 100644 --- a/matsen-tool/src/app/_forms/apiForms.ts +++ b/matsen-tool/src/app/_forms/apiForms.ts @@ -392,10 +392,10 @@ export const productJsonldForm = new FormGroup({ export const saleForm = new FormGroup({ owner: new FormControl(null, []), ownerName: new FormControl(null, []), - partner: new FormControl(null, []), + partner: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, []), partnerName: new FormControl(null, []), - product: new FormControl(null, []), + product: new FormControl(null, [Validators.required]), productName: new FormControl(null, []), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, [Validators.required]), @@ -409,10 +409,10 @@ export const saleJsonhalForm = new FormGroup({ _links: new FormControl(null, []), owner: new FormControl(null, []), ownerName: new FormControl(null, []), - partner: new FormControl(null, []), + partner: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, []), partnerName: new FormControl(null, []), - product: new FormControl(null, []), + product: new FormControl(null, [Validators.required]), productName: new FormControl(null, []), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, [Validators.required]), @@ -425,10 +425,10 @@ export const saleJsonhalForm = new FormGroup({ export const saleJsonldForm = new FormGroup({ owner: new FormControl(null, []), ownerName: new FormControl(null, []), - partner: new FormControl(null, []), + partner: new FormControl(null, [Validators.required]), partnerType: new FormControl(null, []), partnerName: new FormControl(null, []), - product: new FormControl(null, []), + product: new FormControl(null, [Validators.required]), productName: new FormControl(null, []), turnover: new FormControl(null, [Validators.required]), profit: new FormControl(null, [Validators.required]), diff --git a/matsen-tool/src/app/_views/documents/document-list/document-list.component.html b/matsen-tool/src/app/_views/documents/document-list/document-list.component.html new file mode 100644 index 0000000..7250a88 --- /dev/null +++ b/matsen-tool/src/app/_views/documents/document-list/document-list.component.html @@ -0,0 +1,92 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {{ 'overview.number' | translate }} + {{ pagingComponent.getPageSize() * (pagingComponent.getPageIndex()-1) + dataSource.filteredData.indexOf(element) + 1 }} + + {{ 'overview.document' | translate }} + {{ element.name }} + + {{ 'overview.description' | translate }} + {{ element.description?.length > 70 ? element.description?.slice(0, 70) + '...' : element.description }} + + {{ 'overview.partner' | translate }} + {{ element.partnerName }} + + {{ 'overview.product' | translate }} + {{ element.productName }} + + {{ 'overview.uploaded' | translate }} + {{ element.createdAt | date:'dd.MM.YYYY HH:mm' }} + + {{ 'overview.createdBy' | translate }} + {{ element.createdByName }} + + + + +
+
+
+ diff --git a/matsen-tool/src/app/_views/documents/document-list/document-list.component.scss b/matsen-tool/src/app/_views/documents/document-list/document-list.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/matsen-tool/src/app/_views/documents/document-list/document-list.component.spec.ts b/matsen-tool/src/app/_views/documents/document-list/document-list.component.spec.ts new file mode 100644 index 0000000..6781a8d --- /dev/null +++ b/matsen-tool/src/app/_views/documents/document-list/document-list.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DocumentListComponent } from './document-list.component'; + +describe('DocumentListComponent', () => { + let component: DocumentListComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [DocumentListComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(DocumentListComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/matsen-tool/src/app/_views/documents/document-list/document-list.component.ts b/matsen-tool/src/app/_views/documents/document-list/document-list.component.ts new file mode 100644 index 0000000..f355cb9 --- /dev/null +++ b/matsen-tool/src/app/_views/documents/document-list/document-list.component.ts @@ -0,0 +1,88 @@ +import {AfterViewInit, Component, OnInit, ViewChild} from '@angular/core'; +import {DocumentJsonld, DocumentService} from "@app/core/api/v1"; +import {AppHelperService} from "@app/_helpers/app-helper.service"; +import {MatSort, Sort} from "@angular/material/sort"; +import {Subscription} from "rxjs"; +import {MatTableDataSource} from "@angular/material/table"; +import {PagingComponent} from "@app/_components/paging/paging.component"; +import {OrderFilter} from "@app/_models/orderFilter"; +import {NewDocumentComponent} from "@app/_views/documents/new-document/new-document.component"; + +@Component({ + selector: 'app-document-list', + templateUrl: './document-list.component.html', + styleUrl: './document-list.component.scss' +}) +export class DocumentListComponent implements OnInit, AfterViewInit { + + @ViewChild(MatSort) sort; + @ViewChild("pagingComponent", { static: false }) pagingComponent!: PagingComponent; + + protected displayedColumns: string[]; + + protected documentsSub: Subscription; + protected documents: Array; + protected dataSource; + + constructor( + private documentService: DocumentService, + protected appHelperService: AppHelperService + ) { + this.sort = new MatSort(); + this.displayedColumns = ['pos', 'name', 'description', 'partnerName', 'productName', 'createdAt', 'createdByName', 'download', 'edit']; + + this.documentsSub = new Subscription(); + this.documents = []; + this.dataSource = new MatTableDataSource(this.documents); + + } + + ngOnInit(){ + } + + ngAfterViewInit() { + this.dataSource.sort = this.sort; + this.dataSource.paginator = this.pagingComponent.paginator; + this.pagingComponent.getData(); + } + + getData = () => { + this.documentsSub = this.documentService.documentsGetCollection( + this.pagingComponent.getPageIndex(), + this.pagingComponent.getPageSize() + ).subscribe( + data => { + this.documents = data["hydra:member"]; + this.dataSource = new MatTableDataSource(this.documents); + this.pagingComponent.dataLength = Number(data["hydra:totalItems"]); + } + ); + } + + onSortChange(sortState: Sort) { + // Reset page index to first page + this.pagingComponent.resetPageIndex(); + + let order: OrderFilter; + if (sortState.direction === "") { + order = OrderFilter.Undefined; + } else { + order = sortState.direction; + } + this.getData(); + } + + navigateToDocumentFile(element: DocumentJsonld) { + window.open(element.documentUrl?.toString(), '_blank'); + } + + openModalNewDocument() { + let document: DocumentJsonld = {} as DocumentJsonld; + this.appHelperService.openModal(NewDocumentComponent, { 'document': document }, this.getData); + } + + openModalEditDocument(document: DocumentJsonld) { + this.appHelperService.openModal(NewDocumentComponent, { 'document': document }, this.getData); + } + +} diff --git a/matsen-tool/src/app/_views/documents/documents.component.html b/matsen-tool/src/app/_views/documents/documents.component.html index f52aca4..91db718 100644 --- a/matsen-tool/src/app/_views/documents/documents.component.html +++ b/matsen-tool/src/app/_views/documents/documents.component.html @@ -1,97 +1,8 @@

{{ 'basic.documents' | translate }}

-
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- {{ 'overview.number' | translate }} - {{ (documentsPageSize * documentsPageIndex) + documentsDataSource.filteredData.indexOf(element) + 1 }} - - {{ 'overview.document' | translate }} - {{ element.name }} - - {{ 'overview.description' | translate }} - {{ element.description?.length > 70 ? element.description?.slice(0, 70) + '...' : element.description }} - - {{ 'overview.partner' | translate }} - {{ element.partnerName }} - - {{ 'overview.product' | translate }} - {{ element.productName }} - - {{ 'overview.uploaded' | translate }} - {{ element.createdAt | date:'dd.MM.YYYY HH:mm' }} - - {{ 'overview.createdBy' | translate }} - {{ element.createdByName }} - - - - -
- - -
+ > + \ No newline at end of file diff --git a/matsen-tool/src/app/_views/documents/documents.component.ts b/matsen-tool/src/app/_views/documents/documents.component.ts index 10c3aa3..6639083 100644 --- a/matsen-tool/src/app/_views/documents/documents.component.ts +++ b/matsen-tool/src/app/_views/documents/documents.component.ts @@ -12,6 +12,8 @@ import {NewDocumentComponent} from "@app/_views/documents/new-document/new-docum import {TranslateModule} from "@ngx-translate/core"; import {ModalStatus} from "@app/_helpers/modal.states"; import {AppHelperService} from "@app/_helpers/app-helper.service"; +import {ProductListComponent} from "@app/_views/products/product-list/product-list.component"; +import {DocumentListComponent} from "@app/_views/documents/document-list/document-list.component"; @Component({ selector: 'app-documents', @@ -19,126 +21,17 @@ import {AppHelperService} from "@app/_helpers/app-helper.service"; styleUrl: './documents.component.scss', }) export class DocumentsComponent { - @ViewChild(MatSort) sort; - @ViewChild(MatPaginator) documentsPaginator: MatPaginator; - protected displayedColumns: string[]; - - protected documentsSub: Subscription; - protected documents: Array; - protected documentsDataSource; - protected documentsLength: number; - protected documentsPageEvent: PageEvent; - protected documentsPageSize: number; - protected documentsPageIndex: number; - - protected modalOptions: NgbModalOptions = { - centered: true - }; + @ViewChild("documentList", { static: false }) documentList!: DocumentListComponent; constructor( - private router: Router, - private modalService: NgbModal, - private documentService: DocumentService, - protected appHelperService: AppHelperService ) { - this.sort = new MatSort(); - this.displayedColumns = ['pos', 'name', 'description', 'partnerName', 'productName', 'createdAt', 'createdByName', 'download', 'edit']; - - this.documentsSub = new Subscription(); - this.documents = []; - this.documentsPaginator = new MatPaginator(new MatPaginatorIntl(), ChangeDetectorRef.prototype); - this.documentsDataSource = new MatTableDataSource(this.documents); - this.documentsLength = 0; - this.documentsPageEvent = new PageEvent(); - this.documentsPageSize = 10; - this.documentsPageIndex = 0; } ngOnInit() { - this.getDocumentsData(); } ngAfterViewInit() { - this.documentsDataSource.sort = this.sort; - this.documentsDataSource.paginator = this.documentsPaginator; - } - - getDocumentsData() { - this.documentsSub = this.documentService.documentsGetCollection( - this.documentsPageIndex + 1, - this.documentsPageSize - ).subscribe( - data => { - this.documents = data["hydra:member"]; - this.documentsDataSource = new MatTableDataSource(this.documents); - this.documentsLength = Number(data["hydra:totalItems"]); - this.documentsPaginator.length = this.documentsLength; - } - ); - } - - /** Announce the change in sort state for assistive technology. */ - onSortChange(sortState: Sort) { - // Reset page index to first page - this.documentsPageIndex = 0; - - let order: OrderFilter; - if (sortState.direction === "") { - order = OrderFilter.Undefined; - } else { - order = sortState.direction; - } - - // this.nameOrderAsc = OrderFilter.Undefined; - // this.cityOrderAsc = OrderFilter.Undefined; - // this.websiteOrderAsc = OrderFilter.Undefined; - // switch (sortState.active) { - // case "name": - // this.nameOrderAsc = order; - // break; - // case "address": - // this.cityOrderAsc = order; - // break; - // case "website": - // this.websiteOrderAsc = order; - // break; - // } - this.getDocumentsData(); - } - - handlePageEvent(e: PageEvent) { - this.documentsPageEvent = e; - this.documentsLength = e.length; - this.documentsPageIndex = e.pageIndex.valueOf(); - this.documentsPageSize = e.pageSize.valueOf(); - this.getDocumentsData(); - } - - navigateToDocumentFile(element: DocumentJsonld) { - window.open(element.documentUrl?.toString(), '_blank'); - } - - openModalNewDocument() { - const modalRefDocument = this.modalService.open(NewDocumentComponent, this.appHelperService.getModalOptions()); - let document: DocumentJsonld = {} as DocumentJsonld; - modalRefDocument.componentInstance.document = document; - modalRefDocument.componentInstance.submit.subscribe((modalStatus: ModalStatus) => { - if (modalStatus === ModalStatus.Submitted) { - modalRefDocument.dismiss(); - this.getDocumentsData(); - } - }); } - openModalEditDocument(document: DocumentJsonld) { - const modalRefDocument = this.modalService.open(NewDocumentComponent, this.appHelperService.getModalOptions()); - modalRefDocument.componentInstance.document = document; - modalRefDocument.componentInstance.submit.subscribe((modalStatus: ModalStatus) => { - if (modalStatus === ModalStatus.Submitted) { - modalRefDocument.dismiss(); - this.getDocumentsData(); - } - }); - } } diff --git a/matsen-tool/src/app/_views/sales/new-sale/new-sale.component.html b/matsen-tool/src/app/_views/sales/new-sale/new-sale.component.html index f4c7f8b..4c2c7b7 100644 --- a/matsen-tool/src/app/_views/sales/new-sale/new-sale.component.html +++ b/matsen-tool/src/app/_views/sales/new-sale/new-sale.component.html @@ -31,53 +31,16 @@ +
+ + +
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.html b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.html new file mode 100644 index 0000000..59b20e7 --- /dev/null +++ b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.html @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {{ 'overview.number' | translate }} + {{ pagingComponent.getPageSize() * (pagingComponent.getPageIndex()-1) + dataSource.filteredData.indexOf(element) + 1 }} + + {{ 'overview.sale-user' | translate }} + + {{ element.ownerName }} + + {{ 'overview.sale-partner' | translate }} + + {{ element.partnerName }} + + {{ 'overview.productname' | translate }} + + {{ element.productName }} + + {{ 'overview.turnover' | translate }} + + {{ element.turnover | currency: 'EUR' }} + + {{ 'overview.profit' | translate }} + + {{ element.profit | currency: 'EUR' }} + + {{ 'overview.createdAt' | translate }} + + {{ element.createdAt | date:'dd.MM.YYYY HH:mm' }} + + {{ 'overview.details' | translate }} + + +
+
\ No newline at end of file diff --git a/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.scss b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.spec.ts b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.spec.ts new file mode 100644 index 0000000..cd3d07b --- /dev/null +++ b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SaleListComponent } from './sale-list.component'; + +describe('SaleListComponent', () => { + let component: SaleListComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [SaleListComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(SaleListComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.ts b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.ts new file mode 100644 index 0000000..cd25750 --- /dev/null +++ b/matsen-tool/src/app/_views/sales/sale-list/sale-list.component.ts @@ -0,0 +1,92 @@ +import {AfterViewInit, Component, OnInit, ViewChild} from '@angular/core'; +import {Subscription} from "rxjs"; +import {SaleJsonld, SaleService, SaleSummaryJsonld} from "@app/core/api/v1"; +import {TranslateService} from "@ngx-translate/core"; +import {Router} from "@angular/router"; +import {AppHelperService} from "@app/_helpers/app-helper.service"; +import {MatSort, Sort} from "@angular/material/sort"; +import {MatTableDataSource} from "@angular/material/table"; +import {PagingComponent} from "@app/_components/paging/paging.component"; +import {NewSaleComponent} from "@app/_views/sales/new-sale/new-sale.component"; +import {OrderFilter} from "@app/_models/orderFilter"; +import {AccountService} from "@app/_services"; + +@Component({ + selector: 'app-sale-list', + templateUrl: './sale-list.component.html', + styleUrl: './sale-list.component.scss' +}) +export class SaleListComponent implements OnInit, AfterViewInit { + + @ViewChild(MatSort) sort; + @ViewChild("pagingComponent", { static: false }) pagingComponent!: PagingComponent; + + protected displayedColumns: string[]; + protected salesSub: Subscription; + protected sales: Array; + protected salesSummarySub: Subscription; + protected saleSummaries: Array; + + protected dataSource; + + constructor( + private saleService: SaleService, + private router: Router, + protected appHelperService: AppHelperService, + protected accountService: AccountService, + ) { + this.sort = new MatSort(); + this.displayedColumns = ['pos', 'user', 'partner', 'product', 'turnover', 'profit', 'date', 'details']; + this.salesSub = new Subscription(); + this.sales = []; + this.salesSummarySub = new Subscription(); + this.saleSummaries = []; + + this.dataSource = new MatTableDataSource(this.sales); + } + + ngOnInit() { + } + + ngAfterViewInit(): void { + this.pagingComponent.getData(); + } + + getData = () => { + this.salesSub = this.saleService.salesGetCollection( + this.pagingComponent.getPageIndex(), + this.pagingComponent.getPageSize(), + ).subscribe( + data => { + this.sales = data["hydra:member"]; + this.dataSource = new MatTableDataSource(this.sales); + this.pagingComponent.dataLength = Number(data["hydra:totalItems"]); + } + ) + } + + onSortChange(sortState: Sort) { + // Reset page index to first page + this.pagingComponent.resetPageIndex(); + + let order: OrderFilter; + if (sortState.direction === "") { + order = OrderFilter.Undefined; + } else { + order = sortState.direction; + } + + this.pagingComponent.getData(); + } + + navigateToSaleDetails(element: any) { + const sale: SaleJsonld = element as SaleJsonld; + this.router.navigate(['/sales', this.appHelperService.extractId(sale.id)]); + } + + openModalNewSale() { + let sale: SaleJsonld = {} as SaleJsonld; + this.appHelperService.openModal(NewSaleComponent, { 'sale': sale }, this.getData); + } + +} diff --git a/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.html b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.html new file mode 100644 index 0000000..78b6769 --- /dev/null +++ b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.html @@ -0,0 +1,19 @@ +
+

{{ saleSummary.ownerName }}

+
+
+ + {{ 'sales.turnover' | translate }}: {{ saleSummary.turnover | currency: 'EUR' }} + +
+
+
+
+ + {{ 'sales.profit' | translate }}: {{ saleSummary.profit | currency: 'EUR' }} + +
+
+
\ No newline at end of file diff --git a/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.scss b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.spec.ts b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.spec.ts new file mode 100644 index 0000000..b4f3fef --- /dev/null +++ b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SaleSummaryComponent } from './sale-summary.component'; + +describe('SaleSummaryComponent', () => { + let component: SaleSummaryComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [SaleSummaryComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(SaleSummaryComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.ts b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.ts new file mode 100644 index 0000000..9fd0429 --- /dev/null +++ b/matsen-tool/src/app/_views/sales/sale-summary/sale-summary.component.ts @@ -0,0 +1,55 @@ +import {AfterViewInit, Component, OnInit} from '@angular/core'; +import {Subscription} from "rxjs"; +import {SaleSummaryJsonld, SaleSummaryService} from "@app/core/api/v1"; + +@Component({ + selector: 'app-sale-summary', + templateUrl: './sale-summary.component.html', + styleUrl: './sale-summary.component.scss' +}) +export class SaleSummaryComponent implements OnInit, AfterViewInit { + + protected readonly Number = Number; + protected salesSummarySub: Subscription; + protected saleSummaries: Array; + protected saleSummaryMaxTurnover: number; + + + constructor( + private saleSummaryService: SaleSummaryService, + ) { + this.salesSummarySub = new Subscription(); + this.saleSummaries = []; + this.saleSummaryMaxTurnover = 0; + } + + ngOnInit(): void { + this.getData(); + } + + ngAfterViewInit(): void { + } + + + + getData() { + this.salesSummarySub = this.saleSummaryService.saleSummariesGetCollection( + 1, + 50 + ).subscribe( + data => { + this.saleSummaries = data["hydra:member"]; + if (this.saleSummaries.length > 0) { + this.saleSummaryMaxTurnover = Number(this.saleSummaries[0].turnover); + } + } + ) + } + + calculateWidthPercentage(turnover: number, maxTurnOver: number): number { + if (turnover && maxTurnOver && maxTurnOver !== 0) { + return (turnover / maxTurnOver) * 100; + } + return 0; + } +} diff --git a/matsen-tool/src/app/_views/sales/sales.component.html b/matsen-tool/src/app/_views/sales/sales.component.html index 59e0429..3fdc1a8 100644 --- a/matsen-tool/src/app/_views/sales/sales.component.html +++ b/matsen-tool/src/app/_views/sales/sales.component.html @@ -1,121 +1,7 @@

{{ 'basic.sales' | translate }}

-
- -
-

{{ saleSummary.ownerName }}

-
-
- - {{ 'sales.turnover' | translate }}: {{ saleSummary.turnover | currency: 'EUR' }} - -
-
-
-
- - {{ 'sales.profit' | translate }}: {{ saleSummary.profit | currency: 'EUR' }} - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- {{ 'overview.number' | translate }} - {{ (pageSize * pageIndex) + dataSource.filteredData.indexOf(element) + 1 }} - - {{ 'overview.sale-user' | translate }} - - {{ element.ownerName }} - - {{ 'overview.sale-partner' | translate }} - - {{ element.partnerName }} - - {{ 'overview.productname' | translate }} - - {{ element.productName }} - - {{ 'overview.turnover' | translate }} - - {{ element.turnover | currency: 'EUR' }} - - {{ 'overview.profit' | translate }} - - {{ element.profit | currency: 'EUR' }} - - {{ 'overview.createdAt' | translate }} - - {{ element.createdAt | date:'dd.MM.YYYY HH:mm' }} - - {{ 'overview.details' | translate }} - - -
- - -
+ + + \ No newline at end of file diff --git a/matsen-tool/src/app/_views/sales/sales.component.ts b/matsen-tool/src/app/_views/sales/sales.component.ts index 9fc6be0..497ad69 100644 --- a/matsen-tool/src/app/_views/sales/sales.component.ts +++ b/matsen-tool/src/app/_views/sales/sales.component.ts @@ -1,26 +1,8 @@ -import {ChangeDetectorRef, Component, LOCALE_ID, OnInit, ViewChild} from '@angular/core'; -import { - ContactJsonld, - ProductJsonld, - SaleJsonld, - SaleService, - SaleSummaryJsonld, - SaleSummaryService -} from "@app/core/api/v1"; -import {Subscription} from "rxjs"; -import {MatPaginator, MatPaginatorIntl, PageEvent} from "@angular/material/paginator"; -import {MatSort, Sort} from "@angular/material/sort"; -import {TranslateService} from "@ngx-translate/core"; -import {NewPartnerComponent} from "@app/_views/partners/new-partner/new-partner.component"; -import {ModalStatus} from "@app/_helpers/modal.states"; -import {NgbModal, NgbModalOptions} from "@ng-bootstrap/ng-bootstrap"; -import {MatTableDataSource} from "@angular/material/table"; -import {OrderFilter} from "@app/_models/orderFilter"; -import {AppHelperService} from "@app/_helpers/app-helper.service"; -import {Router} from "@angular/router"; +import {AfterViewInit, Component, LOCALE_ID, OnInit, ViewChild} from '@angular/core'; import {registerLocaleData} from "@angular/common"; import localeDe from '@angular/common/locales/de'; -import {NewSaleComponent} from "@app/_views/sales/new-sale/new-sale.component"; +import {SaleListComponent} from "@app/_views/sales/sale-list/sale-list.component"; +import {SaleSummaryComponent} from "@app/_views/sales/sale-summary/sale-summary.component"; registerLocaleData(localeDe); @@ -35,148 +17,18 @@ registerLocaleData(localeDe); }, ], }) -export class SalesComponent implements OnInit { - @ViewChild(MatSort) sort; - @ViewChild(MatPaginator) paginator: MatPaginator; - - protected displayedColumns: string[]; - protected salesSub: Subscription; - protected sales: Array; - protected salesSummarySub: Subscription; - protected saleSummaries: Array; - - protected dataSource; - protected length: number; - protected pageEvent: PageEvent; - protected pageSize: number; - protected pageIndex: number; - - protected saleSummaryMaxTurnover: number; - - protected modalOptions: NgbModalOptions = { - centered: true - }; +export class SalesComponent implements OnInit, AfterViewInit { + @ViewChild("saleSummary", { static: false }) saleSummary!: SaleSummaryComponent; + @ViewChild("saleList", { static: false }) saleList!: SaleListComponent; constructor( - private saleService: SaleService, - private saleSummaryService: SaleSummaryService, - private translateService: TranslateService, - private modalService: NgbModal, - private router: Router, - protected appHelperService: AppHelperService, ) { - this.sort = new MatSort(); - this.displayedColumns = ['pos', 'user', 'partner', 'product', 'turnover', 'profit', 'date', 'details']; - this.salesSub = new Subscription(); - this.sales = []; - this.salesSummarySub = new Subscription(); - this.saleSummaries = []; - - this.dataSource = new MatTableDataSource(this.sales); - this.paginator = new MatPaginator(new MatPaginatorIntl(), ChangeDetectorRef.prototype); - this.length = 0; - this.pageEvent = new PageEvent(); - this.pageSize = 10; - this.pageIndex = 0; - - this.saleSummaryMaxTurnover = 0; } ngOnInit() { - this.getSalesData(); - this.getSalesSummaryData(); - } - - getSalesData() { - this.salesSub = this.saleService.salesGetCollection( - this.pageIndex + 1, - this.pageSize, - ).subscribe( - data => { - this.sales = data["hydra:member"]; - this.dataSource = new MatTableDataSource(this.sales); - this.length = Number(data["hydra:totalItems"]); - this.paginator.length = this.length; - console.log(this.sales); - } - ) - } - - getSalesSummaryData() { - this.salesSummarySub = this.saleSummaryService.saleSummariesGetCollection( - 1, - 50 - ).subscribe( - data => { - this.saleSummaries = data["hydra:member"]; - console.log(this.saleSummaries); - if (this.saleSummaries.length > 0) { - this.saleSummaryMaxTurnover = Number(this.saleSummaries[0].turnover); - } - } - ) - } - - calculateWidthPercentage(turnover: number, maxTurnOver: number): number { - if (turnover && maxTurnOver && maxTurnOver !== 0) { - return (turnover / maxTurnOver) * 100; - } - return 0; - } - - onSortChange(sortState: Sort) { - // Reset page index to first page - this.pageIndex = 0; - - let order: OrderFilter; - if (sortState.direction === "") { - order = OrderFilter.Undefined; - } else { - order = sortState.direction; - } - - // this.nameOrderAsc = OrderFilter.Undefined; - // this.cityOrderAsc = OrderFilter.Undefined; - // this.websiteOrderAsc = OrderFilter.Undefined; - // switch (sortState.active) { - // case "name": - // this.nameOrderAsc = order; - // break; - // case "address": - // this.cityOrderAsc = order; - // break; - // case "website": - // this.websiteOrderAsc = order; - // break; - // } - this.getSalesData(); - } - - handlePageEvent(e: PageEvent) { - this.pageEvent = e; - this.length = e.length; - this.pageIndex = e.pageIndex.valueOf(); - this.pageSize = e.pageSize.valueOf(); - this.getSalesData(); - } - - navigateToSaleDetails(element: any) { - const sale: SaleJsonld = element as SaleJsonld; - this.router.navigate(['/sales', this.appHelperService.extractId(sale.id)]); } - openModalNewSale() { - const modalRefSale = this.modalService.open(NewSaleComponent, this.appHelperService.getModalOptions()); - let sale: SaleJsonld = {} as SaleJsonld; - modalRefSale.componentInstance.sale = sale; - modalRefSale.componentInstance.submit.subscribe((modalStatus: ModalStatus) => { - if (modalStatus === ModalStatus.Submitted) { - modalRefSale.dismiss(); - this.getSalesData(); - this.getSalesSummaryData(); - } - }); + ngAfterViewInit(): void { } - protected readonly Number = Number; } diff --git a/matsen-tool/src/app/app.module.ts b/matsen-tool/src/app/app.module.ts index f5c2e90..f413807 100644 --- a/matsen-tool/src/app/app.module.ts +++ b/matsen-tool/src/app/app.module.ts @@ -56,6 +56,9 @@ import { SearchInputComponent } from './_components/search-input/search-input.co import { PagingComponent } from '@app/_components/paging/paging.component'; import { PartnerListComponent } from './_views/partners/partner-list/partner-list.component'; import { ProductListComponent } from './_views/products/product-list/product-list.component'; +import { DocumentListComponent } from './_views/documents/document-list/document-list.component'; +import { SaleListComponent } from './_views/sales/sale-list/sale-list.component'; +import { SaleSummaryComponent } from './_views/sales/sale-summary/sale-summary.component'; export function apiConfigFactory(): Configuration { const params: ConfigurationParameters = { @@ -133,6 +136,9 @@ export function HttpLoaderFactory(http: HttpClient) { PagingComponent, PartnerListComponent, ProductListComponent, + DocumentListComponent, + SaleListComponent, + SaleSummaryComponent, ], providers: [ {provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true}, diff --git a/matsen-tool/src/app/core/api/v1/model/sale.ts b/matsen-tool/src/app/core/api/v1/model/sale.ts index 6a92b90..ff599e7 100644 --- a/matsen-tool/src/app/core/api/v1/model/sale.ts +++ b/matsen-tool/src/app/core/api/v1/model/sale.ts @@ -17,10 +17,10 @@ export interface Sale { readonly owner?: string | null; readonly ownerName?: string | null; - partner?: string | null; + partner: string | null; readonly partnerType?: Sale.PartnerTypeEnum; readonly partnerName?: string | null; - product?: string | null; + product: string | null; readonly productName?: string | null; turnover: number | null; profit: number | null; diff --git a/matsen-tool/src/app/core/api/v1/model/saleJsonhal.ts b/matsen-tool/src/app/core/api/v1/model/saleJsonhal.ts index 266eba8..9f7ec20 100644 --- a/matsen-tool/src/app/core/api/v1/model/saleJsonhal.ts +++ b/matsen-tool/src/app/core/api/v1/model/saleJsonhal.ts @@ -19,10 +19,10 @@ export interface SaleJsonhal { _links?: CommentJsonhalLinks; readonly owner?: string | null; readonly ownerName?: string | null; - partner?: string | null; + partner: string | null; readonly partnerType?: SaleJsonhal.PartnerTypeEnum; readonly partnerName?: string | null; - product?: string | null; + product: string | null; readonly productName?: string | null; turnover: number | null; profit: number | null; diff --git a/matsen-tool/src/app/core/api/v1/model/saleJsonld.ts b/matsen-tool/src/app/core/api/v1/model/saleJsonld.ts index 06d7c5f..6c5b635 100644 --- a/matsen-tool/src/app/core/api/v1/model/saleJsonld.ts +++ b/matsen-tool/src/app/core/api/v1/model/saleJsonld.ts @@ -21,10 +21,10 @@ export interface SaleJsonld { readonly type?: string; readonly owner?: string | null; readonly ownerName?: string | null; - partner?: string | null; + partner: string | null; readonly partnerType?: SaleJsonld.PartnerTypeEnum; readonly partnerName?: string | null; - product?: string | null; + product: string | null; readonly productName?: string | null; turnover: number | null; profit: number | null; diff --git a/matsen-tool/src/assets/i18n/de.json b/matsen-tool/src/assets/i18n/de.json index 7b7712b..db45ae6 100644 --- a/matsen-tool/src/assets/i18n/de.json +++ b/matsen-tool/src/assets/i18n/de.json @@ -115,6 +115,7 @@ "product": "Produkt", "turnover": "Umsatz", "profit": "Gewinn", + "quantity": "Anzahl", "send": "Speichern" }, "sales":