diff --git a/export/openapi.json b/export/openapi.json index 706b6f0..f9950e9 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":"CommentApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_comments_id_delete","tags":["Comment"],"responses":{"204":{"description":"Comment resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Comment resource.","description":"Removes the Comment resource.","parameters":[{"name":"id","in":"path","description":"CommentApi 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":"CommentApi 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\/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":"ContactApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_contacts_id_delete","tags":["Contact"],"responses":{"204":{"description":"Contact resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Contact resource.","description":"Removes the Contact resource.","parameters":[{"name":"id","in":"path","description":"ContactApi 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":"ContactApi 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\/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-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\/Document-document_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document-document_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Document.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 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-document_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document-document_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document-document_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal-document_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Document resource.","description":"Creates a Document resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"partner":{"type":"string","format":"iri_reference","example":"https:\/\/example.com\/"},"product":{"type":"string","format":"iri_reference","example":"https:\/\/example.com\/"}}}}},"required":false},"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-document_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Document-document_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Document-document_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Document.jsonhal-document_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Document resource.","description":"Retrieves a Document 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_documents_id_delete","tags":["Document"],"responses":{"204":{"description":"Document resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Document resource.","description":"Removes the Document 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\/medias":{"get":{"operationId":"api_medias_get_collection","tags":["Media"],"responses":{"200":{"description":"Media collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Media.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\/Media-media_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Media-media_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Media.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 Media resources.","description":"Retrieves the collection of Media 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_medias_post","tags":["Media"],"responses":{"201":{"description":"Media resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Media.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Media-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Media-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Media.jsonhal-media_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Media resource.","description":"Creates a Media resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/medias\/{id}":{"get":{"operationId":"api_medias_id_get","tags":["Media"],"responses":{"200":{"description":"Media resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Media.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Media-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Media-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Media.jsonhal-media_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Media resource.","description":"Retrieves a Media 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_medias_id_delete","tags":["Media"],"responses":{"204":{"description":"Media resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Media resource.","description":"Removes the Media 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}],"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":"PartnerFollowApi 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":"PartnerFollowApi 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":"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":"PartnerApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_partners_id_delete","tags":["Partner"],"responses":{"204":{"description":"Partner resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Partner resource.","description":"Removes the Partner resource.","parameters":[{"name":"id","in":"path","description":"PartnerApi 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":"PartnerApi 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}],"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":"PostingApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_posts_id_delete","tags":["Post"],"responses":{"204":{"description":"Post resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Post resource.","description":"Removes the Post resource.","parameters":[{"name":"id","in":"path","description":"PostingApi 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":"PostingApi 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":"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":"ProductApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_products_id_delete","tags":["Product"],"responses":{"204":{"description":"Product resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Product resource.","description":"Removes the Product resource.","parameters":[{"name":"id","in":"path","description":"ProductApi 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":"ProductApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Product resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Product"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sale_summaries":{"get":{"operationId":"api_sale_summaries_get_collection","tags":["SaleSummary"],"responses":{"200":{"description":"SaleSummary collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of SaleSummary resources.","description":"Retrieves the collection of SaleSummary resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/sales":{"get":{"operationId":"api_sales_get_collection","tags":["Sale"],"responses":{"200":{"description":"Sale collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Sale resources.","description":"Retrieves the collection of Sale resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"owner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"owner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_sales_post","tags":["Sale"],"responses":{"201":{"description":"Sale resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Sale resource.","description":"Creates a Sale resource.","parameters":[],"requestBody":{"description":"The new Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sales\/{id}":{"get":{"operationId":"api_sales_id_get","tags":["Sale"],"responses":{"200":{"description":"Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Sale resource.","description":"Retrieves a Sale resource.","parameters":[{"name":"id","in":"path","description":"SaleApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_sales_id_delete","tags":["Sale"],"responses":{"204":{"description":"Sale resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Sale resource.","description":"Removes the Sale resource.","parameters":[{"name":"id","in":"path","description":"SaleApi 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":"SaleApi 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":"TaskNoteApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_task_notes_id_delete","tags":["TaskNote"],"responses":{"204":{"description":"TaskNote resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the TaskNote resource.","description":"Removes the TaskNote resource.","parameters":[{"name":"id","in":"path","description":"TaskNoteApi 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":"TaskNoteApi 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":"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":"TaskApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_tasks_id_delete","tags":["Task"],"responses":{"204":{"description":"Task resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Task resource.","description":"Removes the Task resource.","parameters":[{"name":"id","in":"path","description":"TaskApi 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":"TaskApi 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\/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":"UserApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_users_id_patch","tags":["User"],"responses":{"200":{"description":"User resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"UserApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"owl:maxCardinality":1,"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\/"}},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"owl:maxCardinality":1,"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\/"}},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"owl:maxCardinality":1,"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\/"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document-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"]}}},"Document.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"]}}},"Document.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"]}}},"Media-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"]}}},"Media.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"]}}},"Media.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"]},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"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\/"}}}},"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"]},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"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\/"}}}},"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"]},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"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\/"}}}},"PartnerFollow":{"type":"object","description":"","deprecated":false,"properties":{"user":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["partner"]},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Sale":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover"]},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover"]},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover"]},"SaleSummary":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"owner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"owner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"Task":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"owl:maxCardinality":1,"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,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"owl:maxCardinality":1,"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,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"owl:maxCardinality":1,"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,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"contact":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"}}}},"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":"CommentApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_comments_id_delete","tags":["Comment"],"responses":{"204":{"description":"Comment resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Comment resource.","description":"Removes the Comment resource.","parameters":[{"name":"id","in":"path","description":"CommentApi 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":"CommentApi 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\/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":"ContactApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_contacts_id_delete","tags":["Contact"],"responses":{"204":{"description":"Contact resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Contact resource.","description":"Removes the Contact resource.","parameters":[{"name":"id","in":"path","description":"ContactApi 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":"ContactApi 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":"DocumentApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_documents_id_delete","tags":["Document"],"responses":{"204":{"description":"Document resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Document resource.","description":"Removes the Document resource.","parameters":[{"name":"id","in":"path","description":"DocumentApi 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":"DocumentApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Document resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Document"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/media_objects":{"get":{"operationId":"api_media_objects_get_collection","tags":["MediaObject"],"responses":{"200":{"description":"MediaObject collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of MediaObject resources.","description":"Retrieves the collection of MediaObject resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_media_objects_post","tags":["MediaObject"],"responses":{"201":{"description":"MediaObject resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a MediaObject resource.","description":"Creates a MediaObject resource.","parameters":[],"requestBody":{"description":"","content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/media_objects\/{id}":{"get":{"operationId":"api_media_objects_id_get","tags":["MediaObject"],"responses":{"200":{"description":"MediaObject resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonld-media_object.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/MediaObject-media_object.read"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/MediaObject.jsonhal-media_object.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a MediaObject resource.","description":"Retrieves a MediaObject resource.","parameters":[{"name":"id","in":"path","description":"MediaObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_media_objects_id_delete","tags":["MediaObject"],"responses":{"204":{"description":"MediaObject resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the MediaObject resource.","description":"Removes the MediaObject resource.","parameters":[{"name":"id","in":"path","description":"MediaObject identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/partner_follows":{"get":{"operationId":"api_partner_follows_get_collection","tags":["PartnerFollow"],"responses":{"200":{"description":"PartnerFollow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of PartnerFollow resources.","description":"Retrieves the collection of PartnerFollow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"user","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"user[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_partner_follows_post","tags":["PartnerFollow"],"responses":{"201":{"description":"PartnerFollow resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a PartnerFollow resource.","description":"Creates a PartnerFollow resource.","parameters":[],"requestBody":{"description":"The new PartnerFollow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/partner_follows\/{id}":{"get":{"operationId":"api_partner_follows_id_get","tags":["PartnerFollow"],"responses":{"200":{"description":"PartnerFollow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/PartnerFollow.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PartnerFollow resource.","description":"Retrieves a PartnerFollow resource.","parameters":[{"name":"id","in":"path","description":"PartnerFollowApi 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":"PartnerFollowApi 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":"PartnerApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_partners_id_delete","tags":["Partner"],"responses":{"204":{"description":"Partner resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Partner resource.","description":"Removes the Partner resource.","parameters":[{"name":"id","in":"path","description":"PartnerApi 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":"PartnerApi 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}],"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":"PostingApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_posts_id_delete","tags":["Post"],"responses":{"204":{"description":"Post resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Post resource.","description":"Removes the Post resource.","parameters":[{"name":"id","in":"path","description":"PostingApi 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":"PostingApi 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":"ProductApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_products_id_delete","tags":["Product"],"responses":{"204":{"description":"Product resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Product resource.","description":"Removes the Product resource.","parameters":[{"name":"id","in":"path","description":"ProductApi 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":"ProductApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Product resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Product"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sale_summaries":{"get":{"operationId":"api_sale_summaries_get_collection","tags":["SaleSummary"],"responses":{"200":{"description":"SaleSummary collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/SaleSummary.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of SaleSummary resources.","description":"Retrieves the collection of SaleSummary resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/api\/sales":{"get":{"operationId":"api_sales_get_collection","tags":["Sale"],"responses":{"200":{"description":"Sale collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Sale resources.","description":"Retrieves the collection of Sale resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"owner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"owner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"partner","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"partner[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_sales_post","tags":["Sale"],"responses":{"201":{"description":"Sale resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Sale resource.","description":"Creates a Sale resource.","parameters":[],"requestBody":{"description":"The new Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/sales\/{id}":{"get":{"operationId":"api_sales_id_get","tags":["Sale"],"responses":{"200":{"description":"Sale resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Sale"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Sale.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Sale resource.","description":"Retrieves a Sale resource.","parameters":[{"name":"id","in":"path","description":"SaleApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_sales_id_delete","tags":["Sale"],"responses":{"204":{"description":"Sale resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Sale resource.","description":"Removes the Sale resource.","parameters":[{"name":"id","in":"path","description":"SaleApi 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":"SaleApi 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":"TaskNoteApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_task_notes_id_delete","tags":["TaskNote"],"responses":{"204":{"description":"TaskNote resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the TaskNote resource.","description":"Removes the TaskNote resource.","parameters":[{"name":"id","in":"path","description":"TaskNoteApi 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":"TaskNoteApi 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":"TaskApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_tasks_id_delete","tags":["Task"],"responses":{"204":{"description":"Task resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Task resource.","description":"Removes the Task resource.","parameters":[{"name":"id","in":"path","description":"TaskApi 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":"TaskApi 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\/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":"UserApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_users_id_patch","tags":["User"],"responses":{"200":{"description":"User resource updated","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"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"UserApi identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"post":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"owl:maxCardinality":1,"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\/"}},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"owl:maxCardinality":1,"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\/"}},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"owl:maxCardinality":1,"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\/"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Document":{"type":"object","description":"","deprecated":false,"properties":{"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["name","documentObject"]},"Document.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["name","documentObject"]},"Document.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"},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"documentObject":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"documentUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["name","documentObject"]},"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"]},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"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\/"}}}},"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"]},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"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\/"}}}},"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"]},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"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\/"}}}},"PartnerFollow":{"type":"object","description":"","deprecated":false,"properties":{"user":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}},"required":["partner"]},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"sale":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Sale":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover"]},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover"]},"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"product":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"productName":{"readOnly":true,"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]},"comment":{"type":["string","null"]},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"},"posts":{"readOnly":true,"description":"array","type":"array","items":{"type":"string"}}},"required":["turnover"]},"SaleSummary":{"type":"object","description":"","deprecated":false,"properties":{"owner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonhal":{"type":"object","description":"","deprecated":false,"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"owner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"SaleSummary.jsonld":{"type":"object","description":"","deprecated":false,"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"owner":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"type":["string","null"]},"turnover":{"type":["integer","null"]},"profit":{"type":["integer","null"]}}},"Task":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"owl:maxCardinality":1,"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,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonhal":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"owl:maxCardinality":1,"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,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"contact":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contactName":{"readOnly":true,"type":["string","null"]},"prio":{"type":"string","enum":["low","medium","high"]},"completed":{"type":["boolean","null"]},"taskNotes":{"readOnly":true,"description":"array","type":"array","items":{"$ref":"#\/components\/schemas\/TaskNote.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"Task.jsonld":{"type":"object","description":"","deprecated":false,"required":["headline","description","assignedTo","dueAt","prio","completed"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"createdBy":{"readOnly":true,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"createdByName":{"readOnly":true,"type":["string","null"]},"assignedTo":{"owl:maxCardinality":1,"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,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"partnerName":{"readOnly":true,"type":["string","null"]},"contact":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"owl:maxCardinality":1,"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,"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"task":{"owl:maxCardinality":1,"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"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"}}}},"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 b870451..934616e 100644 --- a/export/openapi.yaml +++ b/export/openapi.yaml @@ -500,6 +500,184 @@ paths: 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 @@ -513,7 +691,7 @@ paths: schema: type: object properties: - 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Document.jsonld-document_object.read' } } + '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 } } } } } } @@ -523,17 +701,17 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Document-document_object.read' + $ref: '#/components/schemas/Document' text/html: schema: type: array items: - $ref: '#/components/schemas/Document-document_object.read' + $ref: '#/components/schemas/Document' application/hal+json: schema: type: object properties: - _embedded: { type: array, items: { $ref: '#/components/schemas/Document.jsonhal-document_object.read' } } + _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 } } } } } @@ -634,16 +812,16 @@ paths: content: application/ld+json: schema: - $ref: '#/components/schemas/Document.jsonld-document_object.read' + $ref: '#/components/schemas/Document.jsonld' application/json: schema: - $ref: '#/components/schemas/Document-document_object.read' + $ref: '#/components/schemas/Document' text/html: schema: - $ref: '#/components/schemas/Document-document_object.read' + $ref: '#/components/schemas/Document' application/hal+json: schema: - $ref: '#/components/schemas/Document.jsonhal-document_object.read' + $ref: '#/components/schemas/Document.jsonhal' links: { } 400: description: 'Invalid input' @@ -653,24 +831,21 @@ paths: description: 'Creates a Document resource.' parameters: [] requestBody: - description: '' + description: 'The new Document resource' content: - multipart/form-data: + application/ld+json: schema: - type: object - properties: - file: - type: string - format: binary - partner: - type: string - format: iri_reference - example: 'https://example.com/' - product: - type: string - format: iri_reference - example: 'https://example.com/' - required: false + $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}': @@ -684,16 +859,16 @@ paths: content: application/ld+json: schema: - $ref: '#/components/schemas/Document.jsonld-document_object.read' + $ref: '#/components/schemas/Document.jsonld' application/json: schema: - $ref: '#/components/schemas/Document-document_object.read' + $ref: '#/components/schemas/Document' text/html: schema: - $ref: '#/components/schemas/Document-document_object.read' + $ref: '#/components/schemas/Document' application/hal+json: schema: - $ref: '#/components/schemas/Document.jsonhal-document_object.read' + $ref: '#/components/schemas/Document.jsonhal' 404: description: 'Resource not found' summary: 'Retrieves a Document resource.' @@ -702,7 +877,7 @@ paths: - name: id in: path - description: 'DocumentObject identifier' + description: 'DocumentApi identifier' required: true deprecated: false allowEmptyValue: false @@ -727,7 +902,50 @@ paths: - name: id in: path - description: 'DocumentObject identifier' + description: 'DocumentApi 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: 'DocumentApi identifier' required: true deprecated: false allowEmptyValue: false @@ -736,22 +954,29 @@ paths: 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/medias: + /api/media_objects: get: - operationId: api_medias_get_collection + operationId: api_media_objects_get_collection tags: - - Media + - MediaObject responses: 200: - description: 'Media collection' + description: 'MediaObject collection' content: application/ld+json: schema: type: object properties: - 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Media.jsonld-media_object.read' } } + '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 } } } } } } @@ -761,25 +986,25 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Media-media_object.read' + $ref: '#/components/schemas/MediaObject-media_object.read' text/html: schema: type: array items: - $ref: '#/components/schemas/Media-media_object.read' + $ref: '#/components/schemas/MediaObject-media_object.read' application/hal+json: schema: type: object properties: - _embedded: { type: array, items: { $ref: '#/components/schemas/Media.jsonhal-media_object.read' } } + _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 Media resources.' - description: 'Retrieves the collection of Media resources.' + summary: 'Retrieves the collection of MediaObject resources.' + description: 'Retrieves the collection of MediaObject resources.' parameters: - name: page @@ -811,32 +1036,32 @@ paths: allowReserved: false deprecated: false post: - operationId: api_medias_post + operationId: api_media_objects_post tags: - - Media + - MediaObject responses: 201: - description: 'Media resource created' + description: 'MediaObject resource created' content: application/ld+json: schema: - $ref: '#/components/schemas/Media.jsonld-media_object.read' + $ref: '#/components/schemas/MediaObject.jsonld-media_object.read' application/json: schema: - $ref: '#/components/schemas/Media-media_object.read' + $ref: '#/components/schemas/MediaObject-media_object.read' text/html: schema: - $ref: '#/components/schemas/Media-media_object.read' + $ref: '#/components/schemas/MediaObject-media_object.read' application/hal+json: schema: - $ref: '#/components/schemas/Media.jsonhal-media_object.read' + $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' links: { } 400: description: 'Invalid input' 422: description: 'Unprocessable entity' - summary: 'Creates a Media resource.' - description: 'Creates a Media resource.' + summary: 'Creates a MediaObject resource.' + description: 'Creates a MediaObject resource.' parameters: [] requestBody: description: '' @@ -851,31 +1076,31 @@ paths: required: false deprecated: false parameters: [] - '/api/medias/{id}': + '/api/media_objects/{id}': get: - operationId: api_medias_id_get + operationId: api_media_objects_id_get tags: - - Media + - MediaObject responses: 200: - description: 'Media resource' + description: 'MediaObject resource' content: application/ld+json: schema: - $ref: '#/components/schemas/Media.jsonld-media_object.read' + $ref: '#/components/schemas/MediaObject.jsonld-media_object.read' application/json: schema: - $ref: '#/components/schemas/Media-media_object.read' + $ref: '#/components/schemas/MediaObject-media_object.read' text/html: schema: - $ref: '#/components/schemas/Media-media_object.read' + $ref: '#/components/schemas/MediaObject-media_object.read' application/hal+json: schema: - $ref: '#/components/schemas/Media.jsonhal-media_object.read' + $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' 404: description: 'Resource not found' - summary: 'Retrieves a Media resource.' - description: 'Retrieves a Media resource.' + summary: 'Retrieves a MediaObject resource.' + description: 'Retrieves a MediaObject resource.' parameters: - name: id @@ -891,16 +1116,16 @@ paths: allowReserved: false deprecated: false delete: - operationId: api_medias_id_delete + operationId: api_media_objects_id_delete tags: - - Media + - MediaObject responses: 204: - description: 'Media resource deleted' + description: 'MediaObject resource deleted' 404: description: 'Resource not found' - summary: 'Removes the Media resource.' - description: 'Removes the Media resource.' + summary: 'Removes the MediaObject resource.' + description: 'Removes the MediaObject resource.' parameters: - name: id @@ -1013,6 +1238,32 @@ paths: style: form explode: true allowReserved: false + - + name: user + in: query + description: '' + required: false + deprecated: false + allowEmptyValue: true + schema: + type: string + style: form + explode: false + allowReserved: false + - + name: 'user[]' + in: query + description: '' + required: false + deprecated: false + allowEmptyValue: true + schema: + type: array + items: + type: string + style: form + explode: true + allowReserved: false deprecated: false post: operationId: api_partner_follows_post @@ -1222,6 +1473,18 @@ paths: 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 @@ -1785,6 +2048,18 @@ paths: 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 @@ -2650,6 +2925,32 @@ paths: 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 @@ -3516,7 +3817,252 @@ components: - string - 'null' format: date-time - Document-document_object.read: + Document: + type: object + description: '' + deprecated: false + properties: + createdBy: + readOnly: true + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + createdByName: + readOnly: true + type: + - string + - 'null' + name: + type: + - string + - 'null' + description: + type: + - string + - 'null' + partner: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + partnerName: + readOnly: true + type: + - string + - 'null' + product: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + productName: + readOnly: true + type: + - string + - 'null' + documentObject: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + documentUrl: + readOnly: true + type: + - string + - 'null' + createdAt: + readOnly: true + type: + - string + - 'null' + format: date-time + required: + - name + - documentObject + Document.jsonhal: + type: object + description: '' + deprecated: false + properties: + _links: + type: object + properties: + self: + type: object + properties: + href: + type: string + format: iri-reference + createdBy: + readOnly: true + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + createdByName: + readOnly: true + type: + - string + - 'null' + name: + type: + - string + - 'null' + description: + type: + - string + - 'null' + partner: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + partnerName: + readOnly: true + type: + - string + - 'null' + product: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + productName: + readOnly: true + type: + - string + - 'null' + documentObject: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + documentUrl: + readOnly: true + type: + - string + - 'null' + createdAt: + readOnly: true + type: + - string + - 'null' + format: date-time + required: + - name + - documentObject + Document.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 + createdBy: + readOnly: true + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + createdByName: + readOnly: true + type: + - string + - 'null' + name: + type: + - string + - 'null' + description: + type: + - string + - 'null' + partner: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + partnerName: + readOnly: true + type: + - string + - 'null' + product: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + productName: + readOnly: true + type: + - string + - 'null' + documentObject: + 'owl:maxCardinality': 1 + type: + - string + - 'null' + format: iri-reference + example: 'https://example.com/' + documentUrl: + readOnly: true + type: + - string + - 'null' + createdAt: + readOnly: true + type: + - string + - 'null' + format: date-time + required: + - name + - documentObject + DocumentObject-document_object.read: type: object description: '' deprecated: false @@ -3529,7 +4075,7 @@ components: type: - string - 'null' - Document.jsonhal-document_object.read: + DocumentObject.jsonhal-document_object.read: type: object description: '' deprecated: false @@ -3551,7 +4097,7 @@ components: type: - string - 'null' - Document.jsonld-document_object.read: + DocumentObject.jsonld-document_object.read: type: object description: '' deprecated: false @@ -3587,7 +4133,7 @@ components: type: - string - 'null' - Media-media_object.read: + MediaObject-media_object.read: type: object description: '' deprecated: false @@ -3600,7 +4146,7 @@ components: type: - string - 'null' - Media.jsonhal-media_object.read: + MediaObject.jsonhal-media_object.read: type: object description: '' deprecated: false @@ -3622,7 +4168,7 @@ components: type: - string - 'null' - Media.jsonld-media_object.read: + MediaObject.jsonld-media_object.read: type: object description: '' deprecated: false diff --git a/src/ApiResource/DocumentApi.php b/src/ApiResource/DocumentApi.php index 0ae334c..ca73dcf 100644 --- a/src/ApiResource/DocumentApi.php +++ b/src/ApiResource/DocumentApi.php @@ -82,6 +82,9 @@ class DocumentApi #[NotBlank] public ?DocumentObject $documentObject = null; + #[ApiProperty(writable: false)] + public ?string $documentUrl = 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 5c877e5..07fd8d0 100644 --- a/src/ApiResource/PartnerApi.php +++ b/src/ApiResource/PartnerApi.php @@ -49,7 +49,7 @@ use Symfony\Component\Validator\Constraints\NotBlank; processor: EntityClassDtoStateProcessor::class, stateOptions: new Options(entityClass: Partner::class) )] -#[ApiFilter(SearchFilter::class, properties: ['type' => 'exact'])] +#[ApiFilter(SearchFilter::class, properties: ['type' => 'exact', 'name' => 'ipartial'])] #[ApiFilter(OrderFilter::class, properties: ['name', 'city', 'website'], arguments: ['orderParameterName' => 'order'])] class PartnerApi { diff --git a/src/ApiResource/PartnerFollowApi.php b/src/ApiResource/PartnerFollowApi.php index ef9fd13..fff46b0 100644 --- a/src/ApiResource/PartnerFollowApi.php +++ b/src/ApiResource/PartnerFollowApi.php @@ -45,7 +45,7 @@ use Symfony\Component\Validator\Constraints\NotBlank; processor: EntityClassDtoStateProcessor::class, stateOptions: new Options(entityClass: PartnerFollow::class), )] -#[ApiFilter(SearchFilter::class, properties: ['partner' => 'exact', 'contact' => 'exact'])] +#[ApiFilter(SearchFilter::class, properties: ['partner' => 'exact', 'user' => 'exact'])] class PartnerFollowApi { #[ApiProperty(readable: false, writable: false, identifier: true)] diff --git a/src/ApiResource/ProductApi.php b/src/ApiResource/ProductApi.php index fff5681..e1b22cd 100644 --- a/src/ApiResource/ProductApi.php +++ b/src/ApiResource/ProductApi.php @@ -9,6 +9,7 @@ namespace App\ApiResource; use ApiPlatform\Doctrine\Orm\Filter\OrderFilter; +use ApiPlatform\Doctrine\Orm\Filter\SearchFilter; use ApiPlatform\Doctrine\Orm\State\Options; use ApiPlatform\Metadata\ApiFilter; use ApiPlatform\Metadata\ApiProperty; @@ -48,6 +49,7 @@ use Symfony\Component\Validator\Constraints\NotBlank; stateOptions: new Options(entityClass: Product::class) )] +#[ApiFilter(SearchFilter::class, properties: ['name' => 'ipartial'])] #[ApiFilter(OrderFilter::class, properties: ['name'], arguments: ['orderParameterName' => 'order'])] class ProductApi { diff --git a/src/ApiResource/TaskApi.php b/src/ApiResource/TaskApi.php index 906d5c8..8362c69 100644 --- a/src/ApiResource/TaskApi.php +++ b/src/ApiResource/TaskApi.php @@ -51,7 +51,7 @@ use Symfony\Component\Validator\Constraints as Assert; stateOptions: new Options(entityClass: Task::class), )] #[ApiFilter(SearchFilter::class, properties: [ - 'owner' => 'exact', + 'assignedTo' => 'exact', 'partner' => 'exact', 'contact' => 'exact' ])] diff --git a/src/Mapper/DocumentEntityToApiMapper.php b/src/Mapper/DocumentEntityToApiMapper.php index 6b4e0a5..b7b0c62 100644 --- a/src/Mapper/DocumentEntityToApiMapper.php +++ b/src/Mapper/DocumentEntityToApiMapper.php @@ -10,6 +10,7 @@ use App\ApiResource\UserApi; use App\ApiResource\PostingApi; use App\Entity\Comment; use App\Entity\Document; +use App\Service\FileUrlService; use Symfonycasts\MicroMapper\AsMapper; use Symfonycasts\MicroMapper\MapperInterface; use Symfonycasts\MicroMapper\MicroMapperInterface; @@ -18,7 +19,8 @@ use Symfonycasts\MicroMapper\MicroMapperInterface; class DocumentEntityToApiMapper implements MapperInterface { public function __construct( - private MicroMapperInterface $microMapper + private MicroMapperInterface $microMapper, + private FileUrlService $fileUrlService ) { } @@ -63,6 +65,7 @@ class DocumentEntityToApiMapper implements MapperInterface } $dto->documentObject = $entity->getDocumentObject(); + $dto->documentUrl = $this->fileUrlService->getFileUrl($entity->getDocumentObject()); $dto->createdAt = $entity->getCreatedAt(); return $dto; diff --git a/src/Service/FileUrlService.php b/src/Service/FileUrlService.php index 37c39f1..e546a76 100644 --- a/src/Service/FileUrlService.php +++ b/src/Service/FileUrlService.php @@ -8,9 +8,11 @@ namespace App\Service; +use App\Entity\DocumentObject; use App\Entity\MediaObject; use Symfony\Component\HttpFoundation\RequestStack; use Vich\UploaderBundle\Storage\StorageInterface; +use function Zenstruck\Foundry\instantiate; class FileUrlService { @@ -20,13 +22,14 @@ class FileUrlService private StorageInterface $storage, ){} - public function getFileUrl(?MediaObject $mediaObject) + public function getFileUrl(?object $object) { - if ($mediaObject !== null) { + if ($object !== null) { + assert($object instanceof MediaObject || $object instanceof DocumentObject); $currentRequest = $this->requestStack->getCurrentRequest(); if ($currentRequest !== null) { $apiUrl = $currentRequest->getSchemeAndHttpHost(); - $imageUri = $this->storage->resolveUri($mediaObject, 'file'); + $imageUri = $this->storage->resolveUri($object, 'file'); return $apiUrl . $imageUri; } }