diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/AMFConfiguration.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/AMFConfiguration.scala index 3c0e6b09a0..37f5008ff4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/AMFConfiguration.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/AMFConfiguration.scala @@ -5,27 +5,13 @@ import amf.aml.client.scala.model.document.Dialect import amf.apicontract.internal.annotations.{APISerializableAnnotations, WebAPISerializableAnnotations} import amf.apicontract.internal.convert.ApiRegister import amf.apicontract.internal.entities.{APIEntities, FragmentEntities} -import amf.apicontract.internal.plugins.{ - ExternalJsonYamlRefsParsePlugin, - JsonSchemaParsePlugin, - JsonSchemaRenderPlugin -} +import amf.apicontract.internal.plugins.{ExternalJsonYamlRefsParsePlugin, JsonSchemaParsePlugin, JsonSchemaRenderPlugin} import amf.apicontract.internal.spec.async.{Async20ParsePlugin, Async20RenderPlugin} import amf.apicontract.internal.spec.oas.{Oas20ParsePlugin, Oas20RenderPlugin, Oas30ParsePlugin, Oas30RenderPlugin} import amf.apicontract.internal.spec.payload.{PayloadParsePlugin, PayloadRenderPlugin} -import amf.apicontract.internal.spec.raml.{ - Raml08ParsePlugin, - Raml08RenderPlugin, - Raml10ParsePlugin, - Raml10RenderPlugin -} +import amf.apicontract.internal.spec.raml.{Raml08ParsePlugin, Raml08RenderPlugin, Raml10ParsePlugin, Raml10RenderPlugin} import amf.apicontract.internal.transformation._ -import amf.apicontract.internal.transformation.compatibility.{ - Oas20CompatibilityPipeline, - Oas3CompatibilityPipeline, - Raml08CompatibilityPipeline, - Raml10CompatibilityPipeline -} +import amf.apicontract.internal.transformation.compatibility.{Oas20CompatibilityPipeline, Oas3CompatibilityPipeline, Raml08CompatibilityPipeline, Raml10CompatibilityPipeline} import amf.apicontract.internal.validation.model.ApiValidationProfiles._ import amf.apicontract.internal.validation.payload.{JsonSchemaShapePayloadValidationPlugin, PayloadValidationPlugin} import amf.apicontract.internal.validation.shacl.{CustomShaclModelValidationPlugin, FullShaclModelValidationPlugin} @@ -45,7 +31,7 @@ import amf.shapes.internal.entities.ShapeEntities import scala.concurrent.Future -sealed trait APIConfigurationBuilder { +trait APIConfigurationBuilder { // will also define APIDomainPlugin, DataShapesDomainPlugin private[amf] def common(): AMFConfiguration = { @@ -144,7 +130,11 @@ object OASConfiguration extends APIConfigurationBuilder { /** Merged [[OASConfiguration]] and [[RAMLConfiguration]] configurations */ object WebAPIConfiguration { - def WebAPI(): AMFConfiguration = OASConfiguration.OAS().merge(RAMLConfiguration.RAML()) + def WebAPI(): AMFConfiguration = { + val config = OASConfiguration.OAS().merge(RAMLConfiguration.RAML()) + //config.merge(GRPCConfiguration.GRPC()) + config + } } /** diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/EndPoint.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/EndPoint.scala index ea3caed6aa..d7dcf72180 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/EndPoint.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/EndPoint.scala @@ -76,8 +76,13 @@ class EndPoint(override val fields: Fields, override val annotations: Annotation override def meta: EndPointModel.type = EndPointModel /** Value , path + field value that is used to compose the id when the object its adopted */ - private[amf] override def componentId: String = "/end-points/" + path.value().urlComponentEncoded - override def nameField: Field = Name + private[amf] override def componentId: String = "/end-points/" + { + path.option() match { + case Some(value) => value.urlComponentEncoded + case _ => name.value().urlComponentEncoded + } + } + override def nameField: Field = Name } object EndPoint { diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/Operation.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/Operation.scala index be602e6ba1..0ea1a74387 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/Operation.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/client/scala/model/domain/Operation.scala @@ -102,9 +102,15 @@ case class Operation(fields: Fields, annotations: Annotations) override def meta: OperationModel.type = OperationModel /** Value , path + field value that is used to compose the id when the object its adopted */ - private[amf] override def componentId: String = - "/" + method.option().getOrElse("default-operation").urlComponentEncoded - override def nameField: Field = Name + private[amf] override def componentId: String = { + val name = if (operationId.option().isDefined) { + operationId.value().urlComponentEncoded + } else { + method.option().getOrElse("default-operation").urlComponentEncoded + } + "/" + name + } + override def nameField: Field = Name override protected def classConstructor: (Fields, Annotations) => Linkable with DomainElement = Operation.apply } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/plugins/CrossSpecRestriction.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/plugins/CrossSpecRestriction.scala index 86337dc031..f666c9bca7 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/plugins/CrossSpecRestriction.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/plugins/CrossSpecRestriction.scala @@ -1,10 +1,11 @@ package amf.apicontract.internal.plugins import amf.core.client.scala.errorhandling.AMFErrorHandler -import amf.core.client.scala.parse.document.{ParserContext, Reference} +import amf.core.client.scala.parse.document.{ASTRefContainer, ParserContext, Reference} import amf.core.internal.parser.Root import amf.core.internal.remote.Vendor import amf.core.internal.validation.CoreValidations.InvalidCrossSpec +import org.mulesoft.lexer.SourceLocation trait CrossSpecRestriction { this: ApiParsePlugin => @@ -14,8 +15,8 @@ trait CrossSpecRestriction { this: ApiParsePlugin => val possibleReferencedVendors = mediaTypes ++ validMediaTypesToReference optionalReferencedVendor.foreach { referencedVendor => if (!possibleReferencedVendors.contains(referencedVendor.mediaType)) { - referenceNodes(reference).foreach(node => - errorHandler.violation(InvalidCrossSpec, "", "Cannot reference fragments of another spec", node)) + referenceNodes(reference).foreach(position => + errorHandler.violation(InvalidCrossSpec, "", "Cannot reference fragments of another spec", position)) } } } @@ -26,5 +27,5 @@ trait CrossSpecRestriction { this: ApiParsePlugin => } } - private def referenceNodes(reference: Reference) = reference.refs.map(_.node) + private def referenceNodes(reference: Reference): Seq[SourceLocation] = reference.refs.collect { case ref: ASTRefContainer => ref.pos } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/AsyncBindingsParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/AsyncBindingsParser.scala index d1639b8469..b45e0b0451 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/AsyncBindingsParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/bindings/AsyncBindingsParser.scala @@ -70,7 +70,7 @@ abstract class AsyncBindingsParser(entryLike: YMapEntryLike, parent: String)(imp ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", - entryLike.asMap) + entryLike.asMap.location) val errorBinding = errorBindings(fullRef, entryLike) nameAndAdopt(errorBinding.link(fullRef, errorBinding.annotations), entryLike.key) } @@ -140,7 +140,7 @@ abstract class AsyncBindingsParser(entryLike: YMapEntryLike, parent: String)(imp ctx.eh.violation(ParserSideValidations.NonEmptyBindingMap, node, s"Reserved name binding '${`type`}' must have an empty map", - value) + value.location) } protected def parseBindingVersion(binding: BindingVersion, field: Field, map: YMap)( diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncCorrelationIdParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncCorrelationIdParser.scala index f8cc5ee45b..418f74a431 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncCorrelationIdParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncCorrelationIdParser.scala @@ -51,7 +51,7 @@ case class AsyncCorrelationIdParser(entryLike: YMapEntryLike, parentId: String)( val external = AsyncCorrelationIdParser(YMapEntryLike(correlationIdNode), parentId).parse() nameAndAdopt(external.link(AmfScalar(fullRef), Annotations(map), Annotations.synthesized()), entryLike.key) case None => - ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", map) + ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", map.location) val errorCorrelation = new ErrorCorrelationId(fullRef, map) nameAndAdopt(errorCorrelation.link(fullRef, errorCorrelation.annotations), entryLike.key) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncMessageParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncMessageParser.scala index 2c1b2b131e..9b93bd67a9 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncMessageParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncMessageParser.scala @@ -173,7 +173,7 @@ abstract class AsyncMessagePopulator()(implicit ctx: AsyncWebApiContext) extends ctx.eh.violation(ParserSideValidations.HeaderMustBeObject, message.id, ParserSideValidations.HeaderMustBeObject.message, - entry.value) + entry.value.location) } } ) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncOperationParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncOperationParser.scala index 0c6acf13be..138fe64f34 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncOperationParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncOperationParser.scala @@ -142,12 +142,12 @@ case class AsyncOperationTraitRefParser(node: YNode, adopt: Operation => Operati } private def expectedRef(node: YNode, name: String): Operation = { - ctx.eh.violation(ParserSideValidations.ExpectedReference, "", s"Expected reference", node) + ctx.eh.violation(ParserSideValidations.ExpectedReference, "", s"Expected reference", node.location) new ErrorOperationTrait(name, node).link(name, Annotations(node)).asInstanceOf[Operation].withAbstract(true) } private def linkError(url: String, node: YNode): Operation = { - ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find operation trait reference $url", node) + ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find operation trait reference $url", node.location) val t: ErrorOperationTrait = new ErrorOperationTrait(url, node).link(url, Annotations(node)) t diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncParametersParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncParametersParser.scala index 88af07f65a..089706706b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncParametersParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/async/parser/domain/AsyncParametersParser.scala @@ -89,7 +89,7 @@ case class AsyncParameterParser(parentId: String, entryLike: YMapEntryLike)(impl val external = AsyncParameterParser(parentId, YMapEntryLike(paramNode)).parse() nameAndAdopt(external.link(AmfScalar(fullRef), Annotations(map), Annotations.synthesized())) case None => - ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", map) + ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", map.location) nameAndAdopt(ErrorParameter(fullRef, map).link(fullRef, annotations = Annotations(map))) } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/WebApiDeclarations.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/WebApiDeclarations.scala index dc83595982..6173b7759c 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/WebApiDeclarations.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/WebApiDeclarations.scala @@ -224,7 +224,7 @@ class WebApiDeclarations(val alias: Option[String], findParameter(key, scope) match { case Some(result) => result case _ => - error(s"Parameter '$key' not found", ast) + error(s"Parameter '$key' not found", ast.location) ErrorParameter(key, ast) } @@ -309,7 +309,7 @@ class WebApiDeclarations(val alias: Option[String], findResourceType(key, scope) match { case Some(result) => result case _ => - error(s"ResourceType $key not found", ast) + error(s"ResourceType $key not found", ast.location) ErrorResourceType(key, ast) } @@ -340,7 +340,7 @@ class WebApiDeclarations(val alias: Option[String], def findTraitOrError(ast: YPart)(key: String, scope: SearchScope.Scope): Trait = findTrait(key, scope) match { case Some(result) => result case _ => - error(s"Trait $key not found", ast) + error(s"Trait $key not found", ast.location) ErrorTrait(key, ast) } @@ -368,7 +368,7 @@ class WebApiDeclarations(val alias: Option[String], findSecurityScheme(key, scope) match { case Some(result) => result case _ => - error(s"SecurityScheme '$key' not found", ast) + error(s"SecurityScheme '$key' not found", ast.location) ErrorSecurityScheme(key, ast) } @@ -388,14 +388,14 @@ class WebApiDeclarations(val alias: Option[String], findResponse(key, searchScope) match { case Some(result) => result case _ => - error(s"Response '$key' not found", ast) + error(s"Response '$key' not found", ast.location) ErrorResponse(key, ast) } def findNamedExampleOrError(ast: YPart)(key: String): Example = findNamedExample(key) match { case Some(result) => result case _ => - error(s"NamedExample '$key' not found", ast) + error(s"NamedExample '$key' not found", ast.location) ErrorNamedExample(key, ast) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/AbstractDeclarationParsers.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/AbstractDeclarationParsers.scala index 868960be22..a19028c549 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/AbstractDeclarationParsers.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/AbstractDeclarationParsers.scala @@ -46,7 +46,7 @@ case class AbstractDeclarationsParser(key: String, ctx.eh.violation(InvalidAbstractDeclarationType, customProperties, s"Invalid type $t for '$key' node.", - e.value) + e.value.location) } } ) @@ -71,7 +71,7 @@ case class AbstractDeclarationParser(declaration: AbstractDeclaration, parent: S ctx.eh.warning(NullAbstractDeclaration, parent, "Generating abstract declaration (resource type / trait) with null value", - entryValue) + entryValue.location) ctx.link(entryValue) match { case Left(link) => parseReferenced(declaration, link, entryValue, map.annotations).adopted(parent) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/BaseSpecParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/BaseSpecParser.scala index ce2fc0169e..fe941cb876 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/BaseSpecParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/BaseSpecParser.scala @@ -23,7 +23,7 @@ trait SpecParserOps extends QuickFieldParserOps { node, Some(property), "Invalid path template syntax", - value + value.location ) } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ParameterParsers.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ParameterParsers.scala index a44f2770b0..1d67318130 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ParameterParsers.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ParameterParsers.scala @@ -135,11 +135,11 @@ case class Raml10ParameterParser(entry: YMapEntry, ctx.eh.violation(UnresolvedReference, parameter.id, "Cannot declare unresolved parameter", - entry.value) + entry.value.location) parameter } case _ => - ctx.eh.violation(UnresolvedReference, parameter.id, "Cannot declare unresolved parameter", entry.value) + ctx.eh.violation(UnresolvedReference, parameter.id, "Cannot declare unresolved parameter", entry.value.location) parameter } @@ -299,7 +299,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, ParameterNameRequired, element.id, "'name' property is required in a parameter.", - map + map.location ) } } @@ -335,7 +335,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, invalidExampleFieldWarning, p.domainElement.id, s"Property 'example' not supported in a parameter node", - map + map.location ) case _ => } @@ -362,7 +362,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, UnresolvedParameter, parameter.id, "Cannot find valid schema for parameter", - map + map.location ) None } @@ -398,7 +398,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, ctx.eh.violation(MissingParameterType, container.id, s"'type' is required in a parameter with binding '$binding'", - map) + map.location) case Some(entry) => checkItemsField(entry, container) typeParsing() @@ -413,7 +413,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, ctx.eh.warning(ItemsFieldRequiredWarning, // TODO: Should be violation container.id, "'items' field is required when schema type is array", - map) + map.location) } private def parseFormDataPayload(bindingRange: Option[Range]): Payload = { @@ -439,7 +439,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, UnresolvedParameter, payload.id, "Cannot find valid schema for parameter", - map + map.location ) None } @@ -486,7 +486,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, schema } case None => - ctx.eh.warning(OasInvalidParameterSchema, "", s"Schema is required for a parameter in body", map) + ctx.eh.warning(OasInvalidParameterSchema, "", s"Schema is required for a parameter in body", map.location) } payload } @@ -497,7 +497,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, ctx.eh.violation(OasInvalidParameterBinding, "", s"Invalid parameter binding '$binding'", - bindingEntry.map(_.value).getOrElse(map)) + bindingEntry.map(_.value).getOrElse(map).location) parameter.domainElement match { case p: Parameter => @@ -521,7 +521,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, OasFormDataNotFileSpecification, schema.id, "File types in parameters must be declared in formData params", - map + map.location ) } @@ -558,7 +558,7 @@ case class Oas2ParameterParser(entryOrNode: YMapEntryLike, ctx.eh.violation(UnresolvedParameter, parameter.id, s"Cannot find parameter or payload reference $refUrl", - ref) + ref.location) OasParameter(parameter, Some(ref)) } } @@ -769,7 +769,7 @@ case class OasParametersParser(values: Seq[YNode], parentId: String)(implicit ct OasBodyAndFormDataParameterSpecification, bodyParam.domainElement.id, "Cannot declare 'body' and 'formData' params at the same time for a request or resource", - bodyParam.ast.get + bodyParam.ast.get.location ) } @@ -818,7 +818,7 @@ case class OasParametersParser(values: Seq[YNode], parentId: String)(implicit ct DuplicatedParameters, oasParam.domainElement.id, s"Parameter $name of type $binding was found duplicated", - ast + ast.location ) case None => ctx.eh.violation( @@ -846,7 +846,7 @@ case class OasParametersParser(values: Seq[YNode], parentId: String)(implicit ct id, param.domainElement.id, "Cannot declare more than one 'body' parameter for a request or a resource", - param.ast.get + param.ast.get.location ) } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ReferencesParsers.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ReferencesParsers.scala index 401f7890b9..bb592d0b35 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ReferencesParsers.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ReferencesParsers.scala @@ -66,13 +66,13 @@ case class ReferencesParser(baseUnit: BaseUnit, id: String, key: String, map: YM collectAlias(baseUnit, alias -> (module.id, url)) result += (alias, module) case other => - ctx.eh.violation(ExpectedModule, id, s"Expected module but found: $other", e) + ctx.eh.violation(ExpectedModule, id, s"Expected module but found: $other", e.location) } } }) case YType.Null => case _ => - ctx.eh.violation(InvalidModuleType, id, s"Invalid ast type for uses: ${entry.value.tagType}", entry.value) + ctx.eh.violation(InvalidModuleType, id, s"Invalid ast type for uses: ${entry.value.tagType}", entry.value.location) } ) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/SecurityRequirementsParsers.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/SecurityRequirementsParsers.scala index f31eb9d0ab..85ce9375f5 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/SecurityRequirementsParsers.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/SecurityRequirementsParsers.scala @@ -37,7 +37,7 @@ case class OasLikeSecurityRequirementParser(node: YNode, adopted: SecurityRequir val requirement = SecurityRequirement(Annotations(node)).withName(ScalarNode(node)) adopted(requirement) - ctx.eh.violation(InvalidSecurityRequirementObject, requirement.id, s"Invalid security requirement $node", node) + ctx.eh.violation(InvalidSecurityRequirementObject, requirement.id, s"Invalid security requirement $node", node.location) Some(requirement) } @@ -106,7 +106,7 @@ case class OasLikeSecurityRequirementParser(node: YNode, adopted: SecurityRequir case Some(schemeType) => s"Scopes array must be empty for security scheme type $schemeType" case None => "Scopes array must be empty for given security scheme" } - ctx.eh.violation(ScopeNamesMustBeEmpty, scheme.id, msg, node) + ctx.eh.violation(ScopeNamesMustBeEmpty, scheme.id, msg, node.location) } } @@ -124,7 +124,7 @@ case class OasLikeSecurityRequirementParser(node: YNode, adopted: SecurityRequir ctx.eh.violation(DeclarationNotFound, securityScheme.id, s"Security scheme '$name' not found in declarations.", - part) + part.location) securityScheme } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ServerParsers.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ServerParsers.scala index 87e3f4efe4..80a8a48b24 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ServerParsers.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/ServerParsers.scala @@ -33,7 +33,7 @@ case class RamlServersParser(map: YMap, api: WebApi)(implicit val ctx: RamlWebAp checkBalancedParams(value, entry.value, server.id, ServerModel.Url.value.iri(), ctx) if (!TemplateUri.isValid(value)) - ctx.eh.violation(InvalidServerPath, api.id, TemplateUri.invalidMsg(value), entry.value) + ctx.eh.violation(InvalidServerPath, api.id, TemplateUri.invalidMsg(value), entry.value.location) map.key("serverDescription".asRamlAnnotation, ServerModel.Description in server) @@ -51,7 +51,7 @@ case class RamlServersParser(map: YMap, api: WebApi)(implicit val ctx: RamlWebAp ctx.eh.violation(ParametersWithoutBaseUri, api.id, "'baseUri' not defined and 'baseUriParameters' defined.", - entry) + entry.location) val server = Server().adopted(api.id) parseBaseUriParameters(server, Nil) @@ -113,7 +113,7 @@ case class RamlServersParser(map: YMap, api: WebApi)(implicit val ctx: RamlWebAp .parse() case YType.Null => Nil case _ => - ctx.eh.violation(InvalidBaseUriParametersType, "", "Invalid node for baseUriParameters", entry.value) + ctx.eh.violation(InvalidBaseUriParametersType, "", "Invalid node for baseUriParameters", entry.value.location) Nil } } @@ -132,7 +132,7 @@ case class RamlServersParser(map: YMap, api: WebApi)(implicit val ctx: RamlWebAp ctx.eh.warning(ImplicitVersionParameterWithoutApiVersion, api.id, "'baseUri' defines 'version' variable without the API defining one", - entry) + entry.location) } } @@ -145,7 +145,7 @@ case class RamlServersParser(map: YMap, api: WebApi)(implicit val ctx: RamlWebAp ctx.eh.warning(InvalidVersionBaseUriParameterDefinition, api.id, "'version' baseUriParameter can't be defined if present in baseUri as variable", - entry) + entry.location) } } @@ -171,7 +171,7 @@ case class Oas2ServersParser(map: YMap, api: Api)(implicit override val ctx: Oas basePath = entry.value.as[String] if (!basePath.startsWith("/")) { - ctx.eh.violation(InvalidBasePath, api.id, "'basePath' property must start with '/'", entry.value) + ctx.eh.violation(InvalidBasePath, api.id, "'basePath' property must start with '/'", entry.value.location) basePath = "/" + basePath } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiContext.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiContext.scala index 45ca3a28f2..0108ad0c7b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiContext.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiContext.scala @@ -4,17 +4,15 @@ import amf.aml.internal.parse.common.DeclarationContext import amf.apicontract.internal.spec.common.emitter.SpecAwareContext import amf.apicontract.internal.spec.common.{OasParameter, WebApiDeclarations} import amf.apicontract.internal.spec.oas.parser.context.OasWebApiContext -import amf.apicontract.internal.validation.definitions.ParserSideValidations.{ - ClosedShapeSpecification, - ClosedShapeSpecificationWarning -} +import amf.apicontract.internal.validation.definitions.ParserSideValidations.{ClosedShapeSpecification, ClosedShapeSpecificationWarning} import amf.core.client.scala.config.ParsingOptions import amf.core.client.scala.model.document.{ExternalFragment, Fragment, RecursiveUnit} import amf.core.client.scala.model.domain.Shape import amf.core.client.scala.model.domain.extensions.CustomDomainProperty -import amf.core.client.scala.parse.document.{ParsedReference, ParserContext} +import amf.core.client.scala.parse.document.{ErrorHandlingContext, ParsedReference, ParserContext} import amf.core.internal.parser._ import amf.core.internal.parser.domain.{Annotations, FragmentRef, SearchScope} +import amf.core.internal.plugins.syntax.{SYamlAMFParserErrorHandler, SyamlAMFErrorHandler} import amf.core.internal.remote.Vendor import amf.core.internal.unsafe.PlatformSecrets import amf.core.internal.utils.{AliasCounter, IdCounter} @@ -24,6 +22,7 @@ import amf.shapes.internal.spec.common.parser.{SpecSyntax, YMapEntryLike} import amf.shapes.internal.spec.contexts.JsonSchemaRefGuide import amf.shapes.internal.spec.datanode.DataNodeParserContext import amf.shapes.internal.spec.jsonschema.ref.{AstFinder, AstIndex, AstIndexBuilder, JsonSchemaInference} +import org.mulesoft.lexer.SourceLocation import org.yaml.model._ import scala.collection.mutable @@ -58,7 +57,14 @@ abstract class WebApiContext(loc: String, with DeclarationContext with SpecAwareContext with PlatformSecrets - with JsonSchemaInference { + with JsonSchemaInference + with ParseErrorHandler + with IllegalTypeHandler +{ + + val syamleh = new SyamlAMFErrorHandler(wrapped.config.eh) + override def handle[T](error: YError, defaultValue: T): T = syamleh.handle(error, defaultValue) + override def handle(location: SourceLocation, e: SyamlException): Unit = syamleh.handle(location, e) override val defaultSchemaVersion: JSONSchemaVersion = JSONSchemaDraft4SchemaVersion @@ -116,7 +122,7 @@ abstract class WebApiContext(loc: String, val referenceUrl = getReferenceUrl(fileUrl) obtainFragment(fileUrl) flatMap { fragment => AstFinder.findAst(fragment, referenceUrl)(WebApiShapeParserContextAdapter(ctx)).map { node => - ctx.factory.parameterParser(YMapEntryLike(node)(ctx.eh), parentId, None, new IdCounter()).parse + ctx.factory.parameterParser(YMapEntryLike(node)(new SYamlAMFParserErrorHandler(ctx.eh)), parentId, None, new IdCounter()).parse } } } @@ -188,6 +194,6 @@ abstract class WebApiContext(loc: String, throwClosedShapeError(node, s"Cannot validate unknown node type $shape for $vendor", ast) protected def throwClosedShapeError(node: String, message: String, entry: YPart, isWarning: Boolean = false): Unit = - if (isWarning) eh.warning(ClosedShapeSpecificationWarning, node, message, entry) - else eh.violation(ClosedShapeSpecification, node, message, entry) + if (isWarning) eh.warning(ClosedShapeSpecificationWarning, node, message, entry.location) + else eh.violation(ClosedShapeSpecification, node, message, entry.location) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiShapeParserContextAdapter.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiShapeParserContextAdapter.scala index b139336098..8ddcdb823f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiShapeParserContextAdapter.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/WebApiShapeParserContextAdapter.scala @@ -3,13 +3,7 @@ package amf.apicontract.internal.spec.common.parser import amf.apicontract.internal.spec.async.parser.context.AsyncWebApiContext import amf.apicontract.internal.spec.common.OasWebApiDeclarations import amf.apicontract.internal.spec.jsonschema.JsonSchemaWebApiContext -import amf.apicontract.internal.spec.oas.parser.context.{ - Oas2Syntax, - Oas2WebApiContext, - Oas3Syntax, - Oas3WebApiContext, - OasLikeWebApiContext -} +import amf.apicontract.internal.spec.oas.parser.context.{Oas2Syntax, Oas2WebApiContext, Oas3Syntax, Oas3WebApiContext, OasLikeWebApiContext} import amf.apicontract.internal.spec.raml.parser.context.{Raml08WebApiContext, Raml10WebApiContext, RamlWebApiContext} import amf.apicontract.internal.spec.raml.parser.external.DefaultRamlExternalSchemaExpressionFactory import amf.apicontract.internal.spec.spec.{toOas, toOasDeclarations} @@ -19,6 +13,7 @@ import amf.core.client.scala.model.domain.extensions.CustomDomainProperty import amf.core.client.scala.parse.document.{EmptyFutureDeclarations, ParsedReference, ParserContext} import amf.core.internal.parser.Root import amf.core.internal.parser.domain._ +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.remote.Vendor import amf.core.internal.validation.core.ValidationSpecification import amf.shapes.client.scala.model.domain.Example diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/YamlTagValidator.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/YamlTagValidator.scala index d22a49ac94..a2310a33b7 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/YamlTagValidator.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/parser/YamlTagValidator.scala @@ -5,6 +5,7 @@ import amf.apicontract.internal.validation.definitions.ParserSideValidations import amf.core.client.common.validation.SeverityLevels import amf.core.client.scala.parse.document.SyamlParsedDocument import amf.core.internal.parser.Root +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.remote.Syntax import amf.core.internal.remote.Syntax.Yaml import org.yaml.model.{YMap, YNode, YType} @@ -32,7 +33,7 @@ object YamlTagValidator { ctx.eh.reportConstraint(ParserSideValidations.UnknownYamlTag, "", s"Unknown tag '$tagText', must be allowed by json schema ruleset", - node.tag, + node.tag.location, severity) case _ => // valid tag } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/ApiReferenceHandler.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/ApiReferenceHandler.scala index a81b4087b3..a6667cd63e 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/ApiReferenceHandler.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/ApiReferenceHandler.scala @@ -13,19 +13,39 @@ import org.yaml.model._ import scala.util.matching.Regex +class SYamlCompilerReferenceCollector() extends CompilerReferenceCollector { + + def +=(key: String, kind: ReferenceKind, node: YPart): Unit = { + val (url, fragment) = ReferenceFragmentPartition(key) + collector.get(url) match { + case Some(reference: Reference) => collector += (url, reference + SYamlRefContainer(kind, node, fragment)) + case None => collector += (url, new Reference(url, Seq(SYamlRefContainer(kind, node, fragment)))) + } + } + +} + +object SYamlCompilerReferenceCollector { + def apply(): SYamlCompilerReferenceCollector = new SYamlCompilerReferenceCollector() +} + class ApiReferenceHandler(vendor: String) extends ReferenceHandler { - private val references = CompilerReferenceCollector() + private val references = SYamlCompilerReferenceCollector() override def collect(parsed: ParsedDocument, ctx: ParserContext): CompilerReferenceCollector = { collect(parsed)(ctx.eh) } private def collect(parsed: ParsedDocument)(implicit errorHandler: AMFErrorHandler): CompilerReferenceCollector = { - val doc = parsed.asInstanceOf[SyamlParsedDocument].document - libraries(doc) - links(doc) - if (isRamlOverlayOrExtension(vendor, parsed)) overlaysAndExtensions(doc) + parsed match { + case syaml : SyamlParsedDocument => + val doc = syaml.document + libraries(doc) + links(doc) + if (isRamlOverlayOrExtension(vendor, parsed)) overlaysAndExtensions(doc) + case _ => // ignore @TODO: add proper reference collection here + } references } @@ -57,7 +77,7 @@ class ApiReferenceHandler(vendor: String) extends ReferenceHandler { entry.value.tagType match { case YType.Map | YType.Seq | YType.Null => errorHandler - .violation(InvalidExtensionsType, "", s"Expected scalar but found: ${entry.value}", entry.value) + .violation(InvalidExtensionsType, "", s"Expected scalar but found: ${entry.value}", entry.value.location) case _ => extension(entry) // assume scalar }) } @@ -95,7 +115,7 @@ class ApiReferenceHandler(vendor: String) extends ReferenceHandler { case YType.Map => entry.value.as[YMap].entries.foreach(library(_)) case YType.Null => case _ => - errorHandler.violation(InvalidModuleType, "", s"Expected map but found: ${entry.value}", entry.value) + errorHandler.violation(InvalidModuleType, "", s"Expected map but found: ${entry.value}", entry.value.location) } }) }) @@ -106,7 +126,7 @@ class ApiReferenceHandler(vendor: String) extends ReferenceHandler { private def library(entry: YMapEntry)(implicit errorHandler: AMFErrorHandler): Unit = LibraryLocationParser(entry) match { case Some(location) => references += (location, LibraryReference, entry.value) - case _ => errorHandler.violation(ModuleNotFound, "", "Missing library location", entry) + case _ => errorHandler.violation(ModuleNotFound, "", "Missing library location", entry.location) } private def oasLinks(part: YPart)(implicit errorHandler: AMFErrorHandler): Unit = { @@ -122,7 +142,7 @@ class ApiReferenceHandler(vendor: String) extends ReferenceHandler { case YType.Str => references += (ref.value .as[String], LinkReference, ref.value) // this is not for all scalar, link must be a string - case _ => errorHandler.violation(UnexpectedReference, "", s"Unexpected $$ref with $ref", ref.value) + case _ => errorHandler.violation(UnexpectedReference, "", s"Unexpected $$ref with $ref", ref.value.location) } } @@ -150,7 +170,7 @@ class ApiReferenceHandler(vendor: String) extends ReferenceHandler { try { val link = m.split("\"").last.split("#").head if (!link.contains("<<") && !link.contains(">>")) // no trait variables inside path - references += (link, InferredLinkReference, YNode(scalar, YType.Str)) + references += (link, InferredLinkReference, scalar) } catch { case _: Exception => // don't stop the parsing } @@ -162,7 +182,7 @@ class ApiReferenceHandler(vendor: String) extends ReferenceHandler { node.value match { case scalar: YScalar => references += (scalar.text, LinkReference, node) - case _ => errorHandler.violation(UnexpectedReference, "", s"Unexpected !include with ${node.value}", node) + case _ => errorHandler.violation(UnexpectedReference, "", s"Unexpected !include with ${node.value}", node.location) } } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/JsonRefsReferenceHandler.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/JsonRefsReferenceHandler.scala index 081bf5814a..929fa35741 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/JsonRefsReferenceHandler.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/reference/JsonRefsReferenceHandler.scala @@ -29,9 +29,9 @@ class JsonRefsReferenceHandler extends ReferenceHandler { links(parsed.document) refUrls.foreach { ref => if (ref.nodeValue.startsWith("http:") || ref.nodeValue.startsWith("https:")) - references += (ref.nodeValue, LinkReference, ref.node) // this is not for all scalars, link must be a string + references += (ref.nodeValue, LinkReference, ref.node.location) // this is not for all scalars, link must be a string else - references += (ref.nodeValue, InferredLinkReference, ref.node) // Is inferred because we don't know how to dereference by default + references += (ref.nodeValue, InferredLinkReference, ref.node.location) // Is inferred because we don't know how to dereference by default } case _ => // ignore } @@ -55,7 +55,7 @@ class JsonRefsReferenceHandler extends ReferenceHandler { case YType.Str => val refValue = ref.as[String] if (!refValue.startsWith("#")) refUrls += RefNode(ref, refValue.split("#").head) - case _ => errorHandler.violation(UnresolvedReference, "", s"Unexpected $$ref with $ref", ref.value) + case _ => errorHandler.violation(UnresolvedReference, "", s"Unexpected $$ref with $ref", ref.value.location) } } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/ExtendsHelper.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/ExtendsHelper.scala index 921baead0c..a6fe541dbd 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/ExtendsHelper.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/common/transformation/ExtendsHelper.scala @@ -14,8 +14,9 @@ import amf.core.client.scala.parse.document.ParserContext import amf.core.internal.transform.stages.ReferenceResolutionStage import amf.core.internal.transform.stages.helpers.ResolvedNamedEntity import amf.core.internal.annotations.{Aliases, LexicalInformation, SourceAST, SourceLocation} -import amf.core.internal.parser.{LimitedParseConfig, CompilerConfiguration} +import amf.core.internal.parser.{CompilerConfiguration, LimitedParseConfig} import amf.core.internal.parser.domain.{Annotations, FragmentRef} +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.render.SpecOrdering import amf.core.internal.validation.CoreValidations import amf.shapes.internal.spec.RamlWebApiContextType diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasDocumentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasDocumentParser.scala index 6f698e4078..0a147bfc0f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasDocumentParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasDocumentParser.scala @@ -231,7 +231,7 @@ abstract class OasDocumentParser(root: Root)(implicit val ctx: OasWebApiContext) ctx.eh.violation(InvalidParameterType, parameter.domainElement.id, "Map needed to parse a parameter declaration", - e) + e.location) parameter } ctx.declarations.registerOasParameter(oasParameter) @@ -376,7 +376,7 @@ abstract class OasSpecParser(implicit ctx: ShapeParserContext) extends WebApiBas InvalidAnnotationType, customDomainProperty.id, "Invalid value node type for annotation types parser, expected map or scalar reference", - ast.value + ast.value.location ) customDomainProperty case _ => @@ -405,7 +405,7 @@ abstract class OasSpecParser(implicit ctx: ShapeParserContext) extends WebApiBas ctx.eh.violation(DeclarationNotFound, customDomainProperty.id, "Could not find declared annotation link in references", - scalar) + scalar.location) customDomainProperty } } @@ -485,7 +485,7 @@ abstract class OasSpecParser(implicit ctx: ShapeParserContext) extends WebApiBas ctx.eh.violation(DeclarationNotFound, documentation.id, s"not supported scalar $n.text for documentation item", - n) + n.location) documentation } }) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasFragmentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasFragmentParser.scala index f13c708141..25f76a54d2 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasFragmentParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasFragmentParser.scala @@ -53,7 +53,7 @@ case class OasFragmentParser(root: Root, fragment: Option[OasHeader] = None)(imp ctx.eh.violation(InvalidFragmentType, root.location, "Cannot parse empty map", - root.parsed.asInstanceOf[SyamlParsedDocument].document) + root.parsed.asInstanceOf[SyamlParsedDocument].document.location) YMap.empty } @@ -72,7 +72,7 @@ case class OasFragmentParser(root: Root, fragment: Option[OasHeader] = None)(imp .withLocation(root.location) .withId(root.location) .withEncodes(ExternalDomainElement().withRaw(root.raw)) - ctx.eh.violation(InvalidFragmentType, fragment.id, "Unsupported oas type", map) + ctx.eh.violation(InvalidFragmentType, fragment.id, "Unsupported oas type", map.location) fragment } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasLikeDeclarationsHelper.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasLikeDeclarationsHelper.scala index 9037546b18..396500261b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasLikeDeclarationsHelper.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/document/OasLikeDeclarationsHelper.scala @@ -41,7 +41,7 @@ trait OasLikeDeclarationsHelper { ctx.eh.violation(UnableToParseShape, NodeShape().adopted(typesPrefix).id, s"Error parsing shape at $typeName", - e) + e.location) } }) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OAuth2FlowValidations.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OAuth2FlowValidations.scala index 561a684fd6..33f5cb7d00 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OAuth2FlowValidations.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OAuth2FlowValidations.scala @@ -37,7 +37,7 @@ object OAuth2FlowValidations { missingFields.foreach { flowField => { val message = s"Missing ${flowField.name} for $flowName flow" - errorHandler.violation(MissingOAuthFlowField, flow.id, message, ast) + errorHandler.violation(MissingOAuthFlowField, flow.id, message, ast.location) } } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30CallbackParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30CallbackParser.scala index 8213dad301..1e7784cf2f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30CallbackParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30CallbackParser.scala @@ -40,7 +40,7 @@ case class Oas30CallbackParser(map: YMap, adopt: Callback => Unit, name: String, ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find callback reference $fullRef", - map) + map.location) val callback: Callback = new ErrorCallback(label, map).link(name, Annotations(rootEntry)) adopt(callback) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30RequestParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30RequestParser.scala index 540e451e18..3c727b55ec 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30RequestParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/Oas30RequestParser.scala @@ -46,7 +46,7 @@ case class Oas30RequestParser(map: YMap, parentId: String, definitionEntry: YMap ctx.eh.violation(RequestBodyContentRequired, request.id, s"Request body must have a 'content' field defined", - map) + map.location) } request.set(ResponseModel.Payloads, AmfArray(payloads, Annotations.virtual()), Annotations.inferred()) @@ -71,7 +71,7 @@ case class Oas30RequestParser(map: YMap, parentId: String, definitionEntry: YMap ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find requestBody reference $fullRef", - map) + map.location) adopt(ErrorRequest(fullRef, map).link(name)) } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasEncodingParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasEncodingParser.scala index 03e06151b0..b57d14937f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasEncodingParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasEncodingParser.scala @@ -6,6 +6,7 @@ import amf.apicontract.internal.metamodel.domain.ResponseModel.Headers import amf.apicontract.internal.spec.common.parser.{SpecParserOps, WebApiShapeParserContextAdapter} import amf.apicontract.internal.spec.oas.parser.context.OasWebApiContext import amf.core.client.scala.model.domain.AmfArray +import amf.core.client.scala.parse.document.ErrorHandlingContext import amf.core.internal.parser.YMapOps import amf.core.internal.parser.domain.{Annotations, ScalarNode} import amf.shapes.internal.spec.common.parser.AnnotationParser diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasHeaderParametersParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasHeaderParametersParser.scala index 93bb3ed583..b519a6b153 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasHeaderParametersParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasHeaderParametersParser.scala @@ -70,7 +70,7 @@ case class OasHeaderParameterParser(map: YMap, adopt: Parameter => Unit)(implici ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find header reference $fullRef", - map) + map.location) val error = ErrorParameter(label, map) adopt(error) error diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeEndpointParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeEndpointParser.scala index 09b0f6c9a4..4d7ebd48bb 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeEndpointParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeEndpointParser.scala @@ -38,9 +38,9 @@ abstract class OasLikeEndpointParser(entry: YMapEntry, parentId: String, collect checkBalancedParams(pathText, entry.value, endpoint.id, EndPointModel.Path.value.iri(), ctx) if (!TemplateUri.isValid(pathText)) - ctx.eh.violation(InvalidEndpointPath, endpoint.id, TemplateUri.invalidMsg(pathText), entry.value) + ctx.eh.violation(InvalidEndpointPath, endpoint.id, TemplateUri.invalidMsg(pathText), entry.value.location) if (collector.exists(other => other.path.option() exists (identicalPaths(_, pathText)))) { - ctx.eh.violation(DuplicatedEndpointPath, endpoint.id, "Duplicated resource path " + pathText, entry) + ctx.eh.violation(DuplicatedEndpointPath, endpoint.id, "Duplicated resource path " + pathText, entry.location) None } else parseEndpoint(endpoint) } @@ -56,14 +56,14 @@ abstract class OasLikeEndpointParser(entry: YMapEntry, parentId: String, collect ctx.obtainRemoteYNode(value).orElse(ctx.declarations.asts.get(value)) match { case Some(map) if map.tagType == YType.Map => Some(parseEndpointMap(endpoint, map.as[YMap])) case Some(n) => - ctx.eh.violation(InvalidEndpointType, endpoint.id, "Invalid node for path item", n) + ctx.eh.violation(InvalidEndpointType, endpoint.id, "Invalid node for path item", n.location) None case None => ctx.eh.violation(InvalidEndpointPath, endpoint.id, s"Cannot find fragment path item ref $value", - entry.value) + entry.value.location) None } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeOperationParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeOperationParser.scala index 9a84751821..5eee1ac2fe 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeOperationParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLikeOperationParser.scala @@ -45,7 +45,7 @@ abstract class OasLikeOperationParser(entry: YMapEntry, adopt: Operation => Oper map.key("operationId").foreach { entry => val operationId = entry.value.toString() if (!ctx.registerOperationId(operationId)) - ctx.eh.violation(DuplicatedOperationId, operation.id, s"Duplicated operation id '$operationId'", entry.value) + ctx.eh.violation(DuplicatedOperationId, operation.id, s"Duplicated operation id '$operationId'", entry.value.location) } parseOperationId(map, operation) @@ -129,7 +129,7 @@ abstract class OasOperationParser(entry: YMapEntry, adopt: Operation => Operatio ctx.eh.violation(InvalidStatusCode, r.id, "Status code for a Response object must be a string", - entry.key) + entry.key.location) } ).parse() } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLinkParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLinkParser.scala index 3f693559f8..b7983343e0 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLinkParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasLinkParser.scala @@ -52,7 +52,7 @@ case class OasLinkParser(parentId: String, definitionEntry: YMapEntry)(implicit case Some(requestNode) => buildAndPopulate(requestNode.as[YMap]).add(ExternalReferenceUrl(fullRef)) case None => - ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", map) + ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find link reference $fullRef", map.location) nameAndAdopt(new ErrorLink(fullRef, map).link(fullRef)) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasResponseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasResponseParser.scala index 4530a97bf4..8ba5e4342e 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasResponseParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasResponseParser.scala @@ -50,7 +50,7 @@ case class OasResponseParser(map: YMap, adopted: Response => Unit)(implicit ctx: .parse() .add(ExternalReferenceUrl(url)) case None => - ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find response reference $url", map) + ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find response reference $url", map.location) val errorRes: Response = ErrorResponse(url, map).link(name) adopted(errorRes) errorRes diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasServerVariableParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasServerVariableParser.scala index f2fcc0861b..e18f9773f4 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasServerVariableParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/OasServerVariableParser.scala @@ -15,5 +15,5 @@ case class OasServerVariableParser(entry: YMapEntry, parent: String)(implicit ov } private def requiredDefaultField(variable: Parameter, map: YMap): Unit = if (map.key("default").isEmpty) - ctx.eh.violation(ServerVariableMissingDefault, variable.id, "Server variable must define a 'default' field", map) + ctx.eh.violation(ServerVariableMissingDefault, variable.id, "Server variable must define a 'default' field", map.location) } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/TagsParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/TagsParser.scala index 21df96d30e..2b41ec6d47 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/TagsParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/oas/parser/domain/TagsParser.scala @@ -51,7 +51,7 @@ case class StringTagsParser(seq: YSequence, parentId: String)(implicit ctx: WebA tag.adopted(parentId) tags += tag case _ => - ctx.eh.violation(ParserSideValidations.InvalidTagType, parentId, s"Tag value must be of type string", node) + ctx.eh.violation(ParserSideValidations.InvalidTagType, parentId, s"Tag value must be of type string", node.location) } } tags diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/RamlParsePlugin.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/RamlParsePlugin.scala index a983d77a8e..488c1e6abe 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/RamlParsePlugin.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/RamlParsePlugin.scala @@ -52,8 +52,8 @@ trait RamlParsePlugin extends ApiParsePlugin { private def validateJsonPointersToFragments(reference: ParsedReference, ctx: ParserContext): Unit = { reference.unit.sourceVendor match { case Some(v) if v.isRaml => - reference.origin.refs.filter(_.uriFragment.isDefined).foreach { r => - ctx.eh.violation(InvalidFragmentRef, "", "Cannot use reference with # in a RAML fragment", r.node) + reference.origin.refs.filter(_.uriFragment.isDefined).foreach { case r: ASTRefContainer => + ctx.eh.violation(InvalidFragmentRef, "", "Cannot use reference with # in a RAML fragment", r.pos) } case _ => // Nothing to do } @@ -61,25 +61,25 @@ trait RamlParsePlugin extends ApiParsePlugin { private def validateReferencesToLibraries(reference: ParsedReference, ctx: ParserContext): Unit = { val refs: Seq[RefContainer] = reference.origin.refs - val allKinds = refs.map(_.linkType) - val definedKind = if (allKinds.distinct.size > 1) UnspecifiedReference else allKinds.head - val nodes = refs.map(_.node) + val allKinds = refs.map(_.linkType).toSet + val definedKind = if (allKinds.size > 1) UnspecifiedReference else allKinds.head + val positions = refs.collect { case n: ASTRefContainer => n.pos } reference.unit match { case _: Module => // if is a library, kind should be LibraryReference if (allKinds.contains(LibraryReference) && allKinds.contains(LinkReference)) - nodes.foreach( + positions.foreach( ctx.eh .violation(ExpectedModule, reference.unit.id, "The !include tag must be avoided when referencing a library", _)) else if (!LibraryReference.eq(definedKind)) - nodes.foreach( + positions.foreach( ctx.eh.violation(ExpectedModule, reference.unit.id, "Libraries must be applied by using 'uses'", _)) case _ => // if is not a library, kind should not be LibraryReference if (LibraryReference.eq(definedKind)) - nodes.foreach( + positions.foreach( ctx.eh.violation(InvalidInclude, reference.unit.id, "Fragments must be imported by using '!include'", _)) } } @@ -99,7 +99,7 @@ trait RamlParsePlugin extends ApiParsePlugin { encodes: ExternalDomainElement, elementRef: Seq[BaseUnit], ctx: ParserContext): Unit = { - origins.foreach { refContainer => + origins.foreach { case refContainer: SYamlRefContainer => refContainer.node match { case mut: MutRef => elementRef.foreach(u => ctx.addSonRef(u)) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/Raml10WebApiContext.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/Raml10WebApiContext.scala index 03743d41f0..354f472f13 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/Raml10WebApiContext.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/Raml10WebApiContext.scala @@ -3,10 +3,13 @@ package amf.apicontract.internal.spec.raml.parser.context import amf.apicontract.internal.spec.common.{ExtensionWebApiDeclarations, RamlWebApiDeclarations} import amf.core.client.scala.config.ParsingOptions import amf.core.client.scala.parse.document.{ParsedReference, ParserContext} +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.remote.{Raml10, Vendor} import amf.shapes.internal.spec.RamlWebApiContextType import amf.shapes.internal.spec.RamlWebApiContextType.RamlWebApiContextType import amf.shapes.internal.spec.common.parser.SpecSyntax +import org.mulesoft.lexer.SourceLocation +import org.yaml.model.{IllegalTypeHandler, ParseErrorHandler, SyamlException, YError} class Raml10WebApiContext(loc: String, refs: Seq[ParsedReference], @@ -14,7 +17,8 @@ class Raml10WebApiContext(loc: String, private val ds: Option[RamlWebApiDeclarations] = None, contextType: RamlWebApiContextType = RamlWebApiContextType.DEFAULT, options: ParsingOptions = ParsingOptions()) - extends RamlWebApiContext(loc, refs, options, wrapped, ds, contextType) { + extends RamlWebApiContext(loc, refs, options, wrapped, ds, contextType) +{ override val factory: RamlSpecVersionFactory = new Raml10VersionFactory()(this) override val vendor: Vendor = Raml10 override val syntax: SpecSyntax = Raml10Syntax diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/RamlWebApiContext.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/RamlWebApiContext.scala index dc20caff7d..110796419c 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/RamlWebApiContext.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/context/RamlWebApiContext.scala @@ -6,6 +6,7 @@ import amf.apicontract.internal.validation.definitions.ParserSideValidations.Clo import amf.core.client.scala.config.ParsingOptions import amf.core.client.scala.model.domain.Shape import amf.core.client.scala.parse.document.{ParsedReference, ParserContext} +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.remote.Vendor import amf.core.internal.validation.CoreValidations.DeclarationNotFound import amf.shapes.internal.spec.RamlWebApiContextType.RamlWebApiContextType @@ -74,7 +75,7 @@ abstract class RamlWebApiContext(override val loc: String, } override def link(node: YNode): Either[String, YNode] = { - implicit val errorHandler: IllegalTypeHandler = eh + implicit val errorHandler: IllegalTypeHandler = new SYamlAMFParserErrorHandler(eh) node match { case _ if isInclude(node) => Left(node.as[YScalar].text) @@ -118,7 +119,7 @@ abstract class RamlWebApiContext(override val loc: String, */ def closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, typeInfo: TypeInfo): Unit = { - implicit val errorHandler: IllegalTypeHandler = eh + implicit val errorHandler: IllegalTypeHandler = new SYamlAMFParserErrorHandler(eh) val node = shape.id val facets = shape.collectCustomShapePropertyDefinitions(onlyInherited = true) @@ -151,7 +152,7 @@ abstract class RamlWebApiContext(override val loc: String, ClosedShapeSpecification, node, s"$subject ${errors.map(_.key.as[YScalar].text).map(e => s"'$e'").mkString(",")} not supported in a $vendor $shapeLabel node", - errors.head + errors.head.location ) // pointing only to the first failed error } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/Raml08DocumentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/Raml08DocumentParser.scala index b8a9992890..d9d6ac2587 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/Raml08DocumentParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/Raml08DocumentParser.scala @@ -71,7 +71,7 @@ case class Raml08DocumentParser(root: Root)(implicit override val ctx: RamlWebAp .violation(InvalidAbstractDeclarationType, parent, s"Invalid node $t in abstract declaration", - entry.value) + entry.value.location) Nil } entries.foreach { entry => @@ -92,7 +92,7 @@ case class Raml08DocumentParser(root: Root)(implicit override val ctx: RamlWebAp case YType.Map => parseEntries(e.value.as[YMap].entries, parent) case YType.Null => case t => - ctx.eh.violation(InvalidSecuredByType, parent, s"Invalid type $t for 'securitySchemes' node.", e.value) + ctx.eh.violation(InvalidSecuredByType, parent, s"Invalid type $t for 'securitySchemes' node.", e.value.location) } } ) @@ -117,7 +117,7 @@ case class Raml08DocumentParser(root: Root)(implicit override val ctx: RamlWebAp case YType.Null => case YType.Seq => parseSchemaEntries(e.value.as[Seq[YMap]].flatMap(_.entries), parent) - case t => ctx.eh.violation(InvalidTypesType, parent, s"Invalid type $t for 'types' node.", e.value) + case t => ctx.eh.violation(InvalidTypesType, parent, s"Invalid type $t for 'types' node.", e.value.location) } } } @@ -129,7 +129,7 @@ case class Raml08DocumentParser(root: Root)(implicit override val ctx: RamlWebAp InvalidTypeDefinition, parent, s"'${entry.key.as[YScalar].text}' cannot be used to name a custom type", - entry.key + entry.key.location ) } @@ -145,7 +145,7 @@ case class Raml08DocumentParser(root: Root)(implicit override val ctx: RamlWebAp val localRaml08RefInJson = platform.normalizePath(UriUtils.stripFileName(ctx.rootContextDocument) + shape.name.value()) ctx.futureDeclarations.resolveRef(localRaml08RefInJson, shape) - case None => ctx.eh.violation(InvalidTypeDefinition, parent, s"Error parsing shape '$entry'", entry) + case None => ctx.eh.violation(InvalidTypeDefinition, parent, s"Error parsing shape '$entry'", entry.location) } } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlDocumentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlDocumentParser.scala index bb14434423..0ef626a498 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlDocumentParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlDocumentParser.scala @@ -279,7 +279,7 @@ trait Raml10BaseSpecParser extends RamlBaseDocumentParser { } case YType.Null => case t => - ctx.eh.violation(InvalidSecuredByType, parent, s"Invalid type $t for 'securitySchemes' node.", e.value) + ctx.eh.violation(InvalidSecuredByType, parent, s"Invalid type $t for 'securitySchemes' node.", e.value.location) } } ) @@ -372,7 +372,7 @@ abstract class RamlBaseDocumentParser(implicit ctx: RamlWebApiContext) extends R ctx.eh.violation(InvalidAnnotationType, customProperties, s"Invalid type $t for 'annotationTypes' node.", - e.value) + e.value.location) } } ) @@ -390,7 +390,7 @@ abstract class RamlBaseDocumentParser(implicit ctx: RamlWebApiContext) extends R InvalidTypeDefinition, parent, s"'$typeName' cannot be used to name a custom type", - entry.key + entry.key.location ) } val parser = Raml10TypeParser( @@ -404,12 +404,12 @@ abstract class RamlBaseDocumentParser(implicit ctx: RamlWebApiContext) extends R case Some(shape) => if (entry.value.tagType == YType.Null) shape.annotations += SynthesizedField() ctx.declarations += shape.add(DeclaredElement()) - case None => ctx.eh.violation(UnableToParseShape, parent, s"Error parsing shape '$entry'", entry) + case None => ctx.eh.violation(UnableToParseShape, parent, s"Error parsing shape '$entry'", entry.location) } } case YType.Null => - case t => ctx.eh.violation(InvalidTypesType, parent, s"Invalid type $t for 'types' node.", e.value) + case t => ctx.eh.violation(InvalidTypesType, parent, s"Invalid type $t for 'types' node.", e.value.location) } } } @@ -423,7 +423,7 @@ abstract class RamlBaseDocumentParser(implicit ctx: RamlWebApiContext) extends R _ <- types s <- schemas } { - ctx.eh.violation(ExclusiveSchemasType, "", "'schemas' and 'types' properties are mutually exclusive", s.key) + ctx.eh.violation(ExclusiveSchemasType, "", "'schemas' and 'types' properties are mutually exclusive", s.key.location) } schemas.foreach( @@ -431,7 +431,7 @@ abstract class RamlBaseDocumentParser(implicit ctx: RamlWebApiContext) extends R ctx.eh.warning(SchemasDeprecated, "", "'schemas' keyword it's deprecated for 1.0 version, should use 'types' instead", - s.key)) + s.key.location)) types.orElse(schemas) } @@ -458,7 +458,7 @@ abstract class RamlBaseDocumentParser(implicit ctx: RamlWebApiContext) extends R ctx.eh.violation(InvalidParameterType, parameter.domainElement.id, "Map needed to parse a parameter declaration", - e) + e.location) parameter } ctx.declarations.registerOasParameter(oasParameter) @@ -498,20 +498,20 @@ abstract class RamlSpecParser(implicit ctx: RamlWebApiContext) extends WebApiBas ctx.eh.violation(InvalidDocumentationType, parent, s"Unexpected sequence. Options are object or scalar ", - n) + n.location) case _ => val scalar = n.as[YScalar] declarations.findDocumentations( scalar.text, SearchScope.Fragments, - Some((s: String) => ctx.eh.violation(InvalidFragmentType, "", s, scalar))) match { + Some((s: String) => ctx.eh.violation(InvalidFragmentType, "", s, scalar.location))) match { case Some(doc) => results += doc.link(ScalarNode(n), Annotations.inferred()).asInstanceOf[CreativeWork] case _ => ctx.eh.violation(DeclarationNotFound, parent, s"not supported scalar ${scalar.text} for documentation", - scalar) + scalar.location) } }) @@ -531,7 +531,7 @@ abstract class RamlSpecParser(implicit ctx: RamlWebApiContext) extends WebApiBas ctx.eh.violation(InvalidAnnotationType, domainProp.id, "Invalid value type for annotation types parser, expected map or scalar reference", - ast.value) + ast.value.location) domainProp case _ => val key = ast.key.as[YScalar].text @@ -561,7 +561,7 @@ abstract class RamlSpecParser(implicit ctx: RamlWebApiContext) extends WebApiBas ctx.eh.violation(DeclarationNotFound, domainProp.id, "Could not find declared annotation link in references", - scalar) + scalar.location) domainProp } } @@ -604,7 +604,7 @@ abstract class RamlSpecParser(implicit ctx: RamlWebApiContext) extends WebApiBas InvalidAllowedTargets, nodeId, s"$target is not a valid target", - entry.value + entry.value.location ) }) } @@ -651,7 +651,7 @@ abstract class RamlSpecParser(implicit ctx: RamlWebApiContext) extends WebApiBas InvalidAllowedTargetsType, custom.id, "Property 'allowedTargets' in a RAML annotation can only be a valid scalar or an array of valid scalars", - entry.value + entry.value.location ) AmfArray(Seq()) case _ => @@ -685,7 +685,7 @@ abstract class RamlSpecParser(implicit ctx: RamlWebApiContext) extends WebApiBas ctx.eh.violation(InvalidAnnotationType, custom.id, "Cannot parse annotation type fragment, cannot find information map", - ast) + ast.location) custom } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlFragmentParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlFragmentParser.scala index dee74e17f3..32b3795ef3 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlFragmentParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/document/RamlFragmentParser.scala @@ -42,7 +42,7 @@ case class RamlFragmentParser(root: Root, fragmentType: RamlFragment)(implicit v ctx.eh.violation(InvalidFragmentType, root.location, "Cannot parse empty map", - root.parsed.asInstanceOf[SyamlParsedDocument].document) + root.parsed.asInstanceOf[SyamlParsedDocument].document.location) YMap.empty } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/ParametrizedDeclarationParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/ParametrizedDeclarationParser.scala index a5ead58287..108a2f20e9 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/ParametrizedDeclarationParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/ParametrizedDeclarationParser.scala @@ -59,7 +59,7 @@ case class ParametrizedDeclarationParser( case _ => val declaration = producer("") declaration.add(Annotations(node)) - ctx.eh.violation(InvalidAbstractDeclarationType, declaration.id, "Invalid model extension.", node) + ctx.eh.violation(InvalidAbstractDeclarationType, declaration.id, "Invalid model extension.", node.location) declaration } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlEndpointParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlEndpointParser.scala index 759ed44a6e..f1535a5e8f 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlEndpointParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlEndpointParser.scala @@ -77,10 +77,10 @@ abstract class RamlEndpointParser(entry: YMapEntry, endpoint.set(EndPointModel.Path, AmfScalar(path, Annotations(entry.key)), Annotations(entry.key)) if (!TemplateUri.isValid(path)) - ctx.eh.violation(InvalidEndpointPath, endpoint.id, TemplateUri.invalidMsg(path), entry.value) + ctx.eh.violation(InvalidEndpointPath, endpoint.id, TemplateUri.invalidMsg(path), entry.value.location) if (collector.exists(e => e.path.is(path))) - ctx.eh.violation(DuplicatedEndpointPath, endpoint.id, "Duplicated resource path " + path, entry) + ctx.eh.violation(DuplicatedEndpointPath, endpoint.id, "Duplicated resource path " + path, entry.location) else { entry.value.tagType match { case YType.Null => collector += endpoint @@ -262,7 +262,7 @@ abstract class RamlEndpointParser(entry: YMapEntry, ctx.eh.violation(SlashInUriParameterValues, node.id, s"Value '${scalar.value.value()}' of uri parameter must not contain '/' character", - entry.value) + entry.value.location) case _ => } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlOperationParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlOperationParser.scala index 02d447ca9b..0918871c6e 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlOperationParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlOperationParser.scala @@ -59,7 +59,7 @@ case class RamlOperationParser(entry: YMapEntry, parentId: String, parseOptional ctx.eh.violation(InvalidOperationType, operation.id, s"Invalid node ${entry.value} for method ${operation.method.value()}", - entry.value) + entry.value.location) operation } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlParametrizedSecuritySchemeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlParametrizedSecuritySchemeParser.scala index 668089667a..4f2e19c0f7 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlParametrizedSecuritySchemeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlParametrizedSecuritySchemeParser.scala @@ -44,7 +44,7 @@ case class RamlParametrizedSecuritySchemeParser(node: YNode, parentId: String)(i UnknownSecuritySchemeErrorSpecification, scheme.id, s"Security scheme '$nameText' not found in declarations (and name cannot be 'null').", - node + node.location ) } @@ -54,7 +54,7 @@ case class RamlParametrizedSecuritySchemeParser(node: YNode, parentId: String)(i UnknownSecuritySchemeErrorSpecification, "", "'securedBy' property doesn't accept !include tag, only references to security schemes.", - node + node.location ) scheme.withSynthesizeName("invalid").adopted(parentId) case _ => @@ -71,7 +71,7 @@ case class RamlParametrizedSecuritySchemeParser(node: YNode, parentId: String)(i UnknownSecuritySchemeErrorSpecification, scheme.id, s"Security scheme '$textName' not found in declarations.", - node + node.location ) scheme } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlRequestParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlRequestParser.scala index 5a1607e999..982b3ca1c3 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlRequestParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlRequestParser.scala @@ -38,7 +38,7 @@ case class Raml10RequestParser(map: YMap, producer: () => Request, parseOptional ExclusivePropertiesSpecification, finalRequest.id, s"Properties 'queryString' and 'queryParameters' are exclusive and cannot be declared together", - map + map.location ) } finalRequest.set(RequestModel.QueryString, tracking(q, finalRequest.id), Annotations(queryEntry)) @@ -197,7 +197,7 @@ abstract class RamlRequestParser(map: YMap, producer: () => Request, parseOption ctx.eh.violation(UnsupportedExampleMediaTypeErrorSpecification, request.getOrCreate.id, s"Unexpected key '${e.key.as[YScalar].text}'. Expecting valid media types.", - e)) + e.location)) } } case _ => diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlResponseParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlResponseParser.scala index 4faceead04..5a0f31f248 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlResponseParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlResponseParser.scala @@ -168,7 +168,7 @@ abstract class RamlResponseParser(entry: YMapEntry, adopt: Response => Unit, par UnsupportedExampleMediaTypeErrorSpecification, res.id, s"Unexpected key '${e.key.as[YScalar].text}'. Expecting valid media types.", - e)) + e.location)) } } case _ => diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySchemeParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySchemeParser.scala index d7053f4c1e..d50827afdc 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySchemeParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySchemeParser.scala @@ -135,7 +135,7 @@ case class RamlDescribedByParser(key: String, map: YMap, scheme: SecurityScheme) ExclusivePropertiesSpecification, scheme.id, s"Properties 'queryString' and 'queryParameters' are exclusive and cannot be declared together", - value + value.location ) } @@ -188,7 +188,7 @@ case class RamlDescribedByParser(key: String, map: YMap, scheme: SecurityScheme) ctx.eh.violation(InvalidSecuritySchemeDescribedByType, scheme.id, s"Invalid 'describedBy' type, map expected", - entry.value) + entry.value.location) } } ) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySettingsParser.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySettingsParser.scala index 99d17708b0..5574d3ed9c 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySettingsParser.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/domain/RamlSecuritySettingsParser.scala @@ -92,7 +92,7 @@ case class RamlSecuritySettingsParser(node: YNode, `type`: String, scheme: Domai UnknownScopeErrorSpecification, scope.id, s"Scope '${element.toString}' not found in settings of declared secured by ${ss.scheme.name.value()}.", - n + n.location ) scope case _ => @@ -157,7 +157,7 @@ class Raml10SecuritySettingsParser(node: YNode, `type`: String, scheme: DomainEl ctx.eh.warning(MissingRequiredFieldForGrantType, settings.id, s"'${requiredField.name}' is required when '$grant' grant type is used", - map) + map.location) } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlJsonSchemaExpression.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlJsonSchemaExpression.scala index 313a42c34a..ecb675b22b 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlJsonSchemaExpression.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlJsonSchemaExpression.scala @@ -12,6 +12,7 @@ import amf.core.internal.annotations.ExternalFragmentRef import amf.core.internal.metamodel.domain.ShapeModel import amf.core.internal.parser.domain.{Annotations, JsonParserFactory} import amf.core.internal.parser.{Root, YMapOps} +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.unsafe.PlatformSecrets import amf.core.internal.utils.AmfStrings import amf.shapes.internal.annotations._ @@ -140,7 +141,7 @@ case class RamlJsonSchemaExpression(key: YNode, ctx.eh.violation(JsonSchemaFragmentNotFound, empty.id, s"could not find json schema fragment ${localPath.get} in file $basePath", - origin.valueAST) + origin.valueAST.location) empty } @@ -164,7 +165,7 @@ case class RamlJsonSchemaExpression(key: YNode, case class RamlExternalOasLibParser(ctx: RamlWebApiContext, text: String, valueAST: YNode, path: String) { - private implicit val errorHandler: IllegalTypeHandler = ctx.eh + private implicit val errorHandler: IllegalTypeHandler = new SYamlAMFParserErrorHandler(ctx.eh) def parse(): Unit = { // todo: should we add string begin position to each node position? in order to have the positions relatives to root api intead of absolut to text @@ -273,7 +274,7 @@ case class RamlJsonSchemaExpression(key: YNode, case None => val shape = SchemaShape() adopt(shape) - ctx.eh.violation(UnableToParseJsonSchema, shape.id, "Cannot parse JSON Schema", value) + ctx.eh.violation(UnableToParseJsonSchema, shape.id, "Cannot parse JSON Schema", value.location) shape } } diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlXmlSchemaExpression.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlXmlSchemaExpression.scala index 5f19d2e26c..c9d41dd32d 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlXmlSchemaExpression.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/parser/external/RamlXmlSchemaExpression.scala @@ -118,7 +118,7 @@ case class RamlXmlSchemaExpression(key: YNode, ctx.eh.violation(InvalidXmlSchemaType, shape.id, "Cannot parse XML Schema expression out of a non string value", - value) + value.location) } private def emptySchemaShape = { diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/reference/RamlReferenceHandler.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/reference/RamlReferenceHandler.scala index 840488c2ad..a1cb0b58c6 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/reference/RamlReferenceHandler.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/spec/raml/reference/RamlReferenceHandler.scala @@ -8,6 +8,7 @@ import amf.core.client.scala.parse.TaggedReferences.BuReferenceTagger import amf.core.client.scala.parse.document._ import amf.core.internal.annotations.SourceAST import amf.core.internal.parser.CompilerContext +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.validation.CoreValidations.UnresolvedReference import amf.shapes.internal.validation.definitions.ShapeParserSideValidations.InvalidFragmentType import org.yaml.model.YNode.MutRef @@ -43,7 +44,7 @@ class RamlReferenceHandler(plugin: AMFParsePlugin) extends ApiReferenceHandler(p reference.unit.tagReference(unit.location().getOrElse(unit.id), r) resolved.map(res => { reference.unit.addReference(res.unit) - r.refs.foreach { refContainer => + r.refs.foreach { case refContainer: SYamlRefContainer => refContainer.node match { case mut: MutRef => res.unit.references.foreach(u => compilerContext.parserContext.addSonRef(u)) @@ -51,7 +52,7 @@ class RamlReferenceHandler(plugin: AMFParsePlugin) extends ApiReferenceHandler(p case other => compilerContext.violation(InvalidFragmentType, "Cannot inline a fragment in a not mutable node", - other) + other.location) } // not meaning, only for collect all futures, not matter the type } @@ -74,8 +75,9 @@ class RamlReferenceHandler(plugin: AMFParsePlugin) extends ApiReferenceHandler(p private def evaluateUnresolvedReference(compilerContext: CompilerContext, r: Reference, e: Throwable): Unit = { if (!r.isInferred) { - val nodes = r.refs.map(_.node) - nodes.foreach(compilerContext.violation(UnresolvedReference, r.url, e.getMessage, _)) + r.refs.foreach { case ref: ASTRefContainer => + compilerContext.violation(UnresolvedReference, r.url, e.getMessage, ref.pos) + } } } @@ -84,7 +86,7 @@ class RamlReferenceHandler(plugin: AMFParsePlugin) extends ApiReferenceHandler(p case e: ExternalFragment if isRamlOrYaml(e.encodes) => Right( - YamlParser(e.encodes.raw.value(), e.location().getOrElse(""))(ctx.eh) + YamlParser(e.encodes.raw.value(), e.location().getOrElse(""))(new SYamlAMFParserErrorHandler(ctx.eh)) .withIncludeTag("!include") .document()) case e: ExternalFragment => diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/ValidationTransformationPipeline.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/ValidationTransformationPipeline.scala index 5b7e34a4f0..48f0ea8afe 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/ValidationTransformationPipeline.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/ValidationTransformationPipeline.scala @@ -1,13 +1,8 @@ package amf.apicontract.internal.transformation -import amf.apicontract.internal.spec.common.transformation.stage.{ - AnnotationRemovalStage, - MediaTypeResolutionStage, - PayloadAndParameterResolutionStage, - ResponseExamplesResolutionStage -} +import amf.apicontract.internal.spec.common.transformation.stage.{AnnotationRemovalStage, MediaTypeResolutionStage, PayloadAndParameterResolutionStage, ResponseExamplesResolutionStage} import amf.apicontract.internal.transformation.stages.ExtensionsResolutionStage -import amf.core.client.common.validation.{Async20Profile, Oas30Profile, ProfileName} +import amf.core.client.common.validation.{Async20Profile, GrpcProfile, Oas30Profile, ProfileName} import amf.core.client.scala.errorhandling.AMFErrorHandler import amf.core.client.scala.model.document.BaseUnit import amf.core.client.scala.transform.{TransformationPipeline, TransformationPipelineRunner, TransformationStep} @@ -37,6 +32,7 @@ object ValidationTransformationPipeline { val pipeline = profile match { case Oas30Profile => Oas30ValidationTransformationPipeline() case Async20Profile => Async20CachePipeline() + //case GrpcProfile => GrpcTransformationPipeline() case _ => new ValidationTransformationPipeline(profile) } val runner = TransformationPipelineRunner(eh) diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/stages/ExtendsResolutionStage.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/stages/ExtendsResolutionStage.scala index d24b9adab0..686a59c4d1 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/stages/ExtendsResolutionStage.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/transformation/stages/ExtendsResolutionStage.scala @@ -1,11 +1,6 @@ package amf.apicontract.internal.transformation.stages -import amf.apicontract.client.scala.model.domain.templates.{ - ParametrizedResourceType, - ParametrizedTrait, - ResourceType, - Trait -} +import amf.apicontract.client.scala.model.domain.templates.{ParametrizedResourceType, ParametrizedTrait, ResourceType, Trait} import amf.apicontract.client.scala.model.domain.{EndPoint, Operation} import amf.apicontract.internal.spec.common.WebApiDeclarations.{ErrorEndPoint, ErrorTrait} import amf.apicontract.internal.spec.common.emitter.{Raml10EndPointEmitter, Raml10OperationEmitter} @@ -23,6 +18,7 @@ import amf.core.internal.transform.stages.ReferenceResolutionStage import amf.core.internal.annotations.{ErrorDeclaration, SourceAST} import amf.core.internal.metamodel.domain.DomainElementModel import amf.core.internal.parser.{CompilerConfiguration, LimitedParseConfig, YNodeLikeOps} +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.core.internal.render.SpecOrdering import amf.core.internal.unsafe.PlatformSecrets import amf.core.internal.utils.AliasCounter @@ -148,7 +144,7 @@ class ExtendsResolutionStage(profile: ProfileName, val keepEditingInfo: Boolean, val branches = ListBuffer[BranchContainer]() - val operationTree = OperationTreeBuilder(operation)(IgnoringErrorHandler).build() + val operationTree = OperationTreeBuilder(operation)(new SYamlAMFParserErrorHandler(IgnoringErrorHandler)).build() val branchesObj = Branches()(extendsContext) // Method branch @@ -198,7 +194,14 @@ class ExtendsResolutionStage(profile: ProfileName, val keepEditingInfo: Boolean, .getOrElse("") } - private def resourcePath(endPoint: EndPoint) = endPoint.path.value().replaceAll("\\{ext\\}", "") + private def resourcePath(endPoint: EndPoint) = { + endPoint.path.option() match { + case Some(path) => + path.replaceAll("\\{ext\\}", "") + case _ => // ignore + "" + } + } private def findExtendsPredicate(element: DomainElement): Boolean = { if (visited.contains(element.id) && !fromOverlay) true diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/definitions/ParserSideValidations.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/definitions/ParserSideValidations.scala index 6494bfdfd2..06b8bc0732 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/definitions/ParserSideValidations.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/definitions/ParserSideValidations.scala @@ -256,6 +256,11 @@ object ParserSideValidations extends Validations { "Unable to parse shape" ) + val InvalidAst = validation( + "invalid-ast", + "Failed semantic validation for parsed AST" + ) + val JsonSchemaFragmentNotFound = validation( "json-schema-fragment-not-found", "Json schema fragment not found" diff --git a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/CustomShaclFunctions.scala b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/CustomShaclFunctions.scala index 00ebe3c78a..bd7820fa00 100644 --- a/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/CustomShaclFunctions.scala +++ b/amf-api-contract/shared/src/main/scala/amf/apicontract/internal/validation/shacl/CustomShaclFunctions.scala @@ -3,11 +3,7 @@ package amf.apicontract.internal.validation.shacl import amf.apicontract.client.scala.model.domain.security.{OAuth2Settings, OpenIdConnectSettings} import amf.apicontract.internal.metamodel.domain.api.BaseApiModel import amf.apicontract.internal.metamodel.domain.bindings.{BindingHeaders, BindingQuery, HttpMessageBindingModel} -import amf.apicontract.internal.metamodel.domain.security.{ - OAuth2SettingsModel, - OpenIdConnectSettingsModel, - SecuritySchemeModel -} +import amf.apicontract.internal.metamodel.domain.security.{OAuth2SettingsModel, OpenIdConnectSettingsModel, SecuritySchemeModel} import amf.apicontract.internal.metamodel.domain.{CallbackModel, CorrelationIdModel, ParameterModel, TemplatedLinkModel} import amf.apicontract.internal.validation.runtimeexpression.{AsyncExpressionValidator, Oas3ExpressionValidator} import amf.core.client.scala.model.domain._ @@ -17,11 +13,8 @@ import amf.core.internal.metamodel.domain.extensions.PropertyShapeModel import amf.core.internal.utils.RegexConverter import amf.shapes.client.scala.model.domain.{FileShape, IriTemplateMapping, NodeShape, ScalarShape} import amf.shapes.internal.domain.metamodel._ -import amf.validation.internal.shacl.custom.CustomShaclValidator.{ - CustomShaclFunction, - CustomShaclFunctions, - ValidationInfo -} +import amf.validation.internal.shacl.custom.CustomShaclValidator +import amf.validation.internal.shacl.custom.CustomShaclValidator.{CustomShaclFunction, CustomShaclFunctions, ValidationInfo} import java.util.regex.Pattern diff --git a/amf-cli/js/src/main/scala/amf/cli/client/Main.scala b/amf-cli/js/src/main/scala/amf/cli/client/Main.scala index c554b1bfd3..2cbb4ff75b 100644 --- a/amf-cli/js/src/main/scala/amf/cli/client/Main.scala +++ b/amf-cli/js/src/main/scala/amf/cli/client/Main.scala @@ -4,6 +4,7 @@ import amf.apicontract.client.scala.{AMFConfiguration, AsyncAPIConfiguration, We import amf.cli.internal.commands._ import amf.core.client.scala.config.event.{AMFEventReportBuilder, TimedEventListener} import amf.core.internal.unsafe.PlatformSecrets +import amf.grpc.client.scala.GRPCConfiguration import java.time.Instant import scala.concurrent.ExecutionContext.Implicits.global @@ -20,7 +21,7 @@ import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} object Main extends PlatformSecrets { private val reportBuilder = AMFEventReportBuilder() - private var amfConfig: AMFConfiguration = WebAPIConfiguration.WebAPI().merge(AsyncAPIConfiguration.Async20()) + private var amfConfig: AMFConfiguration = WebAPIConfiguration.WebAPI().merge(AsyncAPIConfiguration.Async20()).merge(GRPCConfiguration.GRPC()) private def enableTracing(cfg: ParserConfig): AMFConfiguration = if (cfg.trace) { diff --git a/amf-cli/jvm/src/main/scala/amf/cli/client/Main.scala b/amf-cli/jvm/src/main/scala/amf/cli/client/Main.scala index 08d387d5d2..7862a368cd 100644 --- a/amf-cli/jvm/src/main/scala/amf/cli/client/Main.scala +++ b/amf-cli/jvm/src/main/scala/amf/cli/client/Main.scala @@ -3,7 +3,9 @@ package amf.cli.client import amf.apicontract.client.scala.{AMFConfiguration, AsyncAPIConfiguration, WebAPIConfiguration} import amf.cli.internal.commands._ import amf.core.client.scala.config.event.{AMFEventReportBuilder, TimedEventListener} +import amf.core.internal.remote.Grpc import amf.core.internal.unsafe.PlatformSecrets +import amf.grpc.client.scala.GRPCConfiguration import java.time.Instant import scala.concurrent.ExecutionContext.Implicits.global @@ -17,7 +19,7 @@ import scala.language.postfixOps object Main extends PlatformSecrets { private val reportBuilder = AMFEventReportBuilder() - private var amfConfig: AMFConfiguration = WebAPIConfiguration.WebAPI().merge(AsyncAPIConfiguration.Async20()) + private var amfConfig: AMFConfiguration = WebAPIConfiguration.WebAPI().merge(AsyncAPIConfiguration.Async20()).merge(GRPCConfiguration.GRPC()) private def enableTracing(cfg: ParserConfig, config: AMFConfiguration) = { if (cfg.trace) { diff --git a/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CmdLineParser.scala b/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CmdLineParser.scala index a6e63720c0..1f3e2e53a5 100644 --- a/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CmdLineParser.scala +++ b/amf-cli/shared/src/main/scala/amf/cli/internal/commands/CmdLineParser.scala @@ -12,6 +12,8 @@ object CmdLineParser { Oas30Profile.profile == f || Oas20Profile.profile == f || AmfProfile.profile == f || + GrpcProfile.profile == f || + Proto3Profile.profile == f || Aml.name == f } @@ -41,7 +43,7 @@ object CmdLineParser { success } else { failure( - s"Invalid value $f, values supported: '${Raml10.name}', '${Raml08.name}', '${Oas20.name}', '${Aml.name}', '${Amf.name}'") + s"Invalid value $f, values supported: '${Raml10.name}', '${Raml08.name}', '${Oas20.name}', '${Aml.name}', '${Amf.name}', '${Proto3.name}', ${Grpc.name}") } }) .action((f, c) => c.copy(inputFormat = Some(f))) @@ -59,7 +61,7 @@ object CmdLineParser { success } else { failure( - s"Invalid value $f, values supported: '${Raml10.name}', '${Raml08.name}', '${Oas20.name}', '${Aml.name}', '${Amf.name}'") + s"Invalid value $f, values supported: '${Raml10.name}', '${Raml08.name}', '${Oas20.name}', '${Aml.name}', '${Amf.name}', '${Proto3.name}', ${Grpc.name}") } }) .action((f, c) => c.copy(validationProfile = f)) @@ -116,7 +118,7 @@ object CmdLineParser { success } else { failure( - s"Invalid value $f, values supported: '${Raml10.name}', '${Raml08.name}', '${Oas20.name}', '${Aml.name}', '${Amf.name}'") + s"Invalid value $f, values supported: '${Raml10.name}', '${Raml08.name}', '${Oas20.name}', '${Aml.name}', '${Amf.name}', '${Proto3.name}', ${Grpc.name}") } }) .action((f, c) => c.copy(outputFormat = Some(f))) diff --git a/amf-cli/shared/src/main/scala/amf/cli/internal/commands/TranslateCommand.scala b/amf-cli/shared/src/main/scala/amf/cli/internal/commands/TranslateCommand.scala index 72b8f8923c..8e05384284 100644 --- a/amf-cli/shared/src/main/scala/amf/cli/internal/commands/TranslateCommand.scala +++ b/amf-cli/shared/src/main/scala/amf/cli/internal/commands/TranslateCommand.scala @@ -16,10 +16,10 @@ class TranslateCommand(override val platform: Platform) extends CommandHelper { def run(parserConfig: ParserConfig, configuration: AMFConfiguration): Future[Any] = { implicit val context: ExecutionContext = configuration.getExecutionContext val res: Future[Any] = for { - _ <- AMFInit(configuration) - model <- parseInput(parserConfig, configuration) - _ <- checkValidation(parserConfig, model, configuration) - model <- resolve(parserConfig, model, configuration) + _ <- AMFInit(configuration) + model <- parseInput(parserConfig, configuration) + _ <- checkValidation(parserConfig, model, configuration) + model <- resolve(parserConfig, model, configuration) generated <- generateOutput(parserConfig, model, configuration) } yield { generated diff --git a/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.expanded.jsonld b/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.expanded.jsonld index 388a483deb..cf7a2310dc 100644 --- a/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.expanded.jsonld @@ -276,7 +276,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -1189,13 +1189,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -1208,10 +1208,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1221,7 +1221,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -1234,7 +1234,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -1247,7 +1247,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -1260,7 +1260,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -1277,7 +1277,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -1659,13 +1659,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -1678,10 +1678,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1691,7 +1691,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -1704,7 +1704,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -1717,7 +1717,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -1730,7 +1730,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -1784,7 +1784,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -2330,13 +2330,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -2349,10 +2349,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2362,7 +2362,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -2375,7 +2375,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -2388,7 +2388,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -2401,7 +2401,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -2418,7 +2418,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -2929,13 +2929,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -2948,10 +2948,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2961,7 +2961,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -2974,7 +2974,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -2987,7 +2987,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -3000,7 +3000,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" diff --git a/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.flattened.jsonld b/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.flattened.jsonld index 815a782b72..d4ca99f861 100644 --- a/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-complex-example/api.resolved.flattened.jsonld @@ -99,10 +99,10 @@ "http://a.ml/vocabularies/apiContract#path": "/pets", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -120,10 +120,10 @@ "http://a.ml/vocabularies/apiContract#path": "/pets/{id}", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -231,7 +231,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -261,12 +261,12 @@ "http://a.ml/vocabularies/apiContract#operationId": "findPets", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -296,7 +296,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "addPet", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map" } ] }, @@ -312,7 +312,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -342,12 +342,12 @@ "http://a.ml/vocabularies/apiContract#operationId": "find pet by id", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -377,7 +377,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "deletePet", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map" } ] }, @@ -557,28 +557,28 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_4" } ] }, @@ -643,28 +643,28 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_4" } ] }, @@ -735,28 +735,28 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_4" } ] }, @@ -818,28 +818,28 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/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/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_5" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_4" } ] }, @@ -959,32 +959,32 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(42,8)-(58,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets", "http://a.ml/vocabularies/document-source-maps#value": "[(31,6)-(59,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(31,13)-(59,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(33,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(33,8)-(33,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(32,8)-(32,1549)]" }, @@ -1073,32 +1073,32 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(74,8)-(87,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet", "http://a.ml/vocabularies/document-source-maps#value": "[(60,6)-(88,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(60,14)-(88,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(62,8)-(62,31)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(62,8)-(62,31)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/post/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets/addPet/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(61,8)-(61,80)]" }, @@ -1193,32 +1193,32 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(104,8)-(117,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id", "http://a.ml/vocabularies/document-source-maps#value": "[(91,6)-(118,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(91,13)-(118,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(93,8)-(93,39)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(93,8)-(93,39)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/find%20pet%20by%20id/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(92,8)-(92,105)]" }, @@ -1302,32 +1302,32 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(132,8)-(142,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet", "http://a.ml/vocabularies/document-source-maps#value": "[(119,6)-(143,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(119,16)-(143,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(121,8)-(121,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(121,8)-(121,34)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/delete/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-complex-example/spec/swagger.json#/web-api/end-points/%2Fpets%2F%7Bid%7D/deletePet/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(120,8)-(120,70)]" }, diff --git a/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.expanded.jsonld b/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.expanded.jsonld index 12fe6981da..0903e543b3 100644 --- a/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.expanded.jsonld @@ -45,7 +45,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -182,13 +182,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/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/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -201,7 +201,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -214,7 +214,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -227,10 +227,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -281,7 +281,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -418,13 +418,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/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/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -437,7 +437,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -450,7 +450,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -463,10 +463,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -517,7 +517,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -654,13 +654,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/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/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -673,7 +673,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -686,7 +686,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -699,10 +699,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -753,7 +753,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -1865,13 +1865,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/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/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -1884,7 +1884,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -1897,7 +1897,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -1910,10 +1910,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1964,7 +1964,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -2101,13 +2101,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/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/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -2120,7 +2120,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -2133,7 +2133,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -2146,10 +2146,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get" + "@value": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.flattened.jsonld b/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.flattened.jsonld index b43a9aecdc..bd8f055f9a 100644 --- a/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/production/oas-multiple-example.json.flattened.jsonld @@ -43,7 +43,7 @@ "http://a.ml/vocabularies/apiContract#path": "/examples", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -61,7 +61,7 @@ "http://a.ml/vocabularies/apiContract#path": "/exampleType", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -79,7 +79,7 @@ "http://a.ml/vocabularies/apiContract#path": "/exampleInTypeAndResource", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -97,7 +97,7 @@ "http://a.ml/vocabularies/apiContract#path": "/examplesInResource", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -115,7 +115,7 @@ "http://a.ml/vocabularies/apiContract#path": "/examplesInResourceAndType", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -153,7 +153,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -171,7 +171,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "GET_examples", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map" } ] }, @@ -187,7 +187,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -205,7 +205,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "GET_exampleType", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map" } ] }, @@ -221,7 +221,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -239,7 +239,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "GET_exampleInTypeAndResource", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map" } ] }, @@ -255,7 +255,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -273,7 +273,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "GET_examplesInResource", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map" } ] }, @@ -289,7 +289,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -307,7 +307,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "GET_examplesInResourceAndType", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map" } ] }, @@ -374,22 +374,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/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/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_2" } ] }, @@ -420,22 +420,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/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/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_2" } ] }, @@ -466,22 +466,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/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/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_2" } ] }, @@ -512,22 +512,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/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/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_2" } ] }, @@ -558,22 +558,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/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/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_2" } ] }, @@ -611,23 +611,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(36,8)-(49,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(32,8)-(32,37)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(32,8)-(32,37)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2Fexamples/GET_examples", "http://a.ml/vocabularies/document-source-maps#value": "[(31,6)-(50,7)]" }, { @@ -659,23 +659,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(58,8)-(65,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(54,40)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(54,8)-(54,40)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleType/GET_exampleType", "http://a.ml/vocabularies/document-source-maps#value": "[(53,6)-(66,7)]" }, { @@ -707,23 +707,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(74,8)-(87,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(70,8)-(70,53)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(70,8)-(70,53)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexampleInTypeAndResource/GET_exampleInTypeAndResource", "http://a.ml/vocabularies/document-source-maps#value": "[(69,6)-(88,7)]" }, { @@ -755,23 +755,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(96,8)-(125,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(92,8)-(92,47)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(92,8)-(92,47)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResource/GET_examplesInResource", "http://a.ml/vocabularies/document-source-maps#value": "[(91,6)-(126,7)]" }, { @@ -803,23 +803,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(134,8)-(153,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(130,8)-(130,54)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(130,8)-(130,54)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/get", + "@id": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/production/oas-multiple-example.json#/web-api/end-points/%2FexamplesInResourceAndType/GET_examplesInResourceAndType", "http://a.ml/vocabularies/document-source-maps#value": "[(129,6)-(154,7)]" }, { diff --git a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.expanded.jsonld index b42bc1d80e..9741a10b8a 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.expanded.jsonld @@ -40,7 +40,7 @@ ], "apiContract:supportedOperation": [ { - "@id": "#/async-api/end-points/someChannel/publish", + "@id": "#/async-api/end-points/someChannel/baseId", "@type": [ "apiContract:Operation", "doc:DomainElement" @@ -68,7 +68,7 @@ "smaps": { "lexical": { "apiContract:operationId": "[(8,6)-(9,0)]", - "#/async-api/end-points/someChannel/publish": "[(7,4)-(14,0)]" + "#/async-api/end-points/someChannel/baseId": "[(7,4)-(14,0)]" } } } diff --git a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.flattened.jsonld index 9a7fea5a00..0f28da5119 100644 --- a/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/async20/operation-trait-merging-and-removed.flattened.jsonld @@ -36,7 +36,7 @@ "apiContract:path": "someChannel", "apiContract:supportedOperation": [ { - "@id": "#/async-api/end-points/someChannel/publish" + "@id": "#/async-api/end-points/someChannel/baseId" } ], "smaps": { @@ -47,7 +47,7 @@ } }, { - "@id": "#/async-api/end-points/someChannel/publish", + "@id": "#/async-api/end-points/someChannel/baseId", "@type": [ "apiContract:Operation", "doc:DomainElement" @@ -59,7 +59,7 @@ "smaps": { "lexical": { "apiContract:operationId": "[(8,6)-(9,0)]", - "#/async-api/end-points/someChannel/publish": "[(7,4)-(14,0)]" + "#/async-api/end-points/someChannel/baseId": "[(7,4)-(14,0)]" } } }, diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld index b7aeec9b5b..9b033bb6ac 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.expanded.jsonld @@ -9,7 +9,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld index d11a3cccab..038c4662e2 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-binding-nested-schema/golden.flattened.jsonld @@ -1,7 +1,7 @@ { "@graph": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -99,7 +99,7 @@ "http://a.ml/vocabularies/document#Unit" ], "http://a.ml/vocabularies/document#encodes": { - "@id": "testId/subscribe" + "@id": "testId/traitOperationId" }, "http://a.ml/vocabularies/document#version": "3.1.0", "http://a.ml/vocabularies/document#root": false diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld index cbd4cc39f7..8540d0cbb0 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.expanded.jsonld @@ -9,7 +9,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld index dcaed1b0eb..1c2c8567c5 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-different-binding/golden.flattened.jsonld @@ -1,7 +1,7 @@ { "@graph": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -125,7 +125,7 @@ "http://a.ml/vocabularies/document#Unit" ], "http://a.ml/vocabularies/document#encodes": { - "@id": "testId/subscribe" + "@id": "testId/traitOperationId" }, "http://a.ml/vocabularies/document#version": "3.1.0", "http://a.ml/vocabularies/document#root": false diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.expanded.jsonld index 09d80afd4f..3b29621deb 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.expanded.jsonld @@ -9,7 +9,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.flattened.jsonld index 356532962a..6f28574170 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-documentation/golden.flattened.jsonld @@ -1,7 +1,7 @@ { "@graph": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -34,7 +34,7 @@ "http://a.ml/vocabularies/document#Unit" ], "http://a.ml/vocabularies/document#encodes": { - "@id": "testId/subscribe" + "@id": "testId/traitOperationId" }, "http://a.ml/vocabularies/document#version": "3.1.0", "http://a.ml/vocabularies/document#root": false diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld index b7aeec9b5b..9b033bb6ac 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.expanded.jsonld @@ -9,7 +9,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld index d11a3cccab..038c4662e2 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-same-binding/golden.flattened.jsonld @@ -1,7 +1,7 @@ { "@graph": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -99,7 +99,7 @@ "http://a.ml/vocabularies/document#Unit" ], "http://a.ml/vocabularies/document#encodes": { - "@id": "testId/subscribe" + "@id": "testId/traitOperationId" }, "http://a.ml/vocabularies/document#version": "3.1.0", "http://a.ml/vocabularies/document#root": false diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.expanded.jsonld index dd508a8fe7..7d63f90ec5 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.expanded.jsonld @@ -9,7 +9,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.flattened.jsonld index 734b9c9bbd..255e84e05a 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-simple/golden.flattened.jsonld @@ -1,7 +1,7 @@ { "@graph": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -20,7 +20,7 @@ "http://a.ml/vocabularies/document#Unit" ], "http://a.ml/vocabularies/document#encodes": { - "@id": "testId/subscribe" + "@id": "testId/traitOperationId" }, "http://a.ml/vocabularies/document#version": "3.1.0", "http://a.ml/vocabularies/document#root": false diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.expanded.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.expanded.jsonld index 51097e9005..ecdd9ccbc3 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.expanded.jsonld @@ -9,7 +9,7 @@ ], "http://a.ml/vocabularies/document#encodes": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" diff --git a/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.flattened.jsonld b/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.flattened.jsonld index 07ecdc71d5..0ec6cd3381 100644 --- a/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/resolution/merge/operation-tags/golden.flattened.jsonld @@ -1,7 +1,7 @@ { "@graph": [ { - "@id": "testId/subscribe", + "@id": "testId/traitOperationId", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -32,7 +32,7 @@ "http://a.ml/vocabularies/document#Unit" ], "http://a.ml/vocabularies/document#encodes": { - "@id": "testId/subscribe" + "@id": "testId/traitOperationId" }, "http://a.ml/vocabularies/document#version": "3.1.0", "http://a.ml/vocabularies/document#root": false diff --git a/amf-cli/shared/src/test/resources/upanddown/collection-format.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/collection-format.expanded.jsonld index 7782394260..05611a109c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/collection-format.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/collection-format.expanded.jsonld @@ -45,7 +45,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -682,13 +682,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/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/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -701,7 +701,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -714,7 +714,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -727,10 +727,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/collection-format.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/collection-format.flattened.jsonld index 2bf4e0fe60..8bb7d47202 100644 --- a/amf-cli/shared/src/test/resources/upanddown/collection-format.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/collection-format.flattened.jsonld @@ -31,7 +31,7 @@ "http://a.ml/vocabularies/apiContract#path": "/somepath", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -69,7 +69,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -84,7 +84,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "Some title", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map" } ] }, @@ -153,22 +153,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/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/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_2" } ] }, @@ -233,23 +233,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(10,13)-(32,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(11,8)-(11,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/collection-format.json#/web-api/end-points/%2Fsomepath/Some%20title", "http://a.ml/vocabularies/document-source-maps#value": "[(10,6)-(32,7)]" }, { diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/api.proto b/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/api.proto new file mode 100644 index 0000000000..032abdab7f --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/api.proto @@ -0,0 +1,82 @@ +syntax = "proto3"; + +import "library.proto"; +import "google/protobuf/descriptor.proto"; + +message MyOption { + string a = 1; + string b = 2; +} +extend google.protobuf.FieldOptions { + MyOption mystruct = 5124; +} + +option java_multiple_files = true; +option java_package = "io.grpc.examples.helloworld"; +option java_outer_classname = "HelloWorldProto"; +option objc_class_prefix = "HLW"; + +package helloworld; + +// The greeting service definition. +service Greeter { + option deprecated = true; + // Sends a greeting + rpc SayHello1 (HelloRequest) returns (HelloReply) { + option deprecated = true; + } + rpc SayHello2 (stream HelloRequest) returns (HelloReply) {} + rpc SayHello3 (HelloRequest) returns (stream HelloReply) {} + rpc SayHello4 (stream HelloRequest) returns (stream HelloReply) {} +} + +// The request message containing the user's name. +message HelloRequest { + option deprecated = true; + repeated string name = 1 [deprecated = true, packed = true]; + library.Wadus wadus = 2 [(mystruct) = { a: "hello"}]; + string other = 3 [deprecated = true]; +} + +message SampleMessage { + map searches = 3; + message NestedMessage1 { + string fa = 1; + NestedMessage2 fb = 2; + message NestedMessage2 { + string fa = 1; + } + } + NestedMessage1.NestedMessage2 fc = 10; + .helloworld.HelloRequest fd = 11; + oneof test_oneof { + string name = 4; + HelloRequest sub_message = 9; + } +} + +enum Corpus { + UNIVERSAL = 0; +} + +message SearchRequest { + string query = 1; + int32 page_number = 2; + int32 result_per_page = 3; + enum Corpus { + UNIVERSAL = 0; + WEB = 1; + IMAGES = 2; + LOCAL = 3; + NEWS = 4; + PRODUCTS = 5; + VIDEO = 6; + } + Corpus corpus = 4; +} + +// The response message containing the greetings +message HelloReply { + string message = 1; + SearchRequest.Corpus other = 2; +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/dumped.proto b/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/dumped.proto new file mode 100644 index 0000000000..21ebaf2ff8 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/dumped.proto @@ -0,0 +1,82 @@ +syntax = "proto3"; + +import "library.proto"; +import "google/protobuf/descriptor.proto"; + + +message MyOption { + string a = 1; + string b = 2; +} +extend google.protobuf.FieldOptions { + MyOption mystruct = 5124; +} +option java_multiple_files = true; +option java_package = "io.grpc.examples.helloworld"; +option java_outer_classname = "HelloWorldProto"; +option objc_class_prefix = "HLW"; +package helloworld; + + +service Greeter { + option deprecated = true; + rpc SayHello1(HelloRequest) returns (HelloReply) { + option deprecated = true; + } + rpc SayHello2(stream HelloRequest) returns (HelloReply) {} + rpc SayHello3(HelloRequest) returns (stream HelloReply) {} + rpc SayHello4(stream HelloRequest) returns (stream HelloReply) {} +} + + + + +message HelloRequest { + option deprecated = true; + repeated string name = 1 [ + deprecated = true, + packed = true + ]; + library.Wadus wadus = 2 [(mystruct) = { a: "hello"}]; + string other = 3 [deprecated = true]; +} +message SampleMessage { + map searches = 3; + message NestedMessage1 { + string fa = 1; + NestedMessage2 fb = 2; + message NestedMessage2 { + string fa = 1; + } + } + NestedMessage1.NestedMessage2 fc = 10; + .helloworld.HelloRequest fd = 11; + oneof test_oneof { + string name = 4; + HelloRequest sub_message = 9; + } +} +enum Corpus { + UNIVERSAL = 0; +} +message SearchRequest { + string query = 1; + int32 page_number = 2; + int32 result_per_page = 3; + enum Corpus { + UNIVERSAL = 0; + WEB = 1; + IMAGES = 2; + LOCAL = 3; + NEWS = 4; + PRODUCTS = 5; + VIDEO = 6; + } + Corpus corpus = 4; +} + + +message HelloReply { + string message = 1; + SearchRequest.Corpus other = 2; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/library.proto b/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/library.proto new file mode 100644 index 0000000000..1b238065b7 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/cycle/grpc/simple/library.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package library; + +message Wadus { + repeated string message = 2; +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.expanded.jsonld index b124851a86..d349c4f488 100644 --- a/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.expanded.jsonld @@ -55,7 +55,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -158,13 +158,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/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/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -177,7 +177,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -190,7 +190,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -203,10 +203,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.flattened.jsonld index 1efe940e0a..e2afcd45bd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/declared-responses.json.flattened.jsonld @@ -33,7 +33,7 @@ "http://a.ml/vocabularies/core#description": "and this description!", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -71,7 +71,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -86,7 +86,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "Some title", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map" } ] }, @@ -159,22 +159,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/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/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_2" } ] }, @@ -213,23 +213,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(14,8)-(18,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(13,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/declared-responses.json#/web-api/end-points/%2Flevelzero/Some%20title", "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(19,7)]" }, { diff --git a/amf-cli/shared/src/test/resources/upanddown/full-example.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/full-example.json.expanded.jsonld index 327409c24a..07c666dee6 100644 --- a/amf-cli/shared/src/test/resources/upanddown/full-example.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/full-example.json.expanded.jsonld @@ -811,7 +811,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -2518,13 +2518,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/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/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -2537,10 +2537,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2550,7 +2550,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -2563,7 +2563,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -2576,7 +2576,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" diff --git a/amf-cli/shared/src/test/resources/upanddown/full-example.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/full-example.json.flattened.jsonld index cbff059970..f92feef2c7 100644 --- a/amf-cli/shared/src/test/resources/upanddown/full-example.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/full-example.json.flattened.jsonld @@ -153,7 +153,7 @@ "http://a.ml/vocabularies/core#description": "and this description!", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title" } ], "http://a.ml/vocabularies/apiContract#parameter": [ @@ -351,7 +351,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -374,7 +374,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "Some title", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map" } ] }, @@ -754,25 +754,25 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/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/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_4" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_3" } ] }, @@ -1194,27 +1194,27 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(111,8)-(132,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title", "http://a.ml/vocabularies/document-source-maps#value": "[(65,6)-(133,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(66,8)-(66,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(65,13)-(133,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/full-example.json#/web-api/end-points/%2Flevelzero%2F%7Btwo%7D%2Flevel-one%2F%7Bthree%7D/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(66,8)-(66,35)]" }, diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto new file mode 100644 index 0000000000..6ed8a23cf5 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto @@ -0,0 +1,158 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "google.golang.org/protobuf/types/known/anypb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "AnyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// `Any` contains an arbitrary serialized protocol buffer message along with a +// URL that describes the type of the serialized message. +// +// Protobuf library provides support to pack/unpack Any values in the form +// of utility functions or additional generated methods of the Any type. +// +// Example 1: Pack and unpack a message in C++. +// +// Foo foo = ...; +// Any any; +// any.PackFrom(foo); +// ... +// if (any.UnpackTo(&foo)) { +// ... +// } +// +// Example 2: Pack and unpack a message in Java. +// +// Foo foo = ...; +// Any any = Any.pack(foo); +// ... +// if (any.is(Foo.class)) { +// foo = any.unpack(Foo.class); +// } +// +// Example 3: Pack and unpack a message in Python. +// +// foo = Foo(...) +// any = Any() +// any.Pack(foo) +// ... +// if any.Is(Foo.DESCRIPTOR): +// any.Unpack(foo) +// ... +// +// Example 4: Pack and unpack a message in Go +// +// foo := &pb.Foo{...} +// any, err := anypb.New(foo) +// if err != nil { +// ... +// } +// ... +// foo := &pb.Foo{} +// if err := any.UnmarshalTo(foo); err != nil { +// ... +// } +// +// The pack methods provided by protobuf library will by default use +// 'type.googleapis.com/full.type.name' as the type URL and the unpack +// methods only use the fully qualified type name after the last '/' +// in the type URL, for example "foo.bar.com/x/y.z" will yield type +// name "y.z". +// +// +// JSON +// ==== +// The JSON representation of an `Any` value uses the regular +// representation of the deserialized, embedded message, with an +// additional field `@type` which contains the type URL. Example: +// +// package google.profile; +// message Person { +// string first_name = 1; +// string last_name = 2; +// } +// +// { +// "@type": "type.googleapis.com/google.profile.Person", +// "firstName": , +// "lastName": +// } +// +// If the embedded message type is well-known and has a custom JSON +// representation, that representation will be embedded adding a field +// `value` which holds the custom JSON in addition to the `@type` +// field. Example (for message [google.protobuf.Duration][]): +// +// { +// "@type": "type.googleapis.com/google.protobuf.Duration", +// "value": "1.212s" +// } +// +message Any { + // A URL/resource name that uniquely identifies the type of the serialized + // protocol buffer message. This string must contain at least + // one "/" character. The last segment of the URL's path must represent + // the fully qualified name of the type (as in + // `path/google.protobuf.Duration`). The name should be in a canonical form + // (e.g., leading "." is not accepted). + // + // In practice, teams usually precompile into the binary all types that they + // expect it to use in the context of Any. However, for URLs which use the + // scheme `http`, `https`, or no scheme, one can optionally set up a type + // server that maps type URLs to message definitions as follows: + // + // * If no scheme is provided, `https` is assumed. + // * An HTTP GET on the URL must yield a [google.protobuf.Type][] + // value in binary format, or produce an error. + // * Applications are allowed to cache lookup results based on the + // URL, or have them precompiled into a binary to avoid any + // lookup. Therefore, binary compatibility needs to be preserved + // on changes to types. (Use versioned type names to manage + // breaking changes.) + // + // Note: this functionality is not currently available in the official + // protobuf release, and it is not used for type URLs beginning with + // type.googleapis.com. + // + // Schemes other than `http`, `https` (or the empty scheme) might be + // used with implementation specific semantics. + // + string type_url = 1; + + // Must be a valid serialized protocol buffer of the above specified type. + bytes value = 2; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto.expanded.jsonld new file mode 100644 index 0000000000..0be068f12e --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto.expanded.jsonld @@ -0,0 +1,565 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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/google/any.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/anypb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,20)-(36,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,29)-(39,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "AnyProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,30)-(38,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,22)-(37,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,27)-(40,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(154,2)-(154,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(154,2)-(154,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,2)-(157,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,2)-(157,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,0)-(158,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto.flattened.jsonld new file mode 100644 index 0000000000..958050fd7f --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto.flattened.jsonld @@ -0,0 +1,482 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/anypb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "AnyProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,20)-(36,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,29)-(39,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,30)-(38,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,22)-(37,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,27)-(40,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "@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/google/any.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Any", + "http://a.ml/vocabularies/core#name": "Any", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,2)-(154,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,2)-(157,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,2)-(154,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,2)-(157,2)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto new file mode 100644 index 0000000000..d22114b836 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto @@ -0,0 +1,208 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +import "source_context.proto"; +import "type.proto"; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "ApiProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option go_package = "google.golang.org/protobuf/types/known/apipb"; + +// Api is a light-weight descriptor for an API Interface. +// +// Interfaces are also described as "protocol buffer services" in some contexts, +// such as by the "service" keyword in a .proto file, but they are different +// from API Services, which represent a concrete implementation of an interface +// as opposed to simply a description of methods and bindings. They are also +// sometimes simply referred to as "APIs" in other contexts, such as the name of +// this message itself. See https://cloud.google.com/apis/design/glossary for +// detailed terminology. +message Api { + // The fully qualified name of this interface, including package name + // followed by the interface's simple name. + string name = 1; + + // The methods of this interface, in unspecified order. + repeated Method methods = 2; + + // Any metadata attached to the interface. + repeated Option options = 3; + + // A version string for this interface. If specified, must have the form + // `major-version.minor-version`, as in `1.10`. If the minor version is + // omitted, it defaults to zero. If the entire version field is empty, the + // major version is derived from the package name, as outlined below. If the + // field is not empty, the version in the package name will be verified to be + // consistent with what is provided here. + // + // The versioning schema uses [semantic + // versioning](http://semver.org) where the major version number + // indicates a breaking change and the minor version an additive, + // non-breaking change. Both version numbers are signals to users + // what to expect from different versions, and should be carefully + // chosen based on the product plan. + // + // The major version is also reflected in the package name of the + // interface, which must end in `v`, as in + // `google.feature.v1`. For major versions 0 and 1, the suffix can + // be omitted. Zero major versions must only be used for + // experimental, non-GA interfaces. + // + // + string version = 4; + + // Source context for the protocol buffer service represented by this + // message. + SourceContext source_context = 5; + + // Included interfaces. See [Mixin][]. + repeated Mixin mixins = 6; + + // The source syntax of the service. + Syntax syntax = 7; +} + +// Method represents a method of an API interface. +message Method { + // The simple name of this method. + string name = 1; + + // A URL of the input message type. + string request_type_url = 2; + + // If true, the request is streamed. + bool request_streaming = 3; + + // The URL of the output message type. + string response_type_url = 4; + + // If true, the response is streamed. + bool response_streaming = 5; + + // Any metadata attached to the method. + repeated Option options = 6; + + // The source syntax of this method. + Syntax syntax = 7; +} + +// Declares an API Interface to be included in this interface. The including +// interface must redeclare all the methods from the included interface, but +// documentation and options are inherited as follows: +// +// - If after comment and whitespace stripping, the documentation +// string of the redeclared method is empty, it will be inherited +// from the original method. +// +// - Each annotation belonging to the service config (http, +// visibility) which is not set in the redeclared method will be +// inherited. +// +// - If an http annotation is inherited, the path pattern will be +// modified as follows. Any version prefix will be replaced by the +// version of the including interface plus the [root][] path if +// specified. +// +// Example of a simple mixin: +// +// package google.acl.v1; +// service AccessControl { +// // Get the underlying ACL object. +// rpc GetAcl(GetAclRequest) returns (Acl) { +// option (google.api.http).get = "/v1/{resource=**}:getAcl"; +// } +// } +// +// package google.storage.v2; +// service Storage { +// rpc GetAcl(GetAclRequest) returns (Acl); +// +// // Get a data record. +// rpc GetData(GetDataRequest) returns (Data) { +// option (google.api.http).get = "/v2/{resource=**}"; +// } +// } +// +// Example of a mixin configuration: +// +// apis: +// - name: google.storage.v2.Storage +// mixins: +// - name: google.acl.v1.AccessControl +// +// The mixin construct implies that all methods in `AccessControl` are +// also declared with same name and request/response types in +// `Storage`. A documentation generator or annotation processor will +// see the effective `Storage.GetAcl` method after inheriting +// documentation and annotations as follows: +// +// service Storage { +// // Get the underlying ACL object. +// rpc GetAcl(GetAclRequest) returns (Acl) { +// option (google.api.http).get = "/v2/{resource=**}:getAcl"; +// } +// ... +// } +// +// Note how the version in the path pattern changed from `v1` to `v2`. +// +// If the `root` field in the mixin is specified, it should be a +// relative path under which inherited HTTP paths are placed. Example: +// +// apis: +// - name: google.storage.v2.Storage +// mixins: +// - name: google.acl.v1.AccessControl +// root: acls +// +// This implies the following inherited HTTP annotation: +// +// service Storage { +// // Get the underlying ACL object. +// rpc GetAcl(GetAclRequest) returns (Acl) { +// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; +// } +// ... +// } +message Mixin { + // The fully qualified name of the interface which is included. + string name = 1; + + // If non-empty specifies a path under which inherited HTTP paths + // are rooted. + string root = 2; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto.expanded.jsonld new file mode 100644 index 0000000000..d123fb36db --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto.expanded.jsonld @@ -0,0 +1,9468 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.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/google/api.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,26)-(38,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/apipb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(43,20)-(43,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,29)-(41,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "ApiProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,30)-(40,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,22)-(39,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,27)-(42,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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/google/source_context.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/sourcecontextpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,20)-(40,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,29)-(38,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "SourceContextProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,30)-(37,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,22)-(36,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,27)-(39,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,22)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(48,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.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/google/type.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,26)-(39,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,26)-(38,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/typepb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,20)-(44,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,29)-(42,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "TypeProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,30)-(41,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,22)-(40,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(43,27)-(43,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(173,2)-(173,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(173,2)-(173,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Any" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(178,2)-(178,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(178,2)-(178,15)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(168,0)-(179,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Kind" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(119,2)-(119,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(119,2)-(119,15)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Cardinality" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(121,2)-(121,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(121,2)-(121,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(123,2)-(123,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "number" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(123,2)-(123,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,2)-(125,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,2)-(125,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(128,2)-(128,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(128,2)-(128,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(131,2)-(131,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 7 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "oneof_index" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(131,2)-(131,23)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(133,2)-(133,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 8 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "packed" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(133,2)-(133,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(135,11)-(135,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(135,2)-(135,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 9 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(135,2)-(135,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(137,2)-(137,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 10 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "json_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(137,2)-(137,23)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(139,2)-(139,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 11 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "default_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(139,2)-(139,27)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(63,0)-(140,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,11)-(51,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fields" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,11)-(53,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,2)-(53,28)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "oneofs" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,2)-(53,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,11)-(55,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,2)-(55,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,2)-(55,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SourceContext" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,2)-(57,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,2)-(57,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,2)-(59,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,2)-(59,19)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Type" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Type" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,0)-(60,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(145,2)-(145,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(145,2)-(145,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(147,11)-(147,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(147,2)-(147,34)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "enumvalue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(147,2)-(147,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(149,11)-(149,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(149,2)-(149,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(149,2)-(149,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SourceContext" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(151,2)-(151,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(151,2)-(151,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(153,2)-(153,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(153,2)-(153,19)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Enum" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Enum" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(143,0)-(154,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "@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": ".google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Cardinality" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(109,4)-(109,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_OPTIONAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(111,4)-(111,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_REQUIRED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(113,4)-(113,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(115,4)-(115,4)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN", + "@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": "CARDINALITY_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(109,4)-(109,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL", + "@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": "CARDINALITY_OPTIONAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(111,4)-(111,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED", + "@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": "CARDINALITY_REQUIRED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(113,4)-(113,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED", + "@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": "CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(115,4)-(115,28)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,2)-(116,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,2)-(116,2)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "@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": ".google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Kind" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,4)-(67,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_DOUBLE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(69,4)-(69,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_FLOAT" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(71,4)-(71,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_INT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(73,4)-(73,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(75,4)-(75,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_6": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_INT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(77,4)-(77,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_7": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_FIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(79,4)-(79,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_8": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_FIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(81,4)-(81,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_9": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_BOOL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(83,4)-(83,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_10": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_STRING" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(85,4)-(85,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_11": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_GROUP" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(87,4)-(87,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_12": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_MESSAGE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(89,4)-(89,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_13": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_BYTES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(91,4)-(91,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_14": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,4)-(93,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_15": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_ENUM" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(95,4)-(95,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_16": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SFIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(97,4)-(97,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_17": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SFIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(99,4)-(99,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_18": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(101,4)-(101,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_19": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(103,4)-(103,4)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN", + "@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": "TYPE_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,4)-(67,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE", + "@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": "TYPE_DOUBLE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(69,4)-(69,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT", + "@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": "TYPE_FLOAT" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(71,4)-(71,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64", + "@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": "TYPE_INT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(73,4)-(73,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64", + "@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": "TYPE_UINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(75,4)-(75,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32", + "@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": "TYPE_INT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(77,4)-(77,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64", + "@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": "TYPE_FIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(79,4)-(79,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32", + "@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": 7 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_FIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(81,4)-(81,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL", + "@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": 8 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_BOOL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(83,4)-(83,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING", + "@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": 9 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_STRING" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(85,4)-(85,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP", + "@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": 10 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_GROUP" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(87,4)-(87,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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#serializationOrder": [ + { + "@value": 11 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_MESSAGE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(89,4)-(89,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES", + "@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": 12 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_BYTES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(91,4)-(91,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32", + "@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": 13 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_UINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,4)-(93,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM", + "@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": 14 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_ENUM" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(95,4)-(95,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32", + "@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": 15 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SFIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(97,4)-(97,22)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64", + "@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": 16 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SFIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(99,4)-(99,22)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32", + "@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": 17 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(101,4)-(101,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64", + "@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": 18 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(103,4)-(103,20)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,2)-(104,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,2)-(104,2)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(159,2)-(159,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(159,2)-(159,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(161,2)-(161,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "number" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(161,2)-(161,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(163,11)-(163,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(163,2)-(163,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(163,2)-(163,29)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,0)-(164,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "@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": ".google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Syntax" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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": "SYNTAX_PROTO2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(184,2)-(184,2)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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": "SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(186,2)-(186,2)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2", + "@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": "SYNTAX_PROTO2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(184,2)-(184,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3", + "@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": "SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(186,2)-(186,19)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(182,0)-(187,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(182,0)-(187,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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/google/any.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/anypb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,20)-(36,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,29)-(39,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "AnyProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,30)-(38,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,22)-(37,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,27)-(40,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(154,2)-(154,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(154,2)-(154,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,2)-(157,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,2)-(157,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,0)-(158,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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/google/source_context.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/sourcecontextpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,20)-(40,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,29)-(38,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "SourceContextProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,30)-(37,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,22)-(36,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,27)-(39,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,22)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(48,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ] + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,2)-(57,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,2)-(57,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Method" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/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/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/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/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/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/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(60,11)-(60,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(60,2)-(60,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "methods" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(60,2)-(60,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(63,11)-(63,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(63,2)-(63,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(63,2)-(63,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(86,2)-(86,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "version" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(86,2)-(86,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SourceContext" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(90,2)-(90,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(90,2)-(90,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380", + "@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/google/api.proto#/web-api/types/.google.protobuf.Mixin" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Mixin" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,11)-(93,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,2)-(93,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "mixins" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,2)-(93,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Syntax" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(96,2)-(96,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 7 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(96,2)-(96,19)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Api" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Api" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,0)-(97,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(102,2)-(102,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(102,2)-(102,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(105,2)-(105,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "request_type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(105,2)-(105,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(108,2)-(108,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "request_streaming" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(108,2)-(108,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(111,2)-(111,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "response_type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(111,2)-(111,30)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(114,2)-(114,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "response_streaming" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(114,2)-(114,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(117,11)-(117,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(117,2)-(117,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(117,2)-(117,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Syntax" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(120,2)-(120,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 7 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(120,2)-(120,19)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Method" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Method" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(100,0)-(121,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin", + "@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/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(203,2)-(203,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(203,2)-(203,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root", + "@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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(207,2)-(207,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "root" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(207,2)-(207,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Mixin" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Mixin" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(201,0)-(208,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto.flattened.jsonld new file mode 100644 index 0000000000..76d1ffdac6 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto.flattened.jsonld @@ -0,0 +1,6348 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/apipb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "ApiProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,26)-(38,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(43,20)-(43,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,29)-(41,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,30)-(40,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,22)-(39,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(42,27)-(42,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto", + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin" + } + ], + "@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/google/api.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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/google/source_context.proto#/web-api" + }, + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": false, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.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/google/type.proto#/web-api" + }, + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto" + } + ], + "http://a.ml/vocabularies/document#root": false, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Api", + "http://a.ml/vocabularies/core#name": "Api", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Method", + "http://a.ml/vocabularies/core#name": "Method", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin", + "@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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Mixin", + "http://a.ml/vocabularies/core#name": "Mixin", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.SourceContext", + "http://a.ml/vocabularies/core#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Option", + "http://a.ml/vocabularies/core#name": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Field", + "http://a.ml/vocabularies/core#name": "Field", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Type", + "http://a.ml/vocabularies/core#name": "Type", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Enum", + "http://a.ml/vocabularies/core#name": "Enum", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "@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": ".google.protobuf.Field.Cardinality", + "http://a.ml/vocabularies/core#name": "Cardinality", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "@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": ".google.protobuf.Field.Kind", + "http://a.ml/vocabularies/core#name": "Kind", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.EnumValue", + "http://a.ml/vocabularies/core#name": "EnumValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "@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": ".google.protobuf.Syntax", + "http://a.ml/vocabularies/core#name": "Syntax", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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/google/any.proto#/web-api" + }, + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": false, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "methods", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "version", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 5, + "http://www.w3.org/ns/shacl#name": "source_context", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 6, + "http://www.w3.org/ns/shacl#name": "mixins", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax", + "@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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 7, + "http://www.w3.org/ns/shacl#name": "syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "request_type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "request_streaming", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "response_type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 5, + "http://www.w3.org/ns/shacl#name": "response_streaming", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 6, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 7, + "http://www.w3.org/ns/shacl#name": "syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root", + "@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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "root", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "file_name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "kind", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "cardinality", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "number", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 6, + "http://www.w3.org/ns/shacl#name": "type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 7, + "http://www.w3.org/ns/shacl#name": "oneof_index", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 8, + "http://www.w3.org/ns/shacl#name": "packed", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 9, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 10, + "http://www.w3.org/ns/shacl#name": "json_name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 11, + "http://www.w3.org/ns/shacl#name": "default_value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "fields", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "oneofs", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 5, + "http://www.w3.org/ns/shacl#name": "source_context", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 6, + "http://www.w3.org/ns/shacl#name": "syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "enumvalue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "source_context", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 5, + "http://www.w3.org/ns/shacl#name": "syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_3": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_4": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_3": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_4": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_5": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_6": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_7": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_8": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_9": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_10": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_11": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_12": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_13": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_14": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_15": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_16": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_17": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_18": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_19": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "number", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Any", + "http://a.ml/vocabularies/core#name": "Any", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": "SourceContext", + "http://www.w3.org/ns/shacl#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": "Syntax", + "http://www.w3.org/ns/shacl#name": "Syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api", + "http://a.ml/vocabularies/document-source-maps#value": "[(54,0)-(97,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": "Syntax", + "http://www.w3.org/ns/shacl#name": "Syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method", + "http://a.ml/vocabularies/document-source-maps#value": "[(100,0)-(121,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin", + "http://a.ml/vocabularies/document-source-maps#value": "[(201,0)-(208,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,0)]" + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document#link-label": "Any", + "http://www.w3.org/ns/shacl#name": "Any", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "http://a.ml/vocabularies/document-source-maps#value": "[(168,0)-(179,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document#link-label": "Kind", + "http://www.w3.org/ns/shacl#name": "Kind", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document#link-label": "Cardinality", + "http://www.w3.org/ns/shacl#name": "Cardinality", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(140,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": "SourceContext", + "http://www.w3.org/ns/shacl#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": "Syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(60,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": "SourceContext", + "http://www.w3.org/ns/shacl#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": "Syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "http://a.ml/vocabularies/document-source-maps#value": "[(143,0)-(154,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL", + "@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": 1, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_OPTIONAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED", + "@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": 2, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_REQUIRED", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED", + "@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": 3, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_REPEATED", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "TYPE_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE", + "@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": 1, + "http://www.w3.org/ns/shacl#name": "TYPE_DOUBLE", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT", + "@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": 2, + "http://www.w3.org/ns/shacl#name": "TYPE_FLOAT", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64", + "@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": 3, + "http://www.w3.org/ns/shacl#name": "TYPE_INT64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64", + "@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": 4, + "http://www.w3.org/ns/shacl#name": "TYPE_UINT64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32", + "@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": 5, + "http://www.w3.org/ns/shacl#name": "TYPE_INT32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64", + "@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": 6, + "http://www.w3.org/ns/shacl#name": "TYPE_FIXED64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32", + "@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": 7, + "http://www.w3.org/ns/shacl#name": "TYPE_FIXED32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL", + "@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": 8, + "http://www.w3.org/ns/shacl#name": "TYPE_BOOL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING", + "@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": 9, + "http://www.w3.org/ns/shacl#name": "TYPE_STRING", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP", + "@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": 10, + "http://www.w3.org/ns/shacl#name": "TYPE_GROUP", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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#serializationOrder": 11, + "http://www.w3.org/ns/shacl#name": "TYPE_MESSAGE", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES", + "@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": 12, + "http://www.w3.org/ns/shacl#name": "TYPE_BYTES", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32", + "@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": 13, + "http://www.w3.org/ns/shacl#name": "TYPE_UINT32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM", + "@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": 14, + "http://www.w3.org/ns/shacl#name": "TYPE_ENUM", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32", + "@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": 15, + "http://www.w3.org/ns/shacl#name": "TYPE_SFIXED32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64", + "@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": 16, + "http://www.w3.org/ns/shacl#name": "TYPE_SFIXED64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32", + "@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": 17, + "http://www.w3.org/ns/shacl#name": "TYPE_SINT32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64", + "@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": 18, + "http://www.w3.org/ns/shacl#name": "TYPE_SINT64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(164,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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": "SYNTAX_PROTO2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "SYNTAX_PROTO2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3", + "@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": 1, + "http://www.w3.org/ns/shacl#name": "SYNTAX_PROTO3", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(182,0)-(187,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,2)-(57,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340", + "@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/google/api.proto#/web-api/types/.google.protobuf.Method" + } + ], + "http://a.ml/vocabularies/document#link-label": "Method", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods", + "http://a.ml/vocabularies/document-source-maps#value": "[(60,2)-(60,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://www.w3.org/ns/shacl#name": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,2)-(63,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(86,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,2)-(90,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380", + "@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/google/api.proto#/web-api/types/.google.protobuf.Mixin" + } + ], + "http://a.ml/vocabularies/document#link-label": "Mixin", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,2)-(93,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(96,2)-(96,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(102,2)-(102,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(105,2)-(105,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming", + "http://a.ml/vocabularies/document-source-maps#value": "[(108,2)-(108,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,2)-(111,30)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,2)-(114,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://www.w3.org/ns/shacl#name": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(117,2)-(117,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(120,2)-(120,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(203,2)-(203,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root", + "http://a.ml/vocabularies/document-source-maps#value": "[(207,2)-(207,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,22)]" + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,26)-(39,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(173,2)-(173,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(178,2)-(178,15)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,2)-(119,15)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "[(121,2)-(121,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(123,2)-(123,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,2)-(125,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(128,2)-(128,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index", + "http://a.ml/vocabularies/document-source-maps#value": "[(131,2)-(131,23)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,2)-(133,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,2)-(135,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name", + "http://a.ml/vocabularies/document-source-maps#value": "[(137,2)-(137,23)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value", + "http://a.ml/vocabularies/document-source-maps#value": "[(139,2)-(139,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,2)-(49,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document#link-label": "Field", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,2)-(51,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,2)-(53,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,2)-(55,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,2)-(57,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,2)-(59,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(145,2)-(145,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document#link-label": "EnumValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue", + "http://a.ml/vocabularies/document-source-maps#value": "[(147,2)-(147,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,2)-(149,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context", + "http://a.ml/vocabularies/document-source-maps#value": "[(151,2)-(151,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(153,2)-(153,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(159,2)-(159,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(161,2)-(161,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,2)-(163,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(182,0)-(187,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,2)-(57,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/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/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/methods/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(60,2)-(60,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/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/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,2)-(63,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/version/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(86,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/source_context/SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,2)-(90,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/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/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/mixins/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,2)-(93,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/syntax/scalar/Syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(96,2)-(96,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(102,2)-(102,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(105,2)-(105,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/request_streaming/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(108,2)-(108,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,2)-(111,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/response_streaming/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,2)-(114,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/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/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(117,2)-(117,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/syntax/scalar/Syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(120,2)-(120,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(203,2)-(203,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/property/root/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(207,2)-(207,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(173,2)-(173,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any", + "http://a.ml/vocabularies/document-source-maps#value": "[(178,2)-(178,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,2)-(119,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "[(121,2)-(121,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(123,2)-(123,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,2)-(125,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(128,2)-(128,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(131,2)-(131,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,2)-(133,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,2)-(135,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(137,2)-(137,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(139,2)-(139,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,2)-(49,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,2)-(51,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,2)-(53,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,2)-(55,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,2)-(57,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,2)-(59,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(145,2)-(145,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(147,2)-(147,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,2)-(149,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(151,2)-(151,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124", + "http://a.ml/vocabularies/document-source-maps#value": "[(153,2)-(153,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(109,4)-(109,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#value": "[(109,4)-(109,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,4)-(111,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED", + "http://a.ml/vocabularies/document-source-maps#value": "[(113,4)-(113,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED", + "http://a.ml/vocabularies/document-source-maps#value": "[(115,4)-(115,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(67,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(67,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE", + "http://a.ml/vocabularies/document-source-maps#value": "[(69,4)-(69,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT", + "http://a.ml/vocabularies/document-source-maps#value": "[(71,4)-(71,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64", + "http://a.ml/vocabularies/document-source-maps#value": "[(73,4)-(73,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64", + "http://a.ml/vocabularies/document-source-maps#value": "[(75,4)-(75,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32", + "http://a.ml/vocabularies/document-source-maps#value": "[(77,4)-(77,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,4)-(79,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32", + "http://a.ml/vocabularies/document-source-maps#value": "[(81,4)-(81,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL", + "http://a.ml/vocabularies/document-source-maps#value": "[(83,4)-(83,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING", + "http://a.ml/vocabularies/document-source-maps#value": "[(85,4)-(85,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP", + "http://a.ml/vocabularies/document-source-maps#value": "[(87,4)-(87,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE", + "http://a.ml/vocabularies/document-source-maps#value": "[(89,4)-(89,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES", + "http://a.ml/vocabularies/document-source-maps#value": "[(91,4)-(91,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,4)-(93,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM", + "http://a.ml/vocabularies/document-source-maps#value": "[(95,4)-(95,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32", + "http://a.ml/vocabularies/document-source-maps#value": "[(97,4)-(97,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64", + "http://a.ml/vocabularies/document-source-maps#value": "[(99,4)-(99,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32", + "http://a.ml/vocabularies/document-source-maps#value": "[(101,4)-(101,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64", + "http://a.ml/vocabularies/document-source-maps#value": "[(103,4)-(103,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(159,2)-(159,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(161,2)-(161,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,2)-(163,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(184,2)-(184,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2", + "http://a.ml/vocabularies/document-source-maps#value": "[(184,2)-(184,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3", + "http://a.ml/vocabularies/document-source-maps#value": "[(186,2)-(186,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,2)-(154,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,2)-(157,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/link--1361649340", + "http://a.ml/vocabularies/document-source-maps#value": "[(60,11)-(60,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Api/property/options/array/default-array/items/Option", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,11)-(63,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Mixin/link-1296529380", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,11)-(93,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/api.proto#/web-api/types/.google.protobuf.Method/property/options/array/default-array/items/Option", + "http://a.ml/vocabularies/document-source-maps#value": "[(117,11)-(117,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,11)-(135,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,11)-(51,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,11)-(53,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,11)-(55,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151", + "http://a.ml/vocabularies/document-source-maps#value": "[(147,11)-(147,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,11)-(149,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,11)-(163,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,2)-(154,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,2)-(157,2)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto new file mode 100644 index 0000000000..81c3e369fd --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto @@ -0,0 +1,116 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/durationpb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "DurationProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// A Duration represents a signed, fixed-length span of time represented +// as a count of seconds and fractions of seconds at nanosecond +// resolution. It is independent of any calendar and concepts like "day" +// or "month". It is related to Timestamp in that the difference between +// two Timestamp values is a Duration and it can be added or subtracted +// from a Timestamp. Range is approximately +-10,000 years. +// +// # Examples +// +// Example 1: Compute Duration from two Timestamps in pseudo code. +// +// Timestamp start = ...; +// Timestamp end = ...; +// Duration duration = ...; +// +// duration.seconds = end.seconds - start.seconds; +// duration.nanos = end.nanos - start.nanos; +// +// if (duration.seconds < 0 && duration.nanos > 0) { +// duration.seconds += 1; +// duration.nanos -= 1000000000; +// } else if (duration.seconds > 0 && duration.nanos < 0) { +// duration.seconds -= 1; +// duration.nanos += 1000000000; +// } +// +// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. +// +// Timestamp start = ...; +// Duration duration = ...; +// Timestamp end = ...; +// +// end.seconds = start.seconds + duration.seconds; +// end.nanos = start.nanos + duration.nanos; +// +// if (end.nanos < 0) { +// end.seconds -= 1; +// end.nanos += 1000000000; +// } else if (end.nanos >= 1000000000) { +// end.seconds += 1; +// end.nanos -= 1000000000; +// } +// +// Example 3: Compute Duration from datetime.timedelta in Python. +// +// td = datetime.timedelta(days=3, minutes=10) +// duration = Duration() +// duration.FromTimedelta(td) +// +// # JSON Mapping +// +// In JSON format, the Duration type is encoded as a string rather than an +// object, where the string ends in the suffix "s" (indicating seconds) and +// is preceded by the number of seconds, with nanoseconds expressed as +// fractional seconds. For example, 3 seconds with 0 nanoseconds should be +// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should +// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 +// microsecond should be expressed in JSON format as "3.000001s". +// +// +message Duration { + // Signed seconds of the span of time. Must be from -315,576,000,000 + // to +315,576,000,000 inclusive. Note: these bounds are computed from: + // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years + int64 seconds = 1; + + // Signed fractions of a second at nanosecond resolution of the span + // of time. Durations less than one second are represented with a 0 + // `seconds` field and a positive or negative `nanos` field. For durations + // of one second or more, a non-zero value for the `nanos` field must be + // of the same sign as the `seconds` field. Must be from -999,999,999 + // to +999,999,999 inclusive. + int32 nanos = 2; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto.expanded.jsonld new file mode 100644 index 0000000000..b2a23de89b --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto.expanded.jsonld @@ -0,0 +1,624 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.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/google/duration.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,26)-(36,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/durationpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,20)-(37,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,29)-(40,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "DurationProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,30)-(39,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,22)-(38,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,27)-(41,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration", + "@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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds", + "@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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,2)-(107,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "seconds" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,2)-(107,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos", + "@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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(115,2)-(115,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "nanos" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(115,2)-(115,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Duration" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Duration" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(103,0)-(116,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto.flattened.jsonld new file mode 100644 index 0000000000..eba14ec922 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto.flattened.jsonld @@ -0,0 +1,526 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/durationpb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "DurationProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,26)-(36,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,20)-(37,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,29)-(40,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,30)-(39,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,22)-(38,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,27)-(41,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration" + } + ], + "@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/google/duration.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration", + "@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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Duration", + "http://a.ml/vocabularies/core#name": "Duration", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds", + "@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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "seconds", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos", + "@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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "nanos", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": "int64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration", + "http://a.ml/vocabularies/document-source-maps#value": "[(103,0)-(116,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(107,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/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/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos", + "http://a.ml/vocabularies/document-source-maps#value": "[(115,2)-(115,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/seconds/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(107,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/duration.proto#/web-api/types/.google.protobuf.Duration/property/nanos/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(115,2)-(115,2)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto new file mode 100644 index 0000000000..5f992de94a --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto @@ -0,0 +1,52 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option go_package = "google.golang.org/protobuf/types/known/emptypb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "EmptyProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option cc_enable_arenas = true; + +// A generic empty message that you can re-use to avoid defining duplicated +// empty messages in your APIs. A typical example is to use it as the request +// or the response type of an API method. For instance: +// +// service Foo { +// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); +// } +// +// The JSON representation for `Empty` is empty JSON object `{}`. +message Empty {} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto.expanded.jsonld new file mode 100644 index 0000000000..b6b3442e94 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto.expanded.jsonld @@ -0,0 +1,448 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.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/google/empty.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,26)-(41,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/emptypb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,20)-(36,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,29)-(39,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "EmptyProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,30)-(38,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,22)-(37,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,27)-(40,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty", + "@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#name": [ + { + "@value": ".google.protobuf.Empty" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Empty" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,0)-(52,15)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto.flattened.jsonld new file mode 100644 index 0000000000..1c0acdc454 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto.flattened.jsonld @@ -0,0 +1,374 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/emptypb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "EmptyProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,26)-(41,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,20)-(36,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,29)-(39,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,30)-(38,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,22)-(37,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,27)-(40,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty" + } + ], + "@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/google/empty.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty", + "@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#name": ".google.protobuf.Empty", + "http://a.ml/vocabularies/core#name": "Empty", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/empty.proto#/web-api/types/.google.protobuf.Empty", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,0)-(52,15)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto new file mode 100644 index 0000000000..6b5104f188 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto @@ -0,0 +1,245 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "FieldMaskProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option go_package = "google.golang.org/protobuf/types/known/fieldmaskpb"; +option cc_enable_arenas = true; + +// `FieldMask` represents a set of symbolic field paths, for example: +// +// paths: "f.a" +// paths: "f.b.d" +// +// Here `f` represents a field in some root message, `a` and `b` +// fields in the message found in `f`, and `d` a field found in the +// message in `f.b`. +// +// Field masks are used to specify a subset of fields that should be +// returned by a get operation or modified by an update operation. +// Field masks also have a custom JSON encoding (see below). +// +// # Field Masks in Projections +// +// When used in the context of a projection, a response message or +// sub-message is filtered by the API to only contain those fields as +// specified in the mask. For example, if the mask in the previous +// example is applied to a response message as follows: +// +// f { +// a : 22 +// b { +// d : 1 +// x : 2 +// } +// y : 13 +// } +// z: 8 +// +// The result will not contain specific values for fields x,y and z +// (their value will be set to the default, and omitted in proto text +// output): +// +// +// f { +// a : 22 +// b { +// d : 1 +// } +// } +// +// A repeated field is not allowed except at the last position of a +// paths string. +// +// If a FieldMask object is not present in a get operation, the +// operation applies to all fields (as if a FieldMask of all fields +// had been specified). +// +// Note that a field mask does not necessarily apply to the +// top-level response message. In case of a REST get operation, the +// field mask applies directly to the response, but in case of a REST +// list operation, the mask instead applies to each individual message +// in the returned resource list. In case of a REST custom method, +// other definitions may be used. Where the mask applies will be +// clearly documented together with its declaration in the API. In +// any case, the effect on the returned resource/resources is required +// behavior for APIs. +// +// # Field Masks in Update Operations +// +// A field mask in update operations specifies which fields of the +// targeted resource are going to be updated. The API is required +// to only change the values of the fields as specified in the mask +// and leave the others untouched. If a resource is passed in to +// describe the updated values, the API ignores the values of all +// fields not covered by the mask. +// +// If a repeated field is specified for an update operation, new values will +// be appended to the existing repeated field in the target resource. Note that +// a repeated field is only allowed in the last position of a `paths` string. +// +// If a sub-message is specified in the last position of the field mask for an +// update operation, then new value will be merged into the existing sub-message +// in the target resource. +// +// For example, given the target message: +// +// f { +// b { +// d: 1 +// x: 2 +// } +// c: [1] +// } +// +// And an update message: +// +// f { +// b { +// d: 10 +// } +// c: [2] +// } +// +// then if the field mask is: +// +// paths: ["f.b", "f.c"] +// +// then the result will be: +// +// f { +// b { +// d: 10 +// x: 2 +// } +// c: [1, 2] +// } +// +// An implementation may provide options to override this default behavior for +// repeated and message fields. +// +// In order to reset a field's value to the default, the field must +// be in the mask and set to the default value in the provided resource. +// Hence, in order to reset all fields of a resource, provide a default +// instance of the resource and set all fields in the mask, or do +// not provide a mask as described below. +// +// If a field mask is not present on update, the operation applies to +// all fields (as if a field mask of all fields has been specified). +// Note that in the presence of schema evolution, this may mean that +// fields the client does not know and has therefore not filled into +// the request will be reset to their default. If this is unwanted +// behavior, a specific service may require a client to always specify +// a field mask, producing an error if not. +// +// As with get operations, the location of the resource which +// describes the updated values in the request message depends on the +// operation kind. In any case, the effect of the field mask is +// required to be honored by the API. +// +// ## Considerations for HTTP REST +// +// The HTTP kind of an update operation which uses a field mask must +// be set to PATCH instead of PUT in order to satisfy HTTP semantics +// (PUT must only be used for full updates). +// +// # JSON Encoding of Field Masks +// +// In JSON, a field mask is encoded as a single string where paths are +// separated by a comma. Fields name in each path are converted +// to/from lower-camel naming conventions. +// +// As an example, consider the following message declarations: +// +// message Profile { +// User user = 1; +// Photo photo = 2; +// } +// message User { +// string display_name = 1; +// string address = 2; +// } +// +// In proto a field mask for `Profile` may look as such: +// +// mask { +// paths: "user.display_name" +// paths: "photo" +// } +// +// In JSON, the same mask is represented as below: +// +// { +// mask: "user.displayName,photo" +// } +// +// # Field Masks and Oneof Fields +// +// Field masks treat fields in oneofs just as regular fields. Consider the +// following message: +// +// message SampleMessage { +// oneof test_oneof { +// string name = 4; +// SubMessage sub_message = 9; +// } +// } +// +// The field mask can be: +// +// mask { +// paths: "name" +// } +// +// Or: +// +// mask { +// paths: "sub_message" +// } +// +// Note that oneof type names ("test_oneof" in this case) cannot be used in +// paths. +// +// ## Field Mask Verification +// +// The implementation of any API method which has a FieldMask type field in the +// request should verify the included field paths, and return an +// `INVALID_ARGUMENT` error if any path is unmappable. +message FieldMask { + // The set of field mask paths. + repeated string paths = 1; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto.expanded.jsonld new file mode 100644 index 0000000000..00abab234e --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto.expanded.jsonld @@ -0,0 +1,567 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.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/google/field_mask.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,26)-(41,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/fieldmaskpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,20)-(40,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,29)-(38,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "FieldMaskProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,30)-(37,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,22)-(36,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,27)-(39,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask", + "@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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths", + "@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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(244,11)-(244,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(244,2)-(244,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "paths" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(244,2)-(244,27)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.FieldMask" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "FieldMask" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(242,0)-(245,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto.flattened.jsonld new file mode 100644 index 0000000000..70189824b5 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto.flattened.jsonld @@ -0,0 +1,484 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/fieldmaskpb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "FieldMaskProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,26)-(41,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,20)-(40,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,29)-(38,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,30)-(37,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,22)-(36,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,27)-(39,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask" + } + ], + "@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/google/field_mask.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask", + "@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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.FieldMask", + "http://a.ml/vocabularies/core#name": "FieldMask", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths", + "@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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "paths", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask", + "http://a.ml/vocabularies/document-source-maps#value": "[(242,0)-(245,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths", + "http://a.ml/vocabularies/document-source-maps#value": "[(244,2)-(244,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/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/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(244,2)-(244,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/field_mask.proto#/web-api/types/.google.protobuf.FieldMask/property/paths/array/default-array/items/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(244,11)-(244,11)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto new file mode 100644 index 0000000000..06bfc43a78 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto @@ -0,0 +1,48 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "SourceContextProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option go_package = "google.golang.org/protobuf/types/known/sourcecontextpb"; + +// `SourceContext` represents information about the source of a +// protobuf element, like the file in which it is defined. +message SourceContext { + // The path-qualified name of the .proto file that contained the associated + // protobuf element. For example: `"google/protobuf/source_context.proto"`. + string file_name = 1; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto.expanded.jsonld new file mode 100644 index 0000000000..9423dbf86b --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto.expanded.jsonld @@ -0,0 +1,483 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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/google/source_context.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/sourcecontextpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,20)-(40,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,29)-(38,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "SourceContextProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,30)-(37,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,22)-(36,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,27)-(39,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,22)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(48,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto.flattened.jsonld new file mode 100644 index 0000000000..1a83e2a1b9 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto.flattened.jsonld @@ -0,0 +1,408 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/sourcecontextpb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "SourceContextProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,20)-(40,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,29)-(38,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,30)-(37,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,22)-(36,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,27)-(39,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "@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/google/source_context.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.SourceContext", + "http://a.ml/vocabularies/core#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "file_name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,2)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.expanded.proto.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.expanded.proto.jsonld new file mode 100644 index 0000000000..e69de29bb2 diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto new file mode 100644 index 0000000000..545215c252 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto @@ -0,0 +1,95 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/structpb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "StructProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// `Struct` represents a structured data value, consisting of fields +// which map to dynamically typed values. In some languages, `Struct` +// might be supported by a native representation. For example, in +// scripting languages like JS a struct is represented as an +// object. The details of that representation are described together +// with the proto support for the language. +// +// The JSON representation for `Struct` is JSON object. +message Struct { + // Unordered map of dynamically typed values. + map fields = 1; +} + +// `Value` represents a dynamically typed value which can be either +// null, a number, a string, a boolean, a recursive struct value, or a +// list of values. A producer of value is expected to set one of that +// variants, absence of any variant indicates an error. +// +// The JSON representation for `Value` is JSON value. +message Value { + // The kind of value. + oneof kind { + // Represents a null value. + NullValue null_value = 1; + // Represents a double value. + double number_value = 2; + // Represents a string value. + string string_value = 3; + // Represents a boolean value. + bool bool_value = 4; + // Represents a structured value. + Struct struct_value = 5; + // Represents a repeated `Value`. + ListValue list_value = 6; + } +} + +// `NullValue` is a singleton enumeration to represent the null value for the +// `Value` type union. +// +// The JSON representation for `NullValue` is JSON `null`. +enum NullValue { + // Null value. + NULL_VALUE = 0; +} + +// `ListValue` is a wrapper around a repeated field of values. +// +// The JSON representation for `ListValue` is JSON array. +message ListValue { + // Repeated field of dynamically typed values. + repeated Value values = 1; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto.expanded.jsonld new file mode 100644 index 0000000000..edaf3aae4f --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto.expanded.jsonld @@ -0,0 +1,1916 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.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/google/struct.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,26)-(36,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/structpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,20)-(37,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,29)-(40,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "StructProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,30)-(39,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,22)-(38,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,27)-(41,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,6)-(53,6)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/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/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/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/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/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/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,14)-(53,14)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,2)-(53,31)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fields" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,2)-(53,31)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Struct" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Struct" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,0)-(54,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value", + "@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#name": [ + { + "@value": ".google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Value" + } + ], + "http://www.w3.org/ns/shacl#and": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value", + "@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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273", + "@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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "NullValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,4)-(66,4)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "null_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,4)-(66,28)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,4)-(66,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value/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#double" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(68,4)-(68,4)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "number_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/number_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(68,4)-(68,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(68,4)-(68,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(70,4)-(70,4)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "string_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/string_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(70,4)-(70,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(70,4)-(70,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(72,4)-(72,4)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "bool_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/bool_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(72,4)-(72,23)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(72,4)-(72,23)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/Struct", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Struct" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Struct" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Struct" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/Struct/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/Struct/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/Struct/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/Struct" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(74,4)-(74,4)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "struct_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/struct_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(74,4)-(74,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(74,4)-(74,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/list_value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/link--1333526758", + "@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/google/struct.proto#/web-api/types/.google.protobuf.ListValue" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "ListValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/link--1333526758/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/link--1333526758/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/link--1333526758/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/link--1333526758/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/link--1333526758" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(76,4)-(76,4)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "list_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/list_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/list_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/list_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(76,4)-(76,28)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(76,4)-(76,28)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(64,2)-(77,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(62,0)-(78,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue", + "@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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values", + "@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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Value" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(94,11)-(94,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(94,2)-(94,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "values" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(94,2)-(94,27)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.ListValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "ListValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(92,0)-(95,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue", + "@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": ".google.protobuf.NullValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "NullValue" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/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": "NULL_VALUE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(86,2)-(86,2)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE", + "@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": "NULL_VALUE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(86,2)-(86,16)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(84,0)-(87,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(84,0)-(87,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto.flattened.jsonld new file mode 100644 index 0000000000..511f78a377 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto.flattened.jsonld @@ -0,0 +1,1096 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/structpb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "StructProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,26)-(36,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,20)-(37,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,29)-(40,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,30)-(39,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,22)-(38,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,27)-(41,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue" + } + ], + "@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/google/struct.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Struct", + "http://a.ml/vocabularies/core#name": "Struct", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value", + "@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#name": ".google.protobuf.Value", + "http://a.ml/vocabularies/core#name": "Value", + "http://www.w3.org/ns/shacl#and": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue", + "@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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.ListValue", + "http://a.ml/vocabularies/core#name": "ListValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue", + "@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": ".google.protobuf.NullValue", + "http://a.ml/vocabularies/core#name": "NullValue", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "fields", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node" + } + ], + "http://www.w3.org/ns/shacl#name": "kind", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values", + "@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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "values", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/scalar/default-scalar" + }, + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,0)-(54,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value", + "http://a.ml/vocabularies/document-source-maps#value": "[(62,0)-(78,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(92,0)-(95,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/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": "NULL_VALUE", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "NULL_VALUE", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(84,0)-(87,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/document#link-label": "Value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,2)-(53,31)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value", + "@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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "null_value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,2)-(77,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value", + "@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/google/struct.proto#/web-api/types/.google.protobuf.Value" + } + ], + "http://a.ml/vocabularies/document#link-label": "Value", + "http://www.w3.org/ns/shacl#name": "Value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values", + "http://a.ml/vocabularies/document-source-maps#value": "[(94,2)-(94,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(84,0)-(87,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/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/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/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/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,2)-(53,31)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273", + "@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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue" + } + ], + "http://a.ml/vocabularies/document#link-label": "NullValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value/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/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,4)-(66,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/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/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(94,2)-(94,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(86,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/default-node/property/NULL_VALUE", + "http://a.ml/vocabularies/document-source-maps#value": "[(86,2)-(86,16)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Struct/property/fields/default-node/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,6)-(53,6)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/link-2129017426", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,14)-(53,14)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/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/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.Value/union/kind/default-node/property/null_value", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,4)-(66,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/.google.protobuf.ListValue/property/values/array/default-array/items/Value", + "http://a.ml/vocabularies/document-source-maps#value": "[(94,11)-(94,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/struct.proto#/web-api/types/scalar/.google.protobuf.NullValue/link-1249788273", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,4)-(66,4)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto new file mode 100644 index 0000000000..3b2df6d911 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto @@ -0,0 +1,147 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/timestamppb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "TimestampProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// A Timestamp represents a point in time independent of any time zone or local +// calendar, encoded as a count of seconds and fractions of seconds at +// nanosecond resolution. The count is relative to an epoch at UTC midnight on +// January 1, 1970, in the proleptic Gregorian calendar which extends the +// Gregorian calendar backwards to year one. +// +// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap +// second table is needed for interpretation, using a [24-hour linear +// smear](https://developers.google.com/time/smear). +// +// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By +// restricting to that range, we ensure that we can convert to and from [RFC +// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. +// +// # Examples +// +// Example 1: Compute Timestamp from POSIX `time()`. +// +// Timestamp timestamp; +// timestamp.set_seconds(time(NULL)); +// timestamp.set_nanos(0); +// +// Example 2: Compute Timestamp from POSIX `gettimeofday()`. +// +// struct timeval tv; +// gettimeofday(&tv, NULL); +// +// Timestamp timestamp; +// timestamp.set_seconds(tv.tv_sec); +// timestamp.set_nanos(tv.tv_usec * 1000); +// +// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. +// +// FILETIME ft; +// GetSystemTimeAsFileTime(&ft); +// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; +// +// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z +// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. +// Timestamp timestamp; +// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); +// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); +// +// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. +// +// long millis = System.currentTimeMillis(); +// +// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) +// .setNanos((int) ((millis % 1000) * 1000000)).build(); +// +// +// Example 5: Compute Timestamp from Java `Instant.now()`. +// +// Instant now = Instant.now(); +// +// Timestamp timestamp = +// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) +// .setNanos(now.getNano()).build(); +// +// +// Example 6: Compute Timestamp from current time in Python. +// +// timestamp = Timestamp() +// timestamp.GetCurrentTime() +// +// # JSON Mapping +// +// In JSON format, the Timestamp type is encoded as a string in the +// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" +// where {year} is always expressed using four digits while {month}, {day}, +// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional +// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), +// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone +// is required. A proto3 JSON serializer should always use UTC (as indicated by +// "Z") when printing the Timestamp type and a proto3 JSON parser should be +// able to accept both UTC and other timezones (as indicated by an offset). +// +// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past +// 01:30 UTC on January 15, 2017. +// +// In JavaScript, one can convert a Date object to this format using the +// standard +// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) +// method. In Python, a standard `datetime.datetime` object can be converted +// to this format using +// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with +// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use +// the Joda Time's [`ISODateTimeFormat.dateTime()`]( +// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +// ) to obtain a formatter capable of generating timestamps in this format. +// +// +message Timestamp { + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + int64 seconds = 1; + + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. + int32 nanos = 2; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto.expanded.jsonld new file mode 100644 index 0000000000..d1e0474b3e --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto.expanded.jsonld @@ -0,0 +1,624 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.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/google/timestamp.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,26)-(36,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/timestamppb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,20)-(37,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,29)-(40,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "TimestampProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,30)-(39,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,22)-(38,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,27)-(41,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp", + "@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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds", + "@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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(140,2)-(140,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "seconds" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(140,2)-(140,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos", + "@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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(146,2)-(146,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "nanos" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(146,2)-(146,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Timestamp" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Timestamp" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(136,0)-(147,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto.flattened.jsonld new file mode 100644 index 0000000000..8b710c3354 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto.flattened.jsonld @@ -0,0 +1,526 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/timestamppb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "TimestampProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,26)-(36,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(35,26)-(35,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,20)-(37,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,29)-(40,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,30)-(39,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,22)-(38,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,27)-(41,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp" + } + ], + "@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/google/timestamp.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp", + "@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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Timestamp", + "http://a.ml/vocabularies/core#name": "Timestamp", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds", + "@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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "seconds", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos", + "@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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "nanos", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": "int64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp", + "http://a.ml/vocabularies/document-source-maps#value": "[(136,0)-(147,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds", + "http://a.ml/vocabularies/document-source-maps#value": "[(140,2)-(140,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/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/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos", + "http://a.ml/vocabularies/document-source-maps#value": "[(146,2)-(146,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/seconds/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(140,2)-(140,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/timestamp.proto#/web-api/types/.google.protobuf.Timestamp/property/nanos/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(146,2)-(146,2)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto new file mode 100644 index 0000000000..127e91832c --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto @@ -0,0 +1,187 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto3"; + +package google.protobuf; + +import "any.proto"; +import "source_context.proto"; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option java_package = "com.google.protobuf"; +option java_outer_classname = "TypeProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; +option go_package = "google.golang.org/protobuf/types/known/typepb"; + +// A protocol buffer message type. +message Type { + // The fully qualified message name. + string name = 1; + // The list of fields. + repeated Field fields = 2; + // The list of types appearing in `oneof` definitions in this type. + repeated string oneofs = 3; + // The protocol buffer options. + repeated Option options = 4; + // The source context. + SourceContext source_context = 5; + // The source syntax. + Syntax syntax = 6; +} + +// A single field of a message type. +message Field { + // Basic field types. + enum Kind { + // Field type unknown. + TYPE_UNKNOWN = 0; + // Field type double. + TYPE_DOUBLE = 1; + // Field type float. + TYPE_FLOAT = 2; + // Field type int64. + TYPE_INT64 = 3; + // Field type uint64. + TYPE_UINT64 = 4; + // Field type int32. + TYPE_INT32 = 5; + // Field type fixed64. + TYPE_FIXED64 = 6; + // Field type fixed32. + TYPE_FIXED32 = 7; + // Field type bool. + TYPE_BOOL = 8; + // Field type string. + TYPE_STRING = 9; + // Field type group. Proto2 syntax only, and deprecated. + TYPE_GROUP = 10; + // Field type message. + TYPE_MESSAGE = 11; + // Field type bytes. + TYPE_BYTES = 12; + // Field type uint32. + TYPE_UINT32 = 13; + // Field type enum. + TYPE_ENUM = 14; + // Field type sfixed32. + TYPE_SFIXED32 = 15; + // Field type sfixed64. + TYPE_SFIXED64 = 16; + // Field type sint32. + TYPE_SINT32 = 17; + // Field type sint64. + TYPE_SINT64 = 18; + } + + // Whether a field is optional, required, or repeated. + enum Cardinality { + // For fields with unknown cardinality. + CARDINALITY_UNKNOWN = 0; + // For optional fields. + CARDINALITY_OPTIONAL = 1; + // For required fields. Proto2 syntax only. + CARDINALITY_REQUIRED = 2; + // For repeated fields. + CARDINALITY_REPEATED = 3; + } + + // The field type. + Kind kind = 1; + // The field cardinality. + Cardinality cardinality = 2; + // The field number. + int32 number = 3; + // The field name. + string name = 4; + // The field type URL, without the scheme, for message or enumeration + // types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. + string type_url = 6; + // The index of the field type in `Type.oneofs`, for message or enumeration + // types. The first type has index 1; zero means the type is not in the list. + int32 oneof_index = 7; + // Whether to use alternative packed wire representation. + bool packed = 8; + // The protocol buffer options. + repeated Option options = 9; + // The field JSON name. + string json_name = 10; + // The string value of the default value of this field. Proto2 syntax only. + string default_value = 11; +} + +// Enum type definition. +message Enum { + // Enum type name. + string name = 1; + // Enum value definitions. + repeated EnumValue enumvalue = 2; + // Protocol buffer options. + repeated Option options = 3; + // The source context. + SourceContext source_context = 4; + // The source syntax. + Syntax syntax = 5; +} + +// Enum value definition. +message EnumValue { + // Enum value name. + string name = 1; + // Enum value number. + int32 number = 2; + // Protocol buffer options. + repeated Option options = 3; +} + +// A protocol buffer option, which can be attached to a message, field, +// enumeration, etc. +message Option { + // The option's name. For protobuf built-in options (options defined in + // descriptor.proto), this is the short name. For example, `"map_entry"`. + // For custom options, it should be the fully-qualified name. For example, + // `"google.api.http"`. + string name = 1; + // The option's value packed in an Any message. If the value is a primitive, + // the corresponding wrapper type defined in google/protobuf/wrappers.proto + // should be used. If the value is an enum, it should be stored as an int32 + // value using the google.protobuf.Int32Value type. + Any value = 2; +} + +// The syntax in which a protocol buffer element is defined. +enum Syntax { + // Syntax `proto2`. + SYNTAX_PROTO2 = 0; + // Syntax `proto3`. + SYNTAX_PROTO3 = 1; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto.expanded.jsonld new file mode 100644 index 0000000000..d8e11d74db --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto.expanded.jsonld @@ -0,0 +1,6822 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.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/google/type.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,26)-(39,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,26)-(38,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/typepb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,20)-(44,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(42,29)-(42,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "TypeProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(41,30)-(41,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,22)-(40,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(43,27)-(43,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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/google/any.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/anypb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,20)-(36,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,29)-(39,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "AnyProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,30)-(38,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,22)-(37,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,27)-(40,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(154,2)-(154,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(154,2)-(154,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,2)-(157,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,2)-(157,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,0)-(158,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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/google/source_context.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(35,26)-(35,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/sourcecontextpb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,20)-(40,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,29)-(38,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "SourceContextProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,30)-(37,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,22)-(36,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,27)-(39,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,2)-(47,22)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(48,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": [ + { + "@value": false + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(173,2)-(173,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(173,2)-(173,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Any" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(178,2)-(178,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(178,2)-(178,15)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(168,0)-(179,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Kind" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(119,2)-(119,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(119,2)-(119,15)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Cardinality" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(121,2)-(121,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(121,2)-(121,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(123,2)-(123,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "number" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(123,2)-(123,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,2)-(125,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(125,2)-(125,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(128,2)-(128,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(128,2)-(128,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(131,2)-(131,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 7 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "oneof_index" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(131,2)-(131,23)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(133,2)-(133,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 8 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "packed" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(133,2)-(133,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(135,11)-(135,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(135,2)-(135,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 9 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(135,2)-(135,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(137,2)-(137,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 10 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "json_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(137,2)-(137,23)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(139,2)-(139,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 11 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "default_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(139,2)-(139,27)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(63,0)-(140,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Field" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,11)-(51,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,27)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "fields" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,11)-(53,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,2)-(53,28)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "oneofs" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,2)-(53,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,11)-(55,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,2)-(55,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,2)-(55,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SourceContext" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,2)-(57,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,2)-(57,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,2)-(59,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 6 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,2)-(59,19)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Type" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Type" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,0)-(60,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(145,2)-(145,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(145,2)-(145,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(147,11)-(147,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(147,2)-(147,34)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "enumvalue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(147,2)-(147,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(149,11)-(149,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(149,2)-(149,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(149,2)-(149,29)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "SourceContext" + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(151,2)-(151,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 4 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(151,2)-(151,34)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(153,2)-(153,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 5 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(153,2)-(153,19)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Enum" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Enum" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(143,0)-(154,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "@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": ".google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Cardinality" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(109,4)-(109,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_OPTIONAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(111,4)-(111,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_REQUIRED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(113,4)-(113,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(115,4)-(115,4)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN", + "@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": "CARDINALITY_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(109,4)-(109,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL", + "@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": "CARDINALITY_OPTIONAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(111,4)-(111,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED", + "@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": "CARDINALITY_REQUIRED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(113,4)-(113,28)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED", + "@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": "CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(115,4)-(115,28)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,2)-(116,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(107,2)-(116,2)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "@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": ".google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Kind" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,4)-(67,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_DOUBLE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(69,4)-(69,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_FLOAT" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(71,4)-(71,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_INT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(73,4)-(73,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(75,4)-(75,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_6": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_INT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(77,4)-(77,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_7": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_FIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(79,4)-(79,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_8": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_FIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(81,4)-(81,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_9": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_BOOL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(83,4)-(83,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_10": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_STRING" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(85,4)-(85,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_11": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_GROUP" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(87,4)-(87,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_12": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_MESSAGE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(89,4)-(89,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_13": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_BYTES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(91,4)-(91,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_14": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,4)-(93,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_15": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_ENUM" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(95,4)-(95,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_16": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SFIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(97,4)-(97,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_17": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SFIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(99,4)-(99,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_18": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(101,4)-(101,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_19": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(103,4)-(103,4)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN", + "@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": "TYPE_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,4)-(67,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE", + "@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": "TYPE_DOUBLE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(69,4)-(69,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT", + "@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": "TYPE_FLOAT" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(71,4)-(71,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64", + "@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": "TYPE_INT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(73,4)-(73,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64", + "@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": "TYPE_UINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(75,4)-(75,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32", + "@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": "TYPE_INT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(77,4)-(77,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64", + "@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": "TYPE_FIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(79,4)-(79,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32", + "@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": 7 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_FIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(81,4)-(81,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL", + "@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": 8 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_BOOL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(83,4)-(83,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING", + "@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": 9 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_STRING" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(85,4)-(85,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP", + "@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": 10 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_GROUP" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(87,4)-(87,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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#serializationOrder": [ + { + "@value": 11 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_MESSAGE" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(89,4)-(89,21)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES", + "@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": 12 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_BYTES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(91,4)-(91,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32", + "@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": 13 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_UINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(93,4)-(93,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM", + "@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": 14 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_ENUM" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(95,4)-(95,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32", + "@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": 15 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SFIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(97,4)-(97,22)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64", + "@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": 16 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SFIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(99,4)-(99,22)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32", + "@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": 17 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(101,4)-(101,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64", + "@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": 18 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(103,4)-(103,20)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,2)-(104,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,2)-(104,2)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(159,2)-(159,2)]" + } + ] + } + ] + } + ] + } + ], + "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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(159,2)-(159,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(161,2)-(161,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 2 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "number" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(161,2)-(161,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": [ + { + "@value": "Option" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(163,11)-(163,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(163,2)-(163,29)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 3 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "options" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(163,2)-(163,29)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(157,0)-(164,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "@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": ".google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Syntax" + } + ], + "http://www.w3.org/ns/shacl#in": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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": "SYNTAX_PROTO2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(184,2)-(184,2)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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": "SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(186,2)-(186,2)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2", + "@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": "SYNTAX_PROTO2" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(184,2)-(184,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3", + "@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": "SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(186,2)-(186,19)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(182,0)-(187,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(182,0)-(187,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto.flattened.jsonld new file mode 100644 index 0000000000..2088d08640 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto.flattened.jsonld @@ -0,0 +1,4712 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/typepb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "TypeProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,26)-(39,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,26)-(38,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,20)-(44,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(42,29)-(42,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(41,30)-(41,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(40,22)-(40,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(43,27)-(43,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto", + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "@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/google/type.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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/google/any.proto#/web-api" + }, + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": false, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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/google/source_context.proto#/web-api" + }, + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": false, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Option", + "http://a.ml/vocabularies/core#name": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Field", + "http://a.ml/vocabularies/core#name": "Field", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Type", + "http://a.ml/vocabularies/core#name": "Type", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Enum", + "http://a.ml/vocabularies/core#name": "Enum", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "@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": ".google.protobuf.Field.Cardinality", + "http://a.ml/vocabularies/core#name": "Cardinality", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "@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": ".google.protobuf.Field.Kind", + "http://a.ml/vocabularies/core#name": "Kind", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.EnumValue", + "http://a.ml/vocabularies/core#name": "EnumValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "@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": ".google.protobuf.Syntax", + "http://a.ml/vocabularies/core#name": "Syntax", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Any", + "http://a.ml/vocabularies/core#name": "Any", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.SourceContext", + "http://a.ml/vocabularies/core#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "kind", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "cardinality", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "number", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 6, + "http://www.w3.org/ns/shacl#name": "type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 7, + "http://www.w3.org/ns/shacl#name": "oneof_index", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 8, + "http://www.w3.org/ns/shacl#name": "packed", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 9, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 10, + "http://www.w3.org/ns/shacl#name": "json_name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 11, + "http://www.w3.org/ns/shacl#name": "default_value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "fields", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "oneofs", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 5, + "http://www.w3.org/ns/shacl#name": "source_context", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 6, + "http://www.w3.org/ns/shacl#name": "syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "enumvalue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context", + "@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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "source_context", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 5, + "http://www.w3.org/ns/shacl#name": "syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_3": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_4": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_3": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_4": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_5": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_6": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_7": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_8": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_9": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_10": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_11": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_12": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_13": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_14": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_15": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_16": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_17": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_18": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_19": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "number", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "options", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "type_url", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "file_name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any", + "@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/google/any.proto#/web-api/types/.google.protobuf.Any" + } + ], + "http://a.ml/vocabularies/document#link-label": "Any", + "http://www.w3.org/ns/shacl#name": "Any", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option", + "http://a.ml/vocabularies/document-source-maps#value": "[(168,0)-(179,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind" + } + ], + "http://a.ml/vocabularies/document#link-label": "Kind", + "http://www.w3.org/ns/shacl#name": "Kind", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality" + } + ], + "http://a.ml/vocabularies/document#link-label": "Cardinality", + "http://www.w3.org/ns/shacl#name": "Cardinality", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field", + "http://a.ml/vocabularies/document-source-maps#value": "[(63,0)-(140,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": "SourceContext", + "http://www.w3.org/ns/shacl#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": "Syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,0)-(60,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext", + "@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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext" + } + ], + "http://a.ml/vocabularies/document#link-label": "SourceContext", + "http://www.w3.org/ns/shacl#name": "SourceContext", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124", + "@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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax" + } + ], + "http://a.ml/vocabularies/document#link-label": "Syntax", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum", + "http://a.ml/vocabularies/document-source-maps#value": "[(143,0)-(154,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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": "CARDINALITY_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL", + "@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": 1, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_OPTIONAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED", + "@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": 2, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_REQUIRED", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED", + "@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": 3, + "http://www.w3.org/ns/shacl#name": "CARDINALITY_REPEATED", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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": "TYPE_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "TYPE_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE", + "@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": 1, + "http://www.w3.org/ns/shacl#name": "TYPE_DOUBLE", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT", + "@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": 2, + "http://www.w3.org/ns/shacl#name": "TYPE_FLOAT", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64", + "@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": 3, + "http://www.w3.org/ns/shacl#name": "TYPE_INT64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64", + "@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": 4, + "http://www.w3.org/ns/shacl#name": "TYPE_UINT64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32", + "@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": 5, + "http://www.w3.org/ns/shacl#name": "TYPE_INT32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64", + "@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": 6, + "http://www.w3.org/ns/shacl#name": "TYPE_FIXED64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32", + "@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": 7, + "http://www.w3.org/ns/shacl#name": "TYPE_FIXED32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL", + "@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": 8, + "http://www.w3.org/ns/shacl#name": "TYPE_BOOL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING", + "@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": 9, + "http://www.w3.org/ns/shacl#name": "TYPE_STRING", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP", + "@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": 10, + "http://www.w3.org/ns/shacl#name": "TYPE_GROUP", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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#serializationOrder": 11, + "http://www.w3.org/ns/shacl#name": "TYPE_MESSAGE", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES", + "@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": 12, + "http://www.w3.org/ns/shacl#name": "TYPE_BYTES", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32", + "@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": 13, + "http://www.w3.org/ns/shacl#name": "TYPE_UINT32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM", + "@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": 14, + "http://www.w3.org/ns/shacl#name": "TYPE_ENUM", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32", + "@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": 15, + "http://www.w3.org/ns/shacl#name": "TYPE_SFIXED32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64", + "@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": 16, + "http://www.w3.org/ns/shacl#name": "TYPE_SFIXED64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32", + "@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": 17, + "http://www.w3.org/ns/shacl#name": "TYPE_SINT32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64", + "@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": 18, + "http://www.w3.org/ns/shacl#name": "TYPE_SINT64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,0)-(164,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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": "SYNTAX_PROTO2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2", + "@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": 0, + "http://www.w3.org/ns/shacl#name": "SYNTAX_PROTO2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3", + "@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": 1, + "http://www.w3.org/ns/shacl#name": "SYNTAX_PROTO3", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(182,0)-(187,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,0)-(158,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(48,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(173,2)-(173,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/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/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(178,2)-(178,15)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,2)-(119,15)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "[(121,2)-(121,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(123,2)-(123,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,2)-(125,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(128,2)-(128,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index", + "http://a.ml/vocabularies/document-source-maps#value": "[(131,2)-(131,23)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,2)-(133,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,2)-(135,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_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/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name", + "http://a.ml/vocabularies/document-source-maps#value": "[(137,2)-(137,23)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/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/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value", + "http://a.ml/vocabularies/document-source-maps#value": "[(139,2)-(139,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,2)-(49,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391", + "@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/google/type.proto#/web-api/types/.google.protobuf.Field" + } + ], + "http://a.ml/vocabularies/document#link-label": "Field", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,2)-(51,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,2)-(53,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,2)-(55,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,2)-(57,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,2)-(59,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(145,2)-(145,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151", + "@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/google/type.proto#/web-api/types/.google.protobuf.EnumValue" + } + ], + "http://a.ml/vocabularies/document#link-label": "EnumValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue", + "http://a.ml/vocabularies/document-source-maps#value": "[(147,2)-(147,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,2)-(149,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/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/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context", + "http://a.ml/vocabularies/document-source-maps#value": "[(151,2)-(151,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/syntax", + "http://a.ml/vocabularies/document-source-maps#value": "[(153,2)-(153,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(107,2)-(116,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/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/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(65,2)-(104,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(159,2)-(159,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number", + "http://a.ml/vocabularies/document-source-maps#value": "[(161,2)-(161,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476", + "@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/google/type.proto#/web-api/types/.google.protobuf.Option" + } + ], + "http://a.ml/vocabularies/document#link-label": "Option", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,2)-(163,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/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/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(182,0)-(187,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,2)-(154,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/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/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,2)-(157,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_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/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(173,2)-(173,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/property/value/Any", + "http://a.ml/vocabularies/document-source-maps#value": "[(178,2)-(178,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/kind/scalar/Kind", + "http://a.ml/vocabularies/document-source-maps#value": "[(119,2)-(119,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/cardinality/scalar/Cardinality", + "http://a.ml/vocabularies/document-source-maps#value": "[(121,2)-(121,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/number/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(123,2)-(123,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(125,2)-(125,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(128,2)-(128,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/oneof_index/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(131,2)-(131,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/packed/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(133,2)-(133,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,2)-(135,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/json_name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(137,2)-(137,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/property/default_value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(139,2)-(139,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,2)-(49,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/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/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/fields/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,2)-(51,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/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/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,2)-(53,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,2)-(55,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/source_context/SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,2)-(57,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--903004566", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,2)-(59,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(145,2)-(145,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/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/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/enumvalue/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(147,2)-(147,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/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/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,2)-(149,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Enum/property/source_context/SourceContext", + "http://a.ml/vocabularies/document-source-maps#value": "[(151,2)-(151,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/link--832451124", + "http://a.ml/vocabularies/document-source-maps#value": "[(153,2)-(153,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(109,4)-(109,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#value": "[(109,4)-(109,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_OPTIONAL", + "http://a.ml/vocabularies/document-source-maps#value": "[(111,4)-(111,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REQUIRED", + "http://a.ml/vocabularies/document-source-maps#value": "[(113,4)-(113,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Cardinality/default-node/property/CARDINALITY_REPEATED", + "http://a.ml/vocabularies/document-source-maps#value": "[(115,4)-(115,28)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(67,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UNKNOWN", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,4)-(67,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_DOUBLE", + "http://a.ml/vocabularies/document-source-maps#value": "[(69,4)-(69,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FLOAT", + "http://a.ml/vocabularies/document-source-maps#value": "[(71,4)-(71,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT64", + "http://a.ml/vocabularies/document-source-maps#value": "[(73,4)-(73,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT64", + "http://a.ml/vocabularies/document-source-maps#value": "[(75,4)-(75,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_INT32", + "http://a.ml/vocabularies/document-source-maps#value": "[(77,4)-(77,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED64", + "http://a.ml/vocabularies/document-source-maps#value": "[(79,4)-(79,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_FIXED32", + "http://a.ml/vocabularies/document-source-maps#value": "[(81,4)-(81,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BOOL", + "http://a.ml/vocabularies/document-source-maps#value": "[(83,4)-(83,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_STRING", + "http://a.ml/vocabularies/document-source-maps#value": "[(85,4)-(85,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_GROUP", + "http://a.ml/vocabularies/document-source-maps#value": "[(87,4)-(87,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_MESSAGE", + "http://a.ml/vocabularies/document-source-maps#value": "[(89,4)-(89,21)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_BYTES", + "http://a.ml/vocabularies/document-source-maps#value": "[(91,4)-(91,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_UINT32", + "http://a.ml/vocabularies/document-source-maps#value": "[(93,4)-(93,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_ENUM", + "http://a.ml/vocabularies/document-source-maps#value": "[(95,4)-(95,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED32", + "http://a.ml/vocabularies/document-source-maps#value": "[(97,4)-(97,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SFIXED64", + "http://a.ml/vocabularies/document-source-maps#value": "[(99,4)-(99,22)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT32", + "http://a.ml/vocabularies/document-source-maps#value": "[(101,4)-(101,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/scalar/.google.protobuf.Field.Kind/default-node/property/TYPE_SINT64", + "http://a.ml/vocabularies/document-source-maps#value": "[(103,4)-(103,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(159,2)-(159,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/number/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(161,2)-(161,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/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/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/property/options/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,2)-(163,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(184,2)-(184,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO2", + "http://a.ml/vocabularies/document-source-maps#value": "[(184,2)-(184,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/scalar/.google.protobuf.Syntax/default-node/property/SYNTAX_PROTO3", + "http://a.ml/vocabularies/document-source-maps#value": "[(186,2)-(186,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/type_url/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(154,2)-(154,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/any.proto#/web-api/types/.google.protobuf.Any/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(157,2)-(157,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/source_context.proto#/web-api/types/.google.protobuf.SourceContext/property/file_name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,2)-(47,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--156396068", + "http://a.ml/vocabularies/document-source-maps#value": "[(135,11)-(135,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Field/link--997124391", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,11)-(51,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Type/property/oneofs/array/default-array/items/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,11)-(53,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--1125211508", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,11)-(55,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.EnumValue/link-706724151", + "http://a.ml/vocabularies/document-source-maps#value": "[(147,11)-(147,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link-2070329980", + "http://a.ml/vocabularies/document-source-maps#value": "[(149,11)-(149,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/type.proto#/web-api/types/.google.protobuf.Option/link--2097849476", + "http://a.ml/vocabularies/document-source-maps#value": "[(163,11)-(163,11)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto new file mode 100644 index 0000000000..d49dd53c8d --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto @@ -0,0 +1,123 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Wrappers for primitive (non-message) types. These types are useful +// for embedding primitives in the `google.protobuf.Any` type and for places +// where we need to distinguish between the absence of a primitive +// typed field and its default value. +// +// These wrappers have no meaningful use within repeated fields as they lack +// the ability to detect presence on individual elements. +// These wrappers have no meaningful use within a map or a oneof since +// individual entries of a map or fields of a oneof can already detect presence. + +syntax = "proto3"; + +package google.protobuf; + +option csharp_namespace = "Google.Protobuf.WellKnownTypes"; +option cc_enable_arenas = true; +option go_package = "google.golang.org/protobuf/types/known/wrapperspb"; +option java_package = "com.google.protobuf"; +option java_outer_classname = "WrappersProto"; +option java_multiple_files = true; +option objc_class_prefix = "GPB"; + +// Wrapper message for `double`. +// +// The JSON representation for `DoubleValue` is JSON number. +message DoubleValue { + // The double value. + double value = 1; +} + +// Wrapper message for `float`. +// +// The JSON representation for `FloatValue` is JSON number. +message FloatValue { + // The float value. + float value = 1; +} + +// Wrapper message for `int64`. +// +// The JSON representation for `Int64Value` is JSON string. +message Int64Value { + // The int64 value. + int64 value = 1; +} + +// Wrapper message for `uint64`. +// +// The JSON representation for `UInt64Value` is JSON string. +message UInt64Value { + // The uint64 value. + uint64 value = 1; +} + +// Wrapper message for `int32`. +// +// The JSON representation for `Int32Value` is JSON number. +message Int32Value { + // The int32 value. + int32 value = 1; +} + +// Wrapper message for `uint32`. +// +// The JSON representation for `UInt32Value` is JSON number. +message UInt32Value { + // The uint32 value. + uint32 value = 1; +} + +// Wrapper message for `bool`. +// +// The JSON representation for `BoolValue` is JSON `true` and `false`. +message BoolValue { + // The bool value. + bool value = 1; +} + +// Wrapper message for `string`. +// +// The JSON representation for `StringValue` is JSON string. +message StringValue { + // The string value. + string value = 1; +} + +// Wrapper message for `bytes`. +// +// The JSON representation for `BytesValue` is JSON string. +message BytesValue { + // The bytes value. + bytes value = 1; +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto.expanded.jsonld new file mode 100644 index 0000000000..a72f212376 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto.expanded.jsonld @@ -0,0 +1,1688 @@ +[ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.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/google/wrappers.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": "google.protobuf" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "cc_enable_arenas" + } + ], + "@id": "null/extensioncc_enable_arenas/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": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncc_enable_arenas/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(46,26)-(46,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "csharp_namespace" + } + ], + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensioncsharp_namespace/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,26)-(45,26)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#go_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "go_package" + } + ], + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/wrapperspb" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensiongo_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(47,20)-(47,20)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,29)-(50,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "WrappersProto" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,30)-(49,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "com.google.protobuf" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(48,22)-(48,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "GPB" + } + ], + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,27)-(51,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "google.protobuf" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(114,2)-(114,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(114,2)-(114,18)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.StringValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "StringValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(112,0)-(115,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,2)-(122,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(122,2)-(122,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.BytesValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "BytesValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(120,0)-(123,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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#float" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.FloatValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "FloatValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(64,0)-(67,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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": "uint32" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(98,2)-(98,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(98,2)-(98,18)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.UInt32Value" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "UInt32Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(96,0)-(99,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "uint64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(82,2)-(82,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(82,2)-(82,18)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.UInt64Value" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "UInt64Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(80,0)-(83,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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#double" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,2)-(58,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,2)-(58,18)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.DoubleValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "DoubleValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,0)-(59,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(90,2)-(90,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(90,2)-(90,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Int32Value" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Int32Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(88,0)-(91,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(106,2)-(106,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(106,2)-(106,16)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.BoolValue" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "BoolValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(104,0)-(107,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": [ + { + "@value": "int64" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(74,2)-(74,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationOrder": [ + { + "@value": 1 + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": "value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(74,2)-(74,17)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#name": [ + { + "@value": ".google.protobuf.Int64Value" + } + ], + "http://a.ml/vocabularies/core#name": [ + { + "@value": "Int64Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(72,0)-(75,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto.flattened.jsonld new file mode 100644 index 0000000000..e407e46337 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto.flattened.jsonld @@ -0,0 +1,1430 @@ +{ + "@graph": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.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": "google.protobuf", + "http://a.ml/vocabularies/apiContract#endpoint": [], + "http://a.ml/vocabularies/data#cc_enable_arenas": { + "@id": "null/extensioncc_enable_arenas/data-node" + }, + "http://a.ml/vocabularies/data#csharp_namespace": { + "@id": "null/extensioncsharp_namespace/data-node" + }, + "http://a.ml/vocabularies/data#go_package": { + "@id": "null/extensiongo_package/data-node" + }, + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#cc_enable_arenas" + }, + { + "@id": "http://a.ml/vocabularies/data#csharp_namespace" + }, + { + "@id": "http://a.ml/vocabularies/data#go_package" + }, + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "cc_enable_arenas", + "@id": "null/extensioncc_enable_arenas/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": "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": "null/extensioncc_enable_arenas/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "csharp_namespace", + "@id": "null/extensioncsharp_namespace/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": "Google.Protobuf.WellKnownTypes", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "go_package", + "@id": "null/extensiongo_package/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": "google.golang.org/protobuf/types/known/wrapperspb", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensiongo_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "WrappersProto", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "com.google.protobuf", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "GPB", + "http://www.w3.org/ns/shacl#datatype": [ + { + "@id": "http://www.w3.org/2001/XMLSchema#string" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensiongo_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensioncc_enable_arenas/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncc_enable_arenas/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(46,26)-(46,26)]" + }, + { + "@id": "null/extensioncsharp_namespace/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensioncsharp_namespace/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,26)-(45,26)]" + }, + { + "@id": "null/extensiongo_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensiongo_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(47,20)-(47,20)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(50,29)-(50,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,30)-(49,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(48,22)-(48,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,27)-(51,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto", + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value" + } + ], + "@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/google/wrappers.proto#/web-api" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "google.protobuf" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.StringValue", + "http://a.ml/vocabularies/core#name": "StringValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.BytesValue", + "http://a.ml/vocabularies/core#name": "BytesValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.FloatValue", + "http://a.ml/vocabularies/core#name": "FloatValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.UInt32Value", + "http://a.ml/vocabularies/core#name": "UInt32Value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.UInt64Value", + "http://a.ml/vocabularies/core#name": "UInt64Value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.DoubleValue", + "http://a.ml/vocabularies/core#name": "DoubleValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Int32Value", + "http://a.ml/vocabularies/core#name": "Int32Value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.BoolValue", + "http://a.ml/vocabularies/core#name": "BoolValue", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value" + } + ], + "http://www.w3.org/ns/shacl#name": ".google.protobuf.Int64Value", + "http://a.ml/vocabularies/core#name": "Int64Value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value", + "@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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "value", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(112,0)-(115,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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#byte" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(120,0)-(123,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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#float" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(64,0)-(67,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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": "uint32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value", + "http://a.ml/vocabularies/document-source-maps#value": "[(96,0)-(99,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": "uint64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value", + "http://a.ml/vocabularies/document-source-maps#value": "[(80,0)-(83,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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#double" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(56,0)-(59,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value", + "http://a.ml/vocabularies/document-source-maps#value": "[(88,0)-(91,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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#boolean" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue", + "http://a.ml/vocabularies/document-source-maps#value": "[(104,0)-(107,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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#long" + } + ], + "http://a.ml/vocabularies/shapes#format": "int64", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value", + "http://a.ml/vocabularies/document-source-maps#value": "[(72,0)-(75,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,2)-(114,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,2)-(122,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,2)-(66,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(98,2)-(98,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(82,2)-(82,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,2)-(58,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,2)-(90,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(106,2)-(106,16)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/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/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value", + "http://a.ml/vocabularies/document-source-maps#value": "[(74,2)-(74,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.StringValue/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(114,2)-(114,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BytesValue/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(122,2)-(122,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.FloatValue/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,2)-(66,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt32Value/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(98,2)-(98,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.UInt64Value/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(82,2)-(82,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.DoubleValue/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,2)-(58,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int32Value/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(90,2)-(90,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.BoolValue/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(106,2)-(106,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/google/wrappers.proto#/web-api/types/.google.protobuf.Int64Value/property/value/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(74,2)-(74,2)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/library.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/library.proto new file mode 100644 index 0000000000..1b238065b7 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/library.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + +package library; + +message Wadus { + repeated string message = 2; +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/simple.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.expanded.jsonld new file mode 100644 index 0000000000..a5d7422921 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.expanded.jsonld @@ -0,0 +1,4398 @@ +[ + { + "@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/end-points/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/end-points/Greeter/SayHello1", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello1/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello1/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello1/request/application%2Fgrpc/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#/web-api/types/.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/end-points/Greeter/SayHello1/request/application%2Fgrpc/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/end-points/Greeter/SayHello1/request/application%2Fgrpc/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/end-points/Greeter/SayHello1/request/application%2Fgrpc/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/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,53)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello1/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello1/application%2Fprotobuf/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#/web-api/types/.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/end-points/Greeter/SayHello1/application%2Fprotobuf/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/end-points/Greeter/SayHello1/application%2Fprotobuf/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/end-points/Greeter/SayHello1/application%2Fprotobuf/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/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,53)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "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/end-points/Greeter/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/end-points/Greeter/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/end-points/Greeter/SayHello1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(15,2)-(15,53)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello2/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello2/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello2/request/application%2Fgrpc/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#/web-api/types/.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/end-points/Greeter/SayHello2/request/application%2Fgrpc/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/end-points/Greeter/SayHello2/request/application%2Fgrpc/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/end-points/Greeter/SayHello2/request/application%2Fgrpc/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/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,60)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello2/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello2/application%2Fprotobuf/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#/web-api/types/.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/end-points/Greeter/SayHello2/application%2Fprotobuf/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/end-points/Greeter/SayHello2/application%2Fprotobuf/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/end-points/Greeter/SayHello2/application%2Fprotobuf/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/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,60)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "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/end-points/Greeter/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/end-points/Greeter/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/end-points/Greeter/SayHello2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(16,2)-(16,60)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello3/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello3/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello3/request/application%2Fgrpc/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#/web-api/types/.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/end-points/Greeter/SayHello3/request/application%2Fgrpc/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/end-points/Greeter/SayHello3/request/application%2Fgrpc/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/end-points/Greeter/SayHello3/request/application%2Fgrpc/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/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,60)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello3/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello3/application%2Fprotobuf/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#/web-api/types/.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/end-points/Greeter/SayHello3/application%2Fprotobuf/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/end-points/Greeter/SayHello3/application%2Fprotobuf/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/end-points/Greeter/SayHello3/application%2Fprotobuf/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/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,60)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "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/end-points/Greeter/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/end-points/Greeter/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/end-points/Greeter/SayHello3" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(17,2)-(17,60)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello4/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello4/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello4/request/application%2Fgrpc/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#/web-api/types/.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/end-points/Greeter/SayHello4/request/application%2Fgrpc/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/end-points/Greeter/SayHello4/request/application%2Fgrpc/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/end-points/Greeter/SayHello4/request/application%2Fgrpc/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/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,67)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello4/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello4/application%2Fprotobuf/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#/web-api/types/.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/end-points/Greeter/SayHello4/application%2Fprotobuf/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/end-points/Greeter/SayHello4/application%2Fprotobuf/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/end-points/Greeter/SayHello4/application%2Fprotobuf/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/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,67)]" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "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/end-points/Greeter/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/end-points/Greeter/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/end-points/Greeter/SayHello4" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(18,2)-(18,67)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/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/end-points/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/end-points/Greeter" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(13,0)-(19,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/data#java_multiple_files": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_multiple_files" + } + ], + "@id": "null/extensionjava_multiple_files/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": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_multiple_files/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(3,29)-(3,29)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_outer_classname" + } + ], + "@id": "null/extensionjava_outer_classname/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": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_outer_classname/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,30)-(5,30)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#java_package": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "java_package" + } + ], + "@id": "null/extensionjava_package/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": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionjava_package/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(4,22)-(4,22)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "http://a.ml/vocabularies/core#extensionName": [ + { + "@value": "objc_class_prefix" + } + ], + "@id": "null/extensionobjc_class_prefix/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": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": [ + { + "@value": "null/extensionobjc_class_prefix/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,27)-(6,27)]" + } + ] + } + ] + } + ] + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "http://a.ml/vocabularies/document#root": [ + { + "@value": true + } + ], + "http://a.ml/vocabularies/document#package": [ + { + "@value": "helloworld" + } + ], + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.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/library.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": "library" + } + ], + "http://a.ml/vocabularies/apiContract#endpoint": [] + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.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/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,11)-(6,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,2)-(6,29)]" + } + ] + } + ] + } + ] + } + ], + "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/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(6,2)-(6,29)]" + } + ] + } + ] + } + ] + } + ], + "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/library.proto#/web-api/types/.library.Wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.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/library.proto#/web-api/types/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.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/library.proto#/web-api/types/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(5,0)-(7,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document#version": [ + { + "@value": "3.1.0" + } + ], + "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#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/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#/web-api/types/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#/web-api/types/scalar/.helloworld.Corpus/default-node/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#/web-api/types/scalar/.helloworld.Corpus/default-node/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/types/scalar/.helloworld.Corpus/default-node/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/types/scalar/.helloworld.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,2)-(45,2)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/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#/web-api/types/scalar/.helloworld.Corpus/default-node/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#/web-api/types/scalar/.helloworld.Corpus/default-node/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#/web-api/types/scalar/.helloworld.Corpus/default-node/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#/web-api/types/scalar/.helloworld.Corpus/default-node/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(45,2)-(45,15)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/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#/web-api/types/scalar/.helloworld.Corpus/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#/web-api/types/scalar/.helloworld.Corpus/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(46,0)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/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#/web-api/types/scalar/.helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/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#/web-api/types/scalar/.helloworld.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(44,0)-(46,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,4)-(30,4)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(30,4)-(30,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473", + "@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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/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/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/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/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,4)-(31,4)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fb" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(31,4)-(31,25)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(29,2)-(35,2)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,11)-(23,11)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,2)-(23,26)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(23,2)-(23,26)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/wadus/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/library.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloRequest/property/wadus/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#/web-api/types/.helloworld.HelloRequest/property/wadus/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#/web-api/types/.helloworld.HelloRequest/property/wadus/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#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,2)-(24,10)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/wadus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(24,2)-(24,25)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(22,0)-(25,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/query/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,2)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/query" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(49,2)-(49,18)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/page_number/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,2)-(50,2)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/page_number" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(50,2)-(50,23)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/result_per_page/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,2)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/result_per_page" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(51,2)-(51,27)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,2)-(61,2)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(61,2)-(61,19)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SearchRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(48,0)-(62,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,6)-(33,6)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(33,6)-(33,19)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(32,4)-(34,4)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,6)-(28,6)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760", + "@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#/web-api/types/.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#/web-api/types/.helloworld.SearchRequest/link--75310760/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/types/.helloworld.SearchRequest/link--75310760/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#/web-api/types/.helloworld.SearchRequest/link--75310760/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#/web-api/types/.helloworld.SearchRequest/link--75310760/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/types/.helloworld.SearchRequest/link--75310760" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,14)-(28,14)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,2)-(28,41)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/searches" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(28,2)-(28,41)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fc/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.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#/web-api/types/.helloworld.SampleMessage/property/fc/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#/web-api/types/.helloworld.SampleMessage/property/fc/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#/web-api/types/.helloworld.SampleMessage/property/fc/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#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,2)-(36,17)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fc" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(36,2)-(36,39)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fd/.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#/web-api/types/.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#/web-api/types/.helloworld.SampleMessage/property/fd/.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#/web-api/types/.helloworld.SampleMessage/property/fd/.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#/web-api/types/.helloworld.SampleMessage/property/fd/.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#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,2)-(37,14)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fd" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(37,2)-(37,34)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,4)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,19)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(39,4)-(39,19)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/sub_message/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#/web-api/types/.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/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/sub_message/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/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/sub_message/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/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/sub_message/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/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/sub_message/HelloRequest" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,4)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/sub_message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,32)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(40,4)-(40,32)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(38,2)-(41,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SampleMessage" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(27,0)-(42,0)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,4)-(53,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_2": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,4)-(54,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_3": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,4)-(55,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_4": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,4)-(56,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_5": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,4)-(57,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_6": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,4)-(58,4)]" + } + ] + } + ] + } + ] + } + ], + "http://www.w3.org/2000/01/rdf-schema#_7": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,4)-(59,4)]" + } + ] + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/shapes#serializationSchema": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(53,4)-(53,17)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/WEB" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(54,4)-(54,11)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/IMAGES" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(55,4)-(55,14)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/LOCAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(56,4)-(56,13)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/NEWS" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(57,4)-(57,12)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/PRODUCTS" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(58,4)-(58,16)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(59,4)-(59,13)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,2)-(60,2)]" + } + ] + } + ] + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(52,2)-(60,2)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/message/scalar/default-scalar" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,2)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/message" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(66,2)-(66,20)]" + } + ] + } + ] + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,2)-(67,16)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/other" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(67,2)-(67,32)]" + } + ] + } + ] + } + ] + } + ], + "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#/web-api/types/.helloworld.HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "" + } + ] + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document-source-maps#value": [ + { + "@value": "[(65,0)-(68,0)]" + } + ] + } + ] + } + ] + } + ] + } +] diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/simple.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.flattened.jsonld new file mode 100644 index 0000000000..20a0db1da4 --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.flattened.jsonld @@ -0,0 +1,3412 @@ +{ + "@graph": [ + { + "@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": "helloworld", + "http://a.ml/vocabularies/apiContract#endpoint": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter" + } + ], + "http://a.ml/vocabularies/data#java_multiple_files": { + "@id": "null/extensionjava_multiple_files/data-node" + }, + "http://a.ml/vocabularies/data#java_outer_classname": { + "@id": "null/extensionjava_outer_classname/data-node" + }, + "http://a.ml/vocabularies/data#java_package": { + "@id": "null/extensionjava_package/data-node" + }, + "http://a.ml/vocabularies/data#objc_class_prefix": { + "@id": "null/extensionobjc_class_prefix/data-node" + }, + "http://a.ml/vocabularies/document#customDomainProperties": [ + { + "@id": "http://a.ml/vocabularies/data#java_multiple_files" + }, + { + "@id": "http://a.ml/vocabularies/data#java_outer_classname" + }, + { + "@id": "http://a.ml/vocabularies/data#java_package" + }, + { + "@id": "http://a.ml/vocabularies/data#objc_class_prefix" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter", + "@type": [ + "http://a.ml/vocabularies/apiContract#EndPoint", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#name": "Greeter", + "http://a.ml/vocabularies/apiContract#supportedOperation": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_multiple_files", + "@id": "null/extensionjava_multiple_files/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": "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": "null/extensionjava_multiple_files/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_outer_classname", + "@id": "null/extensionjava_outer_classname/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": "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": "null/extensionjava_outer_classname/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "java_package", + "@id": "null/extensionjava_package/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": "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": "null/extensionjava_package/data-node/source-map" + } + ] + }, + { + "http://a.ml/vocabularies/core#extensionName": "objc_class_prefix", + "@id": "null/extensionobjc_class_prefix/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": "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": "null/extensionobjc_class_prefix/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": "post", + "http://a.ml/vocabularies/core#name": "SayHello1", + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request" + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/" + } + ], + "http://a.ml/vocabularies/apiContract#operationId": "SayHello1", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": "publish", + "http://a.ml/vocabularies/core#name": "SayHello2", + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request" + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/" + } + ], + "http://a.ml/vocabularies/apiContract#operationId": "SayHello2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": "subscribe", + "http://a.ml/vocabularies/core#name": "SayHello3", + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request" + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/" + } + ], + "http://a.ml/vocabularies/apiContract#operationId": "SayHello3", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4", + "@type": [ + "http://a.ml/vocabularies/apiContract#Operation", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#method": "pubsub", + "http://a.ml/vocabularies/core#name": "SayHello4", + "http://a.ml/vocabularies/apiContract#expects": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request" + } + ], + "http://a.ml/vocabularies/apiContract#returns": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/" + } + ], + "http://a.ml/vocabularies/apiContract#operationId": "SayHello4", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/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/end-points/Greeter/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionjava_package/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello1/request/application%2Fgrpc" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": "", + "http://a.ml/vocabularies/core#name": "", + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/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/end-points/Greeter/SayHello1/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello2/request/application%2Fgrpc" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": "", + "http://a.ml/vocabularies/core#name": "", + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/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/end-points/Greeter/SayHello2/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello3/request/application%2Fgrpc" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": "", + "http://a.ml/vocabularies/core#name": "", + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/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/end-points/Greeter/SayHello3/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request", + "@type": [ + "http://a.ml/vocabularies/apiContract#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/end-points/Greeter/SayHello4/request/application%2Fgrpc" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/", + "@type": [ + "http://a.ml/vocabularies/apiContract#Response", + "http://a.ml/vocabularies/apiContract#Message", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/apiContract#statusCode": "", + "http://a.ml/vocabularies/core#name": "", + "http://a.ml/vocabularies/apiContract#payload": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/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/end-points/Greeter/SayHello4/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter", + "http://a.ml/vocabularies/document-source-maps#value": "[(13,0)-(19,0)]" + }, + { + "@id": "null/extensionjava_multiple_files/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_multiple_files/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(3,29)-(3,29)]" + }, + { + "@id": "null/extensionjava_outer_classname/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_outer_classname/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,30)-(5,30)]" + }, + { + "@id": "null/extensionjava_package/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionjava_package/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(4,22)-(4,22)]" + }, + { + "@id": "null/extensionobjc_class_prefix/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "null/extensionobjc_class_prefix/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,27)-(6,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/grpc", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/protobuf", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,53)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/grpc", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/protobuf", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,60)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/grpc", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/protobuf", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(17,60)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/grpc", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf", + "@type": [ + "http://a.ml/vocabularies/apiContract#Payload", + "http://a.ml/vocabularies/document#DomainElement" + ], + "http://a.ml/vocabularies/core#mediaType": "application/protobuf", + "http://a.ml/vocabularies/shapes#schema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,67)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloRequest", + "http://www.w3.org/ns/shacl#name": "HelloRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/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#/web-api/types/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloReply", + "http://www.w3.org/ns/shacl#name": "HelloReply", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloRequest", + "http://www.w3.org/ns/shacl#name": "HelloRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/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#/web-api/types/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloReply", + "http://www.w3.org/ns/shacl#name": "HelloReply", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloRequest", + "http://www.w3.org/ns/shacl#name": "HelloRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/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#/web-api/types/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloReply", + "http://www.w3.org/ns/shacl#name": "HelloReply", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloRequest", + "http://www.w3.org/ns/shacl#name": "HelloRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/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#/web-api/types/.helloworld.HelloReply" + } + ], + "http://a.ml/vocabularies/document#link-label": "HelloReply", + "http://www.w3.org/ns/shacl#name": "HelloReply", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/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/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/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/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/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/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/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/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/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/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/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/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/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/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/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/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/request/application%2Fgrpc/HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,53)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello1/application%2Fprotobuf/HelloReply", + "http://a.ml/vocabularies/document-source-maps#value": "[(15,2)-(15,53)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/request/application%2Fgrpc/HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,60)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello2/application%2Fprotobuf/HelloReply", + "http://a.ml/vocabularies/document-source-maps#value": "[(16,2)-(16,60)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/request/application%2Fgrpc/HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(17,60)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello3/application%2Fprotobuf/HelloReply", + "http://a.ml/vocabularies/document-source-maps#value": "[(17,2)-(17,60)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/request/application%2Fgrpc/HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,67)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/end-points/Greeter/SayHello4/application%2Fprotobuf/HelloReply", + "http://a.ml/vocabularies/document-source-maps#value": "[(18,2)-(18,67)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto", + "http://a.ml/vocabularies/document#references": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto" + } + ], + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply" + } + ], + "@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" + }, + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#root": true, + "http://a.ml/vocabularies/document#package": "helloworld" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.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/library.proto#/web-api" + }, + "http://a.ml/vocabularies/document#declares": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document#version": "3.1.0", + "http://a.ml/vocabularies/document#references": [], + "http://a.ml/vocabularies/document#root": false, + "http://a.ml/vocabularies/document#package": "library" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/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": ".helloworld.Corpus", + "http://a.ml/vocabularies/core#name": "Corpus", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fb" + } + ], + "http://www.w3.org/ns/shacl#name": ".helloworld.SampleMessage.NestedMessage1", + "http://a.ml/vocabularies/core#name": "NestedMessage1", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloRequest/property/name" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus" + } + ], + "http://www.w3.org/ns/shacl#name": ".helloworld.HelloRequest", + "http://a.ml/vocabularies/core#name": "HelloRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SearchRequest/property/query" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus" + } + ], + "http://www.w3.org/ns/shacl#name": ".helloworld.SearchRequest", + "http://a.ml/vocabularies/core#name": "SearchRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa" + } + ], + "http://www.w3.org/ns/shacl#name": ".helloworld.SampleMessage.NestedMessage1.NestedMessage2", + "http://a.ml/vocabularies/core#name": "NestedMessage2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.SampleMessage/property/searches" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd" + } + ], + "http://www.w3.org/ns/shacl#name": ".helloworld.SampleMessage", + "http://a.ml/vocabularies/core#name": "SampleMessage", + "http://www.w3.org/ns/shacl#and": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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": ".helloworld.SearchRequest.Corpus", + "http://a.ml/vocabularies/core#name": "Corpus", + "http://www.w3.org/ns/shacl#in": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/list" + }, + "http://a.ml/vocabularies/shapes#serializationSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.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#/web-api/types/.helloworld.HelloReply/property/message" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other" + } + ], + "http://www.w3.org/ns/shacl#name": ".helloworld.HelloReply", + "http://a.ml/vocabularies/core#name": "HelloReply", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.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": "library", + "http://a.ml/vocabularies/apiContract#endpoint": [] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.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/library.proto#/web-api/types/.library.Wadus/property/message" + } + ], + "http://www.w3.org/ns/shacl#name": ".library.Wadus", + "http://a.ml/vocabularies/core#name": "Wadus", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/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#/web-api/types/scalar/.helloworld.Corpus/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/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#/web-api/types/scalar/.helloworld.Corpus/default-node/property/UNIVERSAL" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "fa", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "fb", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fb/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "wadus", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/query/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "query", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/query/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/page_number/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "page_number", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/result_per_page/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "result_per_page", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "corpus", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "fa", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 3, + "http://www.w3.org/ns/shacl#name": "searches", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 10, + "http://www.w3.org/ns/shacl#name": "fc", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 11, + "http://www.w3.org/ns/shacl#name": "fd", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node" + } + ], + "http://www.w3.org/ns/shacl#name": "test_oneof", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_2": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_3": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_4": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_5": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_6": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + }, + "http://www.w3.org/2000/01/rdf-schema#_7": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node" + } + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/UNIVERSAL" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/WEB" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/IMAGES" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/LOCAL" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/NEWS" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/PRODUCTS" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/VIDEO" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/message/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 1, + "http://www.w3.org/ns/shacl#name": "message", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/message/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "other", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 2, + "http://www.w3.org/ns/shacl#name": "message", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/source-map", + "@type": [ + "http://a.ml/vocabularies/document-source-maps#SourceMap" + ], + "http://a.ml/vocabularies/document-source-maps#declared-element": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/source-map/declared-element/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/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": "UNIVERSAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/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": 0, + "http://www.w3.org/ns/shacl#name": "UNIVERSAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/property/UNIVERSAL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/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#/web-api/types/scalar/.helloworld.Corpus/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(46,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473", + "@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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document#link-label": "NestedMessage2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fb/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1", + "http://a.ml/vocabularies/document-source-maps#value": "[(29,2)-(35,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/scalar/default-scalar" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/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/library.proto#/web-api/types/.library.Wadus" + } + ], + "http://a.ml/vocabularies/document#link-label": "library.Wadus", + "http://www.w3.org/ns/shacl#name": "library.Wadus", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/wadus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(22,0)-(25,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/query/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/query/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/page_number/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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": "int32", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/result_per_page/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document#link-label": "Corpus", + "http://www.w3.org/ns/shacl#name": "Corpus", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/corpus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(48,0)-(62,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2", + "http://a.ml/vocabularies/document-source-maps#value": "[(32,4)-(34,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/scalar/default-scalar" + }, + "http://www.w3.org/ns/shacl#additionalPropertiesSchema": { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/searches/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2" + } + ], + "http://a.ml/vocabularies/document#link-label": "NestedMessage1.NestedMessage2", + "http://www.w3.org/ns/shacl#name": "NestedMessage1.NestedMessage2", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fc/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.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#/web-api/types/.helloworld.HelloRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": ".helloworld.HelloRequest", + "http://www.w3.org/ns/shacl#name": ".helloworld.HelloRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/property/fd/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name" + } + ], + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage", + "http://a.ml/vocabularies/document-source-maps#value": "[(27,0)-(42,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": "UNIVERSAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 0, + "http://www.w3.org/ns/shacl#name": "UNIVERSAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/UNIVERSAL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 1, + "http://www.w3.org/ns/shacl#name": "WEB", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/WEB/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 2, + "http://www.w3.org/ns/shacl#name": "IMAGES", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/IMAGES/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 3, + "http://www.w3.org/ns/shacl#name": "LOCAL", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/LOCAL/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 4, + "http://www.w3.org/ns/shacl#name": "NEWS", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/NEWS/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 5, + "http://www.w3.org/ns/shacl#name": "PRODUCTS", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/PRODUCTS/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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": 6, + "http://www.w3.org/ns/shacl#name": "VIDEO", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/VIDEO/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,2)-(60,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/message/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/message/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus" + } + ], + "http://a.ml/vocabularies/document#link-label": "SearchRequest.Corpus", + "http://www.w3.org/ns/shacl#name": "SearchRequest.Corpus", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/other/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply", + "http://a.ml/vocabularies/document-source-maps#value": "[(65,0)-(68,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/scalar/default-scalar" + }, + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/source-map/declared-element/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus", + "http://a.ml/vocabularies/document-source-maps#value": "" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus", + "http://a.ml/vocabularies/document-source-maps#value": "[(5,0)-(7,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/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/types/scalar/.helloworld.Corpus/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/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#/web-api/types/scalar/.helloworld.Corpus/default-node/property/UNIVERSAL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(44,0)-(46,0)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,4)-(30,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/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/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fb/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fb", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(31,25)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(23,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/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#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(24,25)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/query/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/query/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/query", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,2)-(49,18)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/page_number/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number", + "http://a.ml/vocabularies/document-source-maps#value": "[(50,2)-(50,23)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/result_per_page/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,2)-(51,27)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/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#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,2)-(61,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/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#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,6)-(33,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760", + "@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#/web-api/types/.helloworld.SearchRequest" + } + ], + "http://a.ml/vocabularies/document#link-label": "SearchRequest", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(28,41)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/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#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,2)-(36,39)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.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#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,2)-(37,34)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/scalar/default-scalar" + }, + "http://a.ml/vocabularies/shapes#serializationOrder": 4, + "http://www.w3.org/ns/shacl#name": "name", + "http://a.ml/vocabularies/document-source-maps#sources": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof", + "http://a.ml/vocabularies/document-source-maps#value": "[(38,2)-(41,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/UNIVERSAL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/WEB/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/IMAGES/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/LOCAL/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/NEWS/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/PRODUCTS/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/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#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/VIDEO/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(52,2)-(60,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/message/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/message", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,2)-(66,20)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/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#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,2)-(67,32)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,2)-(45,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/property/UNIVERSAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/scalar/.helloworld.Corpus/default-node/property/UNIVERSAL", + "http://a.ml/vocabularies/document-source-maps#value": "[(45,2)-(45,15)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/property/fa/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(30,4)-(30,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/link-247434473", + "http://a.ml/vocabularies/document-source-maps#value": "[(31,4)-(31,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/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#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,2)-(23,26)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/wadus/library.Wadus", + "http://a.ml/vocabularies/document-source-maps#value": "[(24,2)-(24,10)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/query/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/query/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(49,2)-(49,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/page_number/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(50,2)-(50,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/result_per_page/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(51,2)-(51,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/property/corpus/scalar/Corpus", + "http://a.ml/vocabularies/document-source-maps#value": "[(61,2)-(61,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/.helloworld.SampleMessage.NestedMessage1/.helloworld.SampleMessage.NestedMessage1.NestedMessage2/property/fa/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(33,6)-(33,6)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/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#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/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/types/.helloworld.SearchRequest/link--75310760/source-map/synthesized-field/element_1" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/source-map/synthesized-field/element_0" + } + ], + "http://a.ml/vocabularies/document-source-maps#lexical": [ + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,2)-(28,41)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fc/NestedMessage1.NestedMessage2", + "http://a.ml/vocabularies/document-source-maps#value": "[(36,2)-(36,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/fd/.helloworld.HelloRequest", + "http://a.ml/vocabularies/document-source-maps#value": "[(37,2)-(37,14)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/scalar/default-scalar/source-map" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,4)-(39,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/data-node", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,4)-(53,4)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/UNIVERSAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/UNIVERSAL", + "http://a.ml/vocabularies/document-source-maps#value": "[(53,4)-(53,17)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/WEB/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/WEB", + "http://a.ml/vocabularies/document-source-maps#value": "[(54,4)-(54,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/IMAGES/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/IMAGES", + "http://a.ml/vocabularies/document-source-maps#value": "[(55,4)-(55,14)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/LOCAL/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/LOCAL", + "http://a.ml/vocabularies/document-source-maps#value": "[(56,4)-(56,13)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/NEWS/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/NEWS", + "http://a.ml/vocabularies/document-source-maps#value": "[(57,4)-(57,12)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/PRODUCTS/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/PRODUCTS", + "http://a.ml/vocabularies/document-source-maps#value": "[(58,4)-(58,16)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/VIDEO/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/scalar/.helloworld.SearchRequest.Corpus/default-node/property/VIDEO", + "http://a.ml/vocabularies/document-source-maps#value": "[(59,4)-(59,13)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/message/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/message/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(66,2)-(66,2)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloReply/property/other/scalar/SearchRequest.Corpus", + "http://a.ml/vocabularies/document-source-maps#value": "[(67,2)-(67,16)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/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/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,2)-(6,29)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.HelloRequest/property/name/array/default-array/items/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(23,11)-(23,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/property/searches/default-node/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,6)-(28,6)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/source-map/synthesized-field/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-target", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/source-map/synthesized-field/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#link-label", + "http://a.ml/vocabularies/document-source-maps#value": "true" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SearchRequest/link--75310760", + "http://a.ml/vocabularies/document-source-maps#value": "[(28,14)-(28,14)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/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#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/scalar/default-scalar/source-map/lexical/element_0" + } + ] + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,4)-(39,19)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/library.proto#/web-api/types/.library.Wadus/property/message/array/default-array/items/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(6,11)-(6,11)]" + }, + { + "@id": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/scalar/default-scalar/source-map/lexical/element_0", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto#/web-api/types/.helloworld.SampleMessage/union/test_oneof/default-node/property/name/scalar/default-scalar", + "http://a.ml/vocabularies/document-source-maps#value": "[(39,4)-(39,4)]" + } + ] +} diff --git a/amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto new file mode 100644 index 0000000000..c6e522c4ae --- /dev/null +++ b/amf-cli/shared/src/test/resources/upanddown/grpc/simple.proto @@ -0,0 +1,68 @@ +syntax = "proto3"; + +option java_multiple_files = true; +option java_package = "io.grpc.examples.helloworld"; +option java_outer_classname = "HelloWorldProto"; +option objc_class_prefix = "HLW"; + +import "library.proto"; + +package helloworld; + +// The greeting service definition. +service Greeter { + // Sends a greeting + rpc SayHello1 (HelloRequest) returns (HelloReply) {} + rpc SayHello2 (stream HelloRequest) returns (HelloReply) {} + rpc SayHello3 (HelloRequest) returns (stream HelloReply) {} + rpc SayHello4 (stream HelloRequest) returns (stream HelloReply) {} +} + +// The request message containing the user's name. +message HelloRequest { + repeated string name = 1; + library.Wadus wadus = 2; +} + +message SampleMessage { + map searches = 3; + message NestedMessage1 { + string fa = 1; + NestedMessage2 fb = 2; + message NestedMessage2 { + string fa = 1; + } + } + NestedMessage1.NestedMessage2 fc = 10; + .helloworld.HelloRequest fd = 11; + oneof test_oneof { + string name = 4; + HelloRequest sub_message = 9; + } +} + +enum Corpus { + UNIVERSAL = 0; +} + +message SearchRequest { + string query = 1; + int32 page_number = 2; + int32 result_per_page = 3; + enum Corpus { + UNIVERSAL = 0; + WEB = 1; + IMAGES = 2; + LOCAL = 3; + NEWS = 4; + PRODUCTS = 5; + VIDEO = 6; + } + Corpus corpus = 4; +} + +// The response message containing the greetings +message HelloReply { + string message = 1; + SearchRequest.Corpus other = 2; +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.expanded.jsonld index a6756292f3..0332af62dd 100644 --- a/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.expanded.jsonld @@ -107,7 +107,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -430,13 +430,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/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/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -449,7 +449,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" @@ -462,7 +462,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -475,10 +475,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.flattened.jsonld index a153002136..16bea9cc72 100644 --- a/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/petstore/petstore.flattened.jsonld @@ -48,7 +48,7 @@ "http://a.ml/vocabularies/apiContract#path": "/pets", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -104,7 +104,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -119,7 +119,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "findPets", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map" } ] }, @@ -196,22 +196,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/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/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_2" } ] }, @@ -253,23 +253,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(13,8)-(23,9)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(12,8)-(12,33)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/petstore/petstore.json#/web-api/end-points/%2Fpets/findPets", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(24,7)]" }, { diff --git a/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.expanded.jsonld b/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.expanded.jsonld index d0a975579b..1c7f9e587c 100644 --- a/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.expanded.jsonld @@ -145,7 +145,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -2613,13 +2613,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/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/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -2632,10 +2632,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get" + "@value": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -2645,7 +2645,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -2658,7 +2658,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -2671,7 +2671,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#name" diff --git a/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.flattened.jsonld b/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.flattened.jsonld index 69fbd24554..c46bed9488 100644 --- a/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/upanddown/types-dependency.json.flattened.jsonld @@ -62,7 +62,7 @@ "http://a.ml/vocabularies/core#description": "and this description!", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -133,7 +133,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -149,7 +149,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "Some title", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map" } ] }, @@ -257,25 +257,25 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/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/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_4" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_3" } ] }, @@ -341,27 +341,27 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(113,8)-(113,23)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title", "http://a.ml/vocabularies/document-source-maps#value": "[(25,6)-(114,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(26,35)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(25,13)-(114,7)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/get/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/upanddown/types-dependency.json#/web-api/end-points/%2Flevel-zero/Some%20title/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#name", "http://a.ml/vocabularies/document-source-maps#value": "[(26,8)-(26,35)]" }, diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.expanded.jsonld index bc2d0ae2d0..96f80812cd 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.expanded.jsonld @@ -40,7 +40,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -150,13 +150,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/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/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -169,7 +169,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/document#extends" @@ -182,10 +182,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.flattened.jsonld index a2b34c1448..3732a7ecd2 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.flattened.jsonld @@ -30,7 +30,7 @@ "http://a.ml/vocabularies/apiContract#path": "someChannel", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -65,7 +65,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -79,7 +79,7 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map" } ] }, @@ -139,19 +139,19 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/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/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_1" } ] }, @@ -188,18 +188,18 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(10,59)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/external-operation-traits.yaml#/async-api/end-points/someChannel/something", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(10,59)]" }, { diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.expanded.jsonld index 9da9689145..d91de9b256 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.expanded.jsonld @@ -40,7 +40,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -281,13 +281,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/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/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -300,7 +300,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -313,10 +313,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.flattened.jsonld index 9b2d76eb62..66940ef91e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/message-traits.flattened.jsonld @@ -30,7 +30,7 @@ "http://a.ml/vocabularies/apiContract#path": "aChannel", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -65,7 +65,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -79,7 +79,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "something", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map" } ] }, @@ -147,19 +147,19 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/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/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_1" } ] }, @@ -224,18 +224,18 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(15,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/message-traits.yaml#/async-api/end-points/aChannel/something", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(15,0)]" }, { diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.expanded.jsonld index 375cb94ffe..961703bdf7 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.expanded.jsonld @@ -40,7 +40,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -114,13 +114,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/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/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -133,7 +133,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/document#extends" @@ -146,10 +146,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.flattened.jsonld index 55d5e915c9..7d01989651 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.flattened.jsonld @@ -30,7 +30,7 @@ "http://a.ml/vocabularies/apiContract#path": "someChannel", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -65,7 +65,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -79,7 +79,7 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map" } ] }, @@ -141,19 +141,19 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/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/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_1" } ] }, @@ -184,18 +184,18 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(8,6)-(9,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/document#extends", "http://a.ml/vocabularies/document-source-maps#value": "[(9,6)-(11,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/components/operation-traits.yaml#/async-api/end-points/someChannel/something", "http://a.ml/vocabularies/document-source-maps#value": "[(7,4)-(11,0)]" }, { diff --git a/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.expanded.jsonld index e489621c7d..23f6bd77c9 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.expanded.jsonld @@ -45,7 +45,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -341,13 +341,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/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/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_6", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#tag" @@ -360,7 +360,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#description" @@ -373,7 +373,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#guiSummary" @@ -386,7 +386,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -399,7 +399,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -412,10 +412,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -425,7 +425,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/core#documentation" @@ -442,7 +442,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -610,13 +610,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/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/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -629,7 +629,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -642,10 +642,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.flattened.jsonld index f075f75ee9..62b1cbaab2 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.flattened.jsonld @@ -31,10 +31,10 @@ "http://a.ml/vocabularies/core#description": "some channel", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation" } ], "http://a.ml/vocabularies/document-source-maps#sources": [ @@ -69,7 +69,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -93,12 +93,12 @@ "http://a.ml/vocabularies/apiContract#operationId": "some unique id", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map" } ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -112,7 +112,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "subscribe operation", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map" } ] }, @@ -208,31 +208,31 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/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/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_6" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_6" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_4" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_4" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_5" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_5" } ] }, @@ -255,19 +255,19 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/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/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_1" } ] }, @@ -344,37 +344,37 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_6", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_6", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#tag", "http://a.ml/vocabularies/document-source-maps#value": "[(14,6)-(17,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_4", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_4", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#description", "http://a.ml/vocabularies/document-source-maps#value": "[(13,6)-(14,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#guiSummary", "http://a.ml/vocabularies/document-source-maps#value": "[(12,6)-(13,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(11,6)-(12,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(21,6)-(25,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_3", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_3", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id", "http://a.ml/vocabularies/document-source-maps#value": "[(10,4)-(25,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/publish/source-map/lexical/element_5", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/some%20unique%20id/source-map/lexical/element_5", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/core#documentation", "http://a.ml/vocabularies/document-source-maps#value": "[(17,6)-(21,0)]" }, @@ -405,18 +405,18 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(27,6)-(30,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(26,6)-(27,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/publish-subscribe.yaml#/async-api/end-points/smartylighting%2Fstreetlights%2F1%2F0%2Fevent%2F%7BstreetlightId%7D%2Flighting%2Fmeasured/subscribe%20operation", "http://a.ml/vocabularies/document-source-maps#value": "[(25,4)-(30,0)]" }, { diff --git a/amf-cli/shared/src/test/resources/validations/async20/rpc-server.expanded.jsonld b/amf-cli/shared/src/test/resources/validations/async20/rpc-server.expanded.jsonld index ffb2952cd8..c3a5de505d 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/rpc-server.expanded.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/rpc-server.expanded.jsonld @@ -133,7 +133,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -814,13 +814,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/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/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiBinding#binding" @@ -833,7 +833,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#returns" @@ -846,7 +846,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -859,10 +859,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult" } ], "http://a.ml/vocabularies/document-source-maps#value": [ @@ -1343,7 +1343,7 @@ ], "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -2218,13 +2218,13 @@ ], "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/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/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#expects" @@ -2237,7 +2237,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": [ { "@value": "http://a.ml/vocabularies/apiContract#operationId" @@ -2250,10 +2250,10 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": [ { - "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish" + "@value": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum" } ], "http://a.ml/vocabularies/document-source-maps#value": [ diff --git a/amf-cli/shared/src/test/resources/validations/async20/rpc-server.flattened.jsonld b/amf-cli/shared/src/test/resources/validations/async20/rpc-server.flattened.jsonld index c94fb81504..1f772e4d7e 100644 --- a/amf-cli/shared/src/test/resources/validations/async20/rpc-server.flattened.jsonld +++ b/amf-cli/shared/src/test/resources/validations/async20/rpc-server.flattened.jsonld @@ -61,7 +61,7 @@ "http://a.ml/vocabularies/apiContract#path": "{queue}", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult" } ], "http://a.ml/vocabularies/apiContract#parameter": [ @@ -87,7 +87,7 @@ "http://a.ml/vocabularies/apiContract#path": "rpc_queue", "http://a.ml/vocabularies/apiContract#supportedOperation": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum" } ], "http://a.ml/vocabularies/apiBinding#binding": { @@ -157,7 +157,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -174,7 +174,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "sendSumResult", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map" } ] }, @@ -233,7 +233,7 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum", "@type": [ "http://a.ml/vocabularies/apiContract#Operation", "http://a.ml/vocabularies/document#DomainElement" @@ -247,7 +247,7 @@ "http://a.ml/vocabularies/apiContract#operationId": "sum", "http://a.ml/vocabularies/document-source-maps#sources": [ { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map" } ] }, @@ -389,22 +389,22 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/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/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_3" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_3" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_1" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_2" } ] }, @@ -530,19 +530,19 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/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/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_2" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_2" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_0" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_0" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_1" + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_1" } ] }, @@ -667,23 +667,23 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_3", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_3", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiBinding#binding", "http://a.ml/vocabularies/document-source-maps#value": "[(29,6)-(32,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_1", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_1", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#returns", "http://a.ml/vocabularies/document-source-maps#value": "[(32,6)-(43,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(28,6)-(29,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe/source-map/lexical/element_2", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/subscribe", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult/source-map/lexical/element_2", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/%7Bqueue%7D/sendSumResult", "http://a.ml/vocabularies/document-source-maps#value": "[(27,4)-(43,0)]" }, { @@ -840,18 +840,18 @@ ] }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_2", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_2", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#expects", "http://a.ml/vocabularies/document-source-maps#value": "[(51,6)-(65,23)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_0", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_0", "http://a.ml/vocabularies/document-source-maps#element": "http://a.ml/vocabularies/apiContract#operationId", "http://a.ml/vocabularies/document-source-maps#value": "[(50,6)-(51,0)]" }, { - "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish/source-map/lexical/element_1", - "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/publish", + "@id": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum/source-map/lexical/element_1", + "http://a.ml/vocabularies/document-source-maps#element": "file://amf-cli/shared/src/test/resources/validations/async20/rpc-server.yaml#/async-api/end-points/rpc_queue/sum", "http://a.ml/vocabularies/document-source-maps#value": "[(49,4)-(65,23)]" }, { diff --git a/amf-cli/shared/src/test/scala/amf/cli/internal/commands/CommandLineTests.scala b/amf-cli/shared/src/test/scala/amf/cli/internal/commands/CommandLineTests.scala index 8afe0b9e03..6bada98172 100644 --- a/amf-cli/shared/src/test/scala/amf/cli/internal/commands/CommandLineTests.scala +++ b/amf-cli/shared/src/test/scala/amf/cli/internal/commands/CommandLineTests.scala @@ -36,6 +36,8 @@ class CommandLineTests extends AsyncFunSuite with PlatformSecrets { Raml10.name, "-mime-in", "application/yaml", + "--validate", + "false", "file://amf-cli/shared/src/test/resources/upanddown/complete-with-operations.raml") val cfg = CmdLineParser.parse(args) assert(cfg.isDefined) @@ -66,6 +68,8 @@ class CommandLineTests extends AsyncFunSuite with PlatformSecrets { Oas20.name, "-mime-out", "application/json", + "--validate", + "false", "file://amf-cli/shared/src/test/resources/upanddown/complete-with-operations.raml" ) val cfg = CmdLineParser.parse(args) diff --git a/amf-cli/shared/src/test/scala/amf/compiler/AnnotationInFieldTest.scala b/amf-cli/shared/src/test/scala/amf/compiler/AnnotationInFieldTest.scala index 46db34a128..46d5324f84 100644 --- a/amf-cli/shared/src/test/scala/amf/compiler/AnnotationInFieldTest.scala +++ b/amf-cli/shared/src/test/scala/amf/compiler/AnnotationInFieldTest.scala @@ -192,7 +192,7 @@ class AnnotationInFieldTest extends AsyncFunSuite with CompilerTestBuilder { val targets = unit.annotations.find(classOf[ReferenceTargets]).map(_.targets).getOrElse(Map.empty) assert(targets.size == 1) assert(targets.head._1 == s"${uri}reference.json") - assert(targets.head._2 == List(Range(Position(6, 14), Position(6, 28)))) + assert(targets.head._2 == List(Range(Position(6, 5), Position(6, 28)))) succeed } } @@ -205,7 +205,7 @@ class AnnotationInFieldTest extends AsyncFunSuite with CompilerTestBuilder { val targets = unit.annotations.find(classOf[ReferenceTargets]).map(_.targets).getOrElse(Map.empty) assert(targets.size == 1) assert(targets.head._1 == s"${uri}reference.raml") - assert(targets.head._2 == List(Range(Position(6, 14), Position(6, 28)))) + assert(targets.head._2 == List(Range(Position(6, 5), Position(6, 28)))) succeed } } @@ -221,11 +221,11 @@ class AnnotationInFieldTest extends AsyncFunSuite with CompilerTestBuilder { assert(targets.size == 1) assert(targets.head._1 == s"${uri}reference-1.yaml") - assert(targets.head._2 == List(Range(Position(6, 14), Position(6, 30)))) + assert(targets.head._2 == List(Range(Position(6, 5), Position(6, 30)))) assert(reftargets.size == 1) assert(reftargets.head._1 == s"${uri}reference.json") - assert(reftargets.head._2 == List(Range(Position(1, 15), Position(1, 29)))) + assert(reftargets.head._2 == List(Range(Position(1, 6), Position(1, 29)))) succeed } @@ -241,7 +241,7 @@ class AnnotationInFieldTest extends AsyncFunSuite with CompilerTestBuilder { assert(targets.size == 1) assert(targets.head._1 == s"${uri}example.json") assert( - targets.head._2 == List(Range(Position(9, 22), Position(9, 34)), Range(Position(21, 30), Position(21, 42)))) + targets.head._2 == List(Range(Position(9, 13), Position(9, 34)), Range(Position(21, 21), Position(21, 42)))) succeed } diff --git a/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala b/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala new file mode 100644 index 0000000000..3c60096bdb --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/cycle/GrpcCycleTest.scala @@ -0,0 +1,16 @@ +package amf.cycle + +import amf.core.internal.remote.GrpcProtoHint +import amf.core.internal.remote.Vendor.PROTO3 +import amf.io.FunSuiteCycleTests + +class GrpcCycleTest extends FunSuiteCycleTests { + override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/cycle/grpc/" + + test("Can cycle through a simple gRPC API") { + cycle("simple/api.proto", + "simple/dumped.proto", + GrpcProtoHint, + PROTO3) + } +} diff --git a/amf-cli/shared/src/test/scala/amf/emit/AMFRenderer.scala b/amf-cli/shared/src/test/scala/amf/emit/AMFRenderer.scala index a19459f0c6..0499251069 100644 --- a/amf-cli/shared/src/test/scala/amf/emit/AMFRenderer.scala +++ b/amf-cli/shared/src/test/scala/amf/emit/AMFRenderer.scala @@ -2,7 +2,6 @@ package amf.emit import amf.aml.internal.utils.VocabulariesRegister import amf.apicontract.client.scala.{AsyncAPIConfiguration, WebAPIConfiguration} - import amf.core.client.scala.config.RenderOptions import amf.core.client.scala.model.document.BaseUnit import amf.core.internal.remote.Syntax.Syntax diff --git a/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala b/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala index 4cac52b15c..83856d54c0 100644 --- a/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala +++ b/amf-cli/shared/src/test/scala/amf/io/BuildCycleTests.scala @@ -1,7 +1,6 @@ package amf.io import amf.apicontract.client.scala.{AMFConfiguration, AsyncAPIConfiguration, WebAPIConfiguration} - import amf.core.client.scala.AMFGraphConfiguration import amf.core.client.scala.config.RenderOptions import amf.core.client.scala.errorhandling.{AMFErrorHandler, IgnoringErrorHandler} @@ -10,6 +9,7 @@ import amf.core.client.scala.rdf.{RdfModel, RdfUnitConverter} import amf.core.internal.plugins.document.graph.{EmbeddedForm, FlattenedForm, JsonLdDocumentForm} import amf.core.internal.remote.Syntax.Syntax import amf.core.internal.remote.{Amf, Hint, Vendor} +import amf.grpc.client.scala.GRPCConfiguration import org.scalactic.Fail import org.scalatest.{Assertion, AsyncFunSuite} @@ -141,7 +141,7 @@ trait BuildCycleTestCommon extends FileAssertionTest { def renderOptions(): RenderOptions = RenderOptions().withoutFlattenedJsonLd protected def buildConfig(options: Option[RenderOptions], eh: Option[AMFErrorHandler]): AMFConfiguration = { - val amfConfig: AMFConfiguration = WebAPIConfiguration.WebAPI().merge(AsyncAPIConfiguration.Async20()) + val amfConfig: AMFConfiguration = WebAPIConfiguration.WebAPI().merge(AsyncAPIConfiguration.Async20()).merge(GRPCConfiguration.GRPC()) val renderedConfig: AMFConfiguration = options.fold(amfConfig.withRenderOptions(renderOptions()))(r => { amfConfig.withRenderOptions(r) }) diff --git a/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala b/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala new file mode 100644 index 0000000000..6fbb58c81a --- /dev/null +++ b/amf-cli/shared/src/test/scala/amf/parser/GrpcParserTest.scala @@ -0,0 +1,39 @@ +package amf.parser + +import amf.core.client.scala.errorhandling.UnhandledErrorHandler +import amf.core.internal.remote.{Amf, GrpcProtoHint} +import amf.io.FunSuiteCycleTests + +class GrpcParserTest extends FunSuiteCycleTests { + override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/grpc/" + + multiGoldenTest("Can generate simple gRPC specs", "simple.%s") { config => + cycle( + "simple.proto", + config.golden, + GrpcProtoHint, + Amf, + renderOptions = Some(config.renderOptions.withSourceMaps.withPrettyPrint), + eh = Some(UnhandledErrorHandler) + ) + } +} + +class StandardGoogleProtoParserTest extends FunSuiteCycleTests { + override def basePath: String = "amf-cli/shared/src/test/resources/upanddown/grpc/google/" + + Seq("any.proto", "api.proto", "duration.proto", "empty.proto", "field_mask.proto", + "source_context.proto", "struct.proto", "timestamp.proto", "type.proto", "wrappers.proto").foreach { protoFile => + + multiGoldenTest(s"Can generate standard google proto file ${protoFile}", s"${protoFile}.%s") { config => + cycle( + protoFile, + config.golden, + GrpcProtoHint, + Amf, + renderOptions = Some(config.renderOptions.withSourceMaps.withPrettyPrint), + eh = Some(UnhandledErrorHandler) + ) + } + } +} \ No newline at end of file diff --git a/amf-cli/shared/src/test/scala/amf/validation/UniquePlatformReportGenTest.scala b/amf-cli/shared/src/test/scala/amf/validation/UniquePlatformReportGenTest.scala index a2d9d6e6f7..550e2d10cd 100644 --- a/amf-cli/shared/src/test/scala/amf/validation/UniquePlatformReportGenTest.scala +++ b/amf-cli/shared/src/test/scala/amf/validation/UniquePlatformReportGenTest.scala @@ -35,7 +35,7 @@ sealed trait AMFValidationReportGenTest extends AsyncFunSuite with FileAssertion protected def handleReport(report: AMFValidationReport, golden: Option[String]): Future[Assertion] = golden match { - case Some(g) => + case Some(_) => writeTemporaryFile(golden.get)(generate(report)).flatMap(assertDifferences(_, reportsPath + golden.get)) case None => Future.successful({ diff --git a/amf-grpc/shared/src/main/scala/amf/antlr/client/scala/parse/document/AntlrParsedDocument.scala b/amf-grpc/shared/src/main/scala/amf/antlr/client/scala/parse/document/AntlrParsedDocument.scala new file mode 100644 index 0000000000..941e7ecc25 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/antlr/client/scala/parse/document/AntlrParsedDocument.scala @@ -0,0 +1,6 @@ +package amf.antlr.client.scala.parse.document + +import amf.core.client.scala.parse.document.ParsedDocument +import org.mulesoft.antlrast.ast.AST + +case class AntlrParsedDocument(ast: AST, override val comment: Option[String] = None) extends ParsedDocument \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/antlr/internal/plugins/syntax/AntlrSyntaxParsePlugin.scala b/amf-grpc/shared/src/main/scala/amf/antlr/internal/plugins/syntax/AntlrSyntaxParsePlugin.scala new file mode 100644 index 0000000000..bfd5604864 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/antlr/internal/plugins/syntax/AntlrSyntaxParsePlugin.scala @@ -0,0 +1,32 @@ +package amf.antlr.internal.plugins.syntax + +import amf.antlr.client.scala.parse.document.AntlrParsedDocument +import amf.core.client.common.{HighPriority, PluginPriority} +import amf.core.client.scala.parse.AMFSyntaxParsePlugin +import amf.core.client.scala.parse.document.{ParsedDocument, ParserContext} +import amf.core.internal.remote.Syntax +import org.mulesoft.antlrast.platform.PlatformProtobuf3Parser + +object AntlrSyntaxParsePlugin extends AMFSyntaxParsePlugin { + + override def parse(text: CharSequence, mediaType: String, ctx: ParserContext): ParsedDocument = { + val input = text.toString + val ast = new PlatformProtobuf3Parser().parse(ctx.rootContextDocument, input) + AntlrParsedDocument(ast, None) + } + + override def mediaTypes: Seq[String] = Syntax.proto3Mimes.toSeq + + override val id: String = "antlr-ast" + + override def applies(element: CharSequence): Boolean = { + val text = element.toString + val isJSONObject = text.startsWith("{") && text.endsWith("}") + val isJSONArray = text.startsWith("[") && text.endsWith("]") + val isYamlHash = text.startsWith("#") + val containsProto = text.contains("proto3") + containsProto && !isJSONArray && !isJSONObject && !isYamlHash + } + + override def priority: PluginPriority = HighPriority +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/client/scala/GRPCConfiguration.scala b/amf-grpc/shared/src/main/scala/amf/grpc/client/scala/GRPCConfiguration.scala new file mode 100644 index 0000000000..f069f506c3 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/client/scala/GRPCConfiguration.scala @@ -0,0 +1,12 @@ +package amf.grpc.client.scala + +import amf.antlr.internal.plugins.syntax.AntlrSyntaxParsePlugin +import amf.apicontract.client.scala.{AMFConfiguration, APIConfigurationBuilder} +import amf.grpc.plugins.parse.GrpcParsePlugin +import amf.grpc.plugins.render.GrpcRenderPlugin + +object GRPCConfiguration extends APIConfigurationBuilder { + def GRPC(): AMFConfiguration = + common() + .withPlugins(List(GrpcParsePlugin, AntlrSyntaxParsePlugin, GrpcRenderPlugin)) +} \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/context/GrpcEmitterContext.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/context/GrpcEmitterContext.scala new file mode 100644 index 0000000000..33d5374c6f --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/context/GrpcEmitterContext.scala @@ -0,0 +1,70 @@ +package amf.grpc.internal.spec.emitter.context + +import amf.core.client.scala.model.document.{BaseUnit, DeclaresModel} +import amf.core.client.scala.model.domain.DomainElement +import amf.core.client.scala.model.domain.extensions.CustomDomainProperty +import amf.shapes.client.scala.model.domain.{NodeShape, ScalarShape} + +class GrpcEmitterContext(document: BaseUnit) { + def topLevelMessages: Seq[NodeShape] = messages.filter { s => + val declarations = s.name.value().split("\\.").filter(w => w != "" && !w.matches("[a-z].+")) + declarations.length == 1 + } + + def extensions: Seq[CustomDomainProperty] = document match { + case dec: DeclaresModel => dec.declares.collect { case cdp: CustomDomainProperty => cdp } + case _ => Nil + } + + def topLevelEnums: Seq[ScalarShape] = enums.filter { s => + val declarations = s.name.value().split("\\.").filter(w => w != "" && !w.matches("[a-z].+")) + declarations.length == 1 + } + + def nestedMessages(shape: NodeShape): Seq[NodeShape] = { + val currentPath = shape.name.value() + val currentLevel = currentPath.split("\\.").length + messages.filter { s => + val level = s.name.value().split("\\.").length + s.name.value().startsWith(currentPath) && (level == currentLevel + 1) + } + } + + def nestedEnums(shape: NodeShape): Seq[ScalarShape] = { + val currentPath = shape.name.value() + val currentLevel = currentPath.split("\\.").length + enums.filter { s => + val level = s.name.value().split("\\.").length + s.name.value().startsWith(currentPath) && (level == currentLevel + 1) + } + } + + def messages: Seq[NodeShape] = { + document match { + case dec: DeclaresModel => dec.declares.map(isMessage).collect { case Some(s) => s} + case _ => Nil + } + } + + def enums: Seq[ScalarShape] = { + document match { + case dec: DeclaresModel => dec.declares.map(isEnum).collect { case Some(s) => s} + case _ => Nil + } + } + + private def isMessage(s: DomainElement): Option[NodeShape] = { + s match { + case n: NodeShape => Some(n) + case _ => None + } + } + + private def isEnum(s: DomainElement): Option[ScalarShape] = { + s match { + case s: ScalarShape if s.values.nonEmpty => Some(s) + case _ => None + } + } + +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/document/GrpcDocumentEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/document/GrpcDocumentEmitter.scala new file mode 100644 index 0000000000..7c8022c4ac --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/document/GrpcDocumentEmitter.scala @@ -0,0 +1,95 @@ +package amf.grpc.internal.spec.emitter.document + +import amf.apicontract.client.scala.model.domain.EndPoint +import amf.apicontract.client.scala.model.domain.api.WebApi +import amf.core.client.scala.model.document.{BaseUnit, DeclaresModel, Document} +import amf.core.client.scala.model.domain.DomainElement +import amf.core.client.scala.model.domain.extensions.CustomDomainProperty +import amf.core.internal.plugins.syntax.{SourceCodeBlock, StringDocBuilder} +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.grpc.internal.spec.emitter.domain.{GrpcEmitter, GrpcEnumEmitter, GrpcExtensionEmitter, GrpcMessageEmitter, GrpcServiceEmitter} +import amf.shapes.client.scala.model.domain.{NodeShape, ScalarShape} + +class GrpcDocumentEmitter(document: BaseUnit, builder: StringDocBuilder) extends GrpcEmitter { + + val ctx = new GrpcEmitterContext(document) + + def emit(): Unit = { + builder.doc { doc => + doc += ("syntax = \"proto3\";\n") + emitReferences(doc) + doc.list { l => + emitPackage(l) + emitMessages(l) + emitEnums(l) + emitServices(l) + emitExtensions(l) + emitOptions(webApi, l, ctx) + } + } + } + + def webApi: WebApi = document.asInstanceOf[Document].encodes.asInstanceOf[WebApi] + def endpoints: Seq[EndPoint] = webApi.endPoints + + def emitReferences(b: StringDocBuilder): Unit = { + var checkDefaultGoogleDescriptor = false + // we make the location relative to the location of the unit if we can + val rootLocation = document.location().getOrElse("").replace("file://", "").split("/").dropRight(1).mkString("/") + "/" + document.references.collect{ case r if r.location().isDefined => r }.foreach { ref => + val refLocation = ref.location().get.replace("file://", "").replace(rootLocation, "") + if (refLocation.contains("google/protobuf/descriptor.proto\"")) { + checkDefaultGoogleDescriptor = true + } + b += ("import \"" + refLocation + "\";") + } + if (!checkDefaultGoogleDescriptor && declaresOptions) { + b += ("import \"google/protobuf/descriptor.proto\";") + } + if (document.references.nonEmpty || declaresOptions) { + b += "\n" + } + + } + + def declaresOptions: Boolean = { + document match { + case lib: DeclaresModel => + lib.declares.exists(_.isInstanceOf[CustomDomainProperty]) + case _ => false + } + } + + def emitPackage(l: StringDocBuilder): SourceCodeBlock = { + val nameField = if (document.pkg.option().isDefined) { + document.pkg + } else { + webApi.name + } + val position = pos(nameField.annotations()) + val name = nameField.option().getOrElse("anonymous") + val normalizedName = name.toLowerCase.replaceAll("-", "_").replaceAll( " ", "") + l += (s"package $normalizedName;", position) + } + + private def emitMessages(l: StringDocBuilder) = { + ctx.topLevelMessages.map { s => GrpcMessageEmitter(s, l, ctx).emit() } + } + + private def emitEnums(l: StringDocBuilder) = { + ctx.topLevelEnums.map { s => GrpcEnumEmitter(s, l, ctx).emit() } + } + + private def emitServices(l: StringDocBuilder): Unit = { + endpoints.foreach { ep => + GrpcServiceEmitter(ep, l, ctx).emit() + } + } + + private def emitExtensions(l: StringDocBuilder): Unit = { + ctx.extensions.groupBy(c => c.domain.head.value()).foreach { case (domain, extensions) => + GrpcExtensionEmitter(extensions, l, domain, ctx).emit() + } + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcEmitter.scala new file mode 100644 index 0000000000..ec540b3432 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcEmitter.scala @@ -0,0 +1,65 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.scala.model.DataType +import amf.core.client.scala.model.domain.{DomainElement, Shape} +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.shapes.client.scala.model.domain.{ArrayShape, NodeShape, ScalarShape} + +trait GrpcEmitter { + + def emitOptions(domainElement: DomainElement, builder: StringDocBuilder, ctx: GrpcEmitterContext): Unit = { + domainElement.customDomainProperties.foreach { extension => + GrpcOptionsEmitter(extension, builder, ctx).emit() + } + } + + def mustEmitOptions(domainElement: DomainElement): Boolean = domainElement.customDomainProperties.nonEmpty + + def fieldRange(range: Shape): String = { + range match { + case m: NodeShape if Option(m.additionalPropertiesKeySchema).isDefined => mapRange(m) + case a: ArrayShape if a.items.isInstanceOf[ScalarShape] => scalarRange(a.items.asInstanceOf[ScalarShape]) + case a: ArrayShape if a.items.isInstanceOf[NodeShape] => objectRange(a.items.asInstanceOf[NodeShape]) + case s: ScalarShape => scalarRange(s) + case o: NodeShape => objectRange(o) + case s => "UnknownMessage" + } + } + + def scalarRange(s: ScalarShape): String = { + if (s.isLink) { + s.linkLabel.option().orElse(s.displayName.option()).orElse(s.name.option()).getOrElse("UnknownEnum") + } else { + s.dataType.value() match { + case DataType.Double if s.format.option().isEmpty => "double" + case DataType.Float if s.format.option().isEmpty => "float" + case DataType.Integer if s.format.option().contains("uint32") => "uint32" + case DataType.Long if s.format.option().contains("uint64") => "uint64" + case DataType.Integer if s.format.option().contains("sint32") => "sint32" + case DataType.Long if s.format.option().contains("sint64") => "sint64" + case DataType.Integer if s.format.option().contains("fixed32") => "fixed32" + case DataType.Long if s.format.option().contains("fixed64") => "fixed64" + case DataType.Integer if s.format.option().contains("sfixed32") => "sfixed32" + case DataType.Long if s.format.option().contains("sfixed64") => "sfixed64" + case DataType.Integer => "int32" + case DataType.Long => "int64" + case DataType.Boolean => "bool" + case DataType.String => "string" + case DataType.Byte => "bytes" + case _ => "string" + } + } + } + + def objectRange(o: NodeShape): String = { + o.linkLabel.option().orElse(o.displayName.option()).orElse(o.name.option()).getOrElse("UnknownMessage") + } + + def mapRange(m: NodeShape): String = { + val key = fieldRange(m.additionalPropertiesKeySchema) + val value = fieldRange(m.additionalPropertiesSchema) + s"map<$key,$value>" + } + +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcEnumEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcEnumEmitter.scala new file mode 100644 index 0000000000..e71b7942bd --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcEnumEmitter.scala @@ -0,0 +1,46 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.common.position.Position +import amf.core.client.scala.model.domain.ScalarNode +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.shapes.client.scala.model.domain.{NodeShape, ScalarShape} + +case class GrpcEnumEmitter(shape: ScalarShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) { + + def emit(): Unit = { + builder.fixed { l => + l += (s"enum ${enumName} {", enumPos) + l.obj { o => + emitValues(o) + } + l += ("}") + } + } + + def enumName: String = shape.displayName.option().getOrElse("AnonymousEnum") + def enumPos: Position = pos(shape.displayName.annotations()) + + def emitValues(builder: StringDocBuilder): Unit = { + Option(shape.serializationSchema) match { + case Some(serialization: NodeShape) => + serialization.properties.foreach { prop => + val name = prop.name.value() + val value = prop.serializationOrder.value() + builder += (s"$name = $value;", pos(prop.annotations)) + } + case _ => + shape.values.zipWithIndex.foreach { + case (data: ScalarNode, idx) => + val value = data.value.value() + builder += (s"$value = $idx;", pos(data.annotations)) + case _ => //ignore + } + } + } +} + +object GrpcEnumEmitter { + def apply(nested: ScalarShape, b: StringDocBuilder, ctx: GrpcEmitterContext) = new GrpcEnumEmitter(nested, b, ctx) +} \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcExtensionEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcExtensionEmitter.scala new file mode 100644 index 0000000000..20b1467357 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcExtensionEmitter.scala @@ -0,0 +1,47 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.scala.model.domain.extensions.{CustomDomainProperty, PropertyShape} +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import amf.shapes.internal.vocabulary.VocabularyMappings + +case class GrpcExtensionEmitter(extensions: Seq[CustomDomainProperty], builder: StringDocBuilder, domain: String, ctx: GrpcEmitterContext) { + + def emit(): Unit = { + builder.fixed { f => + f += (s"extend ${emitDomain(domain)} {") + f.obj { o => + o.list { l => + extensions.foreach { customDomainProperty => + emitExtensionField(l, customDomainProperty) + } + } + } + f += "}" + } + } + + def emitDomain(domain: String): String = { + domain match { + case "field" => FIELD_OPTIONS + case "enum" => ENUM_OPTIONS + case "enum_value" => ENUM_VALUE_OPTIONS + case "extension_range" => EXTENSION_RANGE_OPTIONS + case VocabularyMappings.shape => MESSAGE_OPTIONS + case VocabularyMappings.operation => METHOD_OPTIONS + case VocabularyMappings.endpoint => SERVICE_OPTIONS + case VocabularyMappings.webapi => FILE_OPTIONS + case "oneof" => ONEOF_OPTIONS + case _ => FILE_OPTIONS + } + } + + def emitExtensionField(builder: StringDocBuilder, property: CustomDomainProperty): Unit = { + val fieldShape = PropertyShape(property.annotations) + .withRange(property.schema) + .withName(property.name.value()) + .withSerializationOrder(property.serializationOrder.value()) + new GrpcFieldEmitter(fieldShape, builder, ctx).emit() + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcFieldEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcFieldEmitter.scala new file mode 100644 index 0000000000..ff2d8ecaf3 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcFieldEmitter.scala @@ -0,0 +1,55 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.common.position.Position +import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.grpc.internal.spec.emitter.domain +import amf.shapes.client.scala.model.domain.ArrayShape + +class GrpcFieldEmitter(property: PropertyShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) extends GrpcEmitter { + + def emit(): Unit = { + if (mustEmitOptions(property)) { + emitWithOptions() + } else { + builder += (s"$repeated${fieldRange(property.range)} $fieldName = $fieldNumber;", position) + } + } + + private def emitWithOptions(): Unit = { + if (property.customDomainProperties.length == 1) { + val inlinedOption = builder.inilined { b => + domain.GrpcOptionsEmitter(property.customDomainProperties.head, b, ctx).emitFieldExtension() + } + builder += (s"$repeated${fieldRange(property.range)} $fieldName = $fieldNumber [$inlinedOption];", position) + } else { + builder.fixed { f => + f += (s"$repeated${fieldRange(property.range)} $fieldName = $fieldNumber [", position) + f.obj { o => + o.listWithDelimiter(",\n") { l => + property.customDomainProperties.foreach { cdp => + domain.GrpcOptionsEmitter(cdp, l, ctx).emitFieldExtension() + } + } + } + f += "];" + } + } + } + + def position: Position = pos(property.range.annotations) + + def fieldName: String = property.displayName.option().getOrElse(property.name.value()) + + def fieldNumber: Int = property.serializationOrder.option().getOrElse(0) + + + def repeated: String = if (property.range.isInstanceOf[ArrayShape]) { "repeated " } else { "" } + +} + +object GrpcFieldEmitter { + def apply(property: PropertyShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) = new GrpcFieldEmitter(property, builder, ctx) +} \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcMessageEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcMessageEmitter.scala new file mode 100644 index 0000000000..848c3a419f --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcMessageEmitter.scala @@ -0,0 +1,47 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.common.position.Position +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.shapes.client.scala.model.domain.{NodeShape, UnionShape} + +case class GrpcMessageEmitter(shape: NodeShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) extends GrpcEmitter { + def emit(): Unit = { + builder.fixed { f => + f += (s"message ${messageName} {", messageNamePos) + f.obj { o => + o.list {l => + emitProperties(l) + emitOptions(shape, l, ctx) + ctx.nestedMessages(shape).foreach { nested => + GrpcMessageEmitter(nested, l, ctx).emit() + } + ctx.nestedEnums(shape).foreach { nested => + GrpcEnumEmitter(nested, l, ctx).emit() + } + emitOneOf(l) + } + } + f += ("}") + } + + } + + def messageName: String = shape.displayName.option().getOrElse("AnonymousMessage") + def messageNamePos: Position = pos(shape.displayName.annotations()) + + def emitOneOf(builder: StringDocBuilder): Unit = { + shape.and.foreach { case union: UnionShape => + GrpcOneOfEmitter(union, builder, ctx).emit() + } + } + + def emitProperties(builder: StringDocBuilder): Unit = shape.properties.foreach { p => + GrpcFieldEmitter(p, builder, ctx).emit() + } +} + +object GrpcMessageEmitter { + def apply(shape: NodeShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) = new GrpcMessageEmitter(shape, builder, ctx) +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcOneOfEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcOneOfEmitter.scala new file mode 100644 index 0000000000..5e674355d8 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcOneOfEmitter.scala @@ -0,0 +1,37 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.common.position.Position +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext +import amf.shapes.client.scala.model.domain.{NodeShape, UnionShape} + +class GrpcOneOfEmitter(union: UnionShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) { + def emit(): Unit = { + builder.fixed { f => + f += (s"oneof $name {", unionPos) + f.obj { o => + emitFields(o) + } + f += ("}") + } + } + + def unionPos: Position = pos(union.annotations) + def name: String = { + union.name.option().getOrElse("AnonymousUnion") + } + def emitFields(builder: StringDocBuilder) = { + builder.list { l => + union.anyOf.foreach { case member:NodeShape => + member.properties.foreach { property => + GrpcFieldEmitter(property, l, ctx).emit() + } + } + } + } +} + +object GrpcOneOfEmitter { + def apply(union: UnionShape, builder: StringDocBuilder, ctx: GrpcEmitterContext) = new GrpcOneOfEmitter(union, builder, ctx) +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcOptionsEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcOptionsEmitter.scala new file mode 100644 index 0000000000..65cb6c5bc1 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcOptionsEmitter.scala @@ -0,0 +1,93 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.core.client.scala.model.DataType +import amf.core.client.scala.model.domain.extensions.DomainExtension +import amf.core.client.scala.model.domain.{DataNode, ObjectNode, ScalarNode} +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext + +case class GrpcOptionsEmitter(domainExtension: DomainExtension, builder: StringDocBuilder, ctx: GrpcEmitterContext) { + def emit(): Unit = { + emitExtension(builder) + } + + val name = domainExtension.name.value() + + def emitExtension(builder: StringDocBuilder): Unit = { + val prefix = if (isDefaultOption) { + s"option $name =" + } else { + s"option ($name) =" + } + emitOptionData(prefix, builder, domainExtension.extension, ";") + } + + def emitFieldExtension(): Unit = { + val prefix = if (isDefaultOption) { + s"$name =" + } else { + s"($name) =" + } + emitOptionData(prefix, builder, domainExtension.extension) + } + + def emitOptionData(prefix: String, builder: StringDocBuilder, node: DataNode, eol: String = ""): Unit = { + node match { + case node: ScalarNode => + node.dataType.option().getOrElse(DataType.String) match { + case DataType.String => builder += (prefix + " \"" + node.value.value() + "\"" + eol, pos(node.annotations)) + case _ => builder += (s"$prefix ${node.value.value()}$eol", pos(node.annotations)) + } + case node: ObjectNode => + builder.fixed { f => + f += (s"$prefix {", pos(node.annotations)) + f.obj { o => + o.list { l => + node.allPropertiesWithName() foreach { case (k, v) => + emitOptionData(s"${k}: ", l, v) + } + } + } + f += ("}") + } + } + } + + def isDefaultOption = DEFAULT_OPTIONS.contains(name) + + val DEFAULT_OPTIONS = Set( + "allow_alias", + "cc_enable_arenas", + "cc_generic_services", + "csharp_namespace", + "ctype", + "deprecated", + "go_package", + "go_package", + "idempotency_level", + "java_generate_equals_and_hash", + "java_generic_services", + "java_multiple_files", + "java_outer_classname", + "java_package", + "java_string_check_utf8", + "jstype", + "lazy", + "map_entry", + "message_set_wire_format", + "no_standard_descriptor_accessor", + "objc_class_prefix", + "optimize_for", + "packed", + "php_class_prefix", + "php_generic_services", + "php_metadata_namespace", + "php_namespace", + "py_generic_services", + "ruby_package", + "swift_prefix", + "uninterpreted_option", + "weak" + ) +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcRPCEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcRPCEmitter.scala new file mode 100644 index 0000000000..a2e955c28c --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcRPCEmitter.scala @@ -0,0 +1,53 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.apicontract.client.scala.model.domain.Operation +import amf.core.client.common.position.Position +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext + +case class GrpcRPCEmitter(operation: Operation, builder: StringDocBuilder, ctx: GrpcEmitterContext) extends GrpcEmitter { + + def emit(): Unit = { + if (mustEmitOptions(operation)) { + builder.fixed { f => + f += (s"rpc $name($streamRequest$request) returns ($streamResponse$response) {", operationPos) + f.obj { o => + o.list { l => + emitOptions(operation, l, ctx) + } + } + f += (s"}") + } + } else { + builder += (s"rpc $name($streamRequest$request) returns ($streamResponse$response) {}", operationPos) + } + + } + + def operationPos: Position = pos(operation.annotations) + + def name: String = operation.operationId.option() + .orElse(operation.name.option()) + .getOrElse(s"operation${operation.method.value()}") + + def request: String = operation.request.payloads.headOption.map { schema => + fieldRange(schema.schema) + } getOrElse ("UnknownMessage") + + def response: String = operation.responses.head.payloads.headOption.map { schema => + fieldRange(schema.schema) + } getOrElse ("UnknownMessage") + + def streamRequest: String = operation.method.option().getOrElse("") match { + case "publish" => "stream " + case "pubsub" => "stream " + case _ => "" + } + + def streamResponse: String = operation.method.option().getOrElse("") match { + case "subscribe" => "stream " + case "pubsub" => "stream " + case _ => "" + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcServiceEmitter.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcServiceEmitter.scala new file mode 100644 index 0000000000..4910ee9119 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/emitter/domain/GrpcServiceEmitter.scala @@ -0,0 +1,35 @@ +package amf.grpc.internal.spec.emitter.domain + +import amf.apicontract.client.scala.model.domain.EndPoint +import amf.core.client.common.position.Position +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.render.BaseEmitters.pos +import amf.grpc.internal.spec.emitter.context.GrpcEmitterContext + +case class GrpcServiceEmitter(endPoint: EndPoint, builder: StringDocBuilder, ctx: GrpcEmitterContext) extends GrpcEmitter { + + def emit(): Unit = { + builder.fixed { f => + f += (s"service $name {", servicePos) + f.obj { o => + emitOperations(o) + } + f += "}" + } + } + + def name: String = endPoint.name.option().getOrElse { + endPoint.path.value().split("/").mkString("") + } + + def emitOperations(builder: StringDocBuilder): StringDocBuilder = { + builder.list { l => + endPoint.operations.foreach { op => + GrpcRPCEmitter(op, l, ctx).emit() + } + emitOptions(endPoint, l, ctx) + } + } + + def servicePos: Position = pos(endPoint.annotations) +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/context/GrpcWebApiContext.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/context/GrpcWebApiContext.scala new file mode 100644 index 0000000000..6fbc7bc98b --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/context/GrpcWebApiContext.scala @@ -0,0 +1,59 @@ +package amf.grpc.internal.spec.parser.context + +import amf.apicontract.client.scala.model.domain.security.SecurityScheme +import amf.apicontract.internal.spec.common.WebApiDeclarations +import amf.apicontract.internal.spec.common.emitter.SpecVersionFactory +import amf.apicontract.internal.spec.common.parser.{SecuritySchemeParser, WebApiContext} +import amf.core.client.scala.config.ParsingOptions +import amf.core.client.scala.model.domain.Shape +import amf.core.client.scala.parse.document.{ParsedReference, ParserContext} +import amf.core.internal.remote.{Proto3, Vendor} +import amf.shapes.internal.spec.common.parser.SpecSyntax +import org.yaml.model.{YNode, YPart} + +object GrpcVersionFactory extends SpecVersionFactory { + override def securitySchemeParser: (YPart, SecurityScheme => SecurityScheme) => SecuritySchemeParser = throw new Exception("GRPC specs don't support security schemes") +} + +class GrpcWebApiContext(override val loc: String, + override val refs: Seq[ParsedReference], + override val options: ParsingOptions, + private val wrapped: ParserContext, + private val ds: Option[WebApiDeclarations] = None, + val messagePath: Seq[String] = Seq("")) extends WebApiContext(loc, refs, options, wrapped, ds) { + + override val syntax: SpecSyntax = new SpecSyntax { + override val nodes: Map[String, Set[String]] = Map() + } + override val vendor: Vendor = Proto3 + + override def link(node: YNode): Either[String, YNode] = throw new Exception("GrpcContext cannot be used with a SYaml parser") + + override protected def ignore(shape: String, property: String): Boolean = false + + override def autoGeneratedAnnotation(s: Shape): Unit = {} + + override val factory: SpecVersionFactory = GrpcVersionFactory + + def nestedMessage(messageName: String) = new GrpcWebApiContext(loc, refs, options, wrapped, ds, messagePath ++ Seq(messageName)) + + def fullMessagePath(messageName: String): String = { + if (messageName.startsWith(".")) { // fully qualified path + messageName + } else if (messageName.startsWith(messagePath(1))) { // reference from package + "." + messageName + } else { // relative to current path + (messagePath ++ Seq(messageName)).mkString(".") + } + } + + def topLevelPackageRef(messageName: String): Option[String] = { + if (messageName.startsWith(".")) { // fully qualified path + None + } else if (messageName.startsWith(messagePath(1))) { // reference from package + Some("." + messageName) + } else { // relative to current path + Some((messagePath.take(2) ++ Seq(messageName)).mkString(".")) + } + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/document/GrpcDocumentParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/document/GrpcDocumentParser.scala new file mode 100644 index 0000000000..ca0059ff69 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/document/GrpcDocumentParser.scala @@ -0,0 +1,110 @@ +package amf.grpc.internal.spec.parser.document + +import amf.antlr.client.scala.parse.document.AntlrParsedDocument +import amf.apicontract.client.scala.model.domain.EndPoint +import amf.apicontract.client.scala.model.domain.api.WebApi +import amf.core.client.scala.model.document.{DeclaresModel, Document} +import amf.core.client.scala.parse.document._ +import amf.core.internal.annotations.DeclaredElement +import amf.core.internal.parser.Root +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.domain.{GrpcEnumParser, GrpcExtendOptionParser, GrpcMessageParser, GrpcPackageParser, GrpcServiceParser} +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import amf.shapes.client.scala.model.domain.AnyShape +import org.mulesoft.antlrast.ast.{ASTElement, Node} + +case class GrpcDocumentParser(root: Root)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + + val doc: Document = Document() + + def loadReferences(references: Seq[ParsedReference]): Unit = { + references.foreach { reference => + reference.unit match { + case dec: DeclaresModel => + dec.declares.foreach { case shape: AnyShape => + ctx.globalSpace += (shape.name.value() -> shape) + } + case _ => // ignore + } + } + doc.withReferences(references.map(_.unit)) + } + + def parseDocument(): Document = { + val ast = root.parsed.asInstanceOf[AntlrParsedDocument].ast + loadReferences(root.references) + ast.root() match { + case node: Node => + parseWebAPI(node) + parseMessages(node) + parseEnums(node) + parseServices(node) + parseExtensions(node) + } + ctx.declarations.futureDeclarations.resolve() + doc.withDeclares( + ctx.declarations.shapes.values.toList ++ + ctx.declarations.annotations.values.toList + ) + } + + def parseWebAPI(node: Node): Unit = { + val webApi = GrpcPackageParser(node, doc).parse() + doc.adopted(root.location).withLocation(root.location).withEncodes(webApi) + } + + def webapi: WebApi = doc.encodes.asInstanceOf[WebApi] + + def parseMessages(node: Node): Unit = { + collect(node, Seq(TOP_LEVEL_DEF, MESSAGE_DEF)).zipWithIndex.foreach { case (element: ASTElement, idx: Int) => + withNode(element) { node => + val shape = GrpcMessageParser(node).parse(shape => { + shape.name.option() match { + case None => shape.withName(s"Message${idx}") + case _ => + } + shape.adopted(webapi.id + "/types") + }) + ctx.declarations += shape.add(DeclaredElement()) + } + } + } + + def parseEnums(node: Node): Unit = { + collect(node, Seq(TOP_LEVEL_DEF, ENUM_DEF)).zipWithIndex.foreach { case (element: ASTElement, idx: Int) => + withNode(element) { node => + val shape = GrpcEnumParser(node).parse(shape => { + shape.name.option() match { + case None => shape.withName(s"Enum${idx}") + case _ => + } + shape.adopted(webapi.id + "/types") + }) + ctx.declarations += shape.add(DeclaredElement()) + } + } + } + + def parseExtensions(node: Node): Unit = { + collect(node, Seq(EXTENDS_STATEMENT)).foreach { element => + withNode(element) { node => + GrpcExtendOptionParser(node).parse(customDomainProperty => { + customDomainProperty.adopted(webapi.id + "/annotations") + ctx.declarations += customDomainProperty.add(DeclaredElement()) + }) + } + } + } + + def parseServices(node: Node): Unit = { + val webApi = doc.encodes.asInstanceOf[WebApi] + val endPoints: Seq[EndPoint] = collect(node, Seq(TOP_LEVEL_DEF, SERVICE_DEF)).map { element => + withNode(element) { node => + GrpcServiceParser(node).parse(ep => webApi.withEndPoints(webApi.endPoints ++ Seq(ep))) + } + } + webApi.withEndPoints(endPoints) + } + +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcEnumParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcEnumParser.scala new file mode 100644 index 0000000000..aba8ac0667 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcEnumParser.scala @@ -0,0 +1,58 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.domain.{DataNode, ScalarNode} +import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import amf.shapes.client.scala.model.domain.{NodeShape, ScalarShape} +import org.mulesoft.antlrast.ast.Node + +import scala.collection.mutable + +case class GrpcEnumParser(ast: Node)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val enum: ScalarShape = ScalarShape(toAnnotations(ast)) + + def parse(adopt: ScalarShape => Unit): ScalarShape = { + parseName(adopt) + parseElements() + enum + } + + def parseName(adopt: ScalarShape => Unit): Unit = withDeclaredShape(ast, ENUM_NAME, enum, { _ => adopt(enum) }) + + def parseElements(): Unit = { + val values: mutable.Buffer[DataNode] = mutable.Buffer() + val enumSchema = NodeShape(toAnnotations(ast)).adopted(enum.id) + collect(ast, Seq(ENUM_BODY, ENUM_ELEMENT, ENUM_FIELD)).foreach { enumField => + val propertySchema = PropertyShape(toAnnotations(enumField)).adopted(enumSchema.id) + path(enumField, Seq(IDENTIFIER)) match { + case Some(e) => + withOptTerminal(e) { + case Some(t) => + propertySchema.withName(t.value) + val data = ScalarNode(toAnnotations(e)).withValue(t.value) + data.adopted(enumSchema.id) + values.append(data) + case _ => + astError(propertySchema.id, "Missing protobuf 3 enumeration field name", toAnnotations(e)) + } + case _ => + astError(propertySchema.id, "Missing protobuf 3 enumeration field name", toAnnotations(enumField)) + } + path(enumField, Seq(INT_LITERAL)) match { + case Some(e) => + withOptTerminal(e) { + case Some(t) => + propertySchema.withSerializationOrder(Integer.parseInt(t.value)) + case _ => + astError(propertySchema.id, "Missing protobuf 3 enumeration field order", toAnnotations(e)) + } + case _ => + astError(propertySchema.id, "Missing protobuf 3 enumeration field order", toAnnotations(enumField)) + } + enumSchema.withProperties(enumSchema.properties ++ Seq(propertySchema)) + } + enum.withValues(values).withSerializationSchema(enumSchema) + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcExtendOptionParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcExtendOptionParser.scala new file mode 100644 index 0000000000..864ab5ebed --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcExtendOptionParser.scala @@ -0,0 +1,50 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.domain.extensions.CustomDomainProperty +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import amf.shapes.internal.vocabulary.VocabularyMappings +import org.mulesoft.antlrast.ast.{Node, Terminal} + +case class GrpcExtendOptionParser(ast: Node)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + + def parse(adopt: CustomDomainProperty => Unit): Unit = { + val domain: String = parseDomain() + parseExtensionFields(domain, adopt) + } + + def parseExtensionFields(domain: String, adopt: CustomDomainProperty => Unit): Unit = { + collect(ast, Seq(FIELD)).foreach { case fieldElement: Node => + val customDomainProperty = CustomDomainProperty(toAnnotations(ast)) + adopt(customDomainProperty) + val propertyShape = GrpcFieldParser(fieldElement)(ctx).parse { _ => } + customDomainProperty + .withSerializationOrder(propertyShape.serializationOrder.value()) + .withDomain(Seq(domain)) + .withSchema(propertyShape.range) + .withName(propertyShape.name.value()) + } + } + + def parseDomain(): String = { + path(ast, Seq(EXTEND_IDENTIFIER)) match { + case Some(n: Node) => + withOptTerminal(n) { + case Some(t: Terminal) => t.value match { + case FIELD_OPTIONS => "field" + case ENUM_OPTIONS => "enum" + case ENUM_VALUE_OPTIONS => "enum_value" + case EXTENSION_RANGE_OPTIONS => "extension_range" + case MESSAGE_OPTIONS => VocabularyMappings.shape + case METHOD_OPTIONS => VocabularyMappings.operation + case SERVICE_OPTIONS => VocabularyMappings.endpoint + case FILE_OPTIONS => VocabularyMappings.webapi + case ONEOF_OPTIONS => "oneof" + } + case _ => VocabularyMappings.webapi + } + case _ => VocabularyMappings.webapi + } + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcFieldParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcFieldParser.scala new file mode 100644 index 0000000000..b99095c0b6 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcFieldParser.scala @@ -0,0 +1,48 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes.{FIELD_NAME, FIELD_OPTION, FIELD_OPTIONS_ELEMENTS} +import org.mulesoft.antlrast.ast.Node + +case class GrpcFieldParser(ast: Node)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val propertyShape: PropertyShape = PropertyShape(toAnnotations(ast)) + + def parse(adopt:PropertyShape => Unit): PropertyShape = { + parseFieldName() + adopt(propertyShape) + parseFieldNumber() + parseFieldRange() + parseOptions() + propertyShape + } + + def parseOptions() = { + collect(ast, Seq(FIELD_OPTIONS_ELEMENTS, FIELD_OPTION)).foreach { case n: Node => + GrpcOptionParser(n).parse({ extension => + extension.adopted(propertyShape.id) + propertyShape.withCustomDomainProperty(extension) + }) + } + } + + def parseFieldName(): Unit = { + withName(ast, FIELD_NAME, propertyShape) + } + + def parseFieldNumber(): Unit = { + parseFieldNumber(ast) match { + case Some(order) => propertyShape.withSerializationOrder(order) + case None => astError(propertyShape.id, "missing Protobuf3 field number", propertyShape.annotations) + } + } + + def parseFieldRange(): Unit = { + parseFieldRange(ast) match { + case Some(range) => propertyShape.withRange(range) + case _ => astError(propertyShape.id, "missing Protobuf3 field type", propertyShape.annotations) + } + } + +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcMapParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcMapParser.scala new file mode 100644 index 0000000000..7872691727 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcMapParser.scala @@ -0,0 +1,53 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.core.client.scala.vocabulary.Namespace.XsdTypes +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes.{IDENTIFIER, KEY_TYPE, MAP_NAME} +import amf.shapes.client.scala.model.domain.{NodeShape, ScalarShape} +import org.mulesoft.antlrast.ast.{ASTElement, Node} + +case class GrpcMapParser(ast: Node)(implicit ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val propertyMap: PropertyShape = PropertyShape(toAnnotations(ast)) + + + def parse(adopt: PropertyShape => Unit): PropertyShape = { + parseName(adopt) + parseFields() + propertyMap + } + + def parseName(adopt: PropertyShape => Unit): Unit = withName(ast, MAP_NAME, propertyMap, { _ => adopt(propertyMap) }) + + def parseFieldName(field: ASTElement): String = { + path(field, Seq(MAP_NAME, IDENTIFIER)) match { + case Some(f) => + withOptTerminal(f) { + case Some(t) => + t.value + case _ => + astError(propertyMap.id, "missing mandatory Proto3 map field name", toAnnotations(field)) + "" + } + case _ => + astError(propertyMap.id, "missing mandatory Proto3 map field name", toAnnotations(field)) + "" + } + } + + def parseFields(): Any = { + val range = parseFieldRange(ast).getOrElse(ScalarShape().withDataType(XsdTypes.xsdString.iri())) + val key = parseFieldRange(ast, KEY_TYPE).getOrElse(ScalarShape().withDataType(XsdTypes.xsdString.iri())) + val mapValueSchema = NodeShape(toAnnotations(ast)).adopted(propertyMap.id) + mapValueSchema.withAdditionalPropertiesSchema(range) + mapValueSchema.withAdditionalPropertiesKeySchema(key) + + val order = parseFieldNumber(ast).getOrElse(0) + val name = parseFieldName(ast) + propertyMap + .withName(name) + .withSerializationOrder(order) + .withRange(mapValueSchema) + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcMessageParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcMessageParser.scala new file mode 100644 index 0000000000..1b33b66386 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcMessageParser.scala @@ -0,0 +1,63 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.domain.extensions.PropertyShape +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import amf.shapes.client.scala.model.domain.{NodeShape, UnionShape} +import org.mulesoft.antlrast.ast.Node + +class GrpcMessageParser(ast: Node)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val nodeShape: NodeShape = NodeShape(toAnnotations(ast)) + + def parse(adopt: NodeShape => Unit): NodeShape = { + parseName(adopt) + parseMessageBody() + nodeShape + } + + def parseName(adopt: NodeShape => Unit): Unit = withDeclaredShape(ast, MESSAGE_NAME, nodeShape, { _ => adopt(nodeShape)}) + + def parseMessageBody(): Unit = { + collect(ast, Seq(MESSAGE_BODY, MESSAGE_ELEMENT)).foreach { case messageElement: Node => + val messageElementAst = messageElement.children.head.asInstanceOf[Node] + messageElementAst.name match { + case FIELD => + GrpcFieldParser(messageElementAst)(ctx.nestedMessage(nodeShape.displayName.value())).parse(property => { + property.adopted(nodeShape.id) + nodeShape.withProperties(nodeShape.properties ++ Seq(property)) + }) + case ENUM_DEF => + GrpcEnumParser(messageElementAst)(ctx.nestedMessage(nodeShape.displayName.value())).parse(enum => { + enum.adopted(nodeShape.id) + }) + case ONE_OF => + GrpcOneOfParser(messageElementAst)(ctx.nestedMessage(nodeShape.displayName.value())).parse({ union: UnionShape => + union.adopted(nodeShape.id) + nodeShape.withAnd(nodeShape.and ++ Seq(union)) + }) + case MAP_FIELD => + GrpcMapParser(messageElementAst)(ctx.nestedMessage(nodeShape.displayName.value())).parse({ mapProperty: PropertyShape => + mapProperty.adopted(nodeShape.id) + nodeShape.withProperties(nodeShape.properties ++ Seq(mapProperty)) + }) + case MESSAGE_DEF => + GrpcMessageParser(messageElementAst)(ctx.nestedMessage(nodeShape.displayName.value())).parse({nestedNodeShape: NodeShape => + nestedNodeShape.adopted(nodeShape.id) + }) + case OPTION_STATEMENT => + GrpcOptionParser(messageElementAst).parse({ extension => + extension.adopted(nodeShape.id) + nodeShape.withCustomDomainProperty(extension) + }) + case _ => + astError(nodeShape.id, s"unexpected Proto3 message element ${messageElement.children.head.name}", toAnnotations(messageElement.children.head)) + } + } + } + +} + +object GrpcMessageParser { + def apply(ast: Node)(implicit ctx: GrpcWebApiContext) = new GrpcMessageParser(ast) +} \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcOneOfParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcOneOfParser.scala new file mode 100644 index 0000000000..7a7c273b23 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcOneOfParser.scala @@ -0,0 +1,36 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.domain.Shape +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes.{ONE_OF_FIELD, ONE_OF_NAME} +import amf.shapes.client.scala.model.domain.{NodeShape, UnionShape} +import org.mulesoft.antlrast.ast.Node + +import scala.collection.mutable + +case class GrpcOneOfParser(ast: Node)(implicit context: GrpcWebApiContext) extends AntlrASTParserHelper { + + val union: UnionShape = UnionShape(toAnnotations(ast)) + + def parse(adopt: UnionShape => Unit): UnionShape = { + parseName(adopt) + parseMembers() + union + } + + protected def parseMembers(): Unit = { + val members: mutable.Buffer[Shape] = mutable.Buffer() + collect(ast, Seq(ONE_OF_FIELD)).map { case (oneOfField: Node) => + GrpcFieldParser(oneOfField).parse(property => { + val shape = NodeShape(toAnnotations(oneOfField)).adopted(union.id) + shape.withProperties(Seq(property.adopted(shape.id))) + members.append(shape) + }) + } + union.withAnyOf(members) + } + + + protected def parseName(adopt: UnionShape => Unit): Unit = withName(ast, ONE_OF_NAME, union, { _ => adopt(union)}) +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcOptionParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcOptionParser.scala new file mode 100644 index 0000000000..452510864b --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcOptionParser.scala @@ -0,0 +1,107 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.core.client.scala.model.DataType +import amf.core.client.scala.model.domain.{DataNode, ObjectNode, ScalarNode} +import amf.core.client.scala.model.domain.extensions.{CustomDomainProperty, DomainExtension} +import amf.core.client.scala.vocabulary.Namespace +import amf.core.internal.utils.AmfStrings +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import org.mulesoft.antlrast.ast.{ASTElement, Node} + +import scala.collection.mutable + +case class GrpcOptionParser(ast: Node)(implicit ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val extension: DomainExtension = DomainExtension(toAnnotations(ast)) + + def parse(adopt: DomainExtension => Unit): DomainExtension = { + parseName(adopt) + parseExtension(dataNode => dataNode.adopted(extension.id)) + extension.withDefinedBy(CustomDomainProperty(toAnnotations(ast)).withId(Namespace.Data.+(extension.name.value()).iri())) + extension + } + + def parseName(adopt: DomainExtension => Unit): Unit = { + path(ast, Seq(OPTION_NAME)) foreach { case node: Node => + extension.withName(node.children.filter(n => n.isInstanceOf[Node]).head.asInstanceOf[Node].source) + } + adopt(extension) + extension.id = extension.id + extension.name.value().urlEncoded + } + + def parseExtension(adopt: DataNode => Unit) = { + find(ast, CONSTANT).headOption match { + case Some(constant: Node) => + val data = parseConstant(constant, adopt) + extension.withExtension(data) + case _ => + astError(extension.id, "Missing mandatory protobuf3 option constant value", toAnnotations(ast)) + } + } + + def parseConstant(constAst: Node, adopt: DataNode => Unit): DataNode = { + if (constAst.children.head.name == FULL_IDENTIFIER) { + val identValue = normalize(constAst.source) + val s = ScalarNode(toAnnotations(constAst)).withValue(identValue) + identValue match { + case "true" => s.withDataType(DataType.Boolean) + case "false" => s.withDataType(DataType.Boolean) + case _ => s.withDataType(DataType.String) + } + adopt(s) + s + } else if (constAst.children.head.name == BLOCK_LITERAL) { + parseBlockLiteral(constAst.children.head.asInstanceOf[Node], adopt) + } else if (constAst.children.exists(_.name == INT_LITERAL)) { + val s = ScalarNode(toAnnotations(constAst)).withValue(normalize(constAst.source)).withDataType(DataType.Integer) + adopt(s) + s + } else if (constAst.children.exists(_.name == FLOAT_LITERAL)) { + val s = ScalarNode(toAnnotations(constAst)).withValue(normalize(constAst.source)).withDataType(DataType.Float) + adopt(s) + s + } else if (constAst.children.head.name == BOOL_LITERAL) { + val s = ScalarNode(toAnnotations(constAst)).withValue(normalize(constAst.source)).withDataType(DataType.Boolean) + adopt(s) + s + } else if (constAst.children.head.name == STRING_LITERAL) { + val s = ScalarNode(toAnnotations(constAst)).withValue(normalize(constAst.source)).withDataType(DataType.String) + adopt(s) + s + } else { + val s = ScalarNode(toAnnotations(constAst)).withValue(normalize(constAst.source)).withDataType(DataType.String) + adopt(s) + astError(s.id, s"Unknown protobuf constant ${constAst.source}", toAnnotations(constAst)) + s + } + } + + private def normalize(s: String) = s.replaceAll("\"", "") + + def parseBlockLiteral(constAst: Node, adopt: DataNode => Unit): ObjectNode = { + val obj = ObjectNode(toAnnotations(constAst)) + adopt(obj) + blockPairs(constAst.children, data => data.adopted(obj.id)).foreach { case (key, value) => + obj.addProperty(key.urlEncoded, value) + } + obj + } + + def blockPairs(nodes: Seq[ASTElement], adopt: DataNode => Unit): Seq[(String, DataNode)] = { + val acc: mutable.Buffer[(String, DataNode)] = mutable.Buffer() + var nextKey: Option[String] = None + nodes.foreach { + case n: Node => + n.name match { + case IDENTIFIER => + nextKey = Some(n.source) + case CONSTANT => + val nextValue = parseConstant(n, adopt) + acc.append((nextKey.get, nextValue)) + } + case _ => // ignore + } + acc + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcPackageParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcPackageParser.scala new file mode 100644 index 0000000000..1d28560d05 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcPackageParser.scala @@ -0,0 +1,54 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.apicontract.client.scala.model.domain.api.WebApi +import amf.core.client.scala.model.document.Document +import amf.core.internal.parser.domain.Annotations +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import org.mulesoft.antlrast.ast.{ASTElement, Node} + +class GrpcPackageParser(ast: Node, doc: Document)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val webApi = WebApi() + + def parse(): WebApi = { + parseName() match { + case Some((pkg, annotations)) => + doc.withPkg(pkg, annotations) + webApi.withName(pkg, annotations) + case _ => + astError(webApi.id, "Missing protobuf3 package statement", toAnnotations(ast)) + webApi.withName(ctx.rootContextDocument.split("/").last) + } + collectOptions(ast, Seq(OPTION_STATEMENT), { extension => + extension.adopted(webApi.id) + webApi.withCustomDomainProperty(extension) + }) + webApi + } + + def parseName(): Option[(String, Annotations)] = { + path(ast, Seq(PACKAGE_STATEMENT)) match { + case Some(n: Node) => + val ids: Seq[String] = collect(n, Seq(FULL_IDENTIFIER, IDENTIFIER)).map { element: ASTElement => + withOptTerminal(element) { + case Some(packageId) => + packageId.value + case None => + "" + } + } + if (ids.nonEmpty) { + Some(ids.mkString("."), toAnnotations(n)) + } else { + None + } + case _ => None + } + } + +} + +object GrpcPackageParser { + def apply(ast: Node, doc: Document)(implicit ctx: GrpcWebApiContext): GrpcPackageParser = new GrpcPackageParser(ast, doc) +} \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcRPCParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcRPCParser.scala new file mode 100644 index 0000000000..e7e19fad95 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcRPCParser.scala @@ -0,0 +1,81 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.apicontract.client.scala.model.domain.Operation +import amf.core.internal.remote.Mimes +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import org.mulesoft.antlrast.ast.{Node, Terminal} + +case class GrpcRPCParser(ast: Node)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + + def parse(adopt: Operation => Unit): Operation = { + parseServiceMessages(adopt) + } + + def parseServiceMessages(adopt: Operation => Unit): Operation = { + val operationName = parseName() + val messages: Seq[String] = collect(ast, Seq(MESSAGE_TYPE, MESSAGE_NAME)).map { case n: Node => n.source } + val request = messages.head + val response = messages.last + val operation = parseStreamingMetadata() match { + case (false, false) => buildOperation(operationName,"post", request, response, adopt) + case (true, false) => buildOperation(operationName,"publish", request, response, adopt) + case (false, true) => buildOperation(operationName,"subscribe", request, response, adopt) + case (true, true) => buildOperation(operationName,"pubsub", request, response, adopt) + } + parseOptions(ast, operation) + operation + } + + def parseOptions(ast: Node, operation: Operation): Unit = { + collectOptions(ast, Seq(OPTION_STATEMENT), { extension => + extension.adopted(operation.id) + operation.withCustomDomainProperty(extension) + }) + } + + def buildOperation(operationName: String, operationType: String, request: String, response: String, adopt: Operation => Unit): Operation = { + val operation = Operation(toAnnotations(ast)).withName(operationName).withOperationId(operationName).withMethod(operationType) + adopt(operation) + val requestBody = parseObjectRange(ast, request) + operation.withRequest() + .withPayload(Some(Mimes.`APPLICATION/GRPC`)) + .withSchema(requestBody) + val responseBody = parseObjectRange(ast, response) + operation.withResponse("") + .withPayload(Some(Mimes.`APPLICATION/PROTOBUF`)) + .withSchema(responseBody) + operation + } + + def parseStreamingMetadata(): (Boolean, Boolean) = { + var foundRequest = false + var streamRequest = false + var streamResponse = false + ast.children.foreach { + case n: Node if n.name == MESSAGE_TYPE && !foundRequest => foundRequest = true + case t: Terminal if t.value == "stream" && !foundRequest => streamRequest = true + case t: Terminal if t.value == "stream" && foundRequest => streamResponse = true + case _ => //ignore + } + (streamRequest, streamResponse) + } + + def parseName(): String = { + path(ast, Seq(RPC_NAME, IDENTIFIER)) match { + case Some(node) => + withOptTerminal(node) { + case Some(name) => + name.value + case None => + astError("", "Missing mandatory proto3 rpcName", toAnnotations(node)) + "AnonymousOperation" + } + case _ => + astError("", "Missing mandatory proto3 rpcName", toAnnotations(ast)) + "AnonymousOperation" + } + } + +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcServiceParser.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcServiceParser.scala new file mode 100644 index 0000000000..c56cf4393b --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/domain/GrpcServiceParser.scala @@ -0,0 +1,46 @@ +package amf.grpc.internal.spec.parser.domain + +import amf.apicontract.client.scala.model.domain.{EndPoint, Operation} +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import org.mulesoft.antlrast.ast.Node + +case class GrpcServiceParser(ast: Node)(implicit val ctx: GrpcWebApiContext) extends AntlrASTParserHelper { + val endpoint: EndPoint = EndPoint(toAnnotations(ast)) + + def parse(adopt: EndPoint => Unit): EndPoint = { + parseName(adopt) + parseRPCs() + parseOptions() + endpoint + } + + def parseOptions(): Unit = { + collectOptions(ast, Seq(SERVICE_ELEMENT, OPTION_STATEMENT), { extension => + extension.adopted(endpoint.id) + endpoint.withCustomDomainProperty(extension) + }) + } + + def parseRPCs(): Unit = { + collect(ast, Seq(SERVICE_ELEMENT, RPC)) foreach { case node: Node => + GrpcRPCParser(node).parse({ operation: Operation => + operation.adopted(endpoint.id) + endpoint.withOperations(endpoint.operations ++ Seq(operation)) + }) + } + } + + def parseName(adopt: EndPoint => Unit): Unit = { + path(ast, Seq(SERVICE_NAME, IDENTIFIER)) foreach { node => + withOptTerminal(node) { + case Some(serviceName) => + endpoint.withName(serviceName.value) + adopt(endpoint) + case None => + astError(endpoint.id, "missing Protobuf3 service name", endpoint.annotations) + } + } + } +} \ No newline at end of file diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/syntax/AntlrASTParserHelper.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/syntax/AntlrASTParserHelper.scala new file mode 100644 index 0000000000..a90234573f --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/syntax/AntlrASTParserHelper.scala @@ -0,0 +1,234 @@ +package amf.grpc.internal.spec.parser.syntax + +import amf.apicontract.internal.validation.definitions.ParserSideValidations +import amf.core.client.scala.model.domain.extensions.DomainExtension +import amf.core.client.scala.model.domain.{NamedDomainElement, Shape} +import amf.core.client.scala.parse.document.ParserContext +import amf.core.internal.annotations.{DeclaredElement, LexicalInformation} +import amf.core.internal.parser.domain.{Annotations, SearchScope} +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.domain.GrpcOptionParser +import amf.grpc.internal.spec.parser.syntax.TokenTypes._ +import amf.shapes.client.scala.model.domain._ +import amf.shapes.internal.domain.parser.XsdTypeDefMapping +import amf.shapes.internal.spec.common.TypeDef +import amf.shapes.internal.spec.common.TypeDef._ +import org.mulesoft.antlrast.ast.{ASTElement, Node, Terminal} +import org.mulesoft.lexer.SourceLocation + +trait AntlrASTParserHelper { + def find(node: Node, name: String): Seq[ASTElement] = node.children.filter(_.name == name) + + def withName(ast: Node, nametoken: String, element: NamedDomainElement, adopt: NamedDomainElement => Unit = { _ => })(implicit ctx: GrpcWebApiContext): Unit = { + path(ast, Seq(nametoken, IDENTIFIER)).foreach { node => + withOptTerminal(node) { + case Some(shapeName) => + element.withName(shapeName.value) + adopt(element) + case None => + path(node, Seq(KEYWORDS)) match { + case Some(keywordNode) => + withOptTerminal(keywordNode) { + case Some(kw) => + element.withName(kw.value) + adopt(element) + case _ => + adopt(element) + astError(element.id, s"missing Protobuf3 $nametoken", element.annotations) + } + case None => + adopt(element) + astError(element.id, s"missing Protobuf3 $nametoken", element.annotations) + } + } + } + } + + def withDeclaredShape(ast: Node, nametoken: String, element: AnyShape, adopt: NamedDomainElement => Unit = { _ => })(implicit ctx: GrpcWebApiContext): Unit = { + path(ast, Seq(nametoken, IDENTIFIER)).foreach { node => + withOptTerminal(node) { + case Some(shapeName) => + element.withName(ctx.fullMessagePath(shapeName.value)) + element.withDisplayName(shapeName.value) + adopt(element) + ctx.declarations += element + element.add(DeclaredElement()) + case None => + adopt(element) + astError(element.id, s"missing Protobuf3 $nametoken", element.annotations) + } + } + + } + + def parseFieldNumber(ast: ASTElement)(implicit ctx: GrpcWebApiContext): Option[Int] = { + path(ast, Seq(FIELD_NUMBER, INT_LITERAL)) match { + case Some(n: ASTElement) => + withOptTerminal(n) { + case Some(t) => + val order = Integer.parseInt(t.value) + Some(order) + case _ => + None + } + case _ => + None + } + } + + def parseFieldRange(ast: ASTElement, field: String = FIELD_TYPE)(implicit ctx: GrpcWebApiContext): Option[Shape] = { + path(ast, Seq(field)) match { + case Some(n: ASTElement) => + // scalar or object range + val shape: Option[Shape] = withOptTerminal(n) { + case Some(t) => + t.value match { + case "double" => Some(parseScalarRange(n, DoubleType, None)) + case "float" => Some(parseScalarRange(n, FloatType, None)) + case "int32" => Some(parseScalarRange(n, IntType, Some("int32"))) + case "int64" => Some(parseScalarRange(n, LongType, Some("int64"))) + case "uint32" => Some(parseScalarRange(n, IntType, Some("uint32"))) + case "uint64" => Some(parseScalarRange(n, LongType, Some("uint64"))) + case "sint32" => Some(parseScalarRange(n, IntType, Some("sint32"))) + case "sint64" => Some(parseScalarRange(n, LongType, Some("sint64"))) + case "fixed32" => Some(parseScalarRange(n, IntType, Some("fixed32"))) + case "fixed64" => Some(parseScalarRange(n, LongType, Some("fixed64"))) + case "sfixed32" => Some(parseScalarRange(n, IntType, Some("sfixed32"))) + case "sfixed64" => Some(parseScalarRange(n, LongType, Some("sfixed64"))) + case "bool" => Some(parseScalarRange(n, BoolType, None)) + case "string" => Some(parseScalarRange(n, StrType, None)) + case "bytes" => Some(parseScalarRange(n, ByteType, None)) + case _ => None + } + case _ => + path(n, Seq(MESSAGE_TYPE)).flatMap { case messageRef: Node => + Some(parseObjectRange(n, messageRef.source)) + } + } + // check if array + shape map { shape => + if (parseIsRepeated(ast)) { + ArrayShape(toAnnotations(ast)).withItems(shape) + } else { + shape + } + } + case _ => + None + } + } + + protected def parseObjectRange(n: ASTElement, literalReference: String)(implicit ctx: GrpcWebApiContext): AnyShape = { + val topLevelAlias = ctx.topLevelPackageRef(literalReference).map(alias => Seq(alias)).getOrElse(Nil) + val qualifiedReference = ctx.fullMessagePath(literalReference) + val externalReference = s".${literalReference}" // absolute reference based on the assumption the reference is for an external package imported in the file + ctx.declarations + .findType(qualifiedReference, SearchScope.All) // local reference inside a nested message, transformed into a top-level for possibly nested type + .orElse { // top-level reference for a reference, using just the name + plus package + topLevelAlias.headOption.flatMap { alias => + ctx.declarations.findType(alias, SearchScope.All) + } + } + .orElse(ctx.globalSpace.get(externalReference)) // fully qualified reference for an external package that might be in the global space + .orElse { // fully qualified reference for this package that might have been defined in a different file, and thus might be registered in the global space + topLevelAlias.headOption.flatMap { alias => + ctx.globalSpace.get(alias) + } + } + match { + case Some(s: NodeShape) => + s.link(literalReference, toAnnotations(n)).asInstanceOf[NodeShape].withName(literalReference, toAnnotations(n)) + case Some(s: ScalarShape) => + s.link(literalReference, toAnnotations(n)).asInstanceOf[ScalarShape].withName(literalReference, toAnnotations(n)) + case _ => + val shape = UnresolvedShape(literalReference, toAnnotations(n)) + shape.withContext(ctx) + shape.unresolved(literalReference, Seq(qualifiedReference) ++ topLevelAlias, Some(new SourceLocation(n.file, 0, 0, n.start.line, n.start.column, n.end.line, n.end.column))) + shape + } + } + + + private def parseScalarRange(n: ASTElement, scalarType: TypeDef, format: Option[String]): ScalarShape = { + val scalar = ScalarShape(toAnnotations(n)).withDataType(XsdTypeDefMapping.xsd(scalarType)) + format match { + case Some(format) => scalar.withFormat(format) + case _ => + } + scalar + } + + private def parseIsRepeated(ast: ASTElement)(implicit grpcWebApiContext: GrpcWebApiContext): Boolean = { + ast match { + case node: Node => + find(node, REPEATED).headOption match { + case Some(n: Terminal) => true + case _ => false + } + case _ => false + } + + } + + + def collect(node: ASTElement, names: Seq[String]): Seq[ASTElement] = { + if (names.isEmpty) { + Seq(node) + } else { + val nextName = names.head + node match { + case n: Node => + find(n, nextName).flatMap { nested => + collect(nested, names.tail) + } + case _ => Nil + } + } + } + + def path(node: ASTElement, names: Seq[String]): Option[ASTElement] = { + if (names.isEmpty) { + Some(node) + } else { + val nextName = names.head + node match { + case n: Node => + find(n, nextName) match { + case found: Seq[ASTElement] if found.length == 1 => + path(found.head, names.tail) + case _ => + None + } + case _ => + None + } + } + } + + def withNode[T](element: ASTElement)(f: Node => T)(implicit ctx: ParserContext): T = element match { + case node: Node => f(node) + case _ => throw new Exception(s"Unexpected AST terminal token $element") + } + + def withOptTerminal[T](element: ASTElement)(f: Option[Terminal] => T)(implicit ctx: ParserContext): T = element match { + case node: Node if node.children.length == 1 && node.children.head.isInstanceOf[Terminal] => + f(Some(node.children.head.asInstanceOf[Terminal])) + case _ => + f(None) + } + + def toAnnotations(elem: ASTElement): Annotations = { + val lexInfo = LexicalInformation(elem.start.line, elem.start.column, elem.end.line, elem.end.column) + Annotations() ++= Set(lexInfo) + } + + def astError(id: String, message: String, annotations: Annotations)(implicit ctx: ParserContext): Unit = { + ctx.eh.violation(ParserSideValidations.InvalidAst, id, message, annotations) + } + + def collectOptions(ast: Node, path: Seq[String], adopt: DomainExtension => Unit)(implicit ctx: GrpcWebApiContext): Unit = { + collect(ast, path).map { case optNode: Node => + GrpcOptionParser(optNode).parse(adopt) + } + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/syntax/TokenTypes.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/syntax/TokenTypes.scala new file mode 100644 index 0000000000..7d3969d01e --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/spec/parser/syntax/TokenTypes.scala @@ -0,0 +1,61 @@ +package amf.grpc.internal.spec.parser.syntax + +object TokenTypes { + val PROTO = "proto" + val SYNTAX = "syntax" + val EXTENDS_STATEMENT = "extendsStatement" + val EXTEND_IDENTIFIER = "extendedIdentifier" + val IMPORT_STATEMENT = "importStatement" + val TOP_LEVEL_DEF = "topLevelDef" + val PACKAGE_STATEMENT = "packageStatement" + val FULL_IDENTIFIER = "fullIdent" + val SERVICE_DEF = "serviceDef" + val SERVICE_NAME = "serviceName" + val SERVICE_ELEMENT = "serviceElement" + val RPC = "rpc" + val RPC_NAME = "rpcName" + val MESSAGE_DEF = "messageDef" + val MESSAGE_BODY = "messageBody" + val MESSAGE_ELEMENT = "messageElement" + val MESSAGE_NAME = "messageName" + val MESSAGE_TYPE = "messageType" + val FIELD = "field" + val FIELD_NAME = "fieldName" + val FIELD_NUMBER = "fieldNumber" + val FIELD_TYPE = "type_" + val FIELD_OPTIONS_ELEMENTS = "fieldOptions" + val FIELD_OPTION = "fieldOption" + val ENUM_DEF = "enumDef" + val ENUM_NAME = "enumName" + val ENUM_BODY = "enumBody" + val ENUM_ELEMENT = "enumElement" + val ENUM_FIELD = "enumField" + val ONE_OF = "oneof" + val ONE_OF_NAME = "oneofName" + val ONE_OF_FIELD = "oneofField" + val MAP_FIELD = "mapField" + val KEY_TYPE = "keyType" + val MAP_NAME = "mapName" + val REPEATED = "REPEATED" + val IDENTIFIER = "ident" + val KEYWORDS = "keywords" + val OPTION_STATEMENT = "optionStatement" + val OPTION = "option" + val OPTION_NAME = "optionName" + val CONSTANT = "constant" + val BLOCK_LITERAL = "blockLit" + val FLOAT_LITERAL = " floatLit" + val STRING_LITERAL = "strLit" + val BOOL_LITERAL = "boolLit" + val INT_LITERAL = "intLit" + val FIELD_OPTIONS = "google.protobuf.FieldOptions" + val ENUM_OPTIONS = "google.protobuf.EnumOptions" + val ENUM_VALUE_OPTIONS = "google.protobuf.EnumValueOptions" + val EXTENSION_RANGE_OPTIONS = "google.protobuf.ExtensionRangeOptions" + val MESSAGE_OPTIONS = "google.protobuf.MessageOptions" + val METHOD_OPTIONS = "google.protobuf.MethodOptions" + val SERVICE_OPTIONS = "google.protobuf.ServiceOptions" + val FILE_OPTIONS = "google.protobuf.FileOptions" + val ONEOF_OPTIONS = "google.protobuf.OneofOptions" + +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/internal/transformation/GrpcTransformationPipeline.scala b/amf-grpc/shared/src/main/scala/amf/grpc/internal/transformation/GrpcTransformationPipeline.scala new file mode 100644 index 0000000000..e0c63698a9 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/internal/transformation/GrpcTransformationPipeline.scala @@ -0,0 +1,19 @@ +package amf.grpc.internal.transformation + +import amf.apicontract.internal.spec.common.transformation.stage.AnnotationRemovalStage +import amf.core.client.common.validation.GrpcProfile +import amf.core.client.scala.transform.{TransformationPipeline, TransformationStep} +import amf.core.internal.transform.stages.ReferenceResolutionStage + +class GrpcTransformationPipeline() extends TransformationPipeline(){ + override val name: String = GrpcProfile.profile + + override def steps: Seq[TransformationStep] = Seq( + new ReferenceResolutionStage(keepEditingInfo = false), + new AnnotationRemovalStage() + ) +} + +object GrpcTransformationPipeline { + def apply() = new GrpcTransformationPipeline() +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/plugins/parse/GrpcParsePlugin.scala b/amf-grpc/shared/src/main/scala/amf/grpc/plugins/parse/GrpcParsePlugin.scala new file mode 100644 index 0000000000..a074f8c377 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/plugins/parse/GrpcParsePlugin.scala @@ -0,0 +1,65 @@ +package amf.grpc.plugins.parse + +import amf.antlr.client.scala.parse.document.AntlrParsedDocument +import amf.antlr.internal.plugins.syntax.AntlrSyntaxParsePlugin +import amf.apicontract.internal.plugins.ApiParsePlugin +import amf.apicontract.internal.spec.common.WebApiDeclarations +import amf.core.client.scala.errorhandling.{AMFErrorHandler, UnhandledErrorHandler} +import amf.core.client.scala.model.document.{BaseUnit, Document} +import amf.core.client.scala.parse.document.{ParserContext, ReferenceHandler} +import amf.core.internal.parser.Root +import amf.core.internal.remote.{Grpc, Vendor} +import amf.grpc.internal.spec.parser.context.GrpcWebApiContext +import amf.grpc.internal.spec.parser.document.GrpcDocumentParser +import amf.grpc.internal.spec.parser.domain.GrpcPackageParser +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes.SYNTAX +import org.mulesoft.antlrast.ast.{Node, Terminal} + +object GrpcParsePlugin extends ApiParsePlugin with AntlrASTParserHelper { + override protected def vendor: Vendor = Grpc + + override def parse(document: Root, ctx: ParserContext): BaseUnit = { + GrpcDocumentParser(document)(context(document, ctx)).parseDocument() + } + + override def referenceHandler(eh: AMFErrorHandler): ReferenceHandler = new GrpcReferenceHandler() + + override def mediaTypes: Seq[String] = AntlrSyntaxParsePlugin.mediaTypes + + override def applies(element: Root): Boolean = { + element.parsed match { + case antlrDoc: AntlrParsedDocument => + isProto3(antlrDoc) + case _ => + false + } + } + + def isProto3(doc: AntlrParsedDocument): Boolean = { + path(doc.ast.root(), Seq(SYNTAX)) match { + case Some(syntaxNode: Node) => + syntaxNode.children.exists { + case t: Terminal => t.value == "\"proto3\"" + case _ => false + } + case _ => false + } + } + + def context(document: Root, ctx: ParserContext): GrpcWebApiContext = { + val ast = document.parsed.asInstanceOf[AntlrParsedDocument].ast.root().asInstanceOf[Node] + val grpcCtx = new GrpcWebApiContext( + ctx.rootContextDocument, + ctx.refs, + ctx.parsingOptions, + ctx, + Some(WebApiDeclarations(Nil, UnhandledErrorHandler, ctx.futureDeclarations)) + ) + // setup the package path + GrpcPackageParser(ast, Document())(grpcCtx).parseName() match { + case Some((pkg, _)) => grpcCtx.nestedMessage(pkg) + case _ => grpcCtx + } + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/plugins/parse/GrpcReferenceHandler.scala b/amf-grpc/shared/src/main/scala/amf/grpc/plugins/parse/GrpcReferenceHandler.scala new file mode 100644 index 0000000000..5428307fe2 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/plugins/parse/GrpcReferenceHandler.scala @@ -0,0 +1,27 @@ +package amf.grpc.plugins.parse + +import amf.antlr.client.scala.parse.document.AntlrParsedDocument +import amf.core.client.scala.parse.document._ +import amf.grpc.internal.spec.parser.syntax.AntlrASTParserHelper +import amf.grpc.internal.spec.parser.syntax.TokenTypes.{IMPORT_STATEMENT, STRING_LITERAL} +import org.mulesoft.antlrast.ast.{Node, Terminal} +import org.mulesoft.lexer.SourceLocation + +class GrpcReferenceHandler() extends ReferenceHandler with AntlrASTParserHelper { + val collector: CompilerReferenceCollector = CompilerReferenceCollector() + + override def collect(document: ParsedDocument, ctx: ParserContext): CompilerReferenceCollector = { + document match { + case antlr: AntlrParsedDocument => collectImports(antlr, ctx.rootContextDocument) + case _ => collector + } + } + + def collectImports(antlr: AntlrParsedDocument, doc: String): CompilerReferenceCollector = { + val root = antlr.ast.root() + collect(root, Seq(IMPORT_STATEMENT, STRING_LITERAL)).foreach { case stmt: Node => + collector.+=(stmt.children.head.asInstanceOf[Terminal].value.replaceAll("\"", ""), LibraryReference, new SourceLocation(stmt.file, 0, 0, stmt.start.line, stmt.start.column, stmt.end.line, stmt.end.column)) + } + collector + } +} diff --git a/amf-grpc/shared/src/main/scala/amf/grpc/plugins/render/GrpcRenderPlugin.scala b/amf-grpc/shared/src/main/scala/amf/grpc/plugins/render/GrpcRenderPlugin.scala new file mode 100644 index 0000000000..ff20143c35 --- /dev/null +++ b/amf-grpc/shared/src/main/scala/amf/grpc/plugins/render/GrpcRenderPlugin.scala @@ -0,0 +1,31 @@ +package amf.grpc.plugins.render + +import amf.apicontract.internal.plugins.ApiRenderPlugin +import amf.core.client.common.{NormalPriority, PluginPriority} +import amf.core.client.scala.config.RenderOptions +import amf.core.client.scala.errorhandling.AMFErrorHandler +import amf.core.client.scala.model.document.BaseUnit +import amf.core.internal.plugins.render.{RenderConfiguration, RenderInfo} +import amf.core.internal.plugins.syntax.StringDocBuilder +import amf.core.internal.remote.{Proto3, Syntax, Vendor} +import amf.grpc.internal.spec.emitter.document.GrpcDocumentEmitter +import org.yaml.model.YDocument + +object GrpcRenderPlugin extends ApiRenderPlugin { + override def vendor: Vendor = Vendor.PROTO3 + + override protected def unparseAsYDocument(unit: BaseUnit, renderOptions: RenderOptions, errorHandler: AMFErrorHandler): Option[YDocument] = throw new Exception("Cannot geenrate GRPC as a YAML document") + + override def emitString(unit: BaseUnit, builder: StringDocBuilder, renderConfiguration: RenderConfiguration): Boolean = { + new GrpcDocumentEmitter(unit, builder).emit() + true + } + + override def defaultSyntax(): String = Proto3.mediaType + + override def mediaTypes: Seq[String] = Syntax.proto3Mimes.toSeq + + override def applies(element: RenderInfo): Boolean = true + + override def priority: PluginPriority = NormalPriority +} diff --git a/amf-shapes/shared/src/main/scala/amf/plugins/domain/shapes/models/SerializableShape.scala b/amf-shapes/shared/src/main/scala/amf/plugins/domain/shapes/models/SerializableShape.scala new file mode 100644 index 0000000000..f1e0fb2fa0 --- /dev/null +++ b/amf-shapes/shared/src/main/scala/amf/plugins/domain/shapes/models/SerializableShape.scala @@ -0,0 +1,10 @@ +package amf.plugins.domain.shapes.models + +import amf.core.client.scala.model.domain.Shape +import amf.core.internal.metamodel.domain.ShapeModel.SerializationSchema +import amf.shapes.client.scala.model.domain.AnyShape + +trait SerializableShape { this: AnyShape => + def serializationSchema: Shape = fields.field(SerializationSchema) + def withSerializationSchema(schema: Shape): this.type = set(SerializationSchema, schema) +} diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/NodeShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/NodeShape.scala index 12bb022b06..b75aeac49d 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/NodeShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/NodeShape.scala @@ -23,6 +23,7 @@ case class NodeShape(override private[amf] val _internal: InternalNodeShape) ext def discriminatorValueMapping: ClientList[DiscriminatorValueMapping] = _internal.discriminatorValueMapping.asClient def properties: ClientList[PropertyShape] = _internal.properties.asClient def additionalPropertiesSchema: Shape = _internal.additionalPropertiesSchema + def additionalPropertiesKeySchema: Shape = _internal.additionalPropertiesKeySchema def dependencies: ClientList[PropertyDependencies] = _internal.dependencies.asClient def schemaDependencies: ClientList[SchemaDependencies] = _internal.schemaDependencies.asClient def propertyNames: Shape = _internal.propertyNames @@ -61,6 +62,10 @@ case class NodeShape(override private[amf] val _internal: InternalNodeShape) ext _internal.withAdditionalPropertiesSchema(additionalPropertiesSchema) this } + def withAdditionalPropertiesKeySchema(additionalPropertiesKeySchema: Shape): this.type = { + _internal.withAdditionalPropertiesKeySchema(additionalPropertiesKeySchema) + this + } def withDependencies(dependencies: ClientList[PropertyDependencies]): this.type = { _internal.withDependencies(dependencies.asInternal) this diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/ScalarShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/ScalarShape.scala index 8377719485..b7c79aea14 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/ScalarShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/ScalarShape.scala @@ -26,6 +26,7 @@ case class ScalarShape(override private[amf] val _internal: InternalScalarShape) def encoding: StrField = _internal.encoding def mediaType: StrField = _internal.mediaType def schema: Shape = _internal.schema + def serializationOrder: Shape = _internal.serializationOrder def withDataType(dataType: String): this.type = { _internal.withDataType(dataType) @@ -80,5 +81,10 @@ case class ScalarShape(override private[amf] val _internal: InternalScalarShape) this } + def withSerializationSchema(schema: Shape): this.type = { + _internal.withSerializationSchema(schema) + this + } + override def linkCopy(): ScalarShape = _internal.linkCopy() } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/UnionShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/UnionShape.scala index 6e5a1da25c..32d663f62d 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/UnionShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/platform/model/domain/UnionShape.scala @@ -14,9 +14,16 @@ case class UnionShape(override private[amf] val _internal: InternalUnionShape) e def this() = this(InternalUnionShape()) def anyOf: ClientList[Shape] = _internal.anyOf.asClient + def serializationSchema: Shape = _internal.serializationSchema def withAnyOf(anyOf: ClientList[Shape]): UnionShape = { _internal.withAnyOf(anyOf.asInternal) this } + + def withSerializationSchema(schema: Shape): this.type = { + _internal.withSerializationSchema(schema) + this + } + } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/NodeShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/NodeShape.scala index 5304ddd8f7..0c35906430 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/NodeShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/NodeShape.scala @@ -27,6 +27,7 @@ case class NodeShape private[amf] (override val fields: Fields, override val ann def dependencies: Seq[PropertyDependencies] = fields.field(Dependencies) def schemaDependencies: Seq[SchemaDependencies] = fields.field(NodeShapeModel.SchemaDependencies) def additionalPropertiesSchema: Shape = fields.field(AdditionalPropertiesSchema) + def additionalPropertiesKeySchema: Shape = fields.field(AdditionalPropertiesKeySchema) def propertyNames: Shape = fields.field(PropertyNames) def unevaluatedProperties: Boolean = fields.field(UnevaluatedProperties) def unevaluatedPropertiesSchema: Shape = fields.field(UnevaluatedPropertiesSchema) @@ -47,6 +48,7 @@ case class NodeShape private[amf] (override val fields: Fields, override val ann setArray(NodeShapeModel.SchemaDependencies, dependencies) def withPropertyNames(shape: Shape): this.type = set(PropertyNames, shape) def withAdditionalPropertiesSchema(shape: Shape): this.type = set(AdditionalPropertiesSchema, shape) + def withAdditionalPropertiesKeySchema(shape: Shape): this.type = set(AdditionalPropertiesKeySchema, shape) def withDependency(): PropertyDependencies = { val result = PropertyDependencies() diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/ScalarShape.scala b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/ScalarShape.scala index 788f714277..339b5d5c5c 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/ScalarShape.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/client/scala/model/domain/ScalarShape.scala @@ -4,8 +4,9 @@ import amf.core.client.scala.model.StrField import amf.core.client.scala.model.domain.{DomainElement, Linkable, Shape} import amf.core.internal.parser.domain.{Annotations, Fields} import amf.core.internal.utils.AmfStrings +import amf.plugins.domain.shapes.models.SerializableShape +import amf.shapes.internal.domain.metamodel.ScalarShapeModel import amf.shapes.internal.domain.metamodel.ScalarShapeModel._ -import amf.shapes.internal.domain.metamodel.{AnyShapeModel, ScalarShapeModel} import org.yaml.model.YPart /** @@ -13,7 +14,8 @@ import org.yaml.model.YPart */ case class ScalarShape private[amf] (override val fields: Fields, override val annotations: Annotations) extends AnyShape(fields, annotations) - with CommonShapeFields { + with CommonShapeFields + with SerializableShape { def dataType: StrField = fields.field(DataType) def encoding: StrField = fields.field(Encoding) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/CommonShapeFields.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/CommonShapeFields.scala index 8707f4f80c..08cc956c70 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/CommonShapeFields.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/CommonShapeFields.scala @@ -1,7 +1,7 @@ package amf.shapes.internal.domain.metamodel -import amf.core.internal.metamodel.Field import amf.core.client.scala.vocabulary.Namespace.{Shacl, Shapes} +import amf.core.internal.metamodel.Field import amf.core.internal.metamodel.Type.{Bool, Double, Int, Str} import amf.core.internal.metamodel.domain.{ExternalModelVocabularies, ModelDoc, ModelVocabularies} diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/NodeShapeModel.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/NodeShapeModel.scala index d808a338e5..bc1e23026c 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/NodeShapeModel.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/domain/metamodel/NodeShapeModel.scala @@ -34,6 +34,11 @@ object NodeShapeModel extends AnyShapeModel { Shacl + "additionalPropertiesSchema", ModelDoc(ExternalModelVocabularies.Shacl, "additionalPropertiesSchema", "Additional properties schema")) + val AdditionalPropertiesKeySchema: Field = Field( + ShapeModel, + Shacl + "additionalPropertiesKeySchema", + ModelDoc(ExternalModelVocabularies.Shacl, "additionalPropertiesKeySchema", "Additional properties key schema")) + val Discriminator: Field = Field(Str, Shapes + "discriminator", ModelDoc(ModelVocabularies.Shapes, "discriminator", "Discriminator property")) @@ -99,6 +104,7 @@ object NodeShapeModel extends AnyShapeModel { MinProperties, MaxProperties, Closed, + AdditionalPropertiesKeySchema, AdditionalPropertiesSchema, Discriminator, DiscriminatorValue, diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/ShapeParserContext.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/ShapeParserContext.scala index 53293c726b..42614fd9ff 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/ShapeParserContext.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/ShapeParserContext.scala @@ -6,6 +6,7 @@ import amf.core.client.scala.model.domain.Shape import amf.core.client.scala.parse.document.{ErrorHandlingContext, UnresolvedComponents} import amf.core.internal.parser.Root import amf.core.internal.parser.domain.{Annotations, Declarations, FutureDeclarations, SearchScope} +import amf.core.internal.plugins.syntax.{SYamlAMFParserErrorHandler, SyamlAMFErrorHandler} import amf.core.internal.remote.Vendor import amf.shapes.client.scala.model.domain.Example import amf.shapes.client.scala.model.domain.{AnyShape, CreativeWork, Example} @@ -16,15 +17,22 @@ import amf.shapes.internal.spec.contexts.JsonSchemaRefGuide import amf.shapes.internal.spec.datanode.DataNodeParserContext import amf.shapes.internal.spec.raml.parser.external.RamlExternalTypesParser import amf.shapes.internal.spec.raml.parser.{DefaultType, RamlTypeParser, TypeInfo} -import org.yaml.model.{YMap, YMapEntry, YNode, YPart} +import org.mulesoft.lexer.SourceLocation +import org.yaml.model.{IllegalTypeHandler, ParseErrorHandler, SyamlException, YError, YMap, YMapEntry, YNode, YPart} import scala.collection.mutable abstract class ShapeParserContext(eh: AMFErrorHandler) extends ErrorHandlingContext()(eh) + with ParseErrorHandler + with IllegalTypeHandler with DataNodeParserContext with UnresolvedComponents { + val syamleh = new SyamlAMFErrorHandler(eh) + override def handle[T](error: YError, defaultValue: T): T = syamleh.handle(error, defaultValue) + override def handle(location: SourceLocation, e: SyamlException): Unit = syamleh.handle(location, e) + def toOasNext: ShapeParserContext def findExample(key: String, scope: SearchScope.Scope): Option[Example] def rootContextDocument: String diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/AnnotationParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/AnnotationParser.scala index 4837ded4b3..4a0c1da64e 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/AnnotationParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/AnnotationParser.scala @@ -2,7 +2,7 @@ package amf.shapes.internal.spec.common.parser import amf.core.client.scala.model.domain.extensions.{CustomDomainProperty, DomainExtension} import amf.core.client.scala.model.domain.{AmfArray, AmfObject} -import amf.core.client.scala.parse.document.ErrorHandlingContext +import amf.core.client.scala.parse.document.{ErrorHandlingContext, ParserContext} import amf.core.internal.metamodel.domain.DomainElementModel import amf.core.internal.metamodel.domain.DomainElementModel.CustomDomainProperties import amf.core.internal.metamodel.domain.extensions.DomainExtensionModel @@ -51,7 +51,7 @@ case class AnnotationParser(element: AmfObject, map: YMap, target: List[String] object AnnotationParser { def parseExtensions(parent: String, map: YMap, target: List[String] = Nil)( - implicit ctx: ErrorHandlingContext with DataNodeParserContext): Seq[DomainExtension] = + implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler): Seq[DomainExtension] = map.entries.flatMap { entry => resolveAnnotation(entryKey(entry)).map(ExtensionParser(_, parent, entry, target).parse().add(Annotations(entry))) } @@ -62,7 +62,7 @@ object AnnotationParser { } private case class ExtensionParser(annotation: String, parent: String, entry: YMapEntry, target: List[String] = Nil)( - implicit val ctx: ErrorHandlingContext with DataNodeParserContext) { + implicit val ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler) { def parse(): DomainExtension = { val id = s"$parent/extension/$annotation" val propertyId = s"$parent/$annotation" @@ -94,7 +94,7 @@ private case class ExtensionParser(annotation: String, parent: String, entry: YM parent, s"Annotation $annotation not allowed in target ${ramlTarget .getOrElse("")}, allowed targets: ${ramlAllowedTargets.mkString(", ")}", - entry + entry.location ) } case _ => diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/CommonEnumParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/CommonEnumParser.scala index b7cf395b82..5fee531a91 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/CommonEnumParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/CommonEnumParser.scala @@ -4,7 +4,7 @@ import amf.core.client.scala.model.domain.DataNode import amf.core.client.scala.parse.document.ErrorHandlingContext import amf.core.internal.utils.IdCounter import amf.shapes.internal.spec.datanode.{DataNodeParser, DataNodeParserContext, ScalarNodeParser} -import org.yaml.model.YNode +import org.yaml.model.{IllegalTypeHandler, YNode} object EnumParsing { val SCALAR_ENUM = "SCALAR_ENUM" @@ -14,7 +14,7 @@ object EnumParsing { object CommonEnumParser { def apply(parentId: String, enumType: String = EnumParsing.UNKNOWN_ENUM)( - implicit ctx: ErrorHandlingContext with DataNodeParserContext): YNode => DataNode = { + implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler): YNode => DataNode = { val enumParentId = s"$parentId/enum" enumType match { case EnumParsing.SCALAR_ENUM => ScalarNodeParser(parent = Some(enumParentId)).parse diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ExampleParsers.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ExampleParsers.scala index f2c2da1d8b..d1dbe5b94f 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ExampleParsers.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ExampleParsers.scala @@ -49,7 +49,7 @@ case class OasExamplesParser(map: YMap, exemplifiedDomainElement: ExemplifiedDom ExclusivePropertiesSpecification, exemplifiedDomainElement.id, s"Properties 'example' and 'examples' are exclusive and cannot be declared together", - map + map.location ) case _ => // ignore } @@ -81,7 +81,7 @@ case class RamlExamplesParser(map: YMap, ExclusivePropertiesSpecification, exemplified.id, s"Properties '$singleExampleKey' and '$multipleExamplesKey' are exclusive and cannot be declared together", - map + map.location ) } val examples = RamlMultipleExampleParser(multipleExamplesKey, map, exemplified.withExample, options).parse() ++ @@ -126,7 +126,7 @@ case class RamlMultipleExampleParser(key: String, ExamplesMustBeAMap, "", s"Property '$key' should be a map", - entry + entry.location ) } } @@ -169,7 +169,7 @@ case class RamlSingleExampleParser(key: String, InvalidFragmentType, s, errMsg, - entry.value + entry.value.location ))) .map(e => e.link(ScalarNode(entry.value), Annotations(entry)).asInstanceOf[Example]) case Right(node) => @@ -251,7 +251,7 @@ case class Oas3NameExampleParser(entry: YMapEntry, parentId: String, options: Ex .parse() .add(ExternalReferenceUrl(fullRef)) case None => - ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find example reference $fullRef", map) + ctx.eh.violation(CoreValidations.UnresolvedReference, "", s"Cannot find example reference $fullRef", map.location) val errorExample = setName( error.ErrorNamedExample(name, map).link(AmfScalar(name), Annotations(map), Annotations.synthesized())) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/OasLikeCreativeWorkParsers.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/OasLikeCreativeWorkParsers.scala index 4ffb71dfaf..810ee3c1bd 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/OasLikeCreativeWorkParsers.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/OasLikeCreativeWorkParsers.scala @@ -48,7 +48,7 @@ case class RamlCreativeWorkParser(node: YNode)(implicit val ctx: ShapeParserCont case _: Oas => "url" case _: Raml => "url".asRamlAnnotation case other => - ctx.eh.violation(UnexpectedVendor, s"Unexpected vendor '$other'", node) + ctx.eh.violation(UnexpectedVendor, documentation.id, s"Unexpected vendor '$other'", node.location) "url" } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/QuickFieldParserOps.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/QuickFieldParserOps.scala index f2bf3c0498..7941c33656 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/QuickFieldParserOps.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/QuickFieldParserOps.scala @@ -8,6 +8,7 @@ import amf.core.internal.metamodel.Type.ArrayLike import amf.core.internal.metamodel.{Field, Obj, Type} import amf.core.internal.parser.domain.{ArrayNode, ScalarNode, _} import WellKnownAnnotation.isRamlAnnotation +import amf.core.internal.plugins.syntax.SYamlAMFParserErrorHandler import amf.shapes.internal.spec.datanode.DataNodeParserContext import amf.shapes.internal.validation.definitions.ShapeParserSideValidations.{DuplicatedPropertySpecification, UnexpectedRamlScalarKey} import org.yaml.model._ @@ -15,7 +16,7 @@ import org.yaml.model._ import scala.collection.mutable.ListBuffer trait QuickFieldParserOps { - class ObjectField(target: Target, field: Field)(implicit iv: ErrorHandlingContext with DataNodeParserContext) + class ObjectField(target: Target, field: Field)(implicit iv: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler) extends (YMapEntry => Unit) { // Custom annotations @@ -147,7 +148,7 @@ trait QuickFieldParserOps { } } - implicit class FieldOps(field: Field)(implicit iv: ErrorHandlingContext with DataNodeParserContext) { + implicit class FieldOps(field: Field)(implicit iv: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler) { def in(elem: DomainElement): ObjectField = in(SingleTarget(elem)) def in(target: Target): ObjectField = new ObjectField(target, field) @@ -167,7 +168,7 @@ trait QuickFieldParserOps { } /** Scalar valued raml node (based on obj node). */ -private case class RamlScalarValuedNode(obj: YMap, scalar: ScalarNode)(implicit iv: ErrorHandlingContext) +private case class RamlScalarValuedNode(obj: YMap, scalar: ScalarNode)(implicit iv: ErrorHandlingContext with IllegalTypeHandler) extends ScalarNode { override def string(): AmfScalar = as(_.string()) @@ -185,7 +186,7 @@ private case class RamlScalarValuedNode(obj: YMap, scalar: ScalarNode)(implicit private def as(fn: ScalarNode => AmfScalar) = fn(scalar) } -private case class RamlSingleArrayNode(node: YNode)(implicit iv: ErrorHandlingContext) extends ArrayNode { +private case class RamlSingleArrayNode(node: YNode)(implicit iv: ErrorHandlingContext with IllegalTypeHandler) extends ArrayNode { override def string(): AmfArray = as(ScalarNode(node).string()) @@ -206,7 +207,7 @@ private case class RamlSingleArrayNode(node: YNode)(implicit iv: ErrorHandlingCo } object SingleArrayNode { - def apply(node: YNode)(implicit iv: ErrorHandlingContext): ArrayNode = { + def apply(node: YNode)(implicit iv: ErrorHandlingContext with IllegalTypeHandler): ArrayNode = { node.value match { case _: YSequence => ArrayNode(node) case _ => RamlSingleArrayNode(node) @@ -224,18 +225,18 @@ case class MapEntriesArrayNode(obj: YMap)(override implicit val iv: IllegalTypeH } object MapArrayNode { - def apply(node: YNode)(implicit iv: ErrorHandlingContext): ArrayNode = MapEntriesArrayNode(node.as[YMap])(iv.eh) + def apply(node: YNode)(implicit iv: ErrorHandlingContext with IllegalTypeHandler): ArrayNode = MapEntriesArrayNode(node.as[YMap])(new SYamlAMFParserErrorHandler(iv.eh)) } object RamlScalarNode { - def apply(node: YNode)(implicit iv: ErrorHandlingContext): ScalarNode = { + def apply(node: YNode)(implicit iv: ErrorHandlingContext with IllegalTypeHandler): ScalarNode = { node.value match { case obj: YMap => createScalarValuedNode(obj) case _ => ScalarNode(node) } } - private def createScalarValuedNode(obj: YMap)(implicit iv: ErrorHandlingContext): RamlScalarValuedNode = { + private def createScalarValuedNode(obj: YMap)(implicit iv: ErrorHandlingContext with IllegalTypeHandler): RamlScalarValuedNode = { var values = ListBuffer[YMapEntry]() obj.entries.foreach { entry => @@ -251,17 +252,21 @@ object RamlScalarNode { } if (values.nonEmpty) { - values.tail.foreach(d => iv.eh.violation(DuplicatedPropertySpecification, "", s"Duplicated key 'value'.", d)) + values.tail.foreach(d => iv.eh.violation(DuplicatedPropertySpecification, "", s"Duplicated key 'value'.", d.location)) } // When an annotated scalar node has no value, the default is an empty node (null). RamlScalarValuedNode(obj, - values.headOption.map(entry => ScalarNode(entry.value)).getOrElse(ScalarNode(YNode.Empty))) + values.headOption.map { entry => + ScalarNode(entry.value) + }.getOrElse { + ScalarNode(YNode.Empty) + }) } private def unexpected(key: YNode)(implicit iv: ErrorHandlingContext): Unit = iv.eh.violation(UnexpectedRamlScalarKey, "", s"Unexpected key '$key'. Options are 'value' or annotations \\(.+\\)", - key) + key.location) } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ScalarFormatType.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ScalarFormatType.scala index 0f82de60b4..9189936f4b 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ScalarFormatType.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ScalarFormatType.scala @@ -37,7 +37,7 @@ case class ScalarFormatType(shape: Shape, typeDef: TypeDef)(implicit ctx: ShapeP ctx.eh.warning(InvalidShapeFormat, shape.id, s"Format $format is not valid for type ${XsdTypeDefMapping.xsd(typeDef)}", - n) + n.location) (ScalarShapeModel.Format in shape).allowingAnnotations(n) fromFormat(format) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ShapeExtensionParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ShapeExtensionParser.scala index 168522fb30..945e6e7711 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ShapeExtensionParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/common/parser/ShapeExtensionParser.scala @@ -29,7 +29,7 @@ case class ShapeExtensionParser(shape: Shape, ctx.eh.violation(UnableToParseShapeExtensions, shape.id, s"Cannot parse shape extension for vendor ${ctx.vendor}", - map) + map.location) shapeExtensionDefinition.name.value() } map.key(extensionKey) match { @@ -42,7 +42,7 @@ case class ShapeExtensionParser(shape: Shape, shape.add(ShapeModel.CustomShapeProperties, extension) case None if directlyInherited.contains(shapeExtensionDefinition) => if (shapeExtensionDefinition.minCount.option().exists(_ > 0)) { - ctx.eh.violation(MissingRequiredUserDefinedFacet, shape.id, s"Missing required facet '$extensionKey'", map) + ctx.eh.violation(MissingRequiredUserDefinedFacet, shape.id, s"Missing required facet '$extensionKey'", map.location) } case _ => } @@ -76,7 +76,7 @@ case class ShapeExtensionParser(shape: Shape, ctx.eh.violation(UserDefinedFacetMatchesBuiltInFacets, shape.id, s"Custom defined facet '$name' matches built-in type facets", - map)) + map.location)) definedCustomFacets .intersect(inheritedCustomFacets) .foreach( @@ -84,7 +84,7 @@ case class ShapeExtensionParser(shape: Shape, ctx.eh.violation(UserDefinedFacetMatchesAncestorsTypeFacets, shape.id, s"Custom defined facet '$name' matches custom facet from inherited type", - map)) + map.location)) }) } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/datanode/DataNodeParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/datanode/DataNodeParser.scala index 541bfb9770..903c983396 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/datanode/DataNodeParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/datanode/DataNodeParser.scala @@ -37,7 +37,7 @@ class DataNodeParser private ( refsCounter: AliasCounter, parameters: AbstractVariables = AbstractVariables(), parent: Option[String] = None, - idCounter: IdCounter = new IdCounter)(implicit ctx: ErrorHandlingContext with DataNodeParserContext) { + idCounter: IdCounter = new IdCounter)(implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler) { def parse(): DataNode = { if (refsCounter.exceedsThreshold(node)) { @@ -105,7 +105,7 @@ class DataNodeParser private ( case class ScalarNodeParser( parameters: AbstractVariables = AbstractVariables(), parent: Option[String] = None, - idCounter: IdCounter = new IdCounter)(implicit ctx: ErrorHandlingContext with DataNodeParserContext) { + idCounter: IdCounter = new IdCounter)(implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler) { private def newScalarNode(value: amf.core.internal.parser.domain.ScalarNode, dataType: String, @@ -156,7 +156,7 @@ case class ScalarNodeParser( case other => val parsed = parseScalar(YNode(other.toString()), "string") - ctx.eh.violation(SyamlError, parsed.id, None, s"Cannot parse scalar node from AST structure '$other'", node) + ctx.eh.violation(SyamlError, parsed.id, None, s"Cannot parse scalar node from AST structure '$other'", node.location) parsed } } @@ -241,14 +241,14 @@ case class ScalarNodeParser( object DataNodeParser { def parse(parent: Option[String], idCounter: IdCounter)(node: YNode)( - implicit ctx: ErrorHandlingContext with DataNodeParserContext): DataNode = + implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler): DataNode = new DataNodeParser(node, refsCounter = AliasCounter(ctx.getMaxYamlReferences), parent = parent, idCounter = idCounter).parse() def apply(node: YNode, parameters: AbstractVariables = AbstractVariables(), parent: Option[String] = None)( - implicit ctx: ErrorHandlingContext with DataNodeParserContext): DataNodeParser = { + implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler): DataNodeParser = { new DataNodeParser(node = node, refsCounter = AliasCounter(ctx.getMaxYamlReferences), parameters = parameters, @@ -256,7 +256,7 @@ object DataNodeParser { } def apply(node: YNode, parameters: AbstractVariables, parent: Option[String], idCounter: IdCounter)( - implicit ctx: ErrorHandlingContext with DataNodeParserContext): DataNodeParser = { + implicit ctx: ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler): DataNodeParser = { new DataNodeParser(node, AliasCounter(ctx.getMaxYamlReferences), parameters, parent, idCounter) } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/JsonSchemaParsingHelper.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/JsonSchemaParsingHelper.scala index 1337cc1695..81d068ee09 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/JsonSchemaParsingHelper.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/JsonSchemaParsingHelper.scala @@ -15,7 +15,7 @@ object JsonSchemaParsingHelper { .withName(fullRef) .withId(fullRef) .withSupportsRecursion(true) - tmpShape.unresolved(fullRef, schemaEntry)(ctx) + tmpShape.unresolved(fullRef, Nil, Some(schemaEntry.location))(ctx) tmpShape.withContext(ctx) adopt(tmpShape) ctx.registerJsonSchema(fullRef, tmpShape) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/UnevaluatedParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/UnevaluatedParser.scala index 07eebd68cc..bd1a93462b 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/UnevaluatedParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/parser/UnevaluatedParser.scala @@ -43,7 +43,7 @@ class UnevaluatedParser(version: SchemaVersion, info: UnevaluatedInfo)(implicit shape.set(schemaField, s, Annotations(entry)) } case _ => - ctx.eh.violation(error, shape.id, message, entry) + ctx.eh.violation(error, shape.id, message, entry.location) } } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/AstFinder.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/AstFinder.scala index ce32ce33ba..8f00ef1e3e 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/AstFinder.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/AstFinder.scala @@ -46,7 +46,7 @@ object AstFinder { ctx.eh.violation(UnableToParseJsonSchema, shapeId, s"Cannot find path ${hashFragment.getOrElse("")} in JSON schema $url", - node) + node.location) YMapEntryLike(node) } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaInference.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaInference.scala index d7637f4050..53c5e67561 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaInference.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaInference.scala @@ -36,7 +36,7 @@ trait JsonSchemaInference { } private def thowUnexpectedVersionNodeType(node: YNode, errorHandler: AMFErrorHandler): Unit = { - errorHandler.violation(InvalidJsonSchemaVersion, "", "JSON Schema version value must be a string", node) + errorHandler.violation(InvalidJsonSchemaVersion, "", "JSON Schema version value must be a string", node.location) } private def adaptInput(schema: String): String = schema.lastOption match { diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaParser.scala index dab649b40d..c2e5350857 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/jsonschema/ref/JsonSchemaParser.scala @@ -80,6 +80,6 @@ class JsonSchemaParser { jsonSchemaContext.eh.violation(UnableToParseJsonSchema, shapeId, s"Cannot parse JSON Schema at ${document.location}", - rootAst.value) + rootAst.value.location) } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/Draft4AllOfParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/Draft4AllOfParser.scala index 2e65fa9589..57e6185dfb 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/Draft4AllOfParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/Draft4AllOfParser.scala @@ -32,7 +32,7 @@ case class AndConstraintParser(map: YMap, shape: Shape, adopt: Shape => Unit, ve ctx.eh.violation(InvalidAndType, shape.id, "And constraints are built from multiple shape nodes", - entry.value) + entry.value.location) } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/InlineOasTypeParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/InlineOasTypeParser.scala index d8b05e13c0..ec8f2d9814 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/InlineOasTypeParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/InlineOasTypeParser.scala @@ -16,10 +16,7 @@ import amf.core.internal.utils.IdCounter import amf.shapes.internal.annotations.{CollectionFormatFromItems, JSONSchemaId, TypePropertyLexicalInfo} import amf.shapes.internal.spec.common.TypeDef._ import amf.shapes.client.scala.model.domain._ -import amf.shapes.internal.domain.metamodel.DiscriminatorValueMappingModel.{ - DiscriminatorValue, - DiscriminatorValueTarget -} +import amf.shapes.internal.domain.metamodel.DiscriminatorValueMappingModel.{DiscriminatorValue, DiscriminatorValueTarget} import amf.shapes.internal.domain.metamodel.IriTemplateMappingModel.{LinkExpression, TemplateVariable} import amf.shapes.internal.domain.metamodel._ import amf.shapes.internal.domain.parser.XsdTypeDefMapping @@ -27,30 +24,15 @@ import amf.shapes.internal.spec.ShapeParserContext import amf.shapes.internal.spec.common.{TypeDef, _} import amf.shapes.internal.spec.common.parser._ import amf.shapes.internal.spec.datanode.{DataNodeParser, ScalarNodeParser} -import amf.shapes.internal.spec.jsonschema.parser.{ - ContentParser, - Draft2019ShapeDependenciesParser, - Draft4ShapeDependenciesParser, - UnevaluatedParser -} +import amf.shapes.internal.spec.jsonschema.parser.{ContentParser, Draft2019ShapeDependenciesParser, Draft4ShapeDependenciesParser, UnevaluatedParser} import amf.shapes.internal.spec.oas.{OasShapeDefinitions, parser} import amf.shapes.internal.spec.raml.parser.XMLSerializerParser import amf.shapes.internal.validation.definitions.ShapeParserSideValidations._ import org.yaml.model._ import amf.core.internal.utils._ import amf.core.internal.parser._ -import amf.shapes.client.scala.model.domain.{ - AnyShape, - ArrayShape, - FileShape, - MatrixShape, - NodeShape, - ScalarShape, - SchemaShape, - TupleShape, - UnionShape, - UnresolvedShape -} +import amf.core.internal.plugins.syntax.SyamlAMFErrorHandler +import amf.shapes.client.scala.model.domain.{AnyShape, ArrayShape, FileShape, MatrixShape, NodeShape, ScalarShape, SchemaShape, TupleShape, UnionShape, UnresolvedShape} import scala.collection.mutable import scala.util.Try @@ -97,7 +79,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidJsonSchemaType, "", s"Value of field 'type' must be a string, multiple types are not supported", - map.key("type").get) + map.key("type").get.location) protected def isOas: Boolean = version.isInstanceOf[OASSchemaVersion] protected def isOas3: Boolean = version.isInstanceOf[OAS30SchemaVersion] @@ -135,7 +117,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, case oasSchema: OASSchemaVersion if oasSchema.position.toString == "parameter" => UndefinedType case _ => AnyType } - TypeDetector.detect(map)(ctx.eh).getOrElse(defaultType) + TypeDetector.detect(map)(new SyamlAMFErrorHandler(ctx.eh)).getOrElse(defaultType) } private def parseDisjointUnionType(): UnionShape = { @@ -182,7 +164,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidDisjointUnionType, union.id, s"Invalid type for disjointUnion $other", - map.key("type").get.value) + map.key("type").get.value.location) None } } else if (node.tagType == YType.Map) { @@ -192,7 +174,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidDisjointUnionType, union.id, s"Invalid type for disjointUnion ${node.tagType}", - map.key("type").get.value) + map.key("type").get.value.location) None } } collect { case Some(t: AmfElement) => t } @@ -381,7 +363,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, .map(_.get) shape.setArray(UnionShapeModel.AnyOf, unionNodes, Annotations(entry.value)) case _ => - ctx.eh.violation(InvalidUnionType, shape.id, "Unions are built from multiple shape nodes", entry.value) + ctx.eh.violation(InvalidUnionType, shape.id, "Unions are built from multiple shape nodes", entry.value.location) } } @@ -415,7 +397,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidOrType, shape.id, "Or constraints are built from multiple shape nodes", - entry.value) + entry.value.location) } } @@ -444,7 +426,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidXoneType, shape.id, "Xone constraints are built from multiple shape nodes", - entry.value) + entry.value.location) } } @@ -482,7 +464,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, private def validateMissingItemsField(shape: Shape): Unit = { if (version.isInstanceOf[OAS30SchemaVersion]) { - ctx.eh.violation(ItemsFieldRequired, shape.id, "'items' field is required when schema type is array", map) + ctx.eh.violation(ItemsFieldRequired, shape.id, "'items' field is required when schema type is array", map.location) } } } @@ -555,7 +537,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, } private def additionalItemViolation(entry: YMapEntry, msg: String): Unit = { - ctx.eh.violation(InvalidAdditionalItemsType, shape.id, msg, entry) + ctx.eh.violation(InvalidAdditionalItemsType, shape.id, msg, entry.location) } } @@ -666,7 +648,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidAdditionalPropertiesType, shape.id, "Invalid part type for additional properties node. Should be a boolean or a map", - entry) + entry.location) } } @@ -774,7 +756,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidRequiredArrayForSchemaVersion, shape.id, "Required arrays of properties not supported in JSON Schema below version draft-4", - field.value) + field.value.location) defaultValue case (_, JSONSchemaDraft3SchemaVersion) => defaultValue case (YType.Seq, JSONSchemaUnspecifiedVersion) => parse(field) @@ -792,7 +774,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(DuplicateRequiredItem, shape.id, s"'$name' is duplicated in 'required' property", - nodes.last) + nodes.last.location) case _ => // ignore } @@ -803,7 +785,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, case Some(entry) => (NodeShapeModel.Discriminator in shape)(entry) case None => - ctx.eh.violation(DiscriminatorNameRequired, shape.id, s"Discriminator must have a propertyName defined", map) + ctx.eh.violation(DiscriminatorNameRequired, shape.id, s"Discriminator must have a propertyName defined", map.location) } map.key("mapping", parseMappings) ctx.closedShape(shape.id, map, "discriminator") @@ -845,7 +827,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, shouldLink = false) .withName(key, Annotations()) .withSupportsRecursion(true) - tmpShape.unresolved(definitionName, entry.value, "warning")(ctx) + tmpShape.unresolved(definitionName, Nil, Some(entry.value.location), "warning")(ctx) tmpShape.withContext(ctx) val encodedKey = key.toString.urlComponentEncoded tmpShape.withId(s"${shape.id}/discriminator/$encodedKey/unresolved") @@ -912,7 +894,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.warning(InvalidRequiredBooleanForSchemaVersion, property.id, "Required property boolean value is only supported in JSON Schema draft-3", - entry) + entry.location) } val required = amf.core.internal.parser.domain.ScalarNode(entry.value).boolean().value.asInstanceOf[Boolean] @@ -946,7 +928,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, ctx.eh.warning(ReadOnlyPropertyMarkedRequired, property.id, "Read only property should not be marked as required by a schema", - readOnlyEntry) + readOnlyEntry.location) } } )) @@ -1044,7 +1026,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, entry.value.to[String] match { case Right(str) => shape.withRaw(str) case _ => - errorHandler.violation(InvalidSchemaType, shape.id, "Cannot parse non string schema shape", entry.value) + errorHandler.violation(InvalidSchemaType, shape.id, "Cannot parse non string schema shape", entry.value.location) shape.withRaw("") } } @@ -1058,7 +1040,7 @@ case class InlineOasTypeParser(entryOrNode: YMapEntryLike, errorHandler.violation(InvalidMediaTypeType, shape.id, "Cannot parse non string schema shape", - entry.value) + entry.value.location) shape.withMediaType("*/*") } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasRefParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasRefParser.scala index 973e4da5b3..2e5d8bd39a 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasRefParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/OasRefParser.scala @@ -128,7 +128,7 @@ class OasRefParser(map: YMap, None, Some((k: String) => shape.set(LinkableElementModel.TargetId, k)), shouldLink = false).withName(declarationNameOrResolvedRef, Annotations()).withSupportsRecursion(true) - tmpShape.unresolved(declarationNameOrResolvedRef, e)(ctx) + tmpShape.unresolved(declarationNameOrResolvedRef, Nil, Some(e.location))(ctx) tmpShape.withContext(ctx) adopt(tmpShape) shape.withLinkTarget(tmpShape).withLinkLabel(declarationNameOrResolvedRef) @@ -138,7 +138,7 @@ class OasRefParser(map: YMap, private def createAndRegisterUnresolvedShape(e: YMapEntry, ref: String, text: String) = { val tmpShape = UnresolvedShape(ref, map).withName(text, Annotations()).withSupportsRecursion(true) - tmpShape.unresolved(text, e)(ctx) + tmpShape.unresolved(text, Nil, Some(e.location))(ctx) tmpShape.withContext(ctx) adopt(tmpShape) tmpShape @@ -178,7 +178,7 @@ class OasRefParser(map: YMap, case None => val tmpShape = JsonSchemaParsingHelper.createTemporaryShape(shape => adopt(shape), e, ctx, fullUrl) // it might still be resolvable at the RAML (not JSON Schema) level - tmpShape.unresolved(text, e).withSupportsRecursion(true) + tmpShape.unresolved(text, Nil, Some(e.location)).withSupportsRecursion(true) Some(tmpShape) case Some(jsonSchemaShape) => jsonSchemaShape.annotations += ExternalJsonSchemaShape(e) @@ -194,7 +194,7 @@ class OasRefParser(map: YMap, private def copyUnresolvedShape(ref: String, fullRef: String, entry: YMapEntry, unresolved: UnresolvedShape) = { val annots = Annotations(ast) val copied = unresolved.copyShape(annots ++= unresolved.annotations.copy()).withLinkLabel(ref) - copied.unresolved(fullRef, entry)(ctx) + copied.unresolved(fullRef, Nil, Some(entry.location))(ctx) adopt(copied) Some(copied) } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/TypeDetector.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/TypeDetector.scala index 15c69ec9cb..4808e41752 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/TypeDetector.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/oas/parser/TypeDetector.scala @@ -6,10 +6,10 @@ import amf.shapes.internal.spec.common.TypeDef._ import amf.shapes.internal.spec.OasTypeDefMatcher.matchType import amf.shapes.internal.spec.common.TypeDef import amf.shapes.internal.validation.definitions.ShapeParserSideValidations.InvalidJsonSchemaType -import org.yaml.model.{YMap, YScalar} +import org.yaml.model.{IllegalTypeHandler, YMap, YScalar} object TypeDetector { - def detect(map: YMap)(implicit errorHandler: AMFErrorHandler): Option[TypeDef] = { + def detect(map: YMap)(implicit errorHandler: AMFErrorHandler with IllegalTypeHandler): Option[TypeDef] = { val detectionCriteria = ExplicitTypeCriteria() .chain(ObjectCriteria) @@ -30,13 +30,13 @@ object TypeDetector { override def detect(map: YMap): Option[TypeDef] = first.detect(map).orElse(second.detect(map)) } - case class ExplicitTypeCriteria()(implicit val errorHandler: AMFErrorHandler) extends TypeCriteria { + case class ExplicitTypeCriteria()(implicit val errorHandler: AMFErrorHandler with IllegalTypeHandler) extends TypeCriteria { override def detect(map: YMap): Option[TypeDef] = map.key("type").flatMap { e => val typeText = e.value.as[YScalar].text val formatTextOrEmpty = map.key("format").flatMap(e => e.value.toOption[YScalar].map(_.text)).getOrElse("") val result = matchType(typeText, formatTextOrEmpty, UndefinedType) if (result == UndefinedType) { - errorHandler.violation(InvalidJsonSchemaType, "", s"Invalid type $typeText", e.value) + errorHandler.violation(InvalidJsonSchemaType, "", s"Invalid type $typeText", e.value.location) None } else Some(result) } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/Raml10TypeParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/Raml10TypeParser.scala index 06b74e09c1..70d0e529c9 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/Raml10TypeParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/Raml10TypeParser.scala @@ -250,10 +250,10 @@ case class Raml08TypeParser(entryOrNode: YMapEntryLike, ChainedReferenceSpecification, shape.id, s"Chained reference '$text", - node + node.location ) } else { - shape.unresolved(text, node) + shape.unresolved(text, Nil, Some(node.location)) } shape } @@ -339,7 +339,7 @@ case class Raml08DefaultTypeParser(defaultType: TypeDef, name: String, ast: YPar Some(AnyShape(ast).withName(name, Annotations()).add(Inferred())) case _ => // TODO get parent id - ctx.eh.violation(UnableToSetDefaultType, "", s"Cannot set default type $defaultType in raml 08", ast) + ctx.eh.violation(UnableToSetDefaultType, "", s"Cannot set default type $defaultType in raml 08", ast.location) None } product.foreach(adopt) @@ -411,7 +411,7 @@ case class SimpleTypeParser(name: String, adopt: Shape => Unit, map: YMap, defau } Some(shape.withName(name, Annotations())) case _ => - ctx.eh.violation(InvalidTypeDefinition, "", s"Invalid type def ${value.text} for ${Raml08.name}", value) + ctx.eh.violation(InvalidTypeDefinition, "", s"Invalid type def ${value.text} for ${Raml08.name}", value.location) None } } @@ -688,7 +688,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, InheritanceParser(ast.asInstanceOf[YMapEntry], shape, None).parse() shape case _ => - ctx.eh.violation(InvalidUnionType, shape.id, s"Invalid node for union shape '${node.toString()}", node) + ctx.eh.violation(InvalidUnionType, shape.id, s"Invalid node for union shape '${node.toString()}", node.location) shape } } @@ -734,10 +734,10 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, ChainedReferenceSpecification, shape.id, s"Chained reference '$text", - node + node.location ) } else { - unresolve.unresolved(text, node) + unresolve.unresolved(text, Nil, Some(node.location)) } shape.annotations.reject(isLexical) shape.annotations ++= unresolve.annotations @@ -761,7 +761,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, case Left(key) => val referenced = ctx.findType(key, SearchScope.Fragments, - Some((s: String) => ctx.eh.violation(InvalidFragmentType, parendId, s, node))) + Some((s: String) => ctx.eh.violation(InvalidFragmentType, parendId, s, node.location))) referenced.map(createLink(_).add(ExternalFragmentRef(key))) case _ => val text = node.as[YScalar].text @@ -905,7 +905,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidDatetimeFormat, shape.id, s"Invalid format value for datetime, must be 'rfc3339' or 'rfc2616'", - ast) + ast.location) } }) case _ => @@ -918,7 +918,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, InvalidDecimalPoint, shape.id, "Invalid decimal point for an integer: " + value, - ast + ast.location ) false } else true @@ -949,7 +949,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, shape.set(UnionShapeModel.AnyOf, AmfArray(unionNodes, Annotations(entry.value)), Annotations(entry)) case _ => - ctx.eh.violation(InvalidUnionType, shape.id, "Unions are built from multiple shape nodes", entry) + ctx.eh.violation(InvalidUnionType, shape.id, "Unions are built from multiple shape nodes", entry.location) } } ) @@ -979,7 +979,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, shape.setArray(ShapeModel.Or, nodes, Annotations(entry.value)) case _ => - ctx.eh.violation(InvalidOrType, shape.id, "Or constraints are built from multiple shape nodes", entry) + ctx.eh.violation(InvalidOrType, shape.id, "Or constraints are built from multiple shape nodes", entry.location) } } ) @@ -1007,7 +1007,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, shape.setArray(ShapeModel.And, nodes, Annotations(entry.value)) case _ => - ctx.eh.violation(InvalidAndType, shape.id, "And constraints are built from multiple shape nodes", entry) + ctx.eh.violation(InvalidAndType, shape.id, "And constraints are built from multiple shape nodes", entry.location) } } ) @@ -1040,7 +1040,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidXoneType, shape.id, "Xone constraints are built from multiple shape nodes", - entry) + entry.location) } } ) @@ -1095,7 +1095,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, shape.id, Some(FileShapeModel.FileTypes.value.iri()), s"Unexpected syntax for the fileTypes property: ${entry.value.tagType}", - entry.value + entry.value.location ) case _ => // ignore } @@ -1139,7 +1139,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, // not an array regular array parsing case _ => val tuple = TupleShape(ast).withName(name, nameAnnotations) - ctx.eh.violation(InvalidTupleType, tuple.id, "Tuples must have a list of types", ast) + ctx.eh.violation(InvalidTupleType, tuple.id, "Tuples must have a list of types", ast.location) Left(tuple) } case None => Right(ArrayShape(ast).withName(name, nameAnnotations)) @@ -1181,7 +1181,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, adopt(parsed) parsed case _ => - ctx.eh.violation(UnableToParseArray, shape.id, "Cannot parse data arrangement shape", map) + ctx.eh.violation(UnableToParseArray, shape.id, "Cannot parse data arrangement shape", map.location) shape } } @@ -1430,7 +1430,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, shape.id, Some(ShapeModel.Inherits.value.iri()), "Inheritance from JSON Schema", - entry.value + entry.value.location ) ctx.ramlExternalSchemaParserFactory .createJson("schema", @@ -1469,10 +1469,10 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, ChainedReferenceSpecification, unresolvedShape.id, s"Chained reference '$reference", - node + node.location ) } else { - unresolvedShape.unresolved(reference, node) + unresolvedShape.unresolved(reference, Nil, Some(node.location)) } adopt(unresolvedShape) unresolvedShape @@ -1528,7 +1528,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, PatternPropertiesOnClosedNodeSpecification, shape.id, s"Node without additional properties support cannot have pattern properties", - node + node.location ) } // We check we are not using schemas in properties @@ -1557,7 +1557,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, InvalidValueInPropertiesFacet, shape.id, s"Properties facet must be a map of key and values", - entry + entry.location ) } } @@ -1576,21 +1576,21 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, def checkExtendedUnionDiscriminator(): Unit = { if (shape.inherits.length == 1 && shape.inherits.head.isInstanceOf[UnionShape]) { - map.key("discriminator").foreach { + map.key("discriminator").foreach { k => ctx.eh.violation( DiscriminatorOnExtendedUnionSpecification, shape.id, "Property discriminator forbidden in a node extending a unionShape", - _ + k.location ) } - map.key("discriminatorValue").foreach { + map.key("discriminatorValue").foreach { k => ctx.eh.violation( DiscriminatorOnExtendedUnionSpecification, shape.id, "Property discriminatorValue forbidden in a node extending a unionShape", - _ + k.location ) } } @@ -1683,7 +1683,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, case None => // TODO get parent id - ctx.eh.violation(InvalidPropertyType, "", "Invalid property name", entry.key) + ctx.eh.violation(InvalidPropertyType, "", "Invalid property name", entry.key.location) None } } @@ -1756,7 +1756,7 @@ sealed abstract class RamlTypeParser(entryOrNode: YMapEntryLike, ctx.eh.violation(InvalidFragmentType, p.id, s"User defined facet name '${p.name.value()}' must not begin with open parenthesis", - entry) + entry.location) } shape.set(ShapeModel.CustomShapePropertyDefinitions, AmfArray(properties, Annotations(entry.value)), diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/RamlTypeDetector.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/RamlTypeDetector.scala index 06009e133b..2dbea1edb4 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/RamlTypeDetector.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/RamlTypeDetector.scala @@ -96,7 +96,7 @@ case class RamlTypeDetector(parent: String, parent, Some(ShapeModel.Inherits.value.iri()), "Inheritance from JSON Schema", - node.value + node.value.location ) typeExplicit case (Some(_), _) => typeExplicit @@ -120,7 +120,7 @@ case class RamlTypeDetector(parent: String, ctx.eh.violation(InvalidAbstractDeclarationParameterInType, parent, s"Resource Type/Trait parameter $t in type", - node) + node.location) } private def isRamlVariable(t: String) = t.startsWith("<<") && t.endsWith(">>") @@ -171,7 +171,7 @@ case class RamlTypeDetector(parent: String, _ <- `type` s <- schema } { - ctx.eh.violation(ExclusiveSchemaType, parent, "'schema' and 'type' properties are mutually exclusive", s.key) + ctx.eh.violation(ExclusiveSchemaType, parent, "'schema' and 'type' properties are mutually exclusive", s.key.location) } schema.foreach( @@ -179,7 +179,7 @@ case class RamlTypeDetector(parent: String, ctx.eh.warning(SchemaDeprecated, parent, "'schema' keyword it's deprecated for 1.0 version, should use 'type' instead", - s.key)) + s.key.location)) `type`.orElse(schema) } @@ -203,7 +203,7 @@ case class RamlTypeDetector(parent: String, ctx.eh.violation(InvalidTypeInheritanceErrorSpecification, parent, "Can't inherit from more than one class type", - ast) + ast.location) Some(UndefinedType) } else head } @@ -230,7 +230,7 @@ case class RamlTypeDetector(parent: String, ctx.eh.violation(InvalidTypeDefinition, shape.id, "Found reference to domain element different of Shape when shape was expected", - part) + part.location) None } case _: NilShape => Some(NilType) diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/expression/UnresolvedRegister.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/expression/UnresolvedRegister.scala index 26d0493cf2..5a20c8956a 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/expression/UnresolvedRegister.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/expression/UnresolvedRegister.scala @@ -16,6 +16,6 @@ private[expression] case class ContextRegister(context: ShapeParserContext, part extends UnresolvedRegister { override def register(shape: UnresolvedShape): Unit = { shape.withContext(context) - shape.unresolved(shape.name.value(), part.getOrElse(YNode.Null))(context) + shape.unresolved(shape.name.value(), Nil, Some(part.getOrElse(YNode.Null).location))(context) } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/external/RamlExternalTypesParser.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/external/RamlExternalTypesParser.scala index 221a250e2b..f767103f1f 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/external/RamlExternalTypesParser.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/spec/raml/parser/external/RamlExternalTypesParser.scala @@ -66,7 +66,7 @@ trait RamlExternalTypesParser shapeCtx.eh.violation(InvalidExternalTypeType, shape.id, s"Cannot parse $externalType Schema expression out of a non string value", - value) + value.location) ValueAndOrigin("", value, None, Some(shape)) } } diff --git a/amf-shapes/shared/src/main/scala/amf/shapes/internal/validation/jsonschema/BaseJsonSchemaPayloadValidator.scala b/amf-shapes/shared/src/main/scala/amf/shapes/internal/validation/jsonschema/BaseJsonSchemaPayloadValidator.scala index 1aff936f89..fc5ab59967 100644 --- a/amf-shapes/shared/src/main/scala/amf/shapes/internal/validation/jsonschema/BaseJsonSchemaPayloadValidator.scala +++ b/amf-shapes/shared/src/main/scala/amf/shapes/internal/validation/jsonschema/BaseJsonSchemaPayloadValidator.scala @@ -9,14 +9,10 @@ import amf.core.client.scala.model.document.PayloadFragment import amf.core.client.scala.model.domain._ import amf.core.client.scala.model.domain.extensions.CustomDomainProperty import amf.core.client.scala.parse.document.{ErrorHandlingContext, ParsedReference, SyamlParsedDocument} -import amf.core.client.scala.validation.payload.{ - AMFShapePayloadValidator, - PayloadParsingResult, - ShapeValidationConfiguration -} +import amf.core.client.scala.validation.payload.{AMFShapePayloadValidator, PayloadParsingResult, ShapeValidationConfiguration} import amf.core.client.scala.validation.{AMFValidationReport, AMFValidationResult} import amf.core.internal.parser.domain.{FragmentRef, JsonParserFactory, SearchScope} -import amf.core.internal.plugins.syntax.SyamlSyntaxRenderPlugin +import amf.core.internal.plugins.syntax.{SYamlAMFParserErrorHandler, SyamlSyntaxRenderPlugin} import amf.core.internal.validation.ValidationConfiguration import amf.core.internal.validation.core.ValidationSpecification import amf.shapes.client.scala.model.domain.UnionShape @@ -26,6 +22,7 @@ import amf.shapes.internal.spec.datanode.{DataNodeParser, DataNodeParserContext} import amf.shapes.internal.spec.jsonschema.emitter.JsonSchemaEmitter import amf.shapes.internal.validation.definitions.ShapePayloadValidations.ExampleValidationErrorSpecification import amf.shapes.internal.validation.jsonschema.BaseJsonSchemaPayloadValidator.supportedMediaTypes +import org.yaml.model.{IllegalTypeHandler, YError} import org.yaml.parser.YamlParser import java.io.StringWriter @@ -215,7 +212,7 @@ abstract class BaseJsonSchemaPayloadValidator(shape: Shape, val parser = mediaType match { case "application/json" => JsonParserFactory.fromChars(payload)(errorHandler) - case _ => YamlParser(payload)(errorHandler) + case _ => YamlParser(payload)(new SYamlAMFParserErrorHandler(errorHandler)) } val node = parser.document().node val parsedNode = @@ -225,14 +222,17 @@ abstract class BaseJsonSchemaPayloadValidator(shape: Shape, } private def dataNodeParsingCtx(errorHandler: AMFErrorHandler, - maxYamlRefs: Option[Int]): ErrorHandlingContext with DataNodeParserContext = { - new ErrorHandlingContext()(errorHandler) with DataNodeParserContext { + maxYamlRefs: Option[Int]): ErrorHandlingContext with DataNodeParserContext with IllegalTypeHandler = { + new ErrorHandlingContext()(errorHandler) with DataNodeParserContext with IllegalTypeHandler { + val syamleh = new SYamlAMFParserErrorHandler(errorHandler) override def violation(violationId: ValidationSpecification, node: String, message: String): Unit = eh.violation(violationId, node, message, "") override def findAnnotation(key: String, scope: SearchScope.Scope): Option[CustomDomainProperty] = None override def refs: Seq[ParsedReference] = Seq.empty override def getMaxYamlReferences: Option[Int] = maxYamlRefs override def fragments: Map[String, FragmentRef] = Map.empty + + override def handle[T](error: YError, defaultValue: T): T = syamleh.handle(error, defaultValue) } } diff --git a/build.sbt b/build.sbt index 38c0404a51..350e38d60b 100644 --- a/build.sbt +++ b/build.sbt @@ -79,7 +79,7 @@ lazy val shapes = crossProject(JSPlatform, JVMPlatform) libraryDependencies += "org.scala-js" %% "scalajs-stubs" % scalaJSVersion % "provided", libraryDependencies += "com.github.everit-org.json-schema" % "org.everit.json.schema" % "1.12.2", libraryDependencies += "org.json" % "json" % "20201115", - artifactPath in (Compile, packageDoc) := baseDirectory.value / "target" / "artifact" / "amf-shapes-javadoc.jar", + artifactPath in (Compile, packageDoc) := baseDirectory.value / "target" / "artifact" / "amf-shapes-javadoc.jar" ) .jsSettings( scalaJSModuleKind := ModuleKind.CommonJSModule, @@ -129,13 +129,55 @@ lazy val apiContractJS = .in(file("./amf-api-contract/js")) .disablePlugins(SonarPlugin, ScalaJsTypingsPlugin) +/** ********************************************** + * AMF-GRPC + * ********************************************* */ + +lazy val antlrv4JVMRef = ProjectRef(Common.workspaceDirectory / "amf-antlr-ast", "antlrastJVM") +lazy val antlrv4JSRef = ProjectRef(Common.workspaceDirectory / "amf-antlr-ast", "antlrastJS") +val antlrv4Version = "0.3.0-SNAPSHOT" +lazy val antlrv4LibJVM = "com.github.amlorg" %% "antlr-ast" % antlrv4Version +lazy val antlrv4LibJS = "com.github.amlorg" %% "antlr-ast_sjs0.6" % antlrv4Version + +lazy val grpc = crossProject(JSPlatform, JVMPlatform) + .settings( + Seq( + name := "amf-grpc" + )) + .in(file("./amf-grpc")) + .settings(commonSettings) + .dependsOn(apiContract) + .jvmSettings( + libraryDependencies += "org.scala-js" %% "scalajs-stubs" % scalaJSVersion % "provided", + libraryDependencies += antlrv4LibJVM, + artifactPath in (Compile, packageDoc) := baseDirectory.value / "target" / "artifact" / "amf-grpc-javadoc.jar", + mappings in (Compile, packageBin) += file("amf-apicontract.versions") -> "amf-apicontract.versions" + ) + .jsSettings( + libraryDependencies += antlrv4LibJS, + scalaJSModuleKind := ModuleKind.CommonJSModule, + artifactPath in (Compile, fullOptJS) := baseDirectory.value / "target" / "artifact" / "amf-grpc.js", + scalacOptions += "-P:scalajs:suppressExportDeprecations" + ) + .disablePlugins(SonarPlugin) + +lazy val grpcJVM = + grpc.jvm + .in(file("./amf-grpc/jvm")) + .sourceDependency(antlrv4JVMRef, antlrv4LibJVM) +lazy val grpcJS = + grpc.js + .in(file("./amf-grpc/js")) + .disablePlugins(SonarPlugin, ScalaJsTypingsPlugin) + .sourceDependency(antlrv4JSRef, antlrv4LibJS) + /** ********************************************** * AMF CLI * ********************************************* */ lazy val cli = crossProject(JSPlatform, JVMPlatform) .settings(name := "amf-cli") .settings(fullRunTask(defaultProfilesGenerationTask, Compile, "amf.tasks.validations.ValidationProfileExporter")) - .dependsOn(apiContract) + .dependsOn(grpc) .in(file("./amf-cli")) .settings(commonSettings) .settings( diff --git a/documentation/model.md b/documentation/model.md index 5c8c3bc260..006a52d0d7 100644 --- a/documentation/model.md +++ b/documentation/model.md @@ -250,6 +250,7 @@ Fragment encoding a RAML annotation type | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## AnyShape Base class for all shapes stored in the graph model @@ -276,6 +277,7 @@ Base class for all shapes stored in the graph model | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -339,6 +341,7 @@ Shape that contains a nested collection of data shapes | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -403,6 +406,7 @@ Base class for every single document model unit. After parsing a document the pa | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## Callback Model defining the information for a HTTP callback/ webhook @@ -486,6 +490,7 @@ It can be validated using a SHACL shape | domain | [url] | RDFS domain property | http://www.w3.org/2000/01/rdf-schema#domain | | schema | [Shape](#shape) | Schema for an entity | http://a.ml/vocabularies/shapes#schema | | name | string | Name for an entity | http://a.ml/vocabularies/core#name | + | serializationOrder | int | position in the set of properties for a shape used to serialize this property on the wire | http://a.ml/vocabularies/shapes#serializationOrder | | link-target | url | URI of the linked element | http://a.ml/vocabularies/document#link-target | | link-label | string | Label for the type of link | http://a.ml/vocabularies/document#link-label | | recursive | boolean | Indication taht this kind of linkable element can support recursive links | http://a.ml/vocabularies/document#recursive | @@ -510,6 +515,7 @@ Fragment encoding a RAML data type | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DatatypePropertyTerm @@ -540,6 +546,7 @@ Definition of an AML dialect, mapping AST nodes from dialect documents into an o | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DialectFragment AML dialect mapping fragment that can be included in multiple AML dialects @@ -554,6 +561,7 @@ AML dialect mapping fragment that can be included in multiple AML dialects | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DialectInstance @@ -570,6 +578,7 @@ AML dialect mapping fragment that can be included in multiple AML dialects | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DialectInstanceFragment @@ -586,6 +595,7 @@ AML dialect mapping fragment that can be included in multiple AML dialects | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DialectInstanceLibrary @@ -601,6 +611,7 @@ AML dialect mapping fragment that can be included in multiple AML dialects | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DialectInstancePatch @@ -617,6 +628,7 @@ AML dialect mapping fragment that can be included in multiple AML dialects | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DialectLibrary Library of AML mappings that can be reused in different AML dialects @@ -631,6 +643,7 @@ Library of AML mappings that can be reused in different AML dialects | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DiscriminatorValueMapping Mapping that relates a certain discriminator value to a certain shape @@ -655,6 +668,7 @@ The main difference is that the Document encoded DomainElement is stand-alone an | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## DocumentMapping Mapping for a particular dialect document into a graph base unit @@ -677,6 +691,7 @@ Fragment encoding a RAML documentation item | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## Documents Mapping from different type of dialect documents to base units in the parsed graph @@ -784,6 +799,7 @@ API spec information designed to be applied and compelement the information of a | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## ExtensionLike A Document that extends a target document, overwriting part of the information or overlaying additional information. @@ -798,6 +814,7 @@ A Document that extends a target document, overwriting part of the information o | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## External @@ -834,6 +851,7 @@ Fragment encoding an external entity | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## ExternalSourceElement Inlined fragment of information @@ -879,6 +897,7 @@ Shape describing data uploaded in an API request | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -900,6 +919,7 @@ A Fragment is a parsing Unit that encodes a DomainElement | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## HttpApiKeySettings Settings for an Http API Key security scheme @@ -1036,6 +1056,7 @@ Data shape containing nested multi-dimensional collection shapes | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -1103,6 +1124,7 @@ It main purpose is to expose the declared references so they can be re-used | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## MqttMessageBinding @@ -1159,6 +1181,7 @@ Fragment encoding a RAML named example | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## NilShape Data shape representing the null/nil value in the input schema @@ -1185,6 +1208,7 @@ Data shape representing the null/nil value in the input schema | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -1218,6 +1242,7 @@ Shape that validates a record of fields, like a JS object | minProperties | int | Minimum number of properties in the input node constraint | http://a.ml/vocabularies/shapes#minProperties | | maxProperties | int | Maximum number of properties in the input node constraint | http://a.ml/vocabularies/shapes#maxProperties | | closed | boolean | Additional properties in the input node accepted constraint | http://www.w3.org/ns/shacl#closed | + | additionalPropertiesKeySchema | [Shape](#shape) | Additional properties key schema | http://www.w3.org/ns/shacl#additionalPropertiesKeySchema | | additionalPropertiesSchema | [Shape](#shape) | Additional properties schema | http://www.w3.org/ns/shacl#additionalPropertiesSchema | | discriminator | string | Discriminator property | http://a.ml/vocabularies/shapes#discriminator | | discriminatorValue | string | Values for the discriminator property | http://a.ml/vocabularies/shapes#discriminatorValue | @@ -1249,6 +1274,7 @@ Shape that validates a record of fields, like a JS object | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -1399,6 +1425,7 @@ Model defining a RAML overlay | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## Parameter Piece of data required or returned by an Operation @@ -1491,6 +1518,7 @@ Fragment encoding HTTP payload information | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## PropertyDependencies Dependency between sets of property shapes @@ -1538,6 +1566,7 @@ Constraint over a property in a data shape. | minCount | int | Minimum count property constraint | http://www.w3.org/ns/shacl#minCount | | maxCount | int | Maximum count property constraint | http://www.w3.org/ns/shacl#maxCount | | patternName | string | Patterned property constraint | http://a.ml/vocabularies/shapes#patternName | + | serializationOrder | int | position in the set of properties for a shape used to serialize this property on the wire | http://a.ml/vocabularies/shapes#serializationOrder | | link-target | url | URI of the linked element | http://a.ml/vocabularies/document#link-target | | link-label | string | Label for the type of link | http://a.ml/vocabularies/document#link-label | | recursive | boolean | Indication taht this kind of linkable element can support recursive links | http://a.ml/vocabularies/document#recursive | @@ -1558,6 +1587,7 @@ Constraint over a property in a data shape. | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | extends | [[DomainElement](#domainelement)] | Entity that is going to be extended overlaying or adding additional information The type of the relationship provide the semantics about thow the referenced and referencer elements must be combined when generating the domain model from the document model. | http://a.ml/vocabularies/document#extends | @@ -1596,6 +1626,7 @@ Recursion on a Shape structure, used when expanding a shape and finding the cano | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | extends | [[DomainElement](#domainelement)] | Entity that is going to be extended overlaying or adding additional information The type of the relationship provide the semantics about thow the referenced and referencer elements must be combined when generating the domain model from the document model. | http://a.ml/vocabularies/document#extends | @@ -1654,6 +1685,7 @@ Fragment encoding a RAML resource type | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## Response Response information for an operation @@ -1730,6 +1762,7 @@ Data shape describing a scalar value in the input data model, reified as an scal | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -1775,6 +1808,7 @@ Raw schema that cannot be parsed using AMF shapes model | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -1832,6 +1866,7 @@ Fragment encoding a RAML security scheme | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## SemanticExtension Mapping a particular extension name to an extension definition @@ -1912,6 +1947,7 @@ Shapes can be recursive and inherit from other shapes. | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | ## ShapeExtension @@ -1982,6 +2018,7 @@ Fragment encoding a RAML trait | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## TupleShape Data shape containing a multi-valued collection of shapes @@ -2015,6 +2052,7 @@ Data shape containing a multi-valued collection of shapes | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -2065,6 +2103,7 @@ Shape representing the union of many alternative data shapes | else | [Shape](#shape) | Composition of data shape when if data shape is invalid | http://www.w3.org/ns/shacl#else | | readOnly | boolean | Read only property constraint | http://a.ml/vocabularies/shapes#readOnly | | writeOnly | boolean | Write only property constraint | http://a.ml/vocabularies/shapes#writeOnly | + | serializationSchema | [Shape](#shape) | Serialization schema for a shape | http://a.ml/vocabularies/shapes#serializationSchema | | deprecated | boolean | Deprecated annotation for a property constraint | http://a.ml/vocabularies/shapes#deprecated | | documentation | [CreativeWork](#creativework) | Documentation for a particular part of the model | http://a.ml/vocabularies/core#documentation | | xmlSerialization | [XMLSerializer](#xmlserializer) | Information about how to serialize | http://a.ml/vocabularies/shapes#xmlSerialization | @@ -2100,6 +2139,7 @@ Basic primitives for the declaration of vocabularies. | usage | string | Human readable description of the unit | http://a.ml/vocabularies/document#usage | | describedBy | url | Link to the AML dialect describing a particular subgraph of information | http://a.ml/vocabularies/meta#describedBy | | root | boolean | Indicates if the base unit represents the root of the document model obtained from parsing | http://a.ml/vocabularies/document#root | + | package | string | Logical identifier providing a common namespace for the information in this base unit | http://a.ml/vocabularies/document#package | ## VocabularyReference