Merge pull request #5 from 67P/feature/contribution_date_time
Add date and time to contributions
This commit is contained in:
commit
824366c604
|
@ -28,4 +28,4 @@ if (result) {
|
|||
## TODO
|
||||
|
||||
* Add script for publishing both human- and machine-readable schemas to
|
||||
https://schemas.kosmos.org
|
||||
https://schema.kosmos.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft-04/schema#",
|
||||
"$schema": "https://json-schema.org/draft-07/schema#",
|
||||
"id": "https://schema.kosmos.org/Contribution",
|
||||
"properties": {
|
||||
"@context": {
|
||||
|
@ -26,6 +26,18 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"date": {
|
||||
"type": "string",
|
||||
"format": "date",
|
||||
"title": "Date",
|
||||
"description": "Date of contribution (RFC 3339 full-date)"
|
||||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"format": "time",
|
||||
"title": "Time",
|
||||
"description": "Time of contribution (RFC 3339 full-time)"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"title": "Kind",
|
||||
|
@ -56,6 +68,7 @@
|
|||
},
|
||||
"required": [
|
||||
"contributor",
|
||||
"date",
|
||||
"kind",
|
||||
"description"
|
||||
],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft-04/schema#",
|
||||
"$schema": "https://json-schema.org/draft-07/schema#",
|
||||
"id": "https://schema.kosmos.org/Contributor",
|
||||
"properties": {
|
||||
"@context": {
|
||||
|
|
Loading…
Reference in New Issue