@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix :      <http://buzzword.org.uk/2008/jsonGRDDL/terms#> .
@prefix grddl: <http://www.w3.org/2003/g/data-view> .

:Instance
	a rdfs:Class ;
	rdfs:label "Instance"@en ;
	rdfs:subClassOf <http://ontologi.es/lang/data-languages#JSON> ;
	rdfs:subClassOf grddl:InformationResource ;

:Schema
	a rdfs:Class ;
	rdfs:label "Schema"@en ;
	rdfs:subClassOf <http://ontologi.es/lang/data-languages#JSON> ;
	rdfs:seeAlso <http://tools.ietf.org/id/draft-zyp-json-schema-02.txt> .

:Transformation
	a rdfs:Class ;
	rdfs:label "Transformation"@en ;
	rdfs:comment "A JsonT transformation which outputs an RDF/JSON string."@en .

:TransformationProperty
	a rdfs:Class ;
	rdfs:label "Transformation Property"@en .

:transformation
	a rdf:Property ;
	rdfs:label "transformation"@en ;
	rdfs:comment "A link from a JSON instance resource to a transformation
		resource capable of transforming it into RDF/JSON."@en ;
	rdfs:domain :Instance ;
	rdfs:range :Transformation .

<http://www.iana.org/assignments/link-relations/describedby>
	a rdf:Property ;
	rdfs:label "described by"@en .

:schemaTransformation
	a rdf:Property ;
	rdfs:label "schema transformation"@en ;
	rdfs:comment "A link from a JSON schema resource to a transformation
		resource capable of transforming instances that conform to the
		schema into RDF/JSON."@en ;
	rdfs:domain :Schema ;
	rdfs:range :Transformation .

:transformationProperty
	a rdf:Property ;
	rdfs:domain :Transformation ;
	rdfs:range :TransformationProperty .
