public interface ShapeMediaTypeNamer
| Modifier and Type | Method and Description |
|---|---|
String |
baseMediaTypeName(Shape shape)
Generate a vendor-specific media-type base name for a given Shape.
|
String baseMediaTypeName(Shape shape)
http://www.konig.io/shapes/v1/schema/Person, this
method might return application/vnd.konig.v1.schema.person.
As a best practice, concrete media types are formed by appending a suffix to the base name.
For instance, you might form a json-ld media type by appending '+jsonld' to the base name.shape - The Shape for which a media-type base name will be generated.Copyright © 2016. All rights reserved.