Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
retribute.me
spec
Commits
908e8824
Verified
Commit
908e8824
authored
Apr 17, 2019
by
Agate
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added identity list
parent
44bfd8b2
Pipeline
#3942
passed with stage
in 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
1 deletion
+66
-1
schemas/0.1/example.json
schemas/0.1/example.json
+20
-0
schemas/0.1/schema.json
schemas/0.1/schema.json
+46
-1
No files found.
schemas/0.1/example.json
View file @
908e8824
...
...
@@ -3,6 +3,26 @@
"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!"
,
"identities"
:
[
{
"provider"
:
"fediverse"
,
"id"
:
"alice@mastodon.instance"
,
"url"
:
"https://mastodon.instance/alice"
,
"weight"
:
1
},
{
"provider"
:
"musicbrainz"
,
"id"
:
"176216c5-d6e7-4df1-83cf-85251328eb90"
,
"url"
:
"https://musicbrainz.org/artist/176216c5-d6e7-4df1-83cf-85251328eb90"
,
"weight"
:
2
},
{
"provider"
:
"custom"
,
"id"
:
"personal-website"
,
"url"
:
"https://alice.me"
,
"weight"
:
3
}
],
"means"
:
[
{
"provider"
:
"flattr"
,
...
...
schemas/0.1/schema.json
View file @
908e8824
...
...
@@ -38,11 +38,56 @@
"description"
:
"A list of retribution means"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/mean"
}
},
"identities"
:
{
"description"
:
"A list of identities lined to the profile"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/identity"
}
}
},
"definitions"
:
{
"identity"
:
{
"description"
:
"A single retribution mean. The provider and id must form a unique combination"
,
"type"
:
"object"
,
"required"
:
[
"provider"
,
"id"
,
"weight"
],
"minItems"
:
0
,
"properties"
:
{
"provider"
:
{
"type"
:
"string"
,
"description"
:
"A provider id"
,
"examples"
:
[
"facebook"
,
"twitter"
,
"fediverse"
,
"instagram"
,
"keybase"
,
"youtube"
,
"funkwhale"
,
"peertube"
,
"custom"
]
},
"id"
:
{
"type"
:
"string"
},
"name"
:
{
"type"
:
"string"
},
"url"
:
{
"type"
:
"string"
},
"summary"
:
{
"type"
:
"string"
},
"weight"
:
{
"type"
:
"integer"
,
"minimum"
:
0
,
"description"
:
"Weight of the identity. Higher values mean this identity is displayed first"
}
}
},
"mean"
:
{
"description"
:
"A single retribution mean. The
type
and id must form a unique combination"
,
"description"
:
"A single retribution mean. The
provider
and id must form a unique combination"
,
"type"
:
"object"
,
"required"
:
[
"provider"
,
"id"
,
"weight"
],
"minItems"
:
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment