OperationsMetadata in JSON Service Metadata document in JSON
78
Copyright © 2015 Open Geospatial Consortium.
Figure 12: OWS Common OperationsMetadata UML diagram
The structure is presented in JSON-LD as a context and an example:
{ context:
{ ows: http:www.opengis.netows2.0,
mywfs: http:www.BlueOx.orgmywfs2.5, id: id,
name: id, type: type,
operation: ows:OperationsMetadataOperation, DCP: _:,
HTTP: _:, Get: _:,
href:
Copyright © 2015 Open Geospatial Consortium.
79
{ id: ows:href,
type: id },
noValues: ows:noValues, defaultValue: ows:defaultValue,
constraints: ows:constraint },
id: mywfs:operationsMetadataDemo1, type: ows:OperationsMetadata,
operation: [ {
name: mywfs:operationDemo1GetCapabilities, type: ows:Operation,
DCP: [ {
HTTP: {
Get: {
name: mywfs:operationDemo1GetCapabilitiesmethod,
type: ows:RequestMethod, href: http:www.BlueOx.orgmywfs2.5?
} }
}] },
{ name: mywfs:OperationDemo1NoOp,
type: ows:Operation, DCP: [
{ HTTP:
{ Get:
{ name: mywfs:OperationDemo1NoOpmethod,
type: ows:RequestMethod, href: http:www.BlueOx.orgmywfs2.5?
} }
}] } ],
constraints: [ {
name: mywfs:OperationsMetadataConstraintImplementsBasicWFS,
type: ows:Domain, noValues: ,
defaultValue: TRUE
80
Copyright © 2015 Open Geospatial Consortium.
}, {
name: mywfs:OperationsMetadataConstraintImplementsTransactionalWFS,
type: ows:Domain, noValues: ,
defaultValue: TRUE }]
}
That can be automatically transformed to RDF like this:
http:www.BlueOx.orgmywfs2.5operationsMetadataDemo1 http:www.w3.org19990222-rdf-syntax-nstype
http:www.opengis.netows2.0OperationsMetadata . http:www.BlueOx.orgmywfs2.5operationsMetadataDemo1
http:www.opengis.netows2.0OperationsMetadataOperation http:www.BlueOx.orgmywfs2.5operationDemo1GetCapabilities .
http:www.BlueOx.orgmywfs2.5operationsMetadataDemo1 http:www.opengis.netows2.0OperationsMetadataOperation
http:www.BlueOx.orgmywfs2.5OperationDemo1NoOp . http:www.BlueOx.orgmywfs2.5OperationDemo1NoOp
http:www.w3.org19990222-rdf-syntax-nstype http:www.opengis.netows2.0Operation .
http:www.BlueOx.orgmywfs2.5OperationDemo1NoOpmethod http:www.opengis.netows2.0href
http:www.BlueOx.orgmywfs2.5? . http:www.BlueOx.orgmywfs2.5OperationDemo1NoOpmethod
http:www.w3.org19990222-rdf-syntax-nstype http:www.opengis.netows2.0RequestMethod .
http:www.BlueOx.orgmywfs2.5operationDemo1GetCapabilities http:www.w3.org19990222-rdf-syntax-nstype
http:www.opengis.netows2.0Operation . http:www.BlueOx.orgmywfs2.5operationDemo1GetCapabilitiesmethod
http:www.opengis.netows2.0href http:www.BlueOx.orgmywfs2.5? .
http:www.BlueOx.orgmywfs2.5operationDemo1GetCapabilitiesmethod http:www.w3.org19990222-rdf-syntax-nstype
http:www.opengis.netows2.0RequestMethod . http:www.BlueOx.orgmywfs2.5operationsMetadataDemo1
http:www.opengis.netows2.0constraint http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImp
lementsBasicWFS . http:www.BlueOx.orgmywfs2.5operationsMetadataDemo1
http:www.opengis.netows2.0constraint http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImp
lementsTransactionalWFS . http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImplemen
tsBasicWFS http:www.opengis.netows2.0defaultValue TRUE . http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImplemen
tsBasicWFS http:www.opengis.netows2.0noValues .
Copyright © 2015 Open Geospatial Consortium.
81
http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImplemen tsBasicWFS http:www.w3.org19990222-rdf-syntax-nstype
http:www.opengis.netows2.0Domain . http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImplemen
tsTransactionalWFS http:www.opengis.netows2.0defaultValue TRUE .
http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImplemen tsTransactionalWFS http:www.opengis.netows2.0noValues .
http:www.BlueOx.orgmywfs2.5OperationsMetadataConstraintImplemen tsTransactionalWFS http:www.w3.org19990222-rdf-syntax-
nstype http:www.opengis.netows2.0Domain .