diff --git a/matsen-tool/openapi.json b/matsen-tool/openapi.json index f8226e0..49b7a83 100644 --- a/matsen-tool/openapi.json +++ b/matsen-tool/openapi.json @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"Matsen API Platform","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/comments":{"get":{"operationId":"api_comments_get_collection","tags":["Comment"],"responses":{"200":{"description":"Comment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}},"example":{"@id":"string","type":"string","hydra:first":"string","hydra:last":"string","hydra:previous":"string","hydra:next":"string"}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":["string","null"]},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}}},"application\/hal+json":{"schema":{"type":"object","properties":{"_embedded":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"totalItems":{"type":"integer","minimum":0},"itemsPerPage":{"type":"integer","minimum":0},"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"first":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"last":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"next":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}},"previous":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}}},"required":["_links","_embedded"]}}}}},"summary":"Retrieves the collection of Comment resources.","description":"Retrieves the collection of Comment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":10,"minimum":0,"maximum":50},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_comments_post","tags":["Comment"],"responses":{"201":{"description":"Comment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"links":{}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Comment resource.","description":"Creates a Comment resource.","parameters":[],"requestBody":{"description":"The new Comment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}},"required":true},"deprecated":false},"parameters":[]},"\/api\/comments\/{id}":{"get":{"operationId":"api_comments_id_get","tags":["Comment"],"responses":{"200":{"description":"Comment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Comment"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Comment resource.","description":"Retrieves a Comment resource.","parameters":[{"name":"id","in":"path","description":"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\/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},"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"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}},"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"}}},"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}],"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"posting":{"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"posting":{"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"posting":{"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"],"properties":{"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"type":["string","null"]},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Contact.jsonhal":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"type":["string","null"]},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Contact.jsonld":{"type":"object","description":"","deprecated":false,"required":["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"},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"birthday":{"type":["string","null"],"format":"date-time"},"image":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"imageUrl":{"readOnly":true,"type":["string","null"]},"position":{"type":["string","null"]},"phone":{"type":["string","null"]},"email":{"type":["string","null"]},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdAt":{"type":["string","null"],"format":"date-time"}}},"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","type"],"properties":{"name":{"type":"string"},"type":{"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"},"contacts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name","type"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":"string"},"type":{"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"},"contacts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","type"],"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"},"type":{"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"logoUrl":{"readOnly":true,"type":["string","null"]},"createdAt":{"type":["string","null"],"format":"date-time"},"contacts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"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":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"partner":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"contact":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"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"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"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"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"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"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"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\/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},"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"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Post"}},"application\/hal+json":{"schema":{"$ref":"#\/components\/schemas\/Post.jsonhal"}}},"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"}}},"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}],"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"posting":{"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"posting":{"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":{"owl:maxCardinality":1,"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"ownerName":{"readOnly":true,"type":["string","null"]},"posting":{"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"],"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"]},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Contact.jsonhal":{"type":"object","description":"","deprecated":false,"required":["firstName","lastName"],"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"]},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdAt":{"type":["string","null"],"format":"date-time"}}},"Contact.jsonld":{"type":"object","description":"","deprecated":false,"required":["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"},"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"]},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"createdAt":{"type":["string","null"],"format":"date-time"}}},"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","type"],"properties":{"name":{"type":"string"},"type":{"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":{"type":["string","null"],"format":"date-time"},"contacts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonhal":{"type":"object","description":"","deprecated":false,"required":["name","type"],"properties":{"_links":{"type":"object","properties":{"self":{"type":"object","properties":{"href":{"type":"string","format":"iri-reference"}}}}},"name":{"type":"string"},"type":{"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":{"type":["string","null"],"format":"date-time"},"contacts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Partner.jsonld":{"type":"object","description":"","deprecated":false,"required":["name","type"],"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"},"type":{"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":{"type":["string","null"],"format":"date-time"},"contacts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}}},"Post":{"type":"object","description":"","deprecated":false,"required":["headline","message"],"properties":{"headline":{"type":["string","null"]},"message":{"type":["string","null"]},"owner":{"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\/"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"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":{"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\/"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonhal"}},"createdAt":{"readOnly":true,"type":["string","null"],"format":"date-time"}}},"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":{"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\/"},"comments":{"type":"array","items":{"$ref":"#\/components\/schemas\/Comment.jsonld"}},"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"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"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"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"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"]},"password":{"writeOnly":true,"description":"The plaintext password when being set or changed.","type":["string","null"]},"active":{"type":"boolean"},"postings":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"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/matsen-tool/openapi.yaml b/matsen-tool/openapi.yaml index 9d46bf9..d833410 100644 --- a/matsen-tool/openapi.yaml +++ b/matsen-tool/openapi.yaml @@ -1500,6 +1500,7 @@ components: - string - 'null' owner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1511,6 +1512,7 @@ components: - string - 'null' posting: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1543,6 +1545,7 @@ components: - string - 'null' owner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1554,6 +1557,7 @@ components: - string - 'null' posting: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1600,6 +1604,7 @@ components: - string - 'null' owner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1611,6 +1616,7 @@ components: - string - 'null' posting: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1639,6 +1645,7 @@ components: - string - 'null' partner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1650,6 +1657,7 @@ components: - 'null' format: date-time image: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1669,6 +1677,9 @@ components: - string - 'null' email: + format: email + externalDocs: + url: 'https://schema.org/email' type: - string - 'null' @@ -1709,6 +1720,7 @@ components: - string - 'null' partner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1720,6 +1732,7 @@ components: - 'null' format: date-time image: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1739,6 +1752,9 @@ components: - string - 'null' email: + format: email + externalDocs: + url: 'https://schema.org/email' type: - string - 'null' @@ -1793,6 +1809,7 @@ components: - string - 'null' partner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1804,6 +1821,7 @@ components: - 'null' format: date-time image: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -1823,6 +1841,9 @@ components: - string - 'null' email: + format: email + externalDocs: + url: 'https://schema.org/email' type: - string - 'null' @@ -1949,6 +1970,7 @@ components: - string - 'null' logo: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2020,6 +2042,7 @@ components: - string - 'null' logo: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2105,6 +2128,7 @@ components: - string - 'null' logo: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2143,6 +2167,7 @@ components: - string - 'null' owner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2154,12 +2179,14 @@ components: - string - 'null' partner: + 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' contact: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2201,6 +2228,7 @@ components: - string - 'null' owner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2212,12 +2240,14 @@ components: - string - 'null' partner: + 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' contact: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2273,6 +2303,7 @@ components: - string - 'null' owner: + 'owl:maxCardinality': 1 type: - string - 'null' @@ -2284,12 +2315,14 @@ components: - string - 'null' partner: + 'owl:maxCardinality': 1 type: - string - 'null' format: iri-reference example: 'https://example.com/' contact: + 'owl:maxCardinality': 1 type: - string - 'null' diff --git a/matsen-tool/src/app/_forms/apiForms.ts b/matsen-tool/src/app/_forms/apiForms.ts index 6f90b87..3c91a30 100644 --- a/matsen-tool/src/app/_forms/apiForms.ts +++ b/matsen-tool/src/app/_forms/apiForms.ts @@ -34,7 +34,7 @@ export const contactForm = new FormGroup({ imageUrl: new FormControl(null, []), position: new FormControl(null, []), phone: new FormControl(null, []), - email: new FormControl(null, []), + email: new FormControl(null, [Validators.email]), postings: new FormControl(null, []), createdAt: new FormControl(null, []) }); @@ -49,7 +49,7 @@ export const contactJsonhalForm = new FormGroup({ imageUrl: new FormControl(null, []), position: new FormControl(null, []), phone: new FormControl(null, []), - email: new FormControl(null, []), + email: new FormControl(null, [Validators.email]), postings: new FormControl(null, []), createdAt: new FormControl(null, []) }); @@ -63,7 +63,7 @@ export const contactJsonldForm = new FormGroup({ imageUrl: new FormControl(null, []), position: new FormControl(null, []), phone: new FormControl(null, []), - email: new FormControl(null, []), + email: new FormControl(null, [Validators.email]), postings: new FormControl(null, []), createdAt: new FormControl(null, []) }); diff --git a/matsen-tool/src/app/app.component.ts b/matsen-tool/src/app/app.component.ts index edc1bac..bd806cf 100644 --- a/matsen-tool/src/app/app.component.ts +++ b/matsen-tool/src/app/app.component.ts @@ -1,9 +1,9 @@ import {Component, OnInit} from '@angular/core'; - import {AccountService} from './_services'; import {User} from './_models'; import {PostService} from "@app/core/api/v1"; import {TranslateService} from "@ngx-translate/core"; +import {environment} from "@environments/environment"; @Component({ selector: 'app-root', @@ -11,9 +11,14 @@ import {TranslateService} from "@ngx-translate/core"; styleUrl: 'app.component.scss' }) export class AppComponent implements OnInit { - user?: User | null; + protected readonly environment = environment; + protected user?: User | null; - constructor(private postService: PostService, private accountService: AccountService, translate: TranslateService) { + constructor( + private postService: PostService, + private accountService: AccountService, + translate: TranslateService + ) { translate.setDefaultLang('de'); translate.use('de'); this.accountService.user.subscribe(x => this.user = x); @@ -27,6 +32,7 @@ export class AppComponent implements OnInit { this.accountService.logout(); } + // TODO: Hilfsfunktion - entfernen copyTokenToClipboard() { const el = document.createElement('textarea'); el.value = this.user?.token !== undefined ? this.user.token : ""; diff --git a/matsen-tool/src/app/contacts/new-contact/new-contact.component.html b/matsen-tool/src/app/contacts/new-contact/new-contact.component.html index a960147..a706824 100644 --- a/matsen-tool/src/app/contacts/new-contact/new-contact.component.html +++ b/matsen-tool/src/app/contacts/new-contact/new-contact.component.html @@ -1,45 +1,50 @@

Neuer Kontakt

-
- - -
+
+ + +
Vorname ist erforderlich.
-
- - -
+
+ + +
Nachname ist erforderlich.
-
- - -
- Geben Sie eine gültige E-Mail-Adresse ein. -
+
+ + +
+ +
+ +
-
- - +
+ + +
+ Geben Sie eine gültige E-Mail-Adresse ein. +
-
- - +
+ +
-
- - +
+ +
- +
diff --git a/matsen-tool/src/app/contacts/new-contact/new-contact.component.ts b/matsen-tool/src/app/contacts/new-contact/new-contact.component.ts index da10f42..9a7ff09 100644 --- a/matsen-tool/src/app/contacts/new-contact/new-contact.component.ts +++ b/matsen-tool/src/app/contacts/new-contact/new-contact.component.ts @@ -1,5 +1,6 @@ import {Component} from '@angular/core'; import {FormBuilder, FormGroup, Validators} from "@angular/forms"; +import {contactForm} from "@app/_forms/apiForms"; @Component({ selector: 'app-new-contact', @@ -12,13 +13,7 @@ export class NewContactComponent { constructor( private fb: FormBuilder ) { - this.contactForm = this.fb.group({ - firstName: ['', [Validators.required]], - lastName: ['', [Validators.required]], - email: ['', [Validators.required, Validators.email]], - phone: [''], - position: [''], - }); + this.contactForm = contactForm; this.selectedImage = null; } diff --git a/matsen-tool/src/environments/environment.prod.ts b/matsen-tool/src/environments/environment.prod.ts index 898f435..f00161a 100644 --- a/matsen-tool/src/environments/environment.prod.ts +++ b/matsen-tool/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ export const environment = { production: true, - apiUrl: 'https://matsen-tool-be.ddev.site:8443', - basePath: 'https://matsen-tool-be.ddev.site:8443' + basePath: 'https://matsen-tool-be.ddev.site:8443', + apiUrl: 'https://matsen-tool-be.ddev.site:8443/api' };