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

Changed the term mediaType to encodingFormat #1440

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contexts/credentials/v2
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@type": "https://w3id.org/security#multibase"
},

"mediaType": {
"encodingFormat": {
"@id": "https://schema.org/encodingFormat"
},

Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3246,8 +3246,8 @@ <h2>Integrity of Related Resources</h2>
</p>
<p>
An object in the `relatedResource` array MAY contain a property named
`mediaType` that indicates the expected media type for the indicated
`resource`. If a `mediaType` is included, its value
`encodingFormat` that indicates the expected media type for the indicated
`resource`. If a `encodingFormat` is included, its value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`resource`. If a `encodingFormat` is included, its value
`resource`. If an `encodingFormat` is included, its value

SHOULD:
</p>
<ul>
Expand Down Expand Up @@ -3330,7 +3330,7 @@ <h2>Integrity of Related Resources</h2>
"id": "https://university.example.org/images/58473",
"digestSRI":
"sha384-ZfAwuJmMgoX3s86L7x9XSPi3AEbiz6S/5SyGHJPCxWHs5NEth/c5S9QoS1zZft+J",
"mediaType": "application/svg+xml",
"encodingFormat": "application/svg+xml",
},
...
}
Expand Down