schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
ninjs-2.0.json
pubstatus
The publishing status of the news object, its value is *usable* by default. nar:pubStatus
{"type": "string", "enum": ["usable", "withheld", "canceled"]}
ninjs-2.0.json
urgency
The editorial urgency of the content. Values from 1 to 9. 1 represents the highest urgency, 9 the lowest. nar:urgency
{"type": "number"}
ninjs-2.0.json
copyrightholder
The person or organisation claiming the intellectual property for the content. nar:copyrightHolder
{"type": "string"}
ninjs-2.0.json
copyrightnotice
Any necessary copyright notice for claiming the intellectual property for the content. nar:copyrightNotice
{"type": "string"}
ninjs-2.0.json
usageterms
A natural-language statement about the usage terms pertaining to the content. nar:usageTerms
{"type": "string"}
ninjs-2.0.json
ednote
A note that is intended to be read by internal staff at the receiving organisation, but not intended to be published. (Added in version 1.2 from issue #6.). (Consider using this before using the descriptions array.) ednote: nar:edNote
{"type": "string"}
ninjs-2.0.json
language
The human language used by the content. The value should follow IETF BCP47. nar:language
{"type": "string"}
ninjs-2.0.json
descriptions
An array of one or more descriptions of the ninjs object. See also ednote for information from provider to reciever. Descriptions are seen as metadata. For a simple description use an array with one object only containing the value property. Role and contenttype are then undefined and it is up to the provider.
{"type": "array", "items": {"type": "object", "required": ["value"], "additionalProperties": false, "properties": {"role": {"type": "string"}, "contenttype": {"type": "string"}, "value": {"type": "string"}}}}
ninjs-2.0.json
role
The role of this description
{"type": "string"}
ninjs-2.0.json
contenttype
The IANA (Internet Assigned Numbers Authority) MIME type of the content of this description.
{"type": "string"}
ninjs-2.0.json
value
The descriptive text identified with the above role (and contenttype).
{"type": "string"}
ninjs-2.0.json
bodies
An array of body objects with the content as text or with markup. For a simple body use an array with one object only containing the value property. Role and contenttype are then undefined and it is up to the provider.
{"type": "array", "items": {"type": "object", "required": ["value"], "additionalProperties": false, "properties": {"role": {"type": "string"}, "contenttype": {"type": "string"}, "charcount": {"type": "number"}, "wordcount": {"type": "number"}, "value": {"type": "string"}}}}
ninjs-2.0.json
role
The role of this body
{"type": "string"}
ninjs-2.0.json
contenttype
The IANA (Internet Assigned Numbers Authority) MIME type of the content of this body.
{"type": "string"}
ninjs-2.0.json
charcount
The total character count in this body excluding figure captions. (Added in version 1.2 according to issue #27.). nar:charcount
{"type": "number"}
ninjs-2.0.json
wordcount
The total number of words in this body excluding figure captions. (Added in version 1.2 according to issue #27.). nar:wordcount
{"type": "number"}
ninjs-2.0.json
value
The body text identified with the above role and contenttype.
{"type": "string"}
ninjs-2.0.json
headlines
An array of objects containing various types of headlines. For a simple headline use an array with one object only containing the value property. Role and contenttype are then undefined and it is up to the provider.
{"type": "array", "items": {"type": "object", "required": ["value"], "additionalProperties": false, "properties": {"role": {"type": "string"}, "contenttype": {"type": "string"}, "value": {"type": "string"}}}}
ninjs-2.0.json
role
The role of this headline
{"type": "string"}
ninjs-2.0.json
contenttype
The IANA (Internet Assigned Numbers Authority) MIME type of the content of this headline.
{"type": "string"}
ninjs-2.0.json
value
The headline identified with the above role and contenttype.
{"type": "string"}
ninjs-2.0.json
people
An array of objects describing individual human beings. nar:subject
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "rel": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}}
ninjs-2.0.json
name
The name of a person
{"type": "string"}
ninjs-2.0.json
rel
The relationship of the content of the news object to the person
{"type": "string"}
ninjs-2.0.json
uri
The identifier for the person as a complete uri with the code.
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the person as a literal value.
{"type": "string"}
ninjs-2.0.json
organisations
An array of objects describing administrative and functional structures which may, for example, act as as a business, as a political party or not-for-profit party. nar:subject
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "rel": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}, "symbols": {"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"ticker": {"type": "string"}, "exchange": {"type": "string"}}}}}}}
ninjs-2.0.json
name
The name of the organisation
{"type": "string"}
ninjs-2.0.json
rel
The relationship of the content of the news object to the organisation
{"type": "string"}
ninjs-2.0.json
uri
The identifier of the organisation as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the organisation as a literal
{"type": "string"}
ninjs-2.0.json
symbols
Symbols used for a financial instrument linked to the organisation at a specific market place
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"ticker": {"type": "string"}, "exchange": {"type": "string"}}}}
ninjs-2.0.json
ticker
Ticker symbol used for the financial instrument
{"type": "string"}
ninjs-2.0.json
exchange
Identifier for the marketplace which uses the ticker symbols of the ticker property
{"type": "string"}
ninjs-2.0.json
places
An array of named locations. nar:subject
{"additionalProperties": false, "type": "array", "items": {"type": "object", "anyOf": [{"properties": {"name": {"type": "string"}, "rel": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}, {}]}}
ninjs-2.0.json
name
The name of the place
{"type": "string"}
ninjs-2.0.json
rel
The relationship of the content of the news object to the place
{"type": "string"}
ninjs-2.0.json
uri
The identifier for the place as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the place as a literal
{"type": "string"}
ninjs-2.0.json
subjects
An array of objects holding concepts with a relationship to the content. nar:subject
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "rel": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}}
ninjs-2.0.json
name
The name of the subject
{"type": "string"}
ninjs-2.0.json
rel
The relationship of the content of the news object to the subject
{"type": "string"}
ninjs-2.0.json
uri
The identifier of the subject as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the subject as a string literal
{"type": "string"}
ninjs-2.0.json
events
An array of objects describing something which happens in a planned or unplanned manner. nar:?
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "rel": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}}
ninjs-2.0.json
name
The name of the event
{"type": "string"}
ninjs-2.0.json
rel
The relationship of the content of the news object to the event
{"type": "string"}
ninjs-2.0.json
uri
The identifier for the event as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the event as a string literal
{"type": "string"}
ninjs-2.0.json
objects
An array of objects describing something material, excluding persons. nar:subject
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "rel": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}}
ninjs-2.0.json
name
The name of the object
{"type": "string"}
ninjs-2.0.json
rel
The relationship of the content of the news object to the object
{"type": "string"}
ninjs-2.0.json
uri
The identifier for the object as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the object as a string literal
{"type": "string"}
ninjs-2.0.json
infosources
An array of parties (person or organisation) which originated, modified, enhanced, distributed, aggregated or supplied the content or provided some information used to create or enhance the content. (Added in version 1.2 according to issue #15.) . infosource: nar:infoSource
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "role": {"type": "string", "format": "uri"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}}
ninjs-2.0.json
name
The name of the infosource
{"type": "string"}
ninjs-2.0.json
role
The role the infosource in relationship to the content as a uri.
{"type": "string", "format": "uri"}
ninjs-2.0.json
uri
The identifier of the infosource as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the infosource as a string literal
{"type": "string"}
ninjs-2.0.json
title
A short natural-language name for the item. Title is metadata, use headlines for publishable headlines. (Added in version 1.2 according to issue #9). nar:itemMeta/title
{"type": "string"}
ninjs-2.0.json
by
A natural-language statement about the creator (author, photographer etc.) of the content. nar:by
{"type": "string"}
ninjs-2.0.json
slugline
A human-readable identifier for the item. (Added in version 1.2 from issue #4.). nar:slugline
{"type": "string"}
ninjs-2.0.json
located
The name of the location from which the content originates. nar:located
{"type": "string"}
ninjs-2.0.json
renditions
An array of objects with different renditions of the news object. nar:remoteContent
{"type": "array", "additionalProperties": false, "items": {"type": "object", "additionalProperties": false, "required": ["name"], "properties": {"name": {"type": "string"}, "href": {"type": "string", "format": "uri"}, "contenttype": {"type": "string"}, "height": {"type": "number"}, "width": {"type": "number"}, "sizeinbytes": {"type": "number"}, "duration": {"type": "number"}, "format": {"type": "string"}}}}
ninjs-2.0.json
items
A specific rendition of the content of the news object. (Description changed in version 1.2 according to issue #17.)
{"type": "object", "additionalProperties": false, "required": ["name"], "properties": {"name": {"type": "string"}, "href": {"type": "string", "format": "uri"}, "contenttype": {"type": "string"}, "height": {"type": "number"}, "width": {"type": "number"}, "sizeinbytes": {"type": "number"}, "duration": {"type": "number"}, "format": {"type": "string"}}}
ninjs-2.0.json
name
The name of this object in the array of renditions. For example 'thumbnail'
{"type": "string"}
ninjs-2.0.json
href
The URL for accessing the rendition as a resource. nar:remoteContent@ref
{"type": "string", "format": "uri"}
ninjs-2.0.json
contenttype
A MIME type which applies to this rendition. nar:remoteContent@contenttype
{"type": "string"}
ninjs-2.0.json
title
A title for the link to the rendition resource
{"type": "string"}
ninjs-2.0.json
height
For still and moving images: the height of the display area measured in pixels. nar:remoteContent@height
{"type": "number"}
ninjs-2.0.json
width
For still and moving images: the width of the display area measured in pixels. nar:remoteContent@width
{"type": "number"}
ninjs-2.0.json
sizeinbytes
The size of the rendition resource in bytes
{"type": "number"}
ninjs-2.0.json
duration
The total time duration of the content in seconds. (Added in version 1.2. Issue #18). nar:remoteContent@duration
{"type": "number"}
ninjs-2.0.json
format
Binary format name. (Added in version 1.2. Issue #18). nar:remoteContent@format
{"type": "string"}
ninjs-2.0.json
associations
An array of objects with content of news objects which are associated with this news object.
{"type": "array", "additionalProperties": false, "items": {"type": "object", "anyOf": [{"properties": {"name": {"type": "string"}}, "required": ["name"]}, {}]}}
ninjs-2.0.json
items
One associated object where each object can use all properties in ninjs.
{"type": "object", "anyOf": [{"properties": {"name": {"type": "string"}}, "required": ["name"]}, {}]}
ninjs-2.0.json
name
The name of this object in the array of associations. For example 'logo'
{"type": "string"}
ninjs-2.0.json
altids
Alternative identifiers assigned to the content. Each alternative id can have a role and a value. nar:altId issue #3.
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"role": {"type": "string"}, "value": {"type": "string"}}}}
ninjs-2.0.json
role
The role of the alternative id
{"type": "string"}
ninjs-2.0.json
value
The alternative id value
{"type": "string"}
ninjs-2.0.json
trustindicators
An array of objects to allow links to documents about trust indicators. issue #44. (Added in version 1.3)
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"role": {"type": "string", "format": "uri"}, "href": {"type": "string", "format": "uri"}}}}
ninjs-2.0.json
role
The role of the trust indicator as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
title
The title of the resource being referenced.
{"type": "string"}
ninjs-2.0.json
href
The URL for accessing the trust indicator resource.
{"type": "string", "format": "uri"}
ninjs-2.0.json
standard
An object with information about standard, version and schema this instance is valid against. nar:standard, nar:standardversion and xml:schema issue #43. (Added in version 1.3)
{"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "version": {"type": "string"}, "schema": {"type": "string", "format": "uri"}}}
ninjs-2.0.json
name
For example ninjs. nar:standard
{"type": "string"}
ninjs-2.0.json
version
For example 1.3. nar:standardversion
{"type": "string"}
ninjs-2.0.json
schema
The uri of the json schema to use for validation.
{"type": "string", "format": "uri"}
ninjs-2.0.json
genres
A nature, intellectual or journalistic form of the content. nar:genre. (Added in version 1.3)
{"type": "array", "items": {"type": "object", "additionalProperties": false, "properties": {"name": {"type": "string"}, "uri": {"type": "string", "format": "uri"}, "literal": {"type": "string"}}}}
ninjs-2.0.json
name
The name of the genre
{"type": "string"}
ninjs-2.0.json
uri
The identifier of the genre as a complete uri
{"type": "string", "format": "uri"}
ninjs-2.0.json
literal
The code for the genre as a string literal
{"type": "string"}
ninjs-2.0.json
rightsinfo
Expression of rights to be applied to content. nar:rightsInfo
{"type": "object", "properties": {"langid": {"type": "string", "format": "uri"}, "linkedrights": {"type": "string", "format": "uri"}, "encodedrights": {"additionalProperties": false, "type": "string"}}, "oneOf": [{"required": ["linkedrights"]}, {"required": ["encodedrights"]}]}
ninjs-2.0.json
langid
Identifier for the Rights Expression language used. nar:@langid
{"type": "string", "format": "uri"}
ninjs-2.0.json
linkedrights
A link from the current Item to Web resource with rights related information. nar:link
{"type": "string", "format": "uri"}
ninjs-2.0.json
encodedrights
Contains a rights expression as defined by a Rights Expression Language. nar:rightsExpressionXML or nar:rightsExpressionData
{"additionalProperties": false, "type": "string"}
snapcraft.json
apt-deb
deb repositories
{"type": "object", "additionalProperties": false, "properties": {"type": {"type": "string", "enum": ["apt"]}, "architectures": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string"}}, "formats": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string", "enum": ["deb", "deb-src"]}}, "components": {"type": "array", "minItems": 0, "uniqueItems": true, "items": {"type": "string"}}, "key-id": {"type": "string", "pattern": "^[A-Z0-9]{40}$"}, "key-server": {"type": "string"}, "path": {"type": "string"}, "suites": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string"}}, "url": {"type": "string"}}, "required": ["type", "key-id", "url"], "validation-failure": "{!r} is not properly configured deb repository"}
snapcraft.json
items
Architectures to enable, or restrict to, for this repository. Defaults to host architecture.
{"type": "string"}
snapcraft.json
formats
deb types to enable. Defaults to [deb, deb-src].
{"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string", "enum": ["deb", "deb-src"]}}
snapcraft.json
items
Deb repository components to enable, e.g. 'main, multiverse, unstable'
{"type": "string"}