Skip to content
Snippets Groups Projects
Verified Commit a31e78fc authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Moved description to summary, added ID and URL descriptions

parent b7222ba7
Branches
No related tags found
No related merge requests found
{ {
"version": "0.1", "version": "0.1",
"id": "https://retribute.me/@Alice.json",
"url": "https://retribute.me/@Alice.html",
"summary": "My name is Alice, I produce Creative Commons electro music. I need your support to continue working on my audio pieces!",
"means": [ "means": [
{ {
"provider": "flattr", "provider": "flattr",
...@@ -12,14 +15,14 @@ ...@@ -12,14 +15,14 @@
"id": "sendmecash", "id": "sendmecash",
"name": "Cash", "name": "Cash",
"weight": 1, "weight": 1,
"description": "I live here, you can send me money directly" "summary": "I live here, you can send me money directly"
}, },
{ {
"provider": "unkown", "provider": "unknown",
"id": "freetips", "id": "freetips",
"name": "Tip me on freetips", "name": "Tip me on freetips",
"weight": 2, "weight": 2,
"description": "This is the best place to tip me" "summary": "This is the best place to tip me"
} }
] ]
} }
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"id",
"version", "version",
"means" "means"
], ],
...@@ -15,6 +16,24 @@ ...@@ -15,6 +16,24 @@
"0.1" "0.1"
] ]
}, },
"id": {
"description": "Canonical URL of the JSON representation of the JSON profile",
"type": "string",
"examples": [
"https://retribute.me/@Alice.json"
]
},
"url": {
"description": "URL of an alternative HTML representation of the retribute profile",
"type": "string",
"examples": [
"https://retribute.me/@Alice.html"
]
},
"summary": {
"description": "A human readable exaplanation to go with the profile",
"type": "string"
},
"means": { "means": {
"description": "A list of retribution means", "description": "A list of retribution means",
"type": "array", "type": "array",
...@@ -49,7 +68,7 @@ ...@@ -49,7 +68,7 @@
"name": { "name": {
"type": "string" "type": "string"
}, },
"description": { "summary": {
"type": "string" "type": "string"
}, },
"weight": { "weight": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment