Skip to content
Alpha: see what works today →
Menu

bridge:BaseUrlRefusalTest Base URL refusal test

https://ns.cascadeprotocol.org/bridge/v1-draft#BaseUrlRefusalTest

A test of a Bridge: normalise the action's cascade:serverBaseUrl as a Bridge normalises a supplied one. It must be refused.

Type
owl:Class

bridge.shapes.ttl#BaseUrlRefusalTest checks each bridge:BaseUrlRefusalTest.

PropertyValue typeHow manyWhen it is not met
mf:actionbridge.shapes.ttl#ServerBaseUrl
mf:resultat most 0 A base URL refusal test carries no mf:result: its base URL is refused.

bridge.shapes.ttl#BridgeTest checks each bridge:LiftTest, bridge:SkeletonTest, bridge:NamingTest, bridge:BaseUrlNormalisationTest, bridge:BaseUrlRefusalTest, bridge:VersioningTest.

On the whole node: sparql [ prefixes bridge.shapes.ttl; message "A test of a Bridge is listed only in a manifest that names no bridge:adapter."; select

SELECT $this ?value WHERE {
        ?manifest mf:entries/rdf:rest*/rdf:first $this ;
          bridge:adapter ?value .
      }
]

bridge.shapes.ttl#Test checks each bridge:IsomorphicConversionTest, bridge:InputOnlyTest, bridge:DatasetCompletionTest, bridge:LiftTest, bridge:SkeletonTest, bridge:NamingTest, bridge:BaseUrlNormalisationTest, bridge:BaseUrlRefusalTest, bridge:VersioningTest, bridge:IdentityRelationTest, bridge:LibraryTest.

PropertyValue typeHow manyWhen it is not met
mf:namexsd:string pattern "^[A-Za-z0-9][A-Za-z0-9_.-]*$"exactly 1 A test carries exactly one mf:name, the id that is also its fragment IRI.
mf:actionsh:BlankNodeOrIRIexactly 1 A test carries exactly one mf:action.
bridge:testsUnaccountedSourcePathxsd:string A test names each path it tests by bridge:testsUnaccountedSourcePath, an xsd:string.

On the whole node: nodeKind sh:IRI

Where it comes from and what uses it
Subclass of
mf:ManifestEntry
Source
https://ns.cascadeprotocol.org/bridge/v1-draft#