diff --git a/export/openapi.json b/export/openapi.json index 49eb344..2ff7663 100644 --- a/export/openapi.json +++ b/export/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},{"name":"partner.type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner.type[]","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},{"name":"partner.type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner.type[]","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_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\/sale_summaries\/{userId}":{"get":{"operationId":"api_sale_summaries_userId_get","tags":["SaleSummary"],"responses":{"200":{"description":"SaleSummary resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a SaleSummary resource.","description":"Retrieves a SaleSummary resource.","parameters":[{"name":"userId","in":"path","description":"SaleSummary identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","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},{"name":"order[product.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_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":{"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"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":{"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"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":{"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"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":{"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"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":{"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"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":{"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"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"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",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\/"},"contactName":{"readOnly":true,"type":["string","null"]},"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"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",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\/"},"contactName":{"readOnly":true,"type":["string","null"]},"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"]},"partnerType":{"readOnly":true,"type":["string","null"],"enum":["customer","supplier","service",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\/"},"contactName":{"readOnly":true,"type":["string","null"]},"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":{"userId":{"type":"integer"},"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"}}}}},"userId":{"type":"integer"},"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"},"@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}]},"userId":{"type":"integer"},"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","product","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]},"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\/"},"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","product","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]},"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\/"},"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","product","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]},"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\/"},"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":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"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":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"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":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"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},{"name":"partner.type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner.type[]","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},{"name":"partner.type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner.type[]","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_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\/sale_summaries\/{userId}":{"get":{"operationId":"api_sale_summaries_userId_get","tags":["SaleSummary"],"responses":{"200":{"description":"SaleSummary resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/SaleSummary.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a SaleSummary resource.","description":"Retrieves a SaleSummary resource.","parameters":[{"name":"userId","in":"path","description":"SaleSummary identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","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},{"name":"order[product.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_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,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"postIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"postIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"postIri":{"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","partnerIri"],"properties":{"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"fullName":{"type":["string","null"]},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact.jsonhal":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partnerIri"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"fullName":{"type":["string","null"]},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Contact.jsonld":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName","partnerIri"],"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"]},"fullName":{"type":["string","null"]},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct":{"type":"object","description":"","deprecated":false,"required":["contactIri","partnerProductIri"],"properties":{"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProductIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct.jsonhal":{"type":"object","description":"","deprecated":false,"required":["contactIri","partnerProductIri"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProductIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"ContactPartnerProduct.jsonld":{"type":"object","description":"","deprecated":false,"required":["contactIri","partnerProductIri"],"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"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerProductIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"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":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"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":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"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":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentObject":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdBy":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"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"]},"createdByIri":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"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"]},"createdByIri":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"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"]},"createdByIri":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"PartnerFollow":{"type":"object","description":"","deprecated":false,"properties":{"userIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partnerIri"]},"PartnerFollow.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"userIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partnerIri"]},"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"},"userIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["partnerIri"]},"PartnerProduct":{"type":"object","description":"","deprecated":false,"properties":{"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["partnerIri","productIri"]},"PartnerProduct.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["partnerIri","productIri"]},"PartnerProduct.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"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["partnerIri","productIri"]},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"readOnly":true,"description":"?ContactApi","$ref":"#\/components\/schemas\/Contact"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"readOnly":true,"description":"?SaleApi","$ref":"#\/components\/schemas\/Contact"},"saleIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"]},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"saleIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"readOnly":true,"description":"?ContactApi","$ref":"#\/components\/schemas\/Contact.jsonhal"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"readOnly":true,"description":"?SaleApi","$ref":"#\/components\/schemas\/Contact.jsonhal"},"saleIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"]},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"saleIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"readOnly":true,"description":"?ContactApi","$ref":"#\/components\/schemas\/Contact.jsonld"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"readOnly":true,"description":"?SaleApi","$ref":"#\/components\/schemas\/Contact.jsonld"},"saleIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"]},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"saleIri":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Sale":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"}},"required":["partnerIri","productIri","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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"}},"required":["partnerIri","productIri","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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"}},"required":["partnerIri","productIri","turnover","profit","quantity"]},"SaleSummary":{"type":"object","description":"","deprecated":false,"properties":{"userId":{"type":"integer"},"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"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"}}}}},"userId":{"type":"integer"},"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"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"},"@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}]},"userId":{"type":"integer"},"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"Task":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedToIri","dueAt","productIri","prio","completed"],"properties":{"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"assignedTo":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"assignedToIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"readOnly":true,"description":"?ContactApi","$ref":"#\/components\/schemas\/Contact"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedToIri","dueAt","productIri","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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"assignedTo":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"assignedToIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonhal"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"readOnly":true,"description":"?ContactApi","$ref":"#\/components\/schemas\/Contact.jsonhal"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedToIri","dueAt","productIri","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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"assignedTo":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"assignedToIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"dueAt":{"type":["string","null"],"format":"date-time"},"partner":{"readOnly":true,"description":"?PartnerApi","$ref":"#\/components\/schemas\/Partner.jsonld"},"partnerIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"readOnly":true,"description":"?ContactApi","$ref":"#\/components\/schemas\/Contact.jsonld"},"contactIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"TaskNote":{"type":"object","description":"","deprecated":false,"required":["message","taskIri"],"properties":{"message":{"type":["string","null"]},"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"taskIri":{"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","taskIri"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"message":{"type":["string","null"]},"owner":{"readOnly":true,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"taskIri":{"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","taskIri"],"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"taskIri":{"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"]},"fullName":{"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"]},"fullName":{"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"]},"fullName":{"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["productIri"]},"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonhal"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonhal"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["productIri"]},"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,"description":"?UserApi","$ref":"#\/components\/schemas\/User.jsonld"},"product":{"readOnly":true,"description":"?ProductApi","$ref":"#\/components\/schemas\/Product.jsonld"},"productIri":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"owner":{"readOnly":true,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["productIri"]}},"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/export/openapi.yaml b/export/openapi.yaml index 4b94ade..8a6c1aa 100644 --- a/export/openapi.yaml +++ b/export/openapi.yaml @@ -155,7 +155,7 @@ paths: - name: id in: path - description: 'CommentApi identifier' + description: 'Comment identifier' required: true deprecated: false allowEmptyValue: false @@ -198,7 +198,7 @@ paths: - name: id in: path - description: 'CommentApi identifier' + description: 'Comment identifier' required: true deprecated: false allowEmptyValue: false @@ -389,7 +389,7 @@ paths: - name: id in: path - description: 'ContactPartnerProductApi identifier' + description: 'ContactPartnerProduct identifier' required: true deprecated: false allowEmptyValue: false @@ -414,7 +414,7 @@ paths: - name: id in: path - description: 'ContactPartnerProductApi identifier' + description: 'ContactPartnerProduct identifier' required: true deprecated: false allowEmptyValue: false @@ -598,7 +598,7 @@ paths: - name: id in: path - description: 'ContactApi identifier' + description: 'Contact identifier' required: true deprecated: false allowEmptyValue: false @@ -641,7 +641,7 @@ paths: - name: id in: path - description: 'ContactApi identifier' + description: 'Contact identifier' required: true deprecated: false allowEmptyValue: false @@ -1036,7 +1036,7 @@ paths: - name: id in: path - description: 'DocumentApi identifier' + description: 'Document identifier' required: true deprecated: false allowEmptyValue: false @@ -1079,7 +1079,7 @@ paths: - name: id in: path - description: 'DocumentApi identifier' + description: 'Document identifier' required: true deprecated: false allowEmptyValue: false @@ -1500,7 +1500,7 @@ paths: - name: id in: path - description: 'PartnerFollowApi identifier' + description: 'PartnerFollow identifier' required: true deprecated: false allowEmptyValue: false @@ -1525,7 +1525,7 @@ paths: - name: id in: path - description: 'PartnerFollowApi identifier' + description: 'PartnerFollow identifier' required: true deprecated: false allowEmptyValue: false @@ -1773,7 +1773,7 @@ paths: - name: id in: path - description: 'PartnerProductApi identifier' + description: 'PartnerProduct identifier' required: true deprecated: false allowEmptyValue: false @@ -1798,7 +1798,7 @@ paths: - name: id in: path - description: 'PartnerProductApi identifier' + description: 'PartnerProduct identifier' required: true deprecated: false allowEmptyValue: false @@ -2039,7 +2039,7 @@ paths: - name: id in: path - description: 'PartnerApi identifier' + description: 'Partner identifier' required: true deprecated: false allowEmptyValue: false @@ -2082,7 +2082,7 @@ paths: - name: id in: path - description: 'PartnerApi identifier' + description: 'Partner identifier' required: true deprecated: false allowEmptyValue: false @@ -2375,7 +2375,7 @@ paths: - name: id in: path - description: 'PostingApi identifier' + description: 'Post identifier' required: true deprecated: false allowEmptyValue: false @@ -2418,7 +2418,7 @@ paths: - name: id in: path - description: 'PostingApi identifier' + description: 'Post identifier' required: true deprecated: false allowEmptyValue: false @@ -2610,7 +2610,7 @@ paths: - name: id in: path - description: 'ProductApi identifier' + description: 'Product identifier' required: true deprecated: false allowEmptyValue: false @@ -2653,7 +2653,7 @@ paths: - name: id in: path - description: 'ProductApi identifier' + description: 'Product identifier' required: true deprecated: false allowEmptyValue: false @@ -2983,7 +2983,7 @@ paths: - name: id in: path - description: 'SaleApi identifier' + description: 'Sale identifier' required: true deprecated: false allowEmptyValue: false @@ -3026,7 +3026,7 @@ paths: - name: id in: path - description: 'SaleApi identifier' + description: 'Sale identifier' required: true deprecated: false allowEmptyValue: false @@ -3217,7 +3217,7 @@ paths: - name: id in: path - description: 'TaskNoteApi identifier' + description: 'TaskNote identifier' required: true deprecated: false allowEmptyValue: false @@ -3260,7 +3260,7 @@ paths: - name: id in: path - description: 'TaskNoteApi identifier' + description: 'TaskNote identifier' required: true deprecated: false allowEmptyValue: false @@ -3503,7 +3503,7 @@ paths: - name: id in: path - description: 'TaskApi identifier' + description: 'Task identifier' required: true deprecated: false allowEmptyValue: false @@ -3546,7 +3546,7 @@ paths: - name: id in: path - description: 'TaskApi identifier' + description: 'Task identifier' required: true deprecated: false allowEmptyValue: false @@ -3778,7 +3778,7 @@ paths: - name: id in: path - description: 'UserProductApi identifier' + description: 'UserProduct identifier' required: true deprecated: false allowEmptyValue: false @@ -3803,7 +3803,7 @@ paths: - name: id in: path - description: 'UserProductApi identifier' + description: 'UserProduct identifier' required: true deprecated: false allowEmptyValue: false @@ -3985,7 +3985,7 @@ paths: - name: id in: path - description: 'UserApi identifier' + description: 'User identifier' required: true deprecated: false allowEmptyValue: false @@ -4047,19 +4047,9 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' - post: - 'owl:maxCardinality': 1 + description: '?UserApi' + $ref: '#/components/schemas/User' + postIri: type: - string - 'null' @@ -4093,19 +4083,9 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' - post: - 'owl:maxCardinality': 1 + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' + postIri: type: - string - 'null' @@ -4153,19 +4133,9 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' - post: - 'owl:maxCardinality': 1 + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' + postIri: type: - string - 'null' @@ -4184,7 +4154,7 @@ components: required: - firstName - lastName - - partner + - partnerIri properties: firstName: type: @@ -4194,8 +4164,15 @@ components: type: - string - 'null' + fullName: + type: + - string + - 'null' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner' + partnerIri: type: - string - 'null' @@ -4207,7 +4184,6 @@ components: - 'null' format: date-time image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -4242,17 +4218,8 @@ components: example: 'https://example.com/' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' createdAt: readOnly: true type: @@ -4266,7 +4233,7 @@ components: required: - firstName - lastName - - partner + - partnerIri properties: _links: type: object @@ -4285,8 +4252,15 @@ components: type: - string - 'null' + fullName: + type: + - string + - 'null' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonhal' + partnerIri: type: - string - 'null' @@ -4298,7 +4272,6 @@ components: - 'null' format: date-time image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -4333,17 +4306,8 @@ components: example: 'https://example.com/' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' createdAt: readOnly: true type: @@ -4357,7 +4321,7 @@ components: required: - firstName - lastName - - partner + - partnerIri properties: '@context': readOnly: true @@ -4390,8 +4354,15 @@ components: type: - string - 'null' + fullName: + type: + - string + - 'null' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonld' + partnerIri: type: - string - 'null' @@ -4403,7 +4374,6 @@ components: - 'null' format: date-time image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -4438,17 +4408,8 @@ components: example: 'https://example.com/' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' createdAt: readOnly: true type: @@ -4460,28 +4421,25 @@ components: description: '' deprecated: false required: - - contact - - partnerProduct + - contactIri + - partnerProductIri properties: - contact: - 'owl:maxCardinality': 1 + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - partnerProduct: - 'owl:maxCardinality': 1 + partnerProductIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: + product: readOnly: true - type: - - string - - 'null' + description: '?ProductApi' + $ref: '#/components/schemas/Product' createdAt: readOnly: true type: @@ -4493,8 +4451,8 @@ components: description: '' deprecated: false required: - - contact - - partnerProduct + - contactIri + - partnerProductIri properties: _links: type: object @@ -4505,25 +4463,22 @@ components: href: type: string format: iri-reference - contact: - 'owl:maxCardinality': 1 + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - partnerProduct: - 'owl:maxCardinality': 1 + partnerProductIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: + product: readOnly: true - type: - - string - - 'null' + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonhal' createdAt: readOnly: true type: @@ -4535,8 +4490,8 @@ components: description: '' deprecated: false required: - - contact - - partnerProduct + - contactIri + - partnerProductIri properties: '@context': readOnly: true @@ -4561,25 +4516,22 @@ components: '@type': readOnly: true type: string - contact: - 'owl:maxCardinality': 1 + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - partnerProduct: - 'owl:maxCardinality': 1 + partnerProductIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: + product: readOnly: true - type: - - string - - 'null' + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonld' createdAt: readOnly: true type: @@ -4603,31 +4555,26 @@ components: - string - 'null' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner' + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - partnerName: - readOnly: true - type: - - string - - 'null' product: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' documentObject: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -4640,17 +4587,8 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' createdAt: readOnly: true type: @@ -4683,31 +4621,26 @@ components: - string - 'null' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonhal' + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - partnerName: - readOnly: true - type: - - string - - 'null' product: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonhal' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' documentObject: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -4720,17 +4653,8 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' createdAt: readOnly: true type: @@ -4777,31 +4701,26 @@ components: - string - 'null' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonld' + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - partnerName: - readOnly: true - type: - - string - - 'null' product: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonld' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' documentObject: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -4814,17 +4733,8 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' createdAt: readOnly: true type: @@ -5018,7 +4928,6 @@ components: - string - 'null' logo: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -5029,45 +4938,19 @@ components: type: - string - 'null' - createdBy: + createdByIri: readOnly: true - 'owl:maxCardinality': 1 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: '' @@ -5122,7 +5005,6 @@ components: - string - 'null' logo: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -5133,45 +5015,19 @@ components: type: - string - 'null' - createdBy: + createdByIri: readOnly: true - 'owl:maxCardinality': 1 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: '' @@ -5240,7 +5096,6 @@ components: - string - 'null' logo: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -5251,72 +5106,40 @@ components: type: - string - 'null' - createdBy: + createdByIri: readOnly: true - 'owl:maxCardinality': 1 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 - 'owl:maxCardinality': 1 + userIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - userName: - readOnly: true - type: - - string - - 'null' partner: + readOnly: true description: '?PartnerApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Partner' - partnerName: - readOnly: true + partnerIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: @@ -5325,14 +5148,13 @@ components: format: date-time owner: readOnly: true - 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' required: - - partner + - partnerIri PartnerFollow.jsonhal: type: object description: '' @@ -5347,28 +5169,22 @@ components: href: type: string format: iri-reference - user: - readOnly: true - 'owl:maxCardinality': 1 + userIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - userName: - readOnly: true - type: - - string - - 'null' partner: + readOnly: true description: '?PartnerApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Partner.jsonhal' - partnerName: - readOnly: true + partnerIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: @@ -5377,14 +5193,13 @@ components: format: date-time owner: readOnly: true - 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' required: - - partner + - partnerIri PartnerFollow.jsonld: type: object description: '' @@ -5413,28 +5228,22 @@ components: '@type': readOnly: true type: string - user: - readOnly: true - 'owl:maxCardinality': 1 + userIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - userName: - readOnly: true - type: - - string - - 'null' partner: + readOnly: true description: '?PartnerApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Partner.jsonld' - partnerName: - readOnly: true + partnerIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: @@ -5443,53 +5252,50 @@ components: format: date-time owner: readOnly: true - 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' required: - - partner + - partnerIri PartnerProduct: type: object description: '' deprecated: false - required: - - partner - - product properties: partner: + readOnly: true description: '?PartnerApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Partner' - partnerName: - readOnly: true + partnerIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' product: description: '?ProductApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Product' - productName: - readOnly: true + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: - string - 'null' format: date-time + required: + - partnerIri + - productIri PartnerProduct.jsonhal: type: object description: '' deprecated: false - required: - - partner - - product properties: _links: type: object @@ -5501,36 +5307,37 @@ components: type: string format: iri-reference partner: + readOnly: true description: '?PartnerApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Partner.jsonhal' - partnerName: - readOnly: true + partnerIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' product: description: '?ProductApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Product.jsonhal' - productName: - readOnly: true + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: - string - 'null' format: date-time + required: + - partnerIri + - productIri PartnerProduct.jsonld: type: object description: '' deprecated: false - required: - - partner - - product properties: '@context': readOnly: true @@ -5556,29 +5363,33 @@ components: readOnly: true type: string partner: + readOnly: true description: '?PartnerApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Partner.jsonld' - partnerName: - readOnly: true + partnerIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' product: description: '?ProductApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Product.jsonld' - productName: - readOnly: true + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: - string - 'null' format: date-time + required: + - partnerIri + - productIri Post: type: object description: '' @@ -5597,76 +5408,48 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner' + partnerIri: 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 product: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' contact: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ContactApi' + $ref: '#/components/schemas/Contact' + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contactName: - readOnly: true - type: - - string - - 'null' sale: - 'owl:maxCardinality': 1 + readOnly: true + description: '?SaleApi' + $ref: '#/components/schemas/Contact' + saleIri: 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: @@ -5689,29 +5472,25 @@ components: type: - string - 'null' - partner: - 'owl:maxCardinality': 1 + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - product: - 'owl:maxCardinality': 1 + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contact: - 'owl:maxCardinality': 1 + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - sale: - 'owl:maxCardinality': 1 + saleIri: type: - string - 'null' @@ -5760,76 +5539,48 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonhal' + partnerIri: 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 product: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonhal' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' contact: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ContactApi' + $ref: '#/components/schemas/Contact.jsonhal' + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contactName: - readOnly: true - type: - - string - - 'null' sale: - 'owl:maxCardinality': 1 + readOnly: true + description: '?SaleApi' + $ref: '#/components/schemas/Contact.jsonhal' + saleIri: 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: @@ -5861,29 +5612,25 @@ components: type: - string - 'null' - partner: - 'owl:maxCardinality': 1 + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - product: - 'owl:maxCardinality': 1 + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contact: - 'owl:maxCardinality': 1 + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - sale: - 'owl:maxCardinality': 1 + saleIri: type: - string - 'null' @@ -5930,76 +5677,48 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonld' + partnerIri: 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 product: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonld' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' contact: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ContactApi' + $ref: '#/components/schemas/Contact.jsonld' + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contactName: - readOnly: true - type: - - string - - 'null' sale: - 'owl:maxCardinality': 1 + readOnly: true + description: '?SaleApi' + $ref: '#/components/schemas/Contact.jsonld' + saleIri: 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: @@ -6022,29 +5741,25 @@ components: type: - string - 'null' - partner: - 'owl:maxCardinality': 1 + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - product: - 'owl:maxCardinality': 1 + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contact: - 'owl:maxCardinality': 1 + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - sale: - 'owl:maxCardinality': 1 + saleIri: type: - string - 'null' @@ -6064,7 +5779,6 @@ components: - string - 'null' image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -6077,17 +5791,8 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' createdAt: type: - string @@ -6116,7 +5821,6 @@ components: - string - 'null' image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -6129,17 +5833,8 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' createdAt: type: - string @@ -6182,7 +5877,6 @@ components: - string - 'null' image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -6195,17 +5889,8 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' createdAt: type: - string @@ -6218,48 +5903,28 @@ components: properties: owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner' + partnerIri: 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: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' turnover: type: - integer @@ -6282,15 +5947,9 @@ components: - string - 'null' format: date-time - posts: - readOnly: true - description: 'array' - type: array - items: - type: string required: - - partner - - product + - partnerIri + - productIri - turnover - profit - quantity @@ -6310,48 +5969,28 @@ components: format: iri-reference owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonhal' + partnerIri: 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: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonhal' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' turnover: type: - integer @@ -6374,15 +6013,9 @@ components: - string - 'null' format: date-time - posts: - readOnly: true - description: 'array' - type: array - items: - type: string required: - - partner - - product + - partnerIri + - productIri - turnover - profit - quantity @@ -6416,48 +6049,28 @@ components: type: string owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' partner: - 'owl:maxCardinality': 1 - 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: - 'owl:maxCardinality': 1 + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonld' + partnerIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: + product: readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonld' + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' turnover: type: - integer @@ -6480,15 +6093,9 @@ components: - string - 'null' format: date-time - posts: - readOnly: true - description: 'array' - type: array - items: - type: string required: - - partner - - product + - partnerIri + - productIri - turnover - profit - quantity @@ -6500,16 +6107,9 @@ components: userId: type: integer owner: - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - type: - - string - - 'null' + readOnly: true + description: '?UserApi' + $ref: '#/components/schemas/User' turnover: type: - integer @@ -6535,16 +6135,9 @@ components: userId: type: integer owner: - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - type: - - string - - 'null' + readOnly: true + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' turnover: type: - integer @@ -6584,16 +6177,9 @@ components: userId: type: integer owner: - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - type: - - string - - 'null' + readOnly: true + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' turnover: type: - integer @@ -6609,9 +6195,9 @@ components: required: - headline - description - - assignedTo + - assignedToIri - dueAt - - product + - productIri - prio - completed properties: @@ -6625,79 +6211,53 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' assignedTo: - 'owl:maxCardinality': 1 + readOnly: true + description: '?UserApi' + $ref: '#/components/schemas/User' + assignedToIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - assignedToName: - readOnly: true - type: - - string - - 'null' dueAt: type: - string - 'null' format: date-time partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner' + partnerIri: 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 product: + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' contact: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ContactApi' + $ref: '#/components/schemas/Contact' + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contactName: - readOnly: true - type: - - string - - 'null' prio: type: string enum: @@ -6708,12 +6268,6 @@ components: type: - boolean - 'null' - taskNotes: - readOnly: true - description: 'array' - type: array - items: - $ref: '#/components/schemas/TaskNote' createdAt: readOnly: true type: @@ -6727,9 +6281,9 @@ components: required: - headline - description - - assignedTo + - assignedToIri - dueAt - - product + - productIri - prio - completed properties: @@ -6752,79 +6306,53 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' assignedTo: - 'owl:maxCardinality': 1 + readOnly: true + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' + assignedToIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - assignedToName: - readOnly: true - type: - - string - - 'null' dueAt: type: - string - 'null' format: date-time partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonhal' + partnerIri: 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 product: + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonhal' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' contact: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ContactApi' + $ref: '#/components/schemas/Contact.jsonhal' + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contactName: - readOnly: true - type: - - string - - 'null' prio: type: string enum: @@ -6835,12 +6363,6 @@ components: type: - boolean - 'null' - taskNotes: - readOnly: true - description: 'array' - type: array - items: - $ref: '#/components/schemas/TaskNote.jsonhal' createdAt: readOnly: true type: @@ -6854,9 +6376,9 @@ components: required: - headline - description - - assignedTo + - assignedToIri - dueAt - - product + - productIri - prio - completed properties: @@ -6893,79 +6415,53 @@ components: - 'null' createdBy: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - createdByName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' assignedTo: - 'owl:maxCardinality': 1 + readOnly: true + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' + assignedToIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - assignedToName: - readOnly: true - type: - - string - - 'null' dueAt: type: - string - 'null' format: date-time partner: - 'owl:maxCardinality': 1 + readOnly: true + description: '?PartnerApi' + $ref: '#/components/schemas/Partner.jsonld' + partnerIri: 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 product: + readOnly: true + description: '?ProductApi' + $ref: '#/components/schemas/Product.jsonld' + productIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - productName: - readOnly: true - type: - - string - - 'null' contact: - 'owl:maxCardinality': 1 + readOnly: true + description: '?ContactApi' + $ref: '#/components/schemas/Contact.jsonld' + contactIri: type: - string - 'null' format: iri-reference example: 'https://example.com/' - contactName: - readOnly: true - type: - - string - - 'null' prio: type: string enum: @@ -6976,12 +6472,6 @@ components: type: - boolean - 'null' - taskNotes: - readOnly: true - description: 'array' - type: array - items: - $ref: '#/components/schemas/TaskNote.jsonld' createdAt: readOnly: true type: @@ -6994,6 +6484,7 @@ components: deprecated: false required: - message + - taskIri properties: message: type: @@ -7001,19 +6492,9 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' - task: - 'owl:maxCardinality': 1 + description: '?UserApi' + $ref: '#/components/schemas/User' + taskIri: type: - string - 'null' @@ -7031,6 +6512,7 @@ components: deprecated: false required: - message + - taskIri properties: _links: type: object @@ -7047,19 +6529,9 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' - task: - 'owl:maxCardinality': 1 + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' + taskIri: type: - string - 'null' @@ -7077,6 +6549,7 @@ components: deprecated: false required: - message + - taskIri properties: '@context': readOnly: true @@ -7107,19 +6580,9 @@ components: - 'null' owner: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - ownerName: - readOnly: true - type: - - string - - 'null' - task: - 'owl:maxCardinality': 1 + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' + taskIri: type: - string - 'null' @@ -7156,7 +6619,6 @@ components: - string - 'null' image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -7167,6 +6629,11 @@ components: type: - string - 'null' + fullName: + readOnly: true + type: + - string + - 'null' password: writeOnly: true description: 'The plaintext password when being set or changed.' @@ -7215,7 +6682,6 @@ components: - string - 'null' image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -7226,6 +6692,11 @@ components: type: - string - 'null' + fullName: + readOnly: true + type: + - string + - 'null' password: writeOnly: true description: 'The plaintext password when being set or changed.' @@ -7288,7 +6759,6 @@ components: - string - 'null' image: - 'owl:maxCardinality': 1 type: - string - 'null' @@ -7299,6 +6769,11 @@ components: type: - string - 'null' + fullName: + readOnly: true + type: + - string + - 'null' password: writeOnly: true description: 'The plaintext password when being set or changed.' @@ -7320,26 +6795,18 @@ components: properties: user: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - userName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User' product: + readOnly: true description: '?ProductApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Product' - productName: - readOnly: true + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: @@ -7348,14 +6815,13 @@ components: format: date-time owner: readOnly: true - 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' required: - - product + - productIri UserProduct.jsonhal: type: object description: '' @@ -7372,26 +6838,18 @@ components: format: iri-reference user: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - userName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonhal' product: + readOnly: true description: '?ProductApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Product.jsonhal' - productName: - readOnly: true + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: @@ -7400,14 +6858,13 @@ components: format: date-time owner: readOnly: true - 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' required: - - product + - productIri UserProduct.jsonld: type: object description: '' @@ -7438,26 +6895,18 @@ components: type: string user: readOnly: true - 'owl:maxCardinality': 1 - type: - - string - - 'null' - format: iri-reference - example: 'https://example.com/' - userName: - readOnly: true - type: - - string - - 'null' + description: '?UserApi' + $ref: '#/components/schemas/User.jsonld' product: + readOnly: true description: '?ProductApi' - 'owl:maxCardinality': 1 $ref: '#/components/schemas/Product.jsonld' - productName: - readOnly: true + productIri: type: - string - 'null' + format: iri-reference + example: 'https://example.com/' createdAt: readOnly: true type: @@ -7466,14 +6915,13 @@ components: format: date-time owner: readOnly: true - 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' required: - - product + - productIri responses: { } parameters: { } examples: { } diff --git a/src/ApiResource/CommentApi.php b/src/ApiResource/CommentApi.php index 6736300..3df6a1f 100644 --- a/src/ApiResource/CommentApi.php +++ b/src/ApiResource/CommentApi.php @@ -22,6 +22,7 @@ use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; use App\Validator\IsValidOwner; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Serializer\Attribute\Groups; use Symfony\Component\Validator\Constraints\NotBlank; @@ -58,13 +59,23 @@ class CommentApi implements OwnerInterface #[NotBlank] public ?string $message = null; - #[ApiProperty(writable: false)] + /** + * @var $owner ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $owner = null; - #[ApiProperty(writable: false)] - public ?string $ownerName = null; - - public ?PostingApi $post = null; + public ?PostingApi $postIri = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/ApiResource/ContactApi.php b/src/ApiResource/ContactApi.php index 3490fda..983cc88 100644 --- a/src/ApiResource/ContactApi.php +++ b/src/ApiResource/ContactApi.php @@ -21,6 +21,7 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Validator\Constraints\Email; use Symfony\Component\Validator\Constraints\NotBlank; @@ -61,9 +62,27 @@ class ContactApi #[NotBlank] public ?string $lastName = null; - #[NotBlank] + public ?string $fullName = null; + + /** + * @var $partner ?PartnerApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: PartnerApi::class, + ) + ] + )] public ?PartnerApi $partner = null; + #[NotBlank] + public ?PartnerApi $partnerIri = null; + public ?\DateTimeImmutable $birthday = null; public ?MediaObject $image = null; @@ -84,12 +103,22 @@ class ContactApi #[ApiProperty(writable: false)] public array $posts = []; - #[ApiProperty(writable: false)] + /** + * @var $createdBy ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: true, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $createdBy = null; - #[ApiProperty(writable: false)] - public ?string $createdByName = null; - #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; } \ No newline at end of file diff --git a/src/ApiResource/ContactPartnerProductApi.php b/src/ApiResource/ContactPartnerProductApi.php index 85949f2..61f9e19 100644 --- a/src/ApiResource/ContactPartnerProductApi.php +++ b/src/ApiResource/ContactPartnerProductApi.php @@ -19,6 +19,7 @@ use ApiPlatform\Metadata\Delete; use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Post; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Validator\Constraints\NotBlank; #[ApiResource( @@ -49,13 +50,26 @@ class ContactPartnerProductApi public ?int $id = null; #[NotBlank] - public ?ContactApi $contact = null; + public ?ContactApi $contactIri = null; #[NotBlank] - public ?PartnerProductApi $partnerProduct = null; + public ?PartnerProductApi $partnerProductIri = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; + /** + * @var $product ?ProductApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: ProductApi::class, + ) + ] + )] + public ?ProductApi $product = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/ApiResource/DocumentApi.php b/src/ApiResource/DocumentApi.php index c14b748..ac7a5f2 100644 --- a/src/ApiResource/DocumentApi.php +++ b/src/ApiResource/DocumentApi.php @@ -25,6 +25,7 @@ use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; use App\Validator\IsValidOwner; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Serializer\Attribute\Groups; use Symfony\Component\Validator\Constraints\NotBlank; @@ -63,15 +64,41 @@ class DocumentApi public ?string $description = null; + /** + * @var $partner ?PartnerApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: PartnerApi::class, + ) + ] + )] public ?PartnerApi $partner = null; - #[ApiProperty(writable: false)] - public ?string $partnerName = null; + public ?PartnerApi $partnerIri = null; + /** + * @var $product ?ProductApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: ProductApi::class, + ) + ] + )] public ?ProductApi $product = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; + public ?ProductApi $productIri = null; #[NotBlank] public ?DocumentObject $documentObject = null; @@ -79,12 +106,22 @@ class DocumentApi #[ApiProperty(writable: false)] public ?string $documentUrl = null; - #[ApiProperty(writable: false)] + /** + * @var $createdBy ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: true, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $createdBy = null; - #[ApiProperty(writable: false)] - public ?string $createdByName = null; - #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; } \ No newline at end of file diff --git a/src/ApiResource/PartnerApi.php b/src/ApiResource/PartnerApi.php index 2b4bb68..027c0f4 100644 --- a/src/ApiResource/PartnerApi.php +++ b/src/ApiResource/PartnerApi.php @@ -24,6 +24,7 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Validator\Constraints\NotBlank; #[ApiResource( @@ -82,29 +83,8 @@ class PartnerApi public ?string $logoUrl = null; #[ApiProperty(writable: false)] - public ?UserApi $createdBy = null; - - #[ApiProperty(writable: false)] - public ?string $createdByName = null; + public ?UserApi $createdByIri = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; - - /** - * @var $posts array - */ - #[ApiProperty(writable: false)] - public array $posts = []; - - /** - * @var array - */ - #[ApiProperty(writable: false)] - public array $contacts = []; - - /** - * @var array - */ - #[ApiProperty(writable: false)] - public array $partnerProducts = []; } \ No newline at end of file diff --git a/src/ApiResource/PartnerFollowApi.php b/src/ApiResource/PartnerFollowApi.php index 220eb1b..1380544 100644 --- a/src/ApiResource/PartnerFollowApi.php +++ b/src/ApiResource/PartnerFollowApi.php @@ -12,9 +12,7 @@ use ApiPlatform\Doctrine\Orm\State\Options; use ApiPlatform\Metadata\ApiFilter; use ApiPlatform\Metadata\ApiProperty; use ApiPlatform\Metadata\ApiResource; -use App\Entity\Partner; use App\Entity\PartnerFollow; -use App\Entity\User; use App\Interface\OwnerInterface; use App\State\EntityClassDtoStateProcessor; use App\State\EntityToDtoStateProvider; @@ -23,7 +21,6 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Post; use Symfony\Component\PropertyInfo\Type; -use Symfony\Component\Serializer\Attribute\Groups; use Symfony\Component\Validator\Constraints\NotBlank; #[ApiResource( @@ -57,20 +54,15 @@ class PartnerFollowApi implements OwnerInterface #[ApiProperty(readable: false, writable: false, identifier: true)] public ?int $id = null; - #[ApiProperty(writable: false)] - public ?UserApi $user = null; - - #[ApiProperty(writable: false)] - public ?string $userName = null; + public ?UserApi $userIri = null; - #[NotBlank] /** * @var $partner ?PartnerApi */ #[ApiProperty( - writable: true, + writable: false, readableLink: true, - writableLink: true, + writableLink: false, builtinTypes: [ new Type( 'object', @@ -80,14 +72,14 @@ class PartnerFollowApi implements OwnerInterface )] public ?PartnerApi $partner = null; - #[ApiProperty(writable: false)] - public ?string $partnerName = null; + #[NotBlank] + public ?PartnerApi $partnerIri = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; public function getOwner(): ?UserApi { - return $this->user; + return $this->userIri; } } \ No newline at end of file diff --git a/src/ApiResource/PartnerProductApi.php b/src/ApiResource/PartnerProductApi.php index 3680b31..80bbe34 100644 --- a/src/ApiResource/PartnerProductApi.php +++ b/src/ApiResource/PartnerProductApi.php @@ -54,14 +54,13 @@ class PartnerProductApi #[ApiProperty(readable: false, writable: false, identifier: true)] public ?int $id = null; - #[NotBlank] /** - * @var $product ?PartnerApi + * @var $partner ?PartnerApi */ #[ApiProperty( - writable: true, + writable: false, readableLink: true, - writableLink: true, + writableLink: false, builtinTypes: [ new Type( 'object', @@ -71,10 +70,9 @@ class PartnerProductApi )] public ?PartnerApi $partner = null; - #[ApiProperty(writable: false)] - public ?string $partnerName = null; - #[NotBlank] + public ?PartnerApi $partnerIri = null; + /** * @var $product ?ProductApi */ @@ -91,8 +89,8 @@ class PartnerProductApi )] public ?ProductApi $product = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; + #[NotBlank] + public ?ProductApi $productIri = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/ApiResource/PostingApi.php b/src/ApiResource/PostingApi.php index 93c5eb5..27e6fc9 100644 --- a/src/ApiResource/PostingApi.php +++ b/src/ApiResource/PostingApi.php @@ -78,59 +78,101 @@ class PostingApi implements OwnerInterface #[Groups(['posting:create', 'posting:patch'])] public ?string $message = null; - #[ApiProperty(writable: false)] + /** + * @var $owner ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $owner = null; - #[ApiProperty(writable: false)] - public ?string $ownerName = null; - - #[ApiProperty(writable: true)] - #[Groups(['posting:create'])] - #[Assert\NotBlank(groups: ['posting:create'])] + /** + * @var $partner ?PartnerApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: PartnerApi::class, + ) + ] + )] public ?PartnerApi $partner = null; - #[ApiProperty(writable: false)] - public ?string $partnerName = null; - - #[ApiProperty(writable: false)] - public ?PartnerType $partnerType = null; - #[ApiProperty(writable: true)] #[Groups(['posting:create'])] #[Assert\NotBlank(groups: ['posting:create'])] - public ?ProductApi $product = null; + public ?PartnerApi $partnerIri = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; + /** + * @var $product ?ProductApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: ProductApi::class, + ) + ] + )] + public ?ProductApi $product = null; - #[ApiProperty(writable: true)] #[Groups(['posting:create'])] - public ?ContactApi $contact = null; + #[Assert\NotBlank(groups: ['posting:create'])] + public ?ProductApi $productIri = null; - #[ApiProperty(writable: false)] - public ?string $contactName = null; + /** + * @var $contact ?ContactApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: ContactApi::class, + ) + ] + )] + public ?ContactApi $contact = null; - #[ApiProperty(writable: true)] #[Groups(['posting:create'])] - public ?SaleApi $sale = null; + public ?ContactApi $contactIri = null; /** - * @var $comments array + * @var $sale ?SaleApi */ #[ApiProperty( writable: false, readableLink: true, - writableLink: true, + writableLink: false, builtinTypes: [ new Type( 'object', - collection: true, - collectionKeyType: [new Type('int')], - collectionValueType: new Type('object', class: CommentApi::class) + class: ContactApi::class, ) ] )] - public array $comments = []; + public ?SaleApi $sale = null; + + #[Groups(['posting:create'])] + public ?SaleApi $saleIri = null; + #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/ApiResource/ProductApi.php b/src/ApiResource/ProductApi.php index 9e4aa7d..ae46c24 100644 --- a/src/ApiResource/ProductApi.php +++ b/src/ApiResource/ProductApi.php @@ -23,6 +23,7 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Validator\Constraints\NotBlank; #[ApiResource( @@ -66,12 +67,22 @@ class ProductApi #[ApiProperty(writable: false)] public ?string $imageUrl = null; - #[ApiProperty(writable: false)] + /** + * @var $createdBy ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $createdBy = null; - #[ApiProperty(writable: false)] - public ?string $createdByName = null; - public ?\DateTimeImmutable $createdAt = null; } \ No newline at end of file diff --git a/src/ApiResource/SaleApi.php b/src/ApiResource/SaleApi.php index e6b5ebf..1abc667 100644 --- a/src/ApiResource/SaleApi.php +++ b/src/ApiResource/SaleApi.php @@ -22,6 +22,7 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Validator\Constraints\NotBlank; #[ApiResource( @@ -53,28 +54,59 @@ class SaleApi implements OwnerInterface #[ApiProperty(readable: false, writable: false, identifier: true)] public ?int $id = null; - #[ApiProperty(writable: false)] + /** + * @var $owner ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $owner = null; - #[ApiProperty(writable: false)] - public ?string $ownerName = null; - - #[ApiProperty(writable: true)] - #[NotBlank] + /** + * @var $partner ?PartnerApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: PartnerApi::class, + ) + ] + )] public ?PartnerApi $partner = null; - #[ApiProperty(writable: false)] - public PartnerType $partnerType; - - #[ApiProperty(writable: false)] - public ?string $partnerName = null; - - #[ApiProperty(writable: true)] #[NotBlank] + public ?PartnerApi $partnerIri = null; + + /** + * @var $product ?ProductApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: ProductApi::class, + ) + ] + )] public ?ProductApi $product = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; + #[NotBlank] + public ?ProductApi $productIri = null; #[NotBlank] public ?int $turnover = null; @@ -90,12 +122,6 @@ class SaleApi implements OwnerInterface #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; - /** - * @var $posts array - */ - #[ApiProperty(writable: false)] - public array $posts = []; - public function getOwner(): ?UserApi { return $this->owner; diff --git a/src/ApiResource/SaleSummary.php b/src/ApiResource/SaleSummary.php index 11118e5..f83cf40 100644 --- a/src/ApiResource/SaleSummary.php +++ b/src/ApiResource/SaleSummary.php @@ -49,10 +49,22 @@ class SaleSummary $this->userId = $userId; } + /** + * @var $owner ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $owner = null; - public ?string $ownerName = null; - public ?int $turnover = null; public ?int $profit = null; diff --git a/src/ApiResource/TaskApi.php b/src/ApiResource/TaskApi.php index f3bda65..2762a98 100644 --- a/src/ApiResource/TaskApi.php +++ b/src/ApiResource/TaskApi.php @@ -68,64 +68,104 @@ class TaskApi #[Assert\NotBlank] public ?string $description = null; - #[ApiProperty(writable: false)] + /** + * @var $createdBy ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $createdBy = null; - #[ApiProperty(writable: false)] - public ?string $createdByName = null; - - #[Assert\NotBlank] + /** + * @var $assignedTo ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $assignedTo = null; - #[ApiProperty(writable: false)] - public ?string $assignedToName = null; + #[Assert\NotBlank] + public ?UserApi $assignedToIri = null; #[Assert\NotBlank] public ?\DateTimeImmutable $dueAt = null; + /** + * @var $partner ?PartnerApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: PartnerApi::class, + ) + ] + )] public ?PartnerApi $partner = null; - #[ApiProperty(writable: false)] - public ?string $partnerName = null; - - #[ApiProperty(writable: false)] - public ?PartnerType $partnerType = null; + public ?PartnerApi $partnerIri = null; - #[ApiProperty(writable: true)] - #[NotBlank] + /** + * @var $product ?ProductApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: ProductApi::class, + ) + ] + )] public ?ProductApi $product = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; - - public ?ContactApi $contact = null; - - #[ApiProperty(writable: false)] - public ?string $contactName = null; - - #[Assert\NotBlank] - public PrioType $prio; - - #[Assert\NotNull] - public ?bool $completed = null; + #[NotBlank] + public ?ProductApi $productIri = null; /** - * @var $taskNotes array + * @var $contact ?ContactApi */ #[ApiProperty( writable: false, readableLink: true, - writableLink: true, + writableLink: false, builtinTypes: [ new Type( 'object', - collection: true, - collectionKeyType: [new Type('int')], - collectionValueType: new Type('object', class: TaskNoteApi::class) + class: ContactApi::class, ) ] )] - public array $taskNotes = []; + public ?ContactApi $contact = null; + + public ?ContactApi $contactIri = null; + + #[Assert\NotBlank] + public PrioType $prio; + + #[Assert\NotNull] + public ?bool $completed = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/ApiResource/TaskNoteApi.php b/src/ApiResource/TaskNoteApi.php index 60e3c6d..a169838 100644 --- a/src/ApiResource/TaskNoteApi.php +++ b/src/ApiResource/TaskNoteApi.php @@ -21,6 +21,7 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Patch; use ApiPlatform\Metadata\Post; +use Symfony\Component\PropertyInfo\Type; use Symfony\Component\Validator\Constraints\NotBlank; #[ApiResource( @@ -54,13 +55,24 @@ class TaskNoteApi implements OwnerInterface #[NotBlank] public ?string $message = null; - #[ApiProperty(writable: false)] + /** + * @var $owner ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $owner = null; - #[ApiProperty(writable: false)] - public ?string $ownerName = null; - - public ?TaskApi $task = null; + #[NotBlank] + public ?TaskApi $taskIri = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/ApiResource/UserApi.php b/src/ApiResource/UserApi.php index 5ba0ced..0caf55a 100644 --- a/src/ApiResource/UserApi.php +++ b/src/ApiResource/UserApi.php @@ -67,6 +67,9 @@ class UserApi #[ApiProperty(writable: false)] public ?string $imageUrl = null; + #[ApiProperty(writable: false)] + public ?string $fullName = null; + /** * The plaintext password when being set or changed. */ diff --git a/src/ApiResource/UserProductApi.php b/src/ApiResource/UserProductApi.php index ae30e13..226c5f5 100644 --- a/src/ApiResource/UserProductApi.php +++ b/src/ApiResource/UserProductApi.php @@ -52,20 +52,29 @@ class UserProductApi implements OwnerInterface #[ApiProperty(readable: false, writable: false, identifier: true)] public ?int $id = null; - #[ApiProperty(writable: false)] + /** + * @var $user ?UserApi + */ + #[ApiProperty( + writable: false, + readableLink: true, + writableLink: false, + builtinTypes: [ + new Type( + 'object', + class: UserApi::class, + ) + ] + )] public ?UserApi $user = null; - #[ApiProperty(writable: false)] - public ?string $userName = null; - - #[NotBlank] /** * @var $product ?ProductApi */ #[ApiProperty( - writable: true, + writable: false, readableLink: true, - writableLink: true, + writableLink: false, builtinTypes: [ new Type( 'object', @@ -75,8 +84,8 @@ class UserProductApi implements OwnerInterface )] public ?ProductApi $product = null; - #[ApiProperty(writable: false)] - public ?string $productName = null; + #[NotBlank] + public ?ProductApi $productIri = null; #[ApiProperty(writable: false)] public ?\DateTimeImmutable $createdAt = null; diff --git a/src/Mapper/CommentApiToEntityMapper.php b/src/Mapper/CommentApiToEntityMapper.php index 5e3c978..9f0d0cd 100644 --- a/src/Mapper/CommentApiToEntityMapper.php +++ b/src/Mapper/CommentApiToEntityMapper.php @@ -34,10 +34,10 @@ class CommentApiToEntityMapper implements MapperInterface } else { $user = $this->security->getUser(); assert($user instanceof User); - if ($dto->post === null) { + if ($dto->postIri === null) { throw new \Exception('Posting missing'); } - $posting = $this->microMapper->map($dto->post, Posting::class, [ + $posting = $this->microMapper->map($dto->postIri, Posting::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($posting instanceof Posting); diff --git a/src/Mapper/CommentEntityToApiMapper.php b/src/Mapper/CommentEntityToApiMapper.php index 423ff5c..c5c612a 100644 --- a/src/Mapper/CommentEntityToApiMapper.php +++ b/src/Mapper/CommentEntityToApiMapper.php @@ -41,9 +41,8 @@ class CommentEntityToApiMapper implements MapperInterface $dto->owner = $this->microMapper->map($entity->getOwner(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->ownerName = $entity->getOwner()?->getFirstName()." ".$entity->getOwner()?->getLastName(); - $dto->post = $this->microMapper->map($entity->getPosting(), PostingApi::class, [ + $dto->postIri = $this->microMapper->map($entity->getPosting(), PostingApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); diff --git a/src/Mapper/ContactApiToEntityMapper.php b/src/Mapper/ContactApiToEntityMapper.php index 68b7b60..a256959 100644 --- a/src/Mapper/ContactApiToEntityMapper.php +++ b/src/Mapper/ContactApiToEntityMapper.php @@ -38,7 +38,7 @@ class ContactApiToEntityMapper implements MapperInterface if ($dto->partner === null) { throw new \Exception('Partner missing'); } - $partner = $this->microMapper->map($dto->partner, Partner::class, [ + $partner = $this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); $entity = new Contact($partner, $user); diff --git a/src/Mapper/ContactEntityToApiMapper.php b/src/Mapper/ContactEntityToApiMapper.php index e357afb..2a17812 100644 --- a/src/Mapper/ContactEntityToApiMapper.php +++ b/src/Mapper/ContactEntityToApiMapper.php @@ -43,7 +43,8 @@ class ContactEntityToApiMapper implements MapperInterface $dto->firstName = $entity->getFirstName(); $dto->lastName = $entity->getLastName(); - $dto->partner = $this->microMapper->map( + $dto->fullName = $entity->getFirstName() . " " . $entity->getLastName(); + $dto->partnerIri = $dto->partner = $this->microMapper->map( $entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ] @@ -57,7 +58,6 @@ class ContactEntityToApiMapper implements MapperInterface $dto->createdBy = $this->microMapper->map($entity->getCreatedBy(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->createdByName = $entity->getCreatedBy()?->getFirstName() . ' ' . $entity->getCreatedBy()?->getLastName(); $dto->createdAt = $entity->getCreatedAt(); $dto->posts = array_map(function(Posting $posting) { diff --git a/src/Mapper/ContactPartnerProductApiToEntityMapper.php b/src/Mapper/ContactPartnerProductApiToEntityMapper.php index ddc4813..c5590c6 100644 --- a/src/Mapper/ContactPartnerProductApiToEntityMapper.php +++ b/src/Mapper/ContactPartnerProductApiToEntityMapper.php @@ -33,17 +33,17 @@ class ContactPartnerProductApiToEntityMapper implements MapperInterface if ($dto->id) { $entity = $this->repository->find($dto->id); } else { - if ($dto->contact === null) { + if ($dto->contactIri === null) { throw new \Exception('Contact missing'); } - $contact = $this->microMapper->map($dto->contact, Contact::class, [ + $contact = $this->microMapper->map($dto->contactIri, Contact::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - if ($dto->partnerProduct === null) { + if ($dto->partnerProductIri === null) { throw new \Exception('PartnerProduct missing'); } - $partnerProduct = $this->microMapper->map($dto->partnerProduct, PartnerProduct::class, [ + $partnerProduct = $this->microMapper->map($dto->partnerProductIri, PartnerProduct::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); diff --git a/src/Mapper/ContactPartnerProductEntityToApiMapper.php b/src/Mapper/ContactPartnerProductEntityToApiMapper.php index f8cdb86..0ea86cc 100644 --- a/src/Mapper/ContactPartnerProductEntityToApiMapper.php +++ b/src/Mapper/ContactPartnerProductEntityToApiMapper.php @@ -5,7 +5,9 @@ namespace App\Mapper; use App\ApiResource\ContactApi; use App\ApiResource\ContactPartnerProductApi; use App\ApiResource\PartnerProductApi; +use App\ApiResource\ProductApi; use App\Entity\ContactPartnerProduct; +use App\Entity\Product; use Symfonycasts\MicroMapper\AsMapper; use Symfonycasts\MicroMapper\MapperInterface; use Symfonycasts\MicroMapper\MicroMapperInterface; @@ -37,14 +39,20 @@ class ContactPartnerProductEntityToApiMapper implements MapperInterface assert($entity instanceof ContactPartnerProduct); assert($dto instanceof ContactPartnerProductApi); - $dto->contact = $this->microMapper->map($entity->getContact(), ContactApi::class, [ + $dto->contactIri = $this->microMapper->map($entity->getContact(), ContactApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerProduct = $this->microMapper->map($entity->getPartnerProduct(), PartnerProductApi::class, [ + $dto->partnerProductIri = $this->microMapper->map($entity->getPartnerProduct(), PartnerProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getPartnerProduct()?->getProduct()?->getName(); + + $dto->product = null; + if ($entity->getPartnerProduct() !== null && $entity->getPartnerProduct()->getProduct() !== null) { + $dto->product = $this->microMapper->map($entity->getPartnerProduct()->getProduct(), ProductApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); + } $dto->createdAt = $entity->getCreatedAt(); diff --git a/src/Mapper/DocumentApiToEntityMapper.php b/src/Mapper/DocumentApiToEntityMapper.php index fc5e865..b788801 100644 --- a/src/Mapper/DocumentApiToEntityMapper.php +++ b/src/Mapper/DocumentApiToEntityMapper.php @@ -59,14 +59,14 @@ class DocumentApiToEntityMapper implements MapperInterface $entity->setDescription($dto->description); if ($dto->partner !== null) { $entity->setPartner( - $this->microMapper->map($dto->partner, Partner::class, [ + $this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]) ); } if ($dto->product !== null) { $entity->setProduct( - $this->microMapper->map($dto->product, Product::class, [ + $this->microMapper->map($dto->productIri, Product::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]) ); diff --git a/src/Mapper/DocumentEntityToApiMapper.php b/src/Mapper/DocumentEntityToApiMapper.php index 9d5e5b9..300da35 100644 --- a/src/Mapper/DocumentEntityToApiMapper.php +++ b/src/Mapper/DocumentEntityToApiMapper.php @@ -47,17 +47,15 @@ class DocumentEntityToApiMapper implements MapperInterface $dto->description = $entity->getDescription(); if ($entity->getPartner()) { - $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ + $dto->partnerIri = $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerName = $entity->getPartner()->getName(); } if ($entity->getProduct()) { - $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ + $dto->productIri = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getProduct()->getName(); } $dto->documentObject = $entity->getDocumentObject(); @@ -66,7 +64,6 @@ class DocumentEntityToApiMapper implements MapperInterface $dto->createdBy = $this->microMapper->map($entity->getCreatedBy(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->createdByName = $entity->getCreatedBy()?->getFirstName() . ' ' . $entity->getCreatedBy()?->getLastName(); $dto->createdAt = $entity->getCreatedAt(); return $dto; diff --git a/src/Mapper/PartnerEntityToApiMapper.php b/src/Mapper/PartnerEntityToApiMapper.php index c932b48..c82cdbe 100644 --- a/src/Mapper/PartnerEntityToApiMapper.php +++ b/src/Mapper/PartnerEntityToApiMapper.php @@ -55,28 +55,10 @@ class PartnerEntityToApiMapper implements MapperInterface $dto->website = $entity->getWebsite(); $dto->logo = $entity->getLogo(); $dto->logoUrl = $this->fileUrlService->getFileUrl($entity->getLogo()); - $dto->createdBy = $this->microMapper->map($entity->getCreatedBy(), UserApi::class, [ + $dto->createdByIri = $this->microMapper->map($entity->getCreatedBy(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->createdByName = $entity->getCreatedBy()?->getFirstName() . ' ' . $entity->getCreatedBy()?->getLastName(); $dto->createdAt = $entity->getCreatedAt(); - $dto->posts = array_map(function(Posting $posting) { - return $this->microMapper->map($posting, PostingApi::class, [ - MicroMapperInterface::MAX_DEPTH => 1, - ]); - }, $entity->getPostings()->getValues()); - - $dto->contacts = array_map(function(Contact $contact) { - return $this->microMapper->map($contact, ContactApi::class, [ - MicroMapperInterface::MAX_DEPTH => 1, - ]); - }, $entity->getContacts()->getValues()); - - $dto->partnerProducts = array_map(function(PartnerProduct $contact) { - return $this->microMapper->map($contact, PartnerProductApi::class, [ - MicroMapperInterface::MAX_DEPTH => 1, - ]); - }, $entity->getPartnerProducts()->getValues()); return $dto; } diff --git a/src/Mapper/PartnerFollowApiToEntityMapper.php b/src/Mapper/PartnerFollowApiToEntityMapper.php index 59c285c..136a02c 100644 --- a/src/Mapper/PartnerFollowApiToEntityMapper.php +++ b/src/Mapper/PartnerFollowApiToEntityMapper.php @@ -37,7 +37,7 @@ class PartnerFollowApiToEntityMapper implements MapperInterface if ($dto->partner === null) { throw new \Exception('Partner missing'); } - $partner = $this->microMapper->map($dto->partner, Partner::class, [ + $partner = $this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($partner instanceof Partner); diff --git a/src/Mapper/PartnerFollowEntityToApiMapper.php b/src/Mapper/PartnerFollowEntityToApiMapper.php index 13f79ca..2a1a13a 100644 --- a/src/Mapper/PartnerFollowEntityToApiMapper.php +++ b/src/Mapper/PartnerFollowEntityToApiMapper.php @@ -37,15 +37,14 @@ class PartnerFollowEntityToApiMapper implements MapperInterface assert($entity instanceof PartnerFollow); assert($dto instanceof PartnerFollowApi); - $dto->user = $this->microMapper->map($entity->getUser(), UserApi::class, [ + $dto->userIri = $this->microMapper->map($entity->getUser(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->userName = $entity->getUser()?->getFirstName()." ".$entity->getUser()?->getLastName(); - - $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ + $dto->partnerIri = $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerName = $entity->getPartner()?->getName(); + + $dto->createdAt = $entity->getCreatedAt(); diff --git a/src/Mapper/PartnerProductApiToEntityMapper.php b/src/Mapper/PartnerProductApiToEntityMapper.php index 1586793..351d950 100644 --- a/src/Mapper/PartnerProductApiToEntityMapper.php +++ b/src/Mapper/PartnerProductApiToEntityMapper.php @@ -2,16 +2,11 @@ namespace App\Mapper; -use App\ApiResource\PartnerFollowApi; use App\ApiResource\PartnerProductApi; use App\Entity\Partner; -use App\Entity\PartnerFollow; use App\Entity\PartnerProduct; use App\Entity\Product; -use App\Entity\User; -use App\Repository\PartnerFollowRepository; use App\Repository\PartnerProductRepository; -use Symfony\Bundle\SecurityBundle\Security; use Symfonycasts\MicroMapper\AsMapper; use Symfonycasts\MicroMapper\MapperInterface; use Symfonycasts\MicroMapper\MicroMapperInterface; @@ -35,17 +30,17 @@ class PartnerProductApiToEntityMapper implements MapperInterface if ($dto->id) { $entity = $this->repository->find($dto->id); } else { - if ($dto->partner === null) { + if ($dto->partnerIri === null) { throw new \Exception('Partner missing'); } - $partner = $this->microMapper->map($dto->partner, Partner::class, [ + $partner = $this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - if ($dto->product === null) { + if ($dto->productIri === null) { throw new \Exception('Product missing'); } - $product = $this->microMapper->map($dto->product, Product::class, [ + $product = $this->microMapper->map($dto->productIri, Product::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($partner instanceof Partner); diff --git a/src/Mapper/PartnerProductEntityToApiMapper.php b/src/Mapper/PartnerProductEntityToApiMapper.php index a261c09..77434f6 100644 --- a/src/Mapper/PartnerProductEntityToApiMapper.php +++ b/src/Mapper/PartnerProductEntityToApiMapper.php @@ -37,15 +37,13 @@ class PartnerProductEntityToApiMapper implements MapperInterface assert($entity instanceof PartnerProduct); assert($dto instanceof PartnerProductApi); - $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ + $dto->partnerIri = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerName = $entity->getPartner()?->getName(); - $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ + $dto->productIri = $dto->partner = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getProduct()?->getName(); $dto->createdAt = $entity->getCreatedAt(); diff --git a/src/Mapper/PostingApiToEntityMapper.php b/src/Mapper/PostingApiToEntityMapper.php index a2e8592..2d4b2e9 100644 --- a/src/Mapper/PostingApiToEntityMapper.php +++ b/src/Mapper/PostingApiToEntityMapper.php @@ -42,26 +42,26 @@ class PostingApiToEntityMapper implements MapperInterface if ($dto->partner === null) { throw new \Exception('Partner missing'); } - $partner = $this->microMapper->map($dto->partner, Partner::class, [ + $partner = $this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); if ($dto->product === null) { throw new \Exception('Product missing'); } - $product = $this->microMapper->map($dto->product, Product::class, [ + $product = $this->microMapper->map($dto->productIri, Product::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); $contact = null; - if ($dto->contact) { - assert($dto->contact instanceof ContactApi); - $contact = $this->microMapper->map($dto->contact, Contact::class, [ + if ($dto->contactIri) { + assert($dto->contactIri instanceof ContactApi); + $contact = $this->microMapper->map($dto->contactIri, Contact::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); } $sale = null; - if ($dto->sale) { - assert($dto->sale instanceof SaleApi); - $sale = $this->microMapper->map($dto->sale, Sale::class, [ + if ($dto->saleIri) { + assert($dto->saleIri instanceof SaleApi); + $sale = $this->microMapper->map($dto->saleIri, Sale::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); } diff --git a/src/Mapper/PostingEntityToApiMapper.php b/src/Mapper/PostingEntityToApiMapper.php index 1ace032..a136ed2 100644 --- a/src/Mapper/PostingEntityToApiMapper.php +++ b/src/Mapper/PostingEntityToApiMapper.php @@ -2,14 +2,12 @@ namespace App\Mapper; -use App\ApiResource\CommentApi; use App\ApiResource\ContactApi; use App\ApiResource\PartnerApi; use App\ApiResource\ProductApi; use App\ApiResource\SaleApi; use App\ApiResource\UserApi; use App\ApiResource\PostingApi; -use App\Entity\Comment; use App\Entity\Posting; use Symfonycasts\MicroMapper\AsMapper; use Symfonycasts\MicroMapper\MapperInterface; @@ -47,41 +45,29 @@ class PostingEntityToApiMapper implements MapperInterface $dto->owner = $this->microMapper->map($entity->getOwner(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->ownerName = $entity->getOwner()?->getFirstName()." ".$entity->getOwner()?->getLastName(); - $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ + $dto->partnerIri = $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerName = $entity->getPartner()?->getName(); - $dto->partnerType = $entity->getPartner()?->getType(); - $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ + $dto->productIri = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getProduct()?->getName(); - $dto->contact = null; - $dto->contactName = null; + $dto->contactIri = $dto->contact = null; if ($entity->getContact() !== null) { - $dto->contact = $this->microMapper->map($entity->getContact(), ContactApi::class, [ + $dto->contactIri = $dto->contact = $this->microMapper->map($entity->getContact(), ContactApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->contactName = $entity->getContact()->getFirstName() . ' ' . $entity->getContact()->getLastName(); } - $dto->sale = null; + $dto->saleIri = $dto->sale = null; if ($entity->getSale() !== null) { - $dto->sale = $this->microMapper->map($entity->getSale(), SaleApi::class, [ + $dto->saleIri = $dto->sale = $this->microMapper->map($entity->getSale(), SaleApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); } - $dto->comments = array_map(function(Comment $comment) { - return $this->microMapper->map($comment, CommentApi::class, [ - MicroMapperInterface::MAX_DEPTH => 1, - ]); - }, $entity->getComments()->getValues()); - $dto->createdAt = $entity->getCreatedAt(); return $dto; diff --git a/src/Mapper/ProductEntityToApiMapper.php b/src/Mapper/ProductEntityToApiMapper.php index f5dc4f1..14a384f 100644 --- a/src/Mapper/ProductEntityToApiMapper.php +++ b/src/Mapper/ProductEntityToApiMapper.php @@ -44,7 +44,6 @@ class ProductEntityToApiMapper implements MapperInterface $dto->createdBy = $this->microMapper->map($entity->getCreatedBy(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->createdByName = $entity->getCreatedBy()?->getFirstName() . ' ' . $entity->getCreatedBy()?->getLastName(); return $dto; } } diff --git a/src/Mapper/SaleApiToEntityMapper.php b/src/Mapper/SaleApiToEntityMapper.php index 5c73e1c..a6fafc2 100644 --- a/src/Mapper/SaleApiToEntityMapper.php +++ b/src/Mapper/SaleApiToEntityMapper.php @@ -37,16 +37,16 @@ class SaleApiToEntityMapper implements MapperInterface } else { $user = $this->security->getUser(); assert($user instanceof User); - if ($dto->partner === null) { + if ($dto->partnerIri === null) { throw new \Exception('Partner missing'); } - $partner = $this->microMapper->map($dto->partner, Partner::class, [ + $partner = $this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - if ($dto->product === null) { + if ($dto->productIri === null) { throw new \Exception('Product missing'); } - $product = $this->microMapper->map($dto->product, Product::class, [ + $product = $this->microMapper->map($dto->productIri, Product::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($partner instanceof Partner); diff --git a/src/Mapper/SaleEntityToApiMapper.php b/src/Mapper/SaleEntityToApiMapper.php index 7db6f56..7f7cfdd 100644 --- a/src/Mapper/SaleEntityToApiMapper.php +++ b/src/Mapper/SaleEntityToApiMapper.php @@ -2,16 +2,13 @@ namespace App\Mapper; -use App\ApiResource\CommentApi; use App\ApiResource\PartnerApi; use App\ApiResource\ProductApi; use App\ApiResource\SaleApi; use App\ApiResource\UserApi; use App\ApiResource\PostingApi; -use App\Entity\Comment; use App\Entity\Posting; use App\Entity\Sale; -use Symfony\Bundle\SecurityBundle\Security; use Symfonycasts\MicroMapper\AsMapper; use Symfonycasts\MicroMapper\MapperInterface; use Symfonycasts\MicroMapper\MicroMapperInterface; @@ -46,18 +43,20 @@ class SaleEntityToApiMapper implements MapperInterface $dto->owner = $this->microMapper->map($entity->getOwner(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->ownerName = $entity->getOwner()?->getFirstName()." ".$entity->getOwner()?->getLastName(); $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerName = $entity->getPartner()?->getName(); - $dto->partnerType = $entity->getPartner()?->getType(); + $dto->partnerIri = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getProduct()?->getName(); + $dto->productIri = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); $dto->turnover = $entity->getTurnover(); $dto->profit = $entity->getProfit(); @@ -65,12 +64,6 @@ class SaleEntityToApiMapper implements MapperInterface $dto->comment = $entity->getComment(); $dto->createdAt = $entity->getCreatedAt(); - $dto->posts = array_map(function(Posting $posting) { - return $this->microMapper->map($posting, PostingApi::class, [ - MicroMapperInterface::MAX_DEPTH => 1, - ]); - }, $entity->getPostings()->getValues()); - return $dto; } } diff --git a/src/Mapper/TaskApiToEntityMapper.php b/src/Mapper/TaskApiToEntityMapper.php index f898697..f5aeffb 100644 --- a/src/Mapper/TaskApiToEntityMapper.php +++ b/src/Mapper/TaskApiToEntityMapper.php @@ -33,7 +33,7 @@ class TaskApiToEntityMapper implements MapperInterface $dto = $from; assert($dto instanceof TaskApi); - $assignedTo = $this->microMapper->map($dto->assignedTo, User::class, [ + $assignedTo = $this->microMapper->map($dto->assignedToIri, User::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); @@ -46,10 +46,10 @@ class TaskApiToEntityMapper implements MapperInterface } else { $user = $this->security->getUser(); - if ($dto->product === null) { + if ($dto->productIri === null) { throw new \Exception('Product missing'); } - $product = $this->microMapper->map($dto->product, Product::class, [ + $product = $this->microMapper->map($dto->productIri, Product::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($product instanceof Product); @@ -75,17 +75,17 @@ class TaskApiToEntityMapper implements MapperInterface $entity->setDescription($dto->description); $entity->setDueAt($dto->dueAt); $entity->setPartner(null); - if ($dto->partner !== null) { - assert($dto->partner instanceof PartnerApi); - $entity->setPartner($this->microMapper->map($dto->partner, Partner::class, [ + if ($dto->partnerIri !== null) { + assert($dto->partnerIri instanceof PartnerApi); + $entity->setPartner($this->microMapper->map($dto->partnerIri, Partner::class, [ MicroMapperInterface::MAX_DEPTH => 1, ])); } $entity->setContact(null); - if ($dto->contact !== null) { - assert($dto->contact instanceof ContactApi); - $entity->setContact($this->microMapper->map($dto->contact, Contact::class, [ + if ($dto->contactIri !== null) { + assert($dto->contactIri instanceof ContactApi); + $entity->setContact($this->microMapper->map($dto->contactIri, Contact::class, [ MicroMapperInterface::MAX_DEPTH => 1, ])); } diff --git a/src/Mapper/TaskEntityToApiMapper.php b/src/Mapper/TaskEntityToApiMapper.php index b036b06..b605c82 100644 --- a/src/Mapper/TaskEntityToApiMapper.php +++ b/src/Mapper/TaskEntityToApiMapper.php @@ -50,39 +50,38 @@ class TaskEntityToApiMapper implements MapperInterface $dto->createdBy = $this->microMapper->map($entity->getCreatedBy(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->createdByName = $entity->getCreatedBy()?->getFirstName()." ".$entity->getCreatedBy()?->getLastName(); $dto->assignedTo = $this->microMapper->map($entity->getAssignedTo(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->assignedToName = $entity->getAssignedTo()?->getFirstName()." ".$entity->getAssignedTo()?->getLastName(); + $dto->assignedToIri = $this->microMapper->map($entity->getAssignedTo(), UserApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); $dto->dueAt = $entity->getDueAt(); - $dto->partnerType = null; if ($entity->getPartner()) { $dto->partner = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->partnerName = $entity->getPartner()?->getName(); - $dto->partnerType = $entity->getPartner()?->getType(); + $dto->partnerIri = $this->microMapper->map($entity->getPartner(), PartnerApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); } if ($entity->getContact() !== null) { $dto->contact = $this->microMapper->map($entity->getContact(), ContactApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->contactName = $entity->getContact()?->getFirstName()." ".$entity->getContact()?->getLastName(); + $dto->contactIri = $this->microMapper->map($entity->getContact(), ContactApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); } $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getProduct()?->getName(); - - $dto->taskNotes = array_map(function(TaskNote $taskNote) { - return $this->microMapper->map($taskNote, TaskNoteApi::class, [ - MicroMapperInterface::MAX_DEPTH => 1, - ]); - }, $entity->getTaskNotes()->getValues()); + $dto->productIri = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); $dto->prio = $entity->getPrio(); $dto->completed = $entity->getCompleted(); diff --git a/src/Mapper/TaskNoteApiToEntityMapper.php b/src/Mapper/TaskNoteApiToEntityMapper.php index dc12af3..3ccb753 100644 --- a/src/Mapper/TaskNoteApiToEntityMapper.php +++ b/src/Mapper/TaskNoteApiToEntityMapper.php @@ -34,10 +34,10 @@ class TaskNoteApiToEntityMapper implements MapperInterface } else { $user = $this->security->getUser(); assert($user instanceof User); - if ($dto->task === null) { + if ($dto->taskIri === null) { throw new \Exception('Task missing'); } - $task = $this->microMapper->map($dto->task, Task::class, [ + $task = $this->microMapper->map($dto->taskIri, Task::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($task instanceof Task); diff --git a/src/Mapper/TaskNoteEntityToApiMapper.php b/src/Mapper/TaskNoteEntityToApiMapper.php index b3debd8..290d524 100644 --- a/src/Mapper/TaskNoteEntityToApiMapper.php +++ b/src/Mapper/TaskNoteEntityToApiMapper.php @@ -41,9 +41,8 @@ class TaskNoteEntityToApiMapper implements MapperInterface $dto->owner = $this->microMapper->map($entity->getOwner(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->ownerName = $entity->getOwner()?->getFirstName()." ".$entity->getOwner()?->getLastName(); - $dto->task = $this->microMapper->map($entity->getTask(), TaskApi::class, [ + $dto->taskIri = $this->microMapper->map($entity->getTask(), TaskApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); diff --git a/src/Mapper/UserEntityToApiMapper.php b/src/Mapper/UserEntityToApiMapper.php index 5c2d90a..463c744 100644 --- a/src/Mapper/UserEntityToApiMapper.php +++ b/src/Mapper/UserEntityToApiMapper.php @@ -44,6 +44,7 @@ class UserEntityToApiMapper implements MapperInterface $dto->lastName = $entity->getLastName(); $dto->image = $entity->getImage(); $dto->imageUrl = $this->fileUrlService->getFileUrl($entity->getImage()); + $dto->fullName = $entity->getFirstName() . " " . $entity->getLastName(); return $dto; } diff --git a/src/Mapper/UserProductApiToEntityMapper.php b/src/Mapper/UserProductApiToEntityMapper.php index a19de44..6514bb0 100644 --- a/src/Mapper/UserProductApiToEntityMapper.php +++ b/src/Mapper/UserProductApiToEntityMapper.php @@ -35,10 +35,10 @@ class UserProductApiToEntityMapper implements MapperInterface $user = $this->security->getUser(); assert($user instanceof User); - if ($dto->product === null) { + if ($dto->productIri === null) { throw new \Exception('Product missing'); } - $product = $this->microMapper->map($dto->product, Product::class, [ + $product = $this->microMapper->map($dto->productIri, Product::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); assert($product instanceof Product); diff --git a/src/Mapper/UserProductEntityToApiMapper.php b/src/Mapper/UserProductEntityToApiMapper.php index b8bbe35..48abe5a 100644 --- a/src/Mapper/UserProductEntityToApiMapper.php +++ b/src/Mapper/UserProductEntityToApiMapper.php @@ -40,12 +40,13 @@ class UserProductEntityToApiMapper implements MapperInterface $dto->user = $this->microMapper->map($entity->getUser(), UserApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->userName = $entity->getUser()?->getFirstName()." ".$entity->getUser()?->getLastName(); $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ MicroMapperInterface::MAX_DEPTH => 1, ]); - $dto->productName = $entity->getProduct()?->getName(); + $dto->productIri = $this->microMapper->map($entity->getProduct(), ProductApi::class, [ + MicroMapperInterface::MAX_DEPTH => 1, + ]); $dto->createdAt = $entity->getCreatedAt(); diff --git a/src/State/SaleSummaryStateProvider.php b/src/State/SaleSummaryStateProvider.php index 61638f7..45c96aa 100644 --- a/src/State/SaleSummaryStateProvider.php +++ b/src/State/SaleSummaryStateProvider.php @@ -69,7 +69,6 @@ class SaleSummaryStateProvider implements ProviderInterface if (count($sales) > 0) { $salesSummary = new SaleSummary($user->getId()); $salesSummary->owner = $this->microMapper->map($user, UserApi::class); - $salesSummary->ownerName = $user->getFirstName() . ' ' . $user->getLastName(); $salesSummary->turnover = 0; $salesSummary->profit = 0; foreach ($sales as $sale) {