Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contributors CR 10-10 #10

Open
jolla56 opened this issue Aug 28, 2019 · 2 comments
Open

Add contributors CR 10-10 #10

jolla56 opened this issue Aug 28, 2019 · 2 comments
Labels
investigation To be further investigated and discussed.

Comments

@jolla56
Copy link
Contributor

jolla56 commented Aug 28, 2019

Description of the change: (free-text)

In NewsML-G2, it is possible to indicate a "contributor" to an Item. What is the best way to do the equivalent in ninjs?

We would like to be able to indicate these types of people:

producer
photographer
captionwriter
editor

Should these be their own "top level" properties?

"producer" : "jane",
"photographer" : "sheila",
"captionwriter" : "evan",
"editor" : "alan"

Or, more likely, into lists

"producers" : ["jane", "stan", "bartholomew" ]

And, come to think of it, maybe they should actually be structured, objects - perhaps a "name", "code", "scheme" set of properties, to start?

"producers": [
    {
        "name": "jane",
        "code": "p1",
        "scheme": "https://producers.example.org"
    },
    {
        "name": "stan",
        "code": "p2",
        "scheme": "https://producers.example.org"
    },
    {
        "name": "bartholomew",
        "code": "p3",
        "scheme": "https://producers.example.org"
    }
]

Or should we group them together? e.g. in a "contributors" and just have a "type" property to indicate what kind of contributor they are (I guess with a controlled vocabulary?)

"contributors": [
    {
        "name": "jane",
        "code": "p1",
        "scheme": "https://producers.example.org",
        "type" : "producer"
    },
    {
        "name": "stan",
        "code": "p1",
        "scheme": "https://photographers.example.org",
        "type" : "photographer"
    },
    {
        "name": "bartholomew",
        "code": "p1",
        "scheme": "https://producers.example.org",
        "type" : "editor"
    }
]

Rationale for the change:

We would like to be able to indicate these types of people:

producer
photographer
captionwriter
editor

Reference to related IPTC discussion(s) (on Yahoo groups etc):

Formalised change request: (spec table etc.)

Name: contibutors

Definition: A list of the various people or organizations who have contributed to the item.

Data type: An array of objects. Each contributor object consists of name, code, scheme and type properties.

@jolla56
Copy link
Contributor Author

jolla56 commented Aug 28, 2019

JAYSON:

I am okay with adding this, though it does add a bit of complexity. I think I like the 2nd suggestion in the request:

"contributors": [
    {
        "name": "jane",
        "code": "p1",
        "scheme": "https://producers.example.org",
        "type" : "producer"
    },
    {
        "name": "stan",
        "code": "p1",
        "scheme": "https://photographers.example.org",
        "type" : "photographer"
    },
    {
        "name": "bartholomew",
        "code": "p1",
        "scheme": "https://producers.example.org",
        "type" : "editor"
    }
]

I would hope that the type, scheme, and code were optional. Also how about adding a location property, or some sort of open property like: Comment or Note: to add a location?

e.g.

"contributors": [
    {
        "name": "Jayson",
        "location": "SF"
    },
    {
        "name": "Jeremy",
        "location": "NY",
        "comment": "temporarily working in NY",
        "type" : "photographer"
    }
]

@jolla56
Copy link
Contributor Author

jolla56 commented Sep 12, 2019

Compare with bylines: #29

@jolla56 jolla56 added the investigation To be further investigated and discussed. label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation To be further investigated and discussed.
Projects
None yet
Development

No branches or pull requests

1 participant