Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a073d4bb88 | |||
| f1077ffe36 | |||
| 074fd8aeae | |||
| 824366c604 | |||
| 28a5e9f1fc | |||
| a2f7bda9e3 | |||
| 6207e41d9f | |||
| 75b8b00497 | |||
| 3b656d0ab9 | |||
| 831b36f61e | |||
| e0ec67aad4 |
@@ -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,18 +1,21 @@
|
||||
{
|
||||
"name": "kosmos-schemas",
|
||||
"version": "1.1.1",
|
||||
"version": "2.1.0",
|
||||
"description": "JSON-LD schemas for Kosmos data formats",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [
|
||||
"kosmos",
|
||||
"ipfs",
|
||||
"kosmos",
|
||||
"remotestorage"
|
||||
],
|
||||
"author": "Kosmos Contributors <mail@kosmos.org>",
|
||||
"contributors": [],
|
||||
"contributors": [
|
||||
"Sebastian Kippe (https://sebastian.kip.pe)",
|
||||
"Garret Alfert (http://garretalfert.com)"
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -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": {
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"contributor": {
|
||||
"properties": {
|
||||
"uri": {
|
||||
"ipfs": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"title": "IPFS URI",
|
||||
@@ -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",
|
||||
@@ -35,7 +47,8 @@
|
||||
"design",
|
||||
"ops",
|
||||
"docs",
|
||||
"community"
|
||||
"community",
|
||||
"special"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
@@ -56,6 +69,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": {
|
||||
@@ -15,7 +15,7 @@
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"title": "Kind",
|
||||
"description": "Type/category of contribution",
|
||||
"description": "Category of contributor",
|
||||
"enum": [
|
||||
"person",
|
||||
"organization",
|
||||
|
||||
Reference in New Issue
Block a user