Skip to content

Add publisher field (release schema) #325

@kindly

Description

@kindly

Optionally a record/release should be able to have embedded within it the following properties.

  • packageURI
  • publishedDate
  • publisher
  • license
  • publicationPolicy

This is important for API usage where all the releases/records do not belong to the same package or even belong to the same publisher. This is important as the API user should have easy access to this information (especially things like the licence).

These items most likely should be under a new property called possibly "packageMetadata"
An example release with this property would look like:

{   
    "language": "en",
    "ocid": "ocds-213czf-000-00001",
    "id": "ocds-213czf-000-00001-05-contract",
    "date": "2010-05-10T10:30:00Z",
    "tag": [
        "contract"
    ],
    "initiationType": "tender",
    ...
    "packageMetadata": {
         "uri":"http://a.com/ocds-213czf-001-01-planning.json",
         "publishedDate":"2009-03-15T14:45:00Z",
         "publisher": {
             "scheme": "GB-COH",
             "uid": "09506232",
             "name": "Open Data Services Co-operative Limited",
             "uri": "http://standard.open-contracting.org/examples/"
          },
         "license":"http://opendatacommons.org/licenses/pddl/1.0/",
         "publicationPolicy":"https://github.com/open-contracting/sample-data/"
}

These properties should be excluded from the merging process when creating the versionedRelease/compiledRelease, as it is possible for a record to have many source packages. Nonetheless, the record itself could have a "packageMetadata" property also.

This could be considered as an extension (but a standadized one) and not part of the core standard as it is optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Focus - PackagesRelating to release packages and record packagesSchema: FieldsRelating to adding or deprecating fields in the JSON Schemaquick

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions