Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
spec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
retribute.me
spec
Commits
908e8824
Verified
Commit
908e8824
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Added identity list
parent
44bfd8b2
No related branches found
No related tags found
No related merge requests found
Pipeline
#3942
passed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
schemas/0.1/example.json
+20
-0
20 additions, 0 deletions
schemas/0.1/example.json
schemas/0.1/schema.json
+46
-1
46 additions, 1 deletion
schemas/0.1/schema.json
with
66 additions
and
1 deletion
schemas/0.1/example.json
+
20
−
0
View file @
908e8824
...
@@ -3,6 +3,26 @@
...
@@ -3,6 +3,26 @@
"id"
:
"https://retribute.me/@Alice.json"
,
"id"
:
"https://retribute.me/@Alice.json"
,
"url"
:
"https://retribute.me/@Alice.html"
,
"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!"
,
"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"
:
[
"means"
:
[
{
{
"provider"
:
"flattr"
,
"provider"
:
"flattr"
,
...
...
This diff is collapsed.
Click to expand it.
schemas/0.1/schema.json
+
46
−
1
View file @
908e8824
...
@@ -38,11 +38,56 @@
...
@@ -38,11 +38,56 @@
"description"
:
"A list of retribution means"
,
"description"
:
"A list of retribution means"
,
"type"
:
"array"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/mean"
}
"items"
:
{
"$ref"
:
"#/definitions/mean"
}
},
"identities"
:
{
"description"
:
"A list of identities lined to the profile"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/identity"
}
}
}
},
},
"definitions"
:
{
"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"
:
{
"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"
,
"type"
:
"object"
,
"required"
:
[
"provider"
,
"id"
,
"weight"
],
"required"
:
[
"provider"
,
"id"
,
"weight"
],
"minItems"
:
1
,
"minItems"
:
1
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment