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

Version history in revision CR 10-31 #31

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

Version history in revision CR 10-31 #31

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

Comments

@jolla56
Copy link
Contributor

jolla56 commented Aug 28, 2019

New property “revisions”:

"revisions": {
    "description" : "$$TT: Array of previous versions of this news object. See http://spec.tt.se/revisions.html",
    "type": "array",
    "items": {
        "type": "object",
        "additionalProperties" : true,
        "properties" : {
            "uri" : {
                "description" : "$$TT: The identifier of the previous revision.",
                 "type" : "string",
                "format" : "uri",
                "required" : true
            },
            "slug" : {
                "description" : "$$TT: Short name given to article while in production.",
                "type": "string",
                "required" : false
            },
            "replacing" : {
                "description" : "$$TT: Array of identifiers this revision is replacing.",
                "type" : "array",
                "required" : false,
                "items" : {
                    "type": "string",
                    "format" : "uri"
                }
            }
        }
    }
},

Rationale for the change: (free-text)

Compare with http://dev.iptc.org/ninjs-CR-10-30-Replacing

That property says that item B replaces item A.

Revisions hold the complete story back to the starting item(s).

An example from TT:

"revisions": [
    {"uri": "http://tt.se/media/text/170804-frivmfarah-508739","slug": "frivm-farah"},
    {"uri": "http://tt.se/media/text/170804-frivmfarahuv-508797","slug": "frivm-farahUV","replacing": ["http://tt.se/media/text/170804-frivmfarah-508739"]},
    {"uri": "http://tt.se/media/text/170804-frivmfarahuv2-508803","slug": "frivm-farahUV2","replacing": ["http://tt.se/media/text/170804-frivmfarahuv-508797"]}
],
@jolla56 jolla56 added the investigation To be further investigated and discussed. label Sep 13, 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