From e21918f04a1e20367d68c05ce7bcbc8a2805ec69 Mon Sep 17 00:00:00 2001
From: Jason Altekruse <jaltekruse@usgs.gov>
Date: Tue, 3 Aug 2021 15:06:18 -0600
Subject: [PATCH] add and update required files

---
 CODE_OF_CONDUCT.md |  6 ++++++
 CONTRIBUTING.md    | 32 +++++++++++++++++++++++++++++++
 LICENSE.md         |  7 +++----
 README.md          |  4 +++-
 code.json          | 47 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 91 insertions(+), 5 deletions(-)
 create mode 100644 CODE_OF_CONDUCT.md
 create mode 100644 CONTRIBUTING.md
 create mode 100644 code.json

diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..aaf77a3
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,6 @@
+# Code of Conduct
+
+All contributions to and interactions surrounding this project will abide by
+the [USGS Code of Scientific Conduct][1].
+
+[1]: https://www.usgs.gov/about/organization/science-support/office-science-quality-and-integrity/code-scientific-conduct
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..392f301
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,32 @@
+# Contributing
+
+Contributions are welcome from the community. Questions can be asked on the
+[issues page][1]. Before creating a new issue, please take a moment to search
+and make sure a similar issue does not already exist. If one does exist, you
+can comment (most simply even with just a `:+1:`) to show your support for that
+issue.
+
+If you have direct contributions you would like considered for incorporation
+into the project you can [fork this repository][2] and
+[submit a merge request][3] for review.
+
+## Style Guide
+
+This project loosely adheres to [Google Java Style][4] and is informed by
+[Effective Java][5]. All source files and documentation are encoded using
+[UTF-8][6]]. Developers should also consider the following:
+
+* Line lengths:
+  * code: __100__, but shorter is better.
+  * comments: __80__, for readability.
+* Use unicode symbols where possible: `double μ = 0.4;`
+* Use static imports for only the most common utilities and preconditions:
+  * `java.lang.math`
+  * `com.google.common.base.Preconditions`
+
+[1]: https://code.usgs.gov/ghsc/nshmp/nshmp-netcdf/-/issues
+[2]: https://docs.gitlab.com/ee/gitlab-basics/fork-project.html
+[3]: https://docs.gitlab.com/ee/gitlab-basics/add-merge-request.html
+[4]: https://google.github.io/styleguide/javaguide.html
+[5]: http://en.wikipedia.org/wiki/Joshua_Bloch#Effective_Java
+[6]: https://en.wikipedia.org/?title=UTF-8
diff --git a/LICENSE.md b/LICENSE.md
index 489918d..b2c7f0d 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,18 +1,17 @@
 # License
 
-Unless otherwise noted, This project is in the public domain in the United
+Unless otherwise noted, this project is in the public domain in the United
 States because it contains materials that originally came from the United
 States Geological Survey, an agency of the United States Department of
 Interior. For more information, see the official USGS copyright policy at
-<https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits>
+<https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits>.
 
 Additionally, we waive copyright and related rights in the work
 worldwide through the CC0 1.0 Universal public domain dedication.
 
 ## CC0 1.0 Universal Summary
 
-This is a human-readable summary of the
-[Legal Code (read the full text)][1].
+This is a human-readable summary of the [Legal Code (read the full text)][1].
 
 ### No Copyright
 
diff --git a/README.md b/README.md
index 975223f..7e07378 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,3 @@
-# nshmp-lib
+# nshmp-ws-static
+
+Static hazard web service.
diff --git a/code.json b/code.json
new file mode 100644
index 0000000..b3c959e
--- /dev/null
+++ b/code.json
@@ -0,0 +1,47 @@
+[
+  {
+    "name": "nshmp-ws-static",
+    "organization": "U.S. Geological Survey",
+    "description": "Static hazard curve web serivce for the NSHMP",
+    "version": "#.#.#",
+    "status": "Production",
+    "doi": "doi:###TBD###",
+
+    "permissions": {
+      "usageType": "openSource",
+      "licenses": [
+        {
+          "name": "Public Domain, CC0-1.0",
+          "URL": "https://code.usgs.gov/ghsc/nshmp/nshmp-ws-static/-/blob/main/LICENSE.md"
+        }
+      ]
+    },
+
+    "repositoryURL": "https://code.usgs.gov/ghsc/nshmp/nshmp-ws-static",
+    "homepageURL": "https://code.usgs.gov/ghsc/nshmp/nshmp-ws-static",
+    "downloadURL": "https://code.usgs.gov/ghsc/nshmp/nshmp-ws-static/-/releases/tag/v#.#.#",
+    "disclaimerURL": "https://code.usgs.gov/ghsc/nshmp/nshmp-ws-static/-/blob/main/DISCLAIMER.md",
+    "vcs": "git",
+
+    "laborHours": 100,
+
+    "languages": [ "Java" ],
+
+    "tags": [
+      "Earthquake Hazards",
+      "Geologic Hazards Science Center",
+      "static-hazard",
+      "web-service",
+      "doi|###TBD###"
+    ],
+
+    "contact": {
+      "name": "Peter Powers",
+      "email": "pmpowers@usgs.gov"
+    },
+
+    "date": {
+      "metadataLastUpdated": "2021-08-03"
+    }
+  }
+]
-- 
GitLab