@prefix oslc:  <http://open-services.net/ns/core#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

@base <http://open-services.net/ns/core/shapes/3.0/Preview-shape.ttl> .

<#Preview>  a           oslc:ResourceShape ;
        oslc:describes  oslc:Preview ;
        dcterms:title   "An HTML representation of a resource that can be embedded in another user interface." ;
        oslc:property
            <#document>,
            <#hintWidth>,
            <#hintHeight>
        .

<#document>  a                   oslc:Property ;
        oslc:name                "document" ;
        oslc:occurs              oslc:Exactly-one ;
        oslc:propertyDefinition  oslc:document ;
        oslc:readOnly            true ;
        oslc:valueType           oslc:Resource ;
        oslc:representation      oslc:Reference ;
        dcterms:description      "The URI of an HTML document to be used for the preview."^^rdf:XMLLiteral .

<#hintHeight>  a                 oslc:Property ;
        oslc:name                "hintHeight" ;
        oslc:occurs              oslc:Zero-or-one ;
        oslc:propertyDefinition  oslc:hintHeight ;
        oslc:readOnly            true ;
        oslc:valueType           xsd:string ;
        dcterms:description      "Recommended height of the preview. Values are expressed using length units as specified in [[CSS21]]."^^rdf:XMLLiteral .

<#hintWidth>  a                 oslc:Property ;
        oslc:name                "hintWidth" ;
        oslc:occurs              oslc:Zero-or-one ;
        oslc:propertyDefinition  oslc:hintWidth ;
        oslc:readOnly            true ;
        oslc:valueType           xsd:string ;
        dcterms:description      "Recommended width of the preview. Values are expressed using length units as specified in [[CSS21]]."^^rdf:XMLLiteral .
