Content Attestation of Article Type Implementation Guidelines
Terminology
For terms not explained in this document, please see Terminology.
- Content Attestation (CA)
Article Data Model
Complies with Content Attestation .
Property
@context
REQUIRED. It MUST complies with OP VC Data Model . Additionally, the third value MUST be "https://originator-profile.org/ns/cip/v1"
.
type
REQUIRED. It MUST be ["VerifiableCredential", "ContentAttestation"]
.
credentialSubject
This is a JSON-LD Node Object that represents the content. The application developed by Originator Profile Collaborative Innovation Partnership (OP-CIP) uses the following properties:
The properties in credentialSubject
were decided based on https://schema.org/Article. We plan to decide the extent to which we will comply with schema.org regarding the interpretation of each property and whether it is necessary or not, based on exchanges of opinions with companies that use OP.
type
: REQUIRED. `It MUST be Article.headline
: REQUIRED. Title of the content.description
: REQUIRED. A description of the content(plain text ).image
: OPTIONAL. A thumbnail image for the content. RECOMMENDED if a thumbnail image is available. It MUST be a JSON-LD Node Object of typeimage
datatype. This property allows you to verify the CA.datePublished
: OPTIONAL. The publication date and time. MUST be of thedateTimeStamp
data type.dateModified
: OPTIONAL. The last modified date and time. MUST be of typedateTimeStamp
data type.author
: OPTIONAL. An array of author names (strings)editor
: OPTIONAL.An array of editor names (strings)genre
: OPTIONAL. Genre (string)
allowedUrl
REQUIRED. Properties defined for Content Attestation. It MUST NOT be an empty array.
target
REQUIRED. Properties defined for Content Attestation. It MUST NOT be an empty array.
Appendix
example
This section is non-normative.
Below is an example of Content.
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://originator-profile.org/ns/credentials/v1",
"https://originator-profile.org/ns/cip/v1",
{ "@language": "en" }
],
"type": ["VerifiableCredential", "ContentAttestation"],
"issuer": "dns:example.com",
"credentialSubject": {
"id": "urn:uuid:78550fa7-f846-4e0f-ad5c-8d34461cb95b",
"type": "Article",
"headline": "<Title of the Web page>",
"image": {
"id": "https://media.example.com/image.png",
"digestSRI": "sha256-WNn1owxcJX6uwrNFOhPX+npz4j46s3a1cExjX5wWVxw="
},
"description": "<A description of Web page>",
"author": ["Jane Smith"],
"editor": ["John Smith"],
"datePublished": "2023-07-04T19:14:00Z",
"dateModified": "2023-07-04T19:14:00Z",
"genre": "Arts & Entertainment"
},
"allowedUrl": ["https://media.example.com/articles/2024-06-30"],
"target": [
{
"type": "VisibleTextTargetIntegrity",
"cssSelector": "<CSS Selector>",
"integrity": "sha256-GYC9PqfIw0qWahU6OlReQfuurCI5VLJplslVdF7M95U="
},
{
"type": "ExternalResourceTargetIntegrity",
"integrity": "sha256-+M3dMZXeSIwAP8BsIAwxn5ofFWUtaoSoDfB+/J8uXMo="
}
]
}