diff --git a/.gitignore b/.gitignore index 8ec2a5a..91fb717 100644 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,8 @@ demo/vendor.js # AMF models /demo/*.json !demo/apis.json +!demo/grpc-test.json +!demo/grpc-test-compact.json .idea/ .codegenie \ No newline at end of file diff --git a/demo/grpc-test-compact.json b/demo/grpc-test-compact.json new file mode 100644 index 0000000..e72924b --- /dev/null +++ b/demo/grpc-test-compact.json @@ -0,0 +1,4490 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto", + "@type": [ + "http://a.ml/vocabularies/document#Document", + "http://a.ml/vocabularies/document#Fragment", + "http://a.ml/vocabularies/document#Module", + "http://a.ml/vocabularies/document#Unit" + ], + "http://a.ml/vocabularies/document#encodes": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#WebAPI", + "http://a.ml/vocabularies/apiContract#API", + "http://a.ml/vocabularies/document#RootDomainElement", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "helloworld" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Greeter" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "post" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello1" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,54)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,54)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello1" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,54)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello2" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,61)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "subscribe" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello3" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,61)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "pubsub" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello4" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,68)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,68)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello4" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,68)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,0)-(19,1)]" + } + ] + } + ] + } + ] + } + ], + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "true" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(3,29)-(3,33)]" + } + ] + } + ] + } + ] + }, + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "io.grpc.examples.helloworld" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(4,22)-(4,51)]" + } + ] + } + ] + } + ] + }, + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "HelloWorldProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,30)-(5,47)]" + } + ] + } + ] + } + ] + }, + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "HLW" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,27)-(6,32)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/definedBy" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/definedBy" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/definedBy" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/definedBy" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(1,0)-(68,1)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "helloworld" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.11.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Grpc" + } + ] + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0", + "@type": [ + "http://a.ml/vocabularies/document#Document", + "http://a.ml/vocabularies/document#Fragment", + "http://a.ml/vocabularies/document#Module", + "http://a.ml/vocabularies/document#Unit" + ], + "http://a.ml/vocabularies/document#encodes": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#WebAPI", + "http://a.ml/vocabularies/apiContract#API", + "http://a.ml/vocabularies/document#RootDomainElement", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "library" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(1,0)-(7,1)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array", + "@type": [ + "http://a.ml/vocabularies/shapes#ArrayShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#items": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,11)-(6,17)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,2)-(6,30)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "message" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,2)-(6,30)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".library.Wadus" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,0)-(7,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "library" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.11.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Grpc" + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Corpus" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/list", + "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", + "http://www.w3.org/2000/01/rdf-schema#_1": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,2)-(45,11)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 0 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,2)-(45,16)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(46,1)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(46,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,4)-(30,10)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,4)-(30,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-label" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,4)-(31,18)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fb" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,4)-(31,26)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,2)-(35,3)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array", + "@type": [ + "http://a.ml/vocabularies/shapes#ArrayShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#items": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,11)-(23,17)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,2)-(23,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,2)-(23,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "library.Wadus" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,2)-(24,15)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,2)-(24,26)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,0)-(25,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,8)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "query" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#integer" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,2)-(50,7)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "page_number" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,2)-(50,24)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#integer" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,7)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "result_per_page" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Corpus" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,2)-(61,8)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,2)-(61,20)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(48,0)-(62,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,6)-(33,12)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,6)-(33,20)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(32,4)-(34,5)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesKeySchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,6)-(28,12)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-label" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,14)-(28,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,2)-(28,42)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "searches" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,2)-(28,42)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "NestedMessage1.NestedMessage2" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,2)-(36,31)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 10 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fc" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,2)-(36,40)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": ".helloworld.HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,2)-(37,26)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 11 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fd" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,2)-(37,35)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SampleMessage" + } + ], + "http://www.w3.org/ns/shacl#and": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof", + "@type": [ + "http://a.ml/vocabularies/shapes#UnionShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#anyOf": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,10)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,20)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,16)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 9 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "sub_message" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,33)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,33)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "test_oneof" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,2)-(41,3)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,0)-(42,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Corpus" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/list", + "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", + "http://www.w3.org/2000/01/rdf-schema#_1": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,4)-(53,13)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,4)-(54,7)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,4)-(55,10)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,4)-(56,9)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,4)-(57,8)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_6": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,4)-(58,12)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_7": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,4)-(59,9)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 0 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,4)-(53,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,4)-(54,12)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,4)-(55,15)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,4)-(56,14)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,4)-(57,13)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,4)-(58,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,4)-(59,14)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,2)-(60,3)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,2)-(60,3)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,8)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "message" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SearchRequest.Corpus" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,2)-(67,22)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "other" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,2)-(67,33)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,0)-(68,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/demo/grpc-test.json b/demo/grpc-test.json new file mode 100644 index 0000000..e72924b --- /dev/null +++ b/demo/grpc-test.json @@ -0,0 +1,4490 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto", + "@type": [ + "http://a.ml/vocabularies/document#Document", + "http://a.ml/vocabularies/document#Fragment", + "http://a.ml/vocabularies/document#Module", + "http://a.ml/vocabularies/document#Unit" + ], + "http://a.ml/vocabularies/document#encodes": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#WebAPI", + "http://a.ml/vocabularies/apiContract#API", + "http://a.ml/vocabularies/document#RootDomainElement", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "helloworld" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Greeter" + } + ], + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "post" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello1" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,54)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,54)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello1" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/post/SayHello1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,54)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "publish" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello2" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/publish/SayHello2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,61)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "subscribe" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello3" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,61)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/subscribe/SayHello3" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,61)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/core#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": [ + { + "@value": "pubsub" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SayHello4" + } + ], + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#Request", + "http://a.ml/vocabularies/core#Request", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/grpc" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/expects/request/payload/application%2Fgrpc/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,68)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/core#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "" + } + ], + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/core#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": [ + { + "@value": "application/protobuf" + } + ], + "http://a.ml/vocabularies/shapes#schema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloReply" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/returns/resp/payload/application%2Fprotobuf/shape/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,68)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#operationId": [ + { + "@value": "SayHello4" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/supportedOperation/pubsub/SayHello4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,68)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/endpoint/Greeter" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,0)-(19,1)]" + } + ] + } + ] + } + ] + } + ], + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "true" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(3,29)-(3,33)]" + } + ] + } + ] + } + ] + }, + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "io.grpc.examples.helloworld" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(4,22)-(4,51)]" + } + ] + } + ] + } + ] + }, + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "HelloWorldProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,30)-(5,47)]" + } + ] + } + ] + } + ] + }, + "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/definedBy": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "HLW" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,27)-(6,32)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/definedBy" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_1/definedBy" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_2/definedBy" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/customDomainProperties/_3/definedBy" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(1,0)-(68,1)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "helloworld" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.11.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Grpc" + } + ] + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0", + "@type": [ + "http://a.ml/vocabularies/document#Document", + "http://a.ml/vocabularies/document#Fragment", + "http://a.ml/vocabularies/document#Module", + "http://a.ml/vocabularies/document#Unit" + ], + "http://a.ml/vocabularies/document#encodes": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api", + "@type": [ + "http://a.ml/vocabularies/apiContract#WebAPI", + "http://a.ml/vocabularies/apiContract#API", + "http://a.ml/vocabularies/document#RootDomainElement", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "library" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/web-api" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(1,0)-(7,1)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array", + "@type": [ + "http://a.ml/vocabularies/shapes#ArrayShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#items": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,11)-(6,17)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,2)-(6,30)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "message" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/property/property/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,2)-(6,30)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".library.Wadus" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,0)-(7,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "library" + } + ], + "http://a.ml/vocabularies/document#processingData": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/BaseUnitProcessingData", + "@type": [ + "http://a.ml/vocabularies/document#APIContractProcessingData" + ], + "http://a.ml/vocabularies/apiContract#modelVersion": [ + { + "@value": "3.11.0" + } + ], + "http://a.ml/vocabularies/document#sourceSpec": [ + { + "@value": "Grpc" + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Corpus" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/list", + "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", + "http://www.w3.org/2000/01/rdf-schema#_1": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/in/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,2)-(45,11)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 0 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/property/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,2)-(45,16)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(46,1)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(46,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,4)-(30,10)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,4)-(30,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-label" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,4)-(31,18)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fb" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/property/property/fb" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,4)-(31,26)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,2)-(35,3)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array", + "@type": [ + "http://a.ml/vocabularies/shapes#ArrayShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#items": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,11)-(23,17)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,2)-(23,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,2)-(23,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/references/0/declares/shape/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "library.Wadus" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/shape/library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,2)-(24,15)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/property/property/wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,2)-(24,26)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,0)-(25,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,8)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "query" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/query" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#integer" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,2)-(50,7)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "page_number" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/page_number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,2)-(50,24)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#integer" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,7)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "result_per_page" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/result_per_page" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Corpus" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/scalar/Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,2)-(61,8)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/property/property/corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,2)-(61,20)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(48,0)-(62,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,6)-(33,12)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/property/fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,6)-(33,20)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(32,4)-(34,5)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#additionalPropertiesKeySchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,6)-(28,12)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-label" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,14)-(28,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,2)-(28,42)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "searches" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/searches" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,2)-(28,42)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "NestedMessage1.NestedMessage2" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/shape/NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,2)-(36,31)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 10 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fc" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fc" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,2)-(36,40)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": ".helloworld.HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,2)-(37,26)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 11 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fd" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/property/property/fd" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,2)-(37,35)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SampleMessage" + } + ], + "http://www.w3.org/ns/shacl#and": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof", + "@type": [ + "http://a.ml/vocabularies/shapes#UnionShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#anyOf": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,10)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/property/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,20)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "HelloRequest" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/shape/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,16)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 9 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "sub_message" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/property/property/sub_message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,33)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/anyOf/shape/default-node_10" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,33)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "test_oneof" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/and/union/test_oneof" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,2)-(41,3)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,0)-(42,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Corpus" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/list", + "@type": "http://www.w3.org/2000/01/rdf-schema#Seq", + "http://www.w3.org/2000/01/rdf-schema#_1": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,4)-(53,13)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,4)-(54,7)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_5" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,4)-(55,10)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_6" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,4)-(56,9)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_7" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,4)-(57,8)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_6": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_8" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,4)-(58,12)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_7": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9", + "@type": [ + "http://a.ml/vocabularies/data#Scalar", + "http://a.ml/vocabularies/data#Node", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/data#value": [ + { + "@value": "VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/in/data-node_9" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,4)-(59,9)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 0 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,4)-(53,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,4)-(54,12)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,4)-(55,15)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,4)-(56,14)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,4)-(57,13)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,4)-(58,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/property/property/VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,4)-(59,14)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/shape/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,2)-(60,3)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,2)-(60,3)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply", + "@type": [ + "http://www.w3.org/ns/shacl#NodeShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#property": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,8)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "message" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other", + "@type": [ + "http://www.w3.org/ns/shacl#PropertyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/shapes#range": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus", + "@type": [ + "http://a.ml/vocabularies/shapes#ScalarShape", + "http://a.ml/vocabularies/shapes#AnyShape", + "http://www.w3.org/ns/shacl#Shape", + "http://a.ml/vocabularies/shapes#Shape", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/document#link-target": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SearchRequest.Corpus" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#synthesized-field": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "http://a.ml/vocabularies/document#link-target" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "true" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/scalar/SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,2)-(67,22)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "other" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/property/property/other" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,2)-(67,33)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,0)-(68,1)]" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/declares/shape/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/package-lock.json b/package-lock.json index 5bc9c94..c8136db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@api-components/api-documentation", - "version": "6.1.7", + "version": "6.1.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@api-components/api-documentation", - "version": "6.1.7", + "version": "6.1.8", "license": "Apache-2.0", "dependencies": { "@advanced-rest-client/events-target-mixin": "^3.2.4", diff --git a/package.json b/package.json index e78de3a..8e6f205 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@api-components/api-documentation", "description": "A main documentation view for AMF model", - "version": "6.1.7", + "version": "6.1.8", "license": "Apache-2.0", "main": "index.js", "module": "index.js", diff --git a/src/ApiDocumentationElement.js b/src/ApiDocumentationElement.js index 16c2b8d..eceb89f 100644 --- a/src/ApiDocumentationElement.js +++ b/src/ApiDocumentationElement.js @@ -240,6 +240,27 @@ export class ApiDocumentationElement extends EventsTargetMixin(AmfHelperMixin(Li return baseUri || serverValue; } + /** + * Computes whether the "Try It" button should be hidden. + * Returns true if noTryIt is explicitly set or if the current operation is gRPC. + * @returns {boolean} + */ + get effectiveNoTryIt() { + const { noTryIt, _docsModel, selectedType } = this; + + // If noTryIt is explicitly set, respect that + if (noTryIt) { + return true; + } + + // If we're viewing a method and it's a gRPC operation, hide Try It + if (selectedType === 'method' && _docsModel) { + return this._isGrpcOperation(_docsModel); + } + + return false; + } + get inlineMethods() { return this._inlineMethods; } @@ -1181,7 +1202,7 @@ export class ApiDocumentationElement extends EventsTargetMixin(AmfHelperMixin(Li } _methodTemplate() { - const { amf, _docsModel, narrow, compatibility, _endpoint, selected, noTryIt, graph, noBottomNavigation, server } = this; + const { amf, _docsModel, narrow, compatibility, _endpoint, selected, graph, noBottomNavigation, server } = this; const prev = this._computeMethodPrevious(amf, selected); const next = this._computeMethodNext(amf, selected); @@ -1195,7 +1216,7 @@ export class ApiDocumentationElement extends EventsTargetMixin(AmfHelperMixin(Li .previous="${prev}" .next="${next}" .baseUri="${this.effectiveBaseUri}" - ?noTryIt="${noTryIt}" + ?noTryIt="${this.effectiveNoTryIt}" ?graph="${graph}" ?noNavigation="${noBottomNavigation}" renderSecurity diff --git a/test/amf-loader.js b/test/amf-loader.js index 3b53911..5e493fb 100644 --- a/test/amf-loader.js +++ b/test/amf-loader.js @@ -135,3 +135,34 @@ AmfLoader.lookupEncodes = (model) => { const key = helper._getAmfKey(helper.ns.aml.vocabularies.document.encodes); return helper._ensureArray(model[key]); }; + +// gRPC-specific helpers +AmfLoader.lookupGrpcService = (model, serviceName) => { + helper.amf = model; + const webApi = helper._computeApi(model); + const eKey = helper._getAmfKey(helper.ns.aml.vocabularies.apiContract.endpoint); + const endpoints = helper._ensureArray(webApi[eKey]); + if (!endpoints) { + return undefined; + } + return endpoints.find((endpoint) => { + const name = helper._getValue(endpoint, helper.ns.aml.vocabularies.core.name); + return name === serviceName; + }); +}; + +AmfLoader.lookupGrpcMethod = (model, serviceName, methodName) => { + const service = AmfLoader.lookupGrpcService(model, serviceName); + if (!service) { + return undefined; + } + const opKey = helper._getAmfKey(helper.ns.aml.vocabularies.apiContract.supportedOperation); + const ops = helper._ensureArray(service[opKey]); + if (!ops) { + return undefined; + } + return ops.find((op) => { + const name = helper._getValue(op, helper.ns.aml.vocabularies.core.name); + return name === methodName; + }); +}; diff --git a/test/api-documentation.test.js b/test/api-documentation.test.js index 28787de..de805cb 100644 --- a/test/api-documentation.test.js +++ b/test/api-documentation.test.js @@ -1146,4 +1146,98 @@ describe('ApiDocumentationElement', () => { assert.isDefined(element._docsModel); }); }); + + [ + ['Compact model', true], + ['Full model', false] + ].forEach(([label, compact]) => { + describe(`gRPC API - ${label}`, () => { + const grpcApi = 'grpc-test'; + let amf; + + before(async () => { + amf = await AmfLoader.load(grpcApi, Boolean(compact)); + }); + + describe('effectiveNoTryIt getter', () => { + it('returns true for gRPC operations', async () => { + // Find gRPC service and method + const service = AmfLoader.lookupGrpcService(amf, 'Greeter'); + const method = AmfLoader.lookupGrpcMethod(amf, 'Greeter', 'SayHello1'); + + assert.ok(service, 'gRPC service should be found'); + assert.ok(method, 'gRPC method should be found'); + + const element = await modelFixture(amf, 'method', method['@id']); + element.endpointId = service['@id']; + await aTimeout(0); + + // Verify effectiveNoTryIt returns true for gRPC operation + assert.isTrue(element.effectiveNoTryIt, 'effectiveNoTryIt should be true for gRPC operations'); + }); + + it('respects explicit noTryIt property', async () => { + const service = AmfLoader.lookupGrpcService(amf, 'Greeter'); + const method = AmfLoader.lookupGrpcMethod(amf, 'Greeter', 'SayHello1'); + + const element = await modelFixture(amf, 'method', method['@id']); + element.endpointId = service['@id']; + element.noTryIt = true; + await aTimeout(0); + + assert.isTrue(element.effectiveNoTryIt, 'effectiveNoTryIt should respect explicit noTryIt'); + }); + }); + + describe('renders gRPC method with noTryIt', () => { + it('hides Try It button for gRPC operations', async () => { + const service = AmfLoader.lookupGrpcService(amf, 'Greeter'); + const method = AmfLoader.lookupGrpcMethod(amf, 'Greeter', 'SayHello1'); + + assert.ok(service, 'gRPC service should be found'); + assert.ok(method, 'gRPC method should be found'); + + const element = await modelFixture(amf, 'method', method['@id']); + element.endpointId = service['@id']; + element.narrow = true; + element.compatibility = true; + await aTimeout(0); + + const node = /** @type any */ (element.shadowRoot.querySelector('api-method-documentation')); + assert.ok(node, 'method is rendered'); + assert.typeOf(node.amf, 'array', 'amf is set'); + assert.equal(node.endpoint['@id'], service['@id'], 'endpoint model is set'); + assert.equal(node.method['@id'], method['@id'], 'method model is set'); + + // This is the critical assertion - noTryIt should be true for gRPC + assert.isTrue(node.noTryIt, 'noTryIt should be true for gRPC operations'); + + // Additional verifications + assert.equal(node.narrow, element.narrow, 'narrow is set'); + assert.equal(node.compatibility, element.compatibility, 'compatibility is set'); + }); + + it('fails if Try It button is shown for gRPC operations', async () => { + const service = AmfLoader.lookupGrpcService(amf, 'Greeter'); + const method = AmfLoader.lookupGrpcMethod(amf, 'Greeter', 'SayHello1'); + + assert.ok(service, 'gRPC service should be found'); + assert.ok(method, 'gRPC method should be found'); + + const element = await modelFixture(amf, 'method', method['@id']); + element.endpointId = service['@id']; + await aTimeout(0); + + const node = /** @type any */ (element.shadowRoot.querySelector('api-method-documentation')); + + // This test will fail if noTryIt is false (i.e., if the button is shown) + if (!node.noTryIt) { + throw new Error('FAIL: Try It button is shown for gRPC operation when it should be hidden'); + } + + assert.isTrue(node.noTryIt, 'noTryIt must be true - Try It button should NOT be shown for gRPC'); + }); + }); + }); + }); });