https://github.com/access-nri/schema
A place to draft and house schema
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.6%) to scientific vocabulary
Keywords
Repository
A place to draft and house schema
Basic Info
Statistics
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 9
- Releases: 0
Topics
Metadata Files
README.md
ACCESS-NRI schema
Overview
This repo contains first attempts to arrive at a common schema to describe various types of assets used/supported by ACCESS-NRI. The primary motivation for developing these schema at this stage is the development of the ACCESS-NRI Intake catalog.
Schema Versioning
We utilize SchemaVer for schema versioning in this repository.
In a nutshell, SchemaVer is a MODEL-REVISION-ADDITION format, where:
- If adding changes that have no interoperability with the previous schema or historical data, the
MODELversion should be incremented. - If adding changes that may have interoperability with the previous schema and some historical data, increment the
REVISIONversion. - If adding changes that are interoperable with the previous schema and all historical data, increment the
ADDITIONversion.
Schema organisation
All ACCESS-NRI schema should be under the au.org.access-nri top-level directory. In this way this schema repository could contain copies of schema it does not "own" but that were used within the organisation.
Below the organisation top-level schema are organised by domain and purpose:
$ tree au.org.access-nri/
au.org.access-nri/
└── model
├── reproducibility
│ └── checksums
│ ├── 1-0-0.json
│ ├── CHANGELOG.md
│ └── README.md
└── output
├── experiment-metadata
│ ├── 1-0-0.json
│ ├── 1-0-1.json
│ ├── 1-0-2.json
│ ├── 1-0-3.json
│ ├── CHANGELOG.md
│ └── README.md
└── file-metadata
├── 1-0-0.json
├── 1-0-1.json
├── CHANGELOG.md
└── README.md
Updating schema
Note that new versions of schema are stored in different files named for the version. This can make it difficult to review a pull request which adds a new version as there is no useful diff information. The entire file is new.
When creating new versions of schema consider creating an initial commit that just copies the previous version into the new version, and then another separate commit that makes the required changes. This makes it easier to see what has changed, e.g. GitHub has a feature to isolate changes to a single commit, or a specific range of commits.
Using schema
When downloading or referencing schema from this repo in other applications it is a good idea to use a specific commit of the schema. This will make your application more robust to future changes to this repo.
CI in this Repository
Pull Requests and Pushes to this repository checks that the schema itself is valid according to a metaschema given in the $schema property. Please remember to add a $schema property to your schema, like so:
json
{
"$id": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/path/to/schema/1-0-0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "A Cool Schema!"
}
Custom Actions in this Repository
This repository has a validate-with-schema Github Actions action that should be used in conjunction with data that relies on a schema within this repository. See more in the actions README.md.
Owner
- Name: ACCESS-NRI
- Login: ACCESS-NRI
- Kind: organization
- Email: access.nri@anu.edu.au
- Website: https://www.access-nri.org.au/
- Repositories: 17
- Profile: https://github.com/ACCESS-NRI
Australian Earth System Simulator - National Research Infrastructure
GitHub Events
Total
- Issues event: 3
- Delete event: 11
- Member event: 3
- Issue comment event: 7
- Push event: 23
- Pull request review comment event: 13
- Pull request review event: 30
- Pull request event: 24
- Create event: 13
Last Year
- Issues event: 3
- Delete event: 11
- Member event: 3
- Issue comment event: 7
- Push event: 23
- Pull request review comment event: 13
- Pull request review event: 30
- Pull request event: 24
- Create event: 13
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 11
- Average time to close issues: about 2 months
- Average time to close pull requests: 1 day
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 1.0
- Average comments per pull request: 0.36
- Merged pull requests: 11
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 11
- Average time to close issues: about 2 months
- Average time to close pull requests: 1 day
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 1.0
- Average comments per pull request: 0.36
- Merged pull requests: 11
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- CodeGat (5)
- utkarshgupta95 (2)
- jo-basevi (2)
- dougiesquire (1)
Pull Request Authors
- CodeGat (24)
- jo-basevi (5)
- dougiesquire (3)
- utkarshgupta95 (2)
- aidanheerdegen (1)