Create ContactPage schema that defines your business or organization contact method. To include in your website code, you have to indicate you want to load a script like this: <script type="application/ld+json">The code here</script>
In production mode, you ought to minify the "code". You can go to https://codebeautify.org/jsonminifier to accomplish this. Exclude the "<script type application/ld+json"> and ending </script> from the minification. Just the content of the code.
Opening Hours Specification You can further modify the example by studying https://schema.org/OpeningHoursSpecification and study example 1 in JSON-LD format. Anything else, just ask!