Skip to main content

Content Attestation of Video

Terminology​

For terms not explained in this document, please see Terminology.

  • Content Attestation (CA)

Video Data Model​

Follows Content Attestation.

Properties​

List of Video Properties​

NameTypeDescription
@contextstring[]REQUIRED. You MUST follow the OP VC Data Model. Furthermore, the third value MUST be "https://originator-profile.org/ns/cip/v1".
typestring[]REQUIRED. It MUST be set to ["VerifiableCredential", "ContentAttestation"].
issuerstringREQUIRED. It MUST be the OP ID of the CA issuer.
credentialSubjectobjectREQUIRED. A JSON-LD Node Object that includes the following credentialSubject properties.
allowedUrlstring | string[]REQUIRED. It is a property defined for Content Attestation. It MUST NOT be an empty array.
targetobject[]REQUIRED. It is a property defined for Content Attestation. It MUST NOT be an empty array.

List of properties for credentialSubject​

NameTypeDescription
idstringREQUIRED. It MUST be a CA ID. A CA ID is a string in URN format representing a UUIDv4. There is a one-to-one correspondence between content and a CA ID.
typestringREQUIRED. It MUST be Video.
namestringREQUIRED. This is the video title.
descriptionstringREQUIRED. This is the video description.
imageobjectOPTIONAL. This is the thumbnail image for the video. It should be specified if a thumbnail image is available (RECOMMENDED). It MUST be a JSON-LD Node Object of the image data type. This property can be used to verify the integrity of the thumbnail image.
dateCreatedstringOPTIONAL. This is the creation timestamp. It MUST be of the dateTimeStamp data type.
dateModifiedstringOPTIONAL. This is the last-updated timestamp. It MUST be of the dateTimeStamp data type.
creatorstring[]OPTIONAL. This is an array of creators.
encodingFormatstringOPTIONAL. This is the encoding format for the content. It MUST be a MIME type.
genrestringOPTIONAL. It is a genre.

Appendix​

Example​

This section is non-normative.

The following is a specific example of video.

{
"@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": "Video",
"name": "<Video Title>",
"image": {
"id": "https://media.example.com/image.png",
"digestSRI": "sha256-WNn1owxcJX6uwrNFOhPX+npz4j46s3a1cExjX5wWVxw="
},
"description": "<Video Description>",
"dateCreated": "2023-07-04T19:14:00Z",
"dateModified": "2023-07-04T19:14:00Z",
"creator": ["Jane Smith"],
"encodingFormat": "video/mp4",
"genre": "Arts & Entertainment"
},
"allowedUrl": ["https://media.example.com/*"],
"target": [
{
"type": "ExternalResourceTargetIntegrity",
"integrity": "sha256-+M3dMZXeSIwAP8BsIAwxn5ofFWUtaoSoDfB+/J8uXMo="
}
]
}