-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contributors Proposal Implementation (#234)
- Loading branch information
1 parent
2d13830
commit 8b68004
Showing
9 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/resources/schema/ans/0.10.7/traits/trait_contributors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.7/traits/trait_contributors.json", | ||
"title": "Contributors", | ||
"description": "Trait that holds information on who created and contributed to a given document in Arc.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"created_by": { | ||
"description": "The Creator of the Document.", | ||
"type":"object", | ||
"properties": { | ||
"user_id": { | ||
"type": "string", | ||
"description": "The unique ID of the Arc user who created the Document" | ||
}, | ||
"display_name": { | ||
"type": "string", | ||
"description": "The display name of the Arc user who created the Document" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,12 @@ | |
} | ||
] | ||
}, | ||
"contributors": { | ||
"created_by" : { | ||
"user_id": "[email protected]", | ||
"display_name": "Tyler Davis" | ||
} | ||
}, | ||
"location": "Washington, D.C.", | ||
"geo": { | ||
"latitude": 38.9047, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,12 @@ | |
} | ||
] | ||
}, | ||
"contributors": { | ||
"created_by" : { | ||
"user_id": "[email protected]", | ||
"display_name": "Tyler Davis" | ||
} | ||
}, | ||
"language": "en", | ||
"location": "Washington, D.C.", | ||
"geo": { | ||
|
@@ -331,7 +337,8 @@ | |
"content_elements": [ | ||
{ | ||
"type": "image", | ||
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Underwoodfive.jpg/220px-Underwoodfive.jpg" | ||
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Underwoodfive.jpg/220px-Underwoodfive.jpg", | ||
"version": "0.10.7" | ||
}, | ||
{ | ||
"type": "text", | ||
|
@@ -422,12 +429,14 @@ | |
{ | ||
"type": "image", | ||
"url": "http://foo.com/foo.jpg", | ||
"caption": "Foo" | ||
"caption": "Foo", | ||
"version": "0.10.7" | ||
}, | ||
{ | ||
"type": "image", | ||
"url": "http://bar.com/bar.jpg", | ||
"caption": "Bar" | ||
"caption": "Bar", | ||
"version": "0.10.7" | ||
} | ||
] | ||
}, | ||
|