Skip to content

Commit

Permalink
Merge pull request #4 from NIEHS/2-make-dummy-json-doc-and-starter-sc…
Browse files Browse the repository at this point in the history
…hema

2 make dummy json doc and starter schema
  • Loading branch information
michael-conway authored Mar 3, 2025
2 parents 618c051 + 8bb5b19 commit 49b65fb
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/jsonlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Jsonlint-CI
on:
push:
branches:
- main
- develop
- feature/**
- 2-make-dummy-json-doc-and-starter-schema
pull_request:
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
container:
image: ixxel/unit-tests-alpine:latest
steps:
- name: Git clone repo
uses: actions/checkout@v2
- name: Jsonlint scan
uses: ixxeL-actions/jsonlint@main
with:
extensions: '"json,JSON"'
environment: '""'
fix: 'true'
working-dir: ./schema/accel.json
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@ cython_debug/

# PyPI configuration file
.pypirc

.idea
.DS_Store
6 changes: 6 additions & 0 deletions schema/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Accelerator Data Model
## Version: 0.0.1-alpha

## Description

This accel.json file, and the accompanying JSON schema, represent the core data model for Accelerator.
23 changes: 23 additions & 0 deletions schema/accel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"submission": {
"submitter_name": null,
"submitter_email": null,
"submitter_comment": null
},
"data": {

},
"technical_metadata": {
"created": null,
"modified": null,
"original_source": null,
"original_source_link": null,
"history": [
{
"timestamp": null,
"msg": null
}
]

}
}

0 comments on commit 49b65fb

Please sign in to comment.